commit 8f04e860b4aaefbd88979f0c34d49ed031975443 Author: Mithun RK Date: Wed Sep 6 20:28:20 2017 -0700 HIVE-17466: Metastore API to list unique partition-key-value combinations. diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java index 8d861e4..d94d920 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java @@ -35,6 +35,7 @@ import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FileMetadataExprType; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; @@ -51,6 +52,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEventsCountResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -286,6 +288,11 @@ public void alterTable(String dbName, String name, Table newTable) } @Override + public PartitionValuesResponse listPartitionValues(String db_name, String tbl_name, List cols, boolean applyDistinct, String filter, boolean ascending, List order, long maxParts) throws MetaException { + return null; + } + + @Override public List listPartitionNamesByFilter(String dbName, String tblName, String filter, short maxParts) throws MetaException { return objectStore.listPartitionNamesByFilter(dbName, tblName, filter, maxParts); diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 5812a1b..3c025e9 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -4133,6 +4133,17 @@ private static boolean is_partition_spec_grouping_enabled(Table table) { } @Override + public PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException { + String dbName = request.getDbName(); + String tblName = request.getTblName(); + List partCols = new ArrayList(); + partCols.add(request.getPartitionKeys().get(0)); + return getMS().listPartitionValues(dbName, tblName, request.getPartitionKeys(), + request.isApplyDistinct(), request.getFilter(), request.isAscending(), + request.getPartitionOrder(), request.getMaxParts()); + } + + @Override public void alter_partition(final String db_name, final String tbl_name, final Partition new_part) throws InvalidOperationException, MetaException, TException { diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 70451c4..326bd48 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -1367,6 +1367,12 @@ public Partition getPartition(String db_name, String tbl_name, } @Override + public PartitionValuesResponse listPartitionValues(PartitionValuesRequest request) + throws MetaException, TException, NoSuchObjectException { + return client.get_partition_values(request); + } + + @Override public Partition getPartitionWithAuthInfo(String db_name, String tbl_name, List part_vals, String user_name, List group_names) throws MetaException, UnknownTableException, NoSuchObjectException, diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 69a845c..7ddc257 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -26,7 +26,6 @@ import java.util.Map.Entry; import org.apache.hadoop.hive.common.ObjectPair; -import org.apache.hadoop.hive.common.StatsSetupConst; import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.InterfaceAudience; import org.apache.hadoop.hive.common.classification.InterfaceAudience.Public; @@ -81,6 +80,8 @@ import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesRequest; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrimaryKeysRequest; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; @@ -587,6 +588,9 @@ public PartitionSpecProxy listPartitionSpecs(String dbName, String tableName, in List part_vals, short max_parts) throws MetaException, TException, NoSuchObjectException; + public PartitionValuesResponse listPartitionValues(PartitionValuesRequest request) + throws MetaException, TException, NoSuchObjectException; + /** * Get number of partitions matching specified filter * @param dbName the database name diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 0db1bc0..beb37e9 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -103,6 +103,8 @@ import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; +import org.apache.hadoop.hive.metastore.api.PartitionValuesRow; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -2302,6 +2304,250 @@ public Partition getPartitionWithAuth(String dbName, String tblName, return pns; } + private String extractPartitionKey(FieldSchema key, List pkeys) { + StringBuilder buffer = new StringBuilder(256); + + assert pkeys.size() >= 1; + + String partKey = "/" + key.getName() + "="; + + // Table is partitioned by single key + if (pkeys.size() == 1 && (pkeys.get(0).getName().matches(key.getName()))) { + buffer.append("partitionName.substring(partitionName.indexOf(\"") + .append(key.getName()).append("=\") + ").append(key.getName().length() + 1) + .append(")"); + + // First partition key - anything between key= and first / + } else if ((pkeys.get(0).getName().matches(key.getName()))) { + + buffer.append("partitionName.substring(partitionName.indexOf(\"") + .append(key.getName()).append("=\") + ").append(key.getName().length() + 1).append(", ") + .append("partitionName.indexOf(\"/\")") + .append(")"); + + // Last partition key - anything between /key= and end + } else if ((pkeys.get(pkeys.size() - 1).getName().matches(key.getName()))) { + buffer.append("partitionName.substring(partitionName.indexOf(\"") + .append(partKey).append("\") + ").append(partKey.length()) + .append(")"); + + // Intermediate key - anything between /key= and the following / + } else { + + buffer.append("partitionName.substring(partitionName.indexOf(\"") + .append(partKey).append("\") + ").append(partKey.length()).append(", ") + .append("partitionName.indexOf(\"/\", partitionName.indexOf(\"").append(partKey) + .append("\") + 1))"); + } + LOG.info("Query for Key:" + key.getName() + " is :" + buffer); + return buffer.toString(); + } + + @Override + public PartitionValuesResponse listPartitionValues(String dbName, String tableName, List cols, + boolean applyDistinct, String filter, boolean ascending, + List order, long maxParts) throws MetaException { + + dbName = dbName.toLowerCase().trim(); + tableName = tableName.toLowerCase().trim(); + try { + if (filter == null || filter.isEmpty()) { + PartitionValuesResponse response = + getDistinctValuesForPartitionsNoTxn(dbName, tableName, cols, applyDistinct, ascending, maxParts); + LOG.info("Number of records fetched: " + response.getPartitionValues().size()); + return response; + } else { + PartitionValuesResponse response = + extractPartitionNamesByFilter(dbName, tableName, filter, cols, ascending, applyDistinct, maxParts); + if (response != null && response.getPartitionValues() != null) { + LOG.info("Number of records fetched with filter: " + response.getPartitionValues().size()); + } + return response; + } + } catch (Exception t) { + LOG.error("Exception in ORM", t); + throw new MetaException("Error retrieving partition values: " + t); + } finally { + } + } + + private PartitionValuesResponse extractPartitionNamesByFilter(String dbName, String tableName, String filter, + List cols, boolean ascending, boolean applyDistinct, long maxParts) + throws MetaException, NoSuchObjectException { + + LOG.info("Database: " + dbName + " Table:" + tableName + " filter\"" + filter + "\" cols:" + cols); + List partitionResults = new ArrayList(); + List partitionNames = null; + List partitions = null; + Table tbl = getTable(dbName, tableName); + try { + // Get partitions by name - ascending or descending + partitionNames = getPartitionNamesByFilter(dbName, tableName, filter, ascending, maxParts); + } catch (MetaException e) { + LOG.warn("Querying by partition names failed, trying out with partition objects, filter:" + filter); + } + + if (partitionNames == null) { + partitions = getPartitionsByFilter(dbName, tableName, filter, (short) maxParts); + } + + if (partitions != null) { + partitionNames = new ArrayList(partitions.size()); + for (Partition partition : partitions) { + // Check for NULL's just to be safe + if (tbl.getPartitionKeys() != null && partition.getValues() != null) { + partitionNames.add(Warehouse.makePartName(tbl.getPartitionKeys(), partition.getValues())); + } + } + } + + if (partitionNames == null && partitions == null) { + throw new MetaException("Cannot obtain list of partitions by filter:\"" + filter + + "\" for " + dbName + ":" + tableName); + } + + if (!ascending) { + Collections.sort(partitionNames, Collections.reverseOrder()); + } + + // Return proper response + PartitionValuesResponse response = new PartitionValuesResponse(); + response.setPartitionValues(new ArrayList(partitionNames.size())); + LOG.info("Converting responses to Partition values for items:" + partitionNames.size()); + for (String partName : partitionNames) { + ArrayList vals = new ArrayList(tbl.getPartitionKeys().size()); + for (FieldSchema key : tbl.getPartitionKeys()) { + vals.add(null); + } + PartitionValuesRow row = new PartitionValuesRow(); + Warehouse.makeValsFromName(partName, vals); + for (String value : vals) { + row.addToRow(value); + } + response.addToPartitionValues(row); + } + return response; + } + + private List getPartitionNamesByFilter(String dbName, String tableName, + String filter, boolean ascending, long maxParts) + throws MetaException { + + boolean success = false; + List partNames = new ArrayList(); + try { + openTransaction(); + LOG.debug("Executing getPartitionNamesByFilter"); + dbName = dbName.toLowerCase(); + tableName = tableName.toLowerCase(); + + MTable mtable = getMTable(dbName, tableName); + if( mtable == null ) { + // To be consistent with the behavior of listPartitionNames, if the + // table or db does not exist, we return an empty list + return partNames; + } + Map params = new HashMap(); + String queryFilterString = makeQueryFilterString(dbName, mtable, filter, params); + Query query = pm.newQuery( + "select partitionName from org.apache.hadoop.hive.metastore.model.MPartition " + + "where " + queryFilterString); + + if (maxParts >= 0) { + //User specified a row limit, set it on the Query + query.setRange(0, maxParts); + } + + LOG.debug("Filter specified is " + filter + "," + + " JDOQL filter is " + queryFilterString); + LOG.debug("Parms is " + params); + + String parameterDeclaration = makeParameterDeclarationStringObj(params); + query.declareParameters(parameterDeclaration); + if (ascending) { + query.setOrdering("partitionName ascending"); + } else { + query.setOrdering("partitionName descending"); + } + query.setResult("partitionName"); + + Collection names = (Collection) query.executeWithMap(params); + partNames = new ArrayList(); + for (Iterator i = names.iterator(); i.hasNext();) { + partNames.add((String) i.next()); + } + + LOG.debug("Done executing query for getPartitionNamesByFilter"); + success = commitTransaction(); + LOG.debug("Done retrieving all objects for getPartitionNamesByFilter, size:" + partNames.size()); + query.closeAll(); + } finally { + if (!success) { + rollbackTransaction(); + } + } + return partNames; + } + + private PartitionValuesResponse getDistinctValuesForPartitionsNoTxn(String dbName, String tableName, List cols, + boolean applyDistinct, boolean ascending, long maxParts) + throws MetaException { + + try { + openTransaction(); + Query q = pm.newQuery("select partitionName from org.apache.hadoop.hive.metastore.model.MPartition " + + "where table.database.name == t1 && table.tableName == t2 "); + q.declareParameters("java.lang.String t1, java.lang.String t2"); + + // TODO: Ordering seems to affect the distinctness, needs checking, disabling. +/* + if (ascending) { + q.setOrdering("partitionName ascending"); + } else { + q.setOrdering("partitionName descending"); + } +*/ + if (maxParts > 0) { + q.setRange(0, maxParts); + } + StringBuilder partValuesSelect = new StringBuilder(256); + if (applyDistinct) { + partValuesSelect.append("DISTINCT "); + } + List partitionKeys = getTable(dbName, tableName).getPartitionKeys(); + for (FieldSchema key : cols) { + partValuesSelect.append(extractPartitionKey(key, partitionKeys)).append(", "); + } + partValuesSelect.setLength(partValuesSelect.length() - 2); + LOG.info("Columns to be selected from Partitions: " + partValuesSelect); + q.setResult(partValuesSelect.toString()); + + PartitionValuesResponse response = new PartitionValuesResponse(); + response.setPartitionValues(new ArrayList()); + if (cols.size() > 1) { + List results = (List) q.execute(dbName, tableName); + for (Object[] row : results) { + PartitionValuesRow rowResponse = new PartitionValuesRow(); + for (Object columnValue : row) { + rowResponse.addToRow((String) columnValue); + } + response.addToPartitionValues(rowResponse); + } + } else { + List results = (List) q.execute(dbName, tableName); + for (Object row : results) { + PartitionValuesRow rowResponse = new PartitionValuesRow(); + rowResponse.addToRow((String) row); + response.addToPartitionValues(rowResponse); + } + } + q.closeAll(); + return response; + } finally { + commitTransaction(); + } + } + private List getPartitionNamesNoTxn(String dbName, String tableName, short max) { List pns = new ArrayList(); dbName = HiveStringUtils.normalizeIdentifier(dbName); diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index 71982a0..2bc4d99 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -28,12 +28,12 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.hive.common.classification.InterfaceStability; -import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FileMetadataExprType; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; @@ -50,6 +50,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEventsCountResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -202,6 +203,10 @@ public abstract void alterTable(String dbname, String name, Table newTable) public abstract List listPartitionNames(String db_name, String tbl_name, short max_parts) throws MetaException; + public abstract PartitionValuesResponse listPartitionValues(String db_name, String tbl_name, + List cols, boolean applyDistinct, String filter, boolean ascending, + List order, long maxParts) throws MetaException; + public abstract List listPartitionNamesByFilter(String db_name, String tbl_name, String filter, short max_parts) throws MetaException; diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index 93d1ba6..15f4914 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -67,6 +67,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEventsCountResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -938,6 +939,13 @@ public void alterTable(String dbName, String tblName, Table newTable) } @Override + public PartitionValuesResponse listPartitionValues(String db_name, String tbl_name, List cols, + boolean applyDistinct, String filter, boolean ascending, + List order, long maxParts) throws MetaException { + throw new UnsupportedOperationException(); + } + + @Override public List listPartitionNamesByFilter(String db_name, String tbl_name, String filter, short max_parts) throws MetaException { // TODO Translate filter -> expr diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index 4db203d..a75dbb0 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -26,12 +26,12 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FileMetadataExprType; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; @@ -48,6 +48,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEventsCountResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -268,6 +269,11 @@ public void alterTable(String dbName, String name, Table newTable) } @Override + public PartitionValuesResponse listPartitionValues(String db_name, String tbl_name, List cols, boolean applyDistinct, String filter, boolean ascending, List order, long maxParts) throws MetaException { + return null; + } + + @Override public List listPartitionNamesByFilter(String dbName, String tblName, String filter, short maxParts) throws MetaException { return objectStore.listPartitionNamesByFilter(dbName, tblName, filter, maxParts); diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index fb16cfc..bbb4bf1 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -27,12 +27,12 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FileMetadataExprType; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; @@ -49,6 +49,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEventsCountResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; +import org.apache.hadoop.hive.metastore.api.PartitionValuesResponse; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; @@ -276,6 +277,11 @@ public void alterTable(String dbname, String name, Table newTable) throws Invali } @Override + public PartitionValuesResponse listPartitionValues(String db_name, String tbl_name, List cols, boolean applyDistinct, String filter, boolean ascending, List order, long maxParts) throws MetaException { + return null; + } + + @Override public List listPartitionNamesByFilter(String db_name, String tbl_name, String filter, short max_parts) throws MetaException { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 569bc45..03a9059 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size865; - ::apache::thrift::protocol::TType _etype868; - xfer += iprot->readListBegin(_etype868, _size865); - this->success.resize(_size865); - uint32_t _i869; - for (_i869 = 0; _i869 < _size865; ++_i869) + uint32_t _size895; + ::apache::thrift::protocol::TType _etype898; + xfer += iprot->readListBegin(_etype898, _size895); + this->success.resize(_size895); + uint32_t _i899; + for (_i899 = 0; _i899 < _size895; ++_i899) { - xfer += iprot->readString(this->success[_i869]); + xfer += iprot->readString(this->success[_i899]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter870; - for (_iter870 = this->success.begin(); _iter870 != this->success.end(); ++_iter870) + std::vector ::const_iterator _iter900; + for (_iter900 = this->success.begin(); _iter900 != this->success.end(); ++_iter900) { - xfer += oprot->writeString((*_iter870)); + xfer += oprot->writeString((*_iter900)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size871; - ::apache::thrift::protocol::TType _etype874; - xfer += iprot->readListBegin(_etype874, _size871); - (*(this->success)).resize(_size871); - uint32_t _i875; - for (_i875 = 0; _i875 < _size871; ++_i875) + uint32_t _size901; + ::apache::thrift::protocol::TType _etype904; + xfer += iprot->readListBegin(_etype904, _size901); + (*(this->success)).resize(_size901); + uint32_t _i905; + for (_i905 = 0; _i905 < _size901; ++_i905) { - xfer += iprot->readString((*(this->success))[_i875]); + xfer += iprot->readString((*(this->success))[_i905]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size876; - ::apache::thrift::protocol::TType _etype879; - xfer += iprot->readListBegin(_etype879, _size876); - this->success.resize(_size876); - uint32_t _i880; - for (_i880 = 0; _i880 < _size876; ++_i880) + uint32_t _size906; + ::apache::thrift::protocol::TType _etype909; + xfer += iprot->readListBegin(_etype909, _size906); + this->success.resize(_size906); + uint32_t _i910; + for (_i910 = 0; _i910 < _size906; ++_i910) { - xfer += iprot->readString(this->success[_i880]); + xfer += iprot->readString(this->success[_i910]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter881; - for (_iter881 = this->success.begin(); _iter881 != this->success.end(); ++_iter881) + std::vector ::const_iterator _iter911; + for (_iter911 = this->success.begin(); _iter911 != this->success.end(); ++_iter911) { - xfer += oprot->writeString((*_iter881)); + xfer += oprot->writeString((*_iter911)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - (*(this->success)).resize(_size882); - uint32_t _i886; - for (_i886 = 0; _i886 < _size882; ++_i886) + uint32_t _size912; + ::apache::thrift::protocol::TType _etype915; + xfer += iprot->readListBegin(_etype915, _size912); + (*(this->success)).resize(_size912); + uint32_t _i916; + for (_i916 = 0; _i916 < _size912; ++_i916) { - xfer += iprot->readString((*(this->success))[_i886]); + xfer += iprot->readString((*(this->success))[_i916]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size887; - ::apache::thrift::protocol::TType _ktype888; - ::apache::thrift::protocol::TType _vtype889; - xfer += iprot->readMapBegin(_ktype888, _vtype889, _size887); - uint32_t _i891; - for (_i891 = 0; _i891 < _size887; ++_i891) + uint32_t _size917; + ::apache::thrift::protocol::TType _ktype918; + ::apache::thrift::protocol::TType _vtype919; + xfer += iprot->readMapBegin(_ktype918, _vtype919, _size917); + uint32_t _i921; + for (_i921 = 0; _i921 < _size917; ++_i921) { - std::string _key892; - xfer += iprot->readString(_key892); - Type& _val893 = this->success[_key892]; - xfer += _val893.read(iprot); + std::string _key922; + xfer += iprot->readString(_key922); + Type& _val923 = this->success[_key922]; + xfer += _val923.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter894; - for (_iter894 = this->success.begin(); _iter894 != this->success.end(); ++_iter894) + std::map ::const_iterator _iter924; + for (_iter924 = this->success.begin(); _iter924 != this->success.end(); ++_iter924) { - xfer += oprot->writeString(_iter894->first); - xfer += _iter894->second.write(oprot); + xfer += oprot->writeString(_iter924->first); + xfer += _iter924->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size895; - ::apache::thrift::protocol::TType _ktype896; - ::apache::thrift::protocol::TType _vtype897; - xfer += iprot->readMapBegin(_ktype896, _vtype897, _size895); - uint32_t _i899; - for (_i899 = 0; _i899 < _size895; ++_i899) + uint32_t _size925; + ::apache::thrift::protocol::TType _ktype926; + ::apache::thrift::protocol::TType _vtype927; + xfer += iprot->readMapBegin(_ktype926, _vtype927, _size925); + uint32_t _i929; + for (_i929 = 0; _i929 < _size925; ++_i929) { - std::string _key900; - xfer += iprot->readString(_key900); - Type& _val901 = (*(this->success))[_key900]; - xfer += _val901.read(iprot); + std::string _key930; + xfer += iprot->readString(_key930); + Type& _val931 = (*(this->success))[_key930]; + xfer += _val931.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size902; - ::apache::thrift::protocol::TType _etype905; - xfer += iprot->readListBegin(_etype905, _size902); - this->success.resize(_size902); - uint32_t _i906; - for (_i906 = 0; _i906 < _size902; ++_i906) + uint32_t _size932; + ::apache::thrift::protocol::TType _etype935; + xfer += iprot->readListBegin(_etype935, _size932); + this->success.resize(_size932); + uint32_t _i936; + for (_i936 = 0; _i936 < _size932; ++_i936) { - xfer += this->success[_i906].read(iprot); + xfer += this->success[_i936].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter907; - for (_iter907 = this->success.begin(); _iter907 != this->success.end(); ++_iter907) + std::vector ::const_iterator _iter937; + for (_iter937 = this->success.begin(); _iter937 != this->success.end(); ++_iter937) { - xfer += (*_iter907).write(oprot); + xfer += (*_iter937).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size908; - ::apache::thrift::protocol::TType _etype911; - xfer += iprot->readListBegin(_etype911, _size908); - (*(this->success)).resize(_size908); - uint32_t _i912; - for (_i912 = 0; _i912 < _size908; ++_i912) + uint32_t _size938; + ::apache::thrift::protocol::TType _etype941; + xfer += iprot->readListBegin(_etype941, _size938); + (*(this->success)).resize(_size938); + uint32_t _i942; + for (_i942 = 0; _i942 < _size938; ++_i942) { - xfer += (*(this->success))[_i912].read(iprot); + xfer += (*(this->success))[_i942].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size913; - ::apache::thrift::protocol::TType _etype916; - xfer += iprot->readListBegin(_etype916, _size913); - this->success.resize(_size913); - uint32_t _i917; - for (_i917 = 0; _i917 < _size913; ++_i917) + uint32_t _size943; + ::apache::thrift::protocol::TType _etype946; + xfer += iprot->readListBegin(_etype946, _size943); + this->success.resize(_size943); + uint32_t _i947; + for (_i947 = 0; _i947 < _size943; ++_i947) { - xfer += this->success[_i917].read(iprot); + xfer += this->success[_i947].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter918; - for (_iter918 = this->success.begin(); _iter918 != this->success.end(); ++_iter918) + std::vector ::const_iterator _iter948; + for (_iter948 = this->success.begin(); _iter948 != this->success.end(); ++_iter948) { - xfer += (*_iter918).write(oprot); + xfer += (*_iter948).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size919; - ::apache::thrift::protocol::TType _etype922; - xfer += iprot->readListBegin(_etype922, _size919); - (*(this->success)).resize(_size919); - uint32_t _i923; - for (_i923 = 0; _i923 < _size919; ++_i923) + uint32_t _size949; + ::apache::thrift::protocol::TType _etype952; + xfer += iprot->readListBegin(_etype952, _size949); + (*(this->success)).resize(_size949); + uint32_t _i953; + for (_i953 = 0; _i953 < _size949; ++_i953) { - xfer += (*(this->success))[_i923].read(iprot); + xfer += (*(this->success))[_i953].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size924; - ::apache::thrift::protocol::TType _etype927; - xfer += iprot->readListBegin(_etype927, _size924); - this->success.resize(_size924); - uint32_t _i928; - for (_i928 = 0; _i928 < _size924; ++_i928) + uint32_t _size954; + ::apache::thrift::protocol::TType _etype957; + xfer += iprot->readListBegin(_etype957, _size954); + this->success.resize(_size954); + uint32_t _i958; + for (_i958 = 0; _i958 < _size954; ++_i958) { - xfer += this->success[_i928].read(iprot); + xfer += this->success[_i958].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter929; - for (_iter929 = this->success.begin(); _iter929 != this->success.end(); ++_iter929) + std::vector ::const_iterator _iter959; + for (_iter959 = this->success.begin(); _iter959 != this->success.end(); ++_iter959) { - xfer += (*_iter929).write(oprot); + xfer += (*_iter959).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size930; - ::apache::thrift::protocol::TType _etype933; - xfer += iprot->readListBegin(_etype933, _size930); - (*(this->success)).resize(_size930); - uint32_t _i934; - for (_i934 = 0; _i934 < _size930; ++_i934) + uint32_t _size960; + ::apache::thrift::protocol::TType _etype963; + xfer += iprot->readListBegin(_etype963, _size960); + (*(this->success)).resize(_size960); + uint32_t _i964; + for (_i964 = 0; _i964 < _size960; ++_i964) { - xfer += (*(this->success))[_i934].read(iprot); + xfer += (*(this->success))[_i964].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size935; - ::apache::thrift::protocol::TType _etype938; - xfer += iprot->readListBegin(_etype938, _size935); - this->success.resize(_size935); - uint32_t _i939; - for (_i939 = 0; _i939 < _size935; ++_i939) + uint32_t _size965; + ::apache::thrift::protocol::TType _etype968; + xfer += iprot->readListBegin(_etype968, _size965); + this->success.resize(_size965); + uint32_t _i969; + for (_i969 = 0; _i969 < _size965; ++_i969) { - xfer += this->success[_i939].read(iprot); + xfer += this->success[_i969].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter940; - for (_iter940 = this->success.begin(); _iter940 != this->success.end(); ++_iter940) + std::vector ::const_iterator _iter970; + for (_iter970 = this->success.begin(); _iter970 != this->success.end(); ++_iter970) { - xfer += (*_iter940).write(oprot); + xfer += (*_iter970).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size941; - ::apache::thrift::protocol::TType _etype944; - xfer += iprot->readListBegin(_etype944, _size941); - (*(this->success)).resize(_size941); - uint32_t _i945; - for (_i945 = 0; _i945 < _size941; ++_i945) + uint32_t _size971; + ::apache::thrift::protocol::TType _etype974; + xfer += iprot->readListBegin(_etype974, _size971); + (*(this->success)).resize(_size971); + uint32_t _i975; + for (_i975 = 0; _i975 < _size971; ++_i975) { - xfer += (*(this->success))[_i945].read(iprot); + xfer += (*(this->success))[_i975].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size946; - ::apache::thrift::protocol::TType _etype949; - xfer += iprot->readListBegin(_etype949, _size946); - this->primaryKeys.resize(_size946); - uint32_t _i950; - for (_i950 = 0; _i950 < _size946; ++_i950) + uint32_t _size976; + ::apache::thrift::protocol::TType _etype979; + xfer += iprot->readListBegin(_etype979, _size976); + this->primaryKeys.resize(_size976); + uint32_t _i980; + for (_i980 = 0; _i980 < _size976; ++_i980) { - xfer += this->primaryKeys[_i950].read(iprot); + xfer += this->primaryKeys[_i980].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size951; - ::apache::thrift::protocol::TType _etype954; - xfer += iprot->readListBegin(_etype954, _size951); - this->foreignKeys.resize(_size951); - uint32_t _i955; - for (_i955 = 0; _i955 < _size951; ++_i955) + uint32_t _size981; + ::apache::thrift::protocol::TType _etype984; + xfer += iprot->readListBegin(_etype984, _size981); + this->foreignKeys.resize(_size981); + uint32_t _i985; + for (_i985 = 0; _i985 < _size981; ++_i985) { - xfer += this->foreignKeys[_i955].read(iprot); + xfer += this->foreignKeys[_i985].read(iprot); } xfer += iprot->readListEnd(); } @@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size956; - ::apache::thrift::protocol::TType _etype959; - xfer += iprot->readListBegin(_etype959, _size956); - this->uniqueConstraints.resize(_size956); - uint32_t _i960; - for (_i960 = 0; _i960 < _size956; ++_i960) + uint32_t _size986; + ::apache::thrift::protocol::TType _etype989; + xfer += iprot->readListBegin(_etype989, _size986); + this->uniqueConstraints.resize(_size986); + uint32_t _i990; + for (_i990 = 0; _i990 < _size986; ++_i990) { - xfer += this->uniqueConstraints[_i960].read(iprot); + xfer += this->uniqueConstraints[_i990].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size961; - ::apache::thrift::protocol::TType _etype964; - xfer += iprot->readListBegin(_etype964, _size961); - this->notNullConstraints.resize(_size961); - uint32_t _i965; - for (_i965 = 0; _i965 < _size961; ++_i965) + uint32_t _size991; + ::apache::thrift::protocol::TType _etype994; + xfer += iprot->readListBegin(_etype994, _size991); + this->notNullConstraints.resize(_size991); + uint32_t _i995; + for (_i995 = 0; _i995 < _size991; ++_i995) { - xfer += this->notNullConstraints[_i965].read(iprot); + xfer += this->notNullConstraints[_i995].read(iprot); } xfer += iprot->readListEnd(); } @@ -4618,10 +4618,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter966; - for (_iter966 = this->primaryKeys.begin(); _iter966 != this->primaryKeys.end(); ++_iter966) + std::vector ::const_iterator _iter996; + for (_iter996 = this->primaryKeys.begin(); _iter996 != this->primaryKeys.end(); ++_iter996) { - xfer += (*_iter966).write(oprot); + xfer += (*_iter996).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4630,10 +4630,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter967; - for (_iter967 = this->foreignKeys.begin(); _iter967 != this->foreignKeys.end(); ++_iter967) + std::vector ::const_iterator _iter997; + for (_iter997 = this->foreignKeys.begin(); _iter997 != this->foreignKeys.end(); ++_iter997) { - xfer += (*_iter967).write(oprot); + xfer += (*_iter997).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4642,10 +4642,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter968; - for (_iter968 = this->uniqueConstraints.begin(); _iter968 != this->uniqueConstraints.end(); ++_iter968) + std::vector ::const_iterator _iter998; + for (_iter998 = this->uniqueConstraints.begin(); _iter998 != this->uniqueConstraints.end(); ++_iter998) { - xfer += (*_iter968).write(oprot); + xfer += (*_iter998).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4654,10 +4654,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter969; - for (_iter969 = this->notNullConstraints.begin(); _iter969 != this->notNullConstraints.end(); ++_iter969) + std::vector ::const_iterator _iter999; + for (_iter999 = this->notNullConstraints.begin(); _iter999 != this->notNullConstraints.end(); ++_iter999) { - xfer += (*_iter969).write(oprot); + xfer += (*_iter999).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4685,10 +4685,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter970; - for (_iter970 = (*(this->primaryKeys)).begin(); _iter970 != (*(this->primaryKeys)).end(); ++_iter970) + std::vector ::const_iterator _iter1000; + for (_iter1000 = (*(this->primaryKeys)).begin(); _iter1000 != (*(this->primaryKeys)).end(); ++_iter1000) { - xfer += (*_iter970).write(oprot); + xfer += (*_iter1000).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4697,10 +4697,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter971; - for (_iter971 = (*(this->foreignKeys)).begin(); _iter971 != (*(this->foreignKeys)).end(); ++_iter971) + std::vector ::const_iterator _iter1001; + for (_iter1001 = (*(this->foreignKeys)).begin(); _iter1001 != (*(this->foreignKeys)).end(); ++_iter1001) { - xfer += (*_iter971).write(oprot); + xfer += (*_iter1001).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4709,10 +4709,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter972; - for (_iter972 = (*(this->uniqueConstraints)).begin(); _iter972 != (*(this->uniqueConstraints)).end(); ++_iter972) + std::vector ::const_iterator _iter1002; + for (_iter1002 = (*(this->uniqueConstraints)).begin(); _iter1002 != (*(this->uniqueConstraints)).end(); ++_iter1002) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter1002).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4721,10 +4721,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter973; - for (_iter973 = (*(this->notNullConstraints)).begin(); _iter973 != (*(this->notNullConstraints)).end(); ++_iter973) + std::vector ::const_iterator _iter1003; + for (_iter1003 = (*(this->notNullConstraints)).begin(); _iter1003 != (*(this->notNullConstraints)).end(); ++_iter1003) { - xfer += (*_iter973).write(oprot); + xfer += (*_iter1003).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6478,14 +6478,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size974; - ::apache::thrift::protocol::TType _etype977; - xfer += iprot->readListBegin(_etype977, _size974); - this->partNames.resize(_size974); - uint32_t _i978; - for (_i978 = 0; _i978 < _size974; ++_i978) + uint32_t _size1004; + ::apache::thrift::protocol::TType _etype1007; + xfer += iprot->readListBegin(_etype1007, _size1004); + this->partNames.resize(_size1004); + uint32_t _i1008; + for (_i1008 = 0; _i1008 < _size1004; ++_i1008) { - xfer += iprot->readString(this->partNames[_i978]); + xfer += iprot->readString(this->partNames[_i1008]); } xfer += iprot->readListEnd(); } @@ -6522,10 +6522,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter979; - for (_iter979 = this->partNames.begin(); _iter979 != this->partNames.end(); ++_iter979) + std::vector ::const_iterator _iter1009; + for (_iter1009 = this->partNames.begin(); _iter1009 != this->partNames.end(); ++_iter1009) { - xfer += oprot->writeString((*_iter979)); + xfer += oprot->writeString((*_iter1009)); } xfer += oprot->writeListEnd(); } @@ -6557,10 +6557,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->partNames)).size())); - std::vector ::const_iterator _iter980; - for (_iter980 = (*(this->partNames)).begin(); _iter980 != (*(this->partNames)).end(); ++_iter980) + std::vector ::const_iterator _iter1010; + for (_iter1010 = (*(this->partNames)).begin(); _iter1010 != (*(this->partNames)).end(); ++_iter1010) { - xfer += oprot->writeString((*_iter980)); + xfer += oprot->writeString((*_iter1010)); } xfer += oprot->writeListEnd(); } @@ -6804,14 +6804,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size981; - ::apache::thrift::protocol::TType _etype984; - xfer += iprot->readListBegin(_etype984, _size981); - this->success.resize(_size981); - uint32_t _i985; - for (_i985 = 0; _i985 < _size981; ++_i985) + uint32_t _size1011; + ::apache::thrift::protocol::TType _etype1014; + xfer += iprot->readListBegin(_etype1014, _size1011); + this->success.resize(_size1011); + uint32_t _i1015; + for (_i1015 = 0; _i1015 < _size1011; ++_i1015) { - xfer += iprot->readString(this->success[_i985]); + xfer += iprot->readString(this->success[_i1015]); } xfer += iprot->readListEnd(); } @@ -6850,10 +6850,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter986; - for (_iter986 = this->success.begin(); _iter986 != this->success.end(); ++_iter986) + std::vector ::const_iterator _iter1016; + for (_iter1016 = this->success.begin(); _iter1016 != this->success.end(); ++_iter1016) { - xfer += oprot->writeString((*_iter986)); + xfer += oprot->writeString((*_iter1016)); } xfer += oprot->writeListEnd(); } @@ -6898,14 +6898,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size987; - ::apache::thrift::protocol::TType _etype990; - xfer += iprot->readListBegin(_etype990, _size987); - (*(this->success)).resize(_size987); - uint32_t _i991; - for (_i991 = 0; _i991 < _size987; ++_i991) + uint32_t _size1017; + ::apache::thrift::protocol::TType _etype1020; + xfer += iprot->readListBegin(_etype1020, _size1017); + (*(this->success)).resize(_size1017); + uint32_t _i1021; + for (_i1021 = 0; _i1021 < _size1017; ++_i1021) { - xfer += iprot->readString((*(this->success))[_i991]); + xfer += iprot->readString((*(this->success))[_i1021]); } xfer += iprot->readListEnd(); } @@ -7075,14 +7075,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->success.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size1022; + ::apache::thrift::protocol::TType _etype1025; + xfer += iprot->readListBegin(_etype1025, _size1022); + this->success.resize(_size1022); + uint32_t _i1026; + for (_i1026 = 0; _i1026 < _size1022; ++_i1026) { - xfer += iprot->readString(this->success[_i996]); + xfer += iprot->readString(this->success[_i1026]); } xfer += iprot->readListEnd(); } @@ -7121,10 +7121,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift:: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter997; - for (_iter997 = this->success.begin(); _iter997 != this->success.end(); ++_iter997) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->success.begin(); _iter1027 != this->success.end(); ++_iter1027) { - xfer += oprot->writeString((*_iter997)); + xfer += oprot->writeString((*_iter1027)); } xfer += oprot->writeListEnd(); } @@ -7169,14 +7169,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size998; - ::apache::thrift::protocol::TType _etype1001; - xfer += iprot->readListBegin(_etype1001, _size998); - (*(this->success)).resize(_size998); - uint32_t _i1002; - for (_i1002 = 0; _i1002 < _size998; ++_i1002) + uint32_t _size1028; + ::apache::thrift::protocol::TType _etype1031; + xfer += iprot->readListBegin(_etype1031, _size1028); + (*(this->success)).resize(_size1028); + uint32_t _i1032; + for (_i1032 = 0; _i1032 < _size1028; ++_i1032) { - xfer += iprot->readString((*(this->success))[_i1002]); + xfer += iprot->readString((*(this->success))[_i1032]); } xfer += iprot->readListEnd(); } @@ -7251,14 +7251,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size1003; - ::apache::thrift::protocol::TType _etype1006; - xfer += iprot->readListBegin(_etype1006, _size1003); - this->tbl_types.resize(_size1003); - uint32_t _i1007; - for (_i1007 = 0; _i1007 < _size1003; ++_i1007) + uint32_t _size1033; + ::apache::thrift::protocol::TType _etype1036; + xfer += iprot->readListBegin(_etype1036, _size1033); + this->tbl_types.resize(_size1033); + uint32_t _i1037; + for (_i1037 = 0; _i1037 < _size1033; ++_i1037) { - xfer += iprot->readString(this->tbl_types[_i1007]); + xfer += iprot->readString(this->tbl_types[_i1037]); } xfer += iprot->readListEnd(); } @@ -7295,10 +7295,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter1008; - for (_iter1008 = this->tbl_types.begin(); _iter1008 != this->tbl_types.end(); ++_iter1008) + std::vector ::const_iterator _iter1038; + for (_iter1038 = this->tbl_types.begin(); _iter1038 != this->tbl_types.end(); ++_iter1038) { - xfer += oprot->writeString((*_iter1008)); + xfer += oprot->writeString((*_iter1038)); } xfer += oprot->writeListEnd(); } @@ -7330,10 +7330,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter1009; - for (_iter1009 = (*(this->tbl_types)).begin(); _iter1009 != (*(this->tbl_types)).end(); ++_iter1009) + std::vector ::const_iterator _iter1039; + for (_iter1039 = (*(this->tbl_types)).begin(); _iter1039 != (*(this->tbl_types)).end(); ++_iter1039) { - xfer += oprot->writeString((*_iter1009)); + xfer += oprot->writeString((*_iter1039)); } xfer += oprot->writeListEnd(); } @@ -7374,14 +7374,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1010; - ::apache::thrift::protocol::TType _etype1013; - xfer += iprot->readListBegin(_etype1013, _size1010); - this->success.resize(_size1010); - uint32_t _i1014; - for (_i1014 = 0; _i1014 < _size1010; ++_i1014) + uint32_t _size1040; + ::apache::thrift::protocol::TType _etype1043; + xfer += iprot->readListBegin(_etype1043, _size1040); + this->success.resize(_size1040); + uint32_t _i1044; + for (_i1044 = 0; _i1044 < _size1040; ++_i1044) { - xfer += this->success[_i1014].read(iprot); + xfer += this->success[_i1044].read(iprot); } xfer += iprot->readListEnd(); } @@ -7420,10 +7420,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1015; - for (_iter1015 = this->success.begin(); _iter1015 != this->success.end(); ++_iter1015) + std::vector ::const_iterator _iter1045; + for (_iter1045 = this->success.begin(); _iter1045 != this->success.end(); ++_iter1045) { - xfer += (*_iter1015).write(oprot); + xfer += (*_iter1045).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7468,14 +7468,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1016; - ::apache::thrift::protocol::TType _etype1019; - xfer += iprot->readListBegin(_etype1019, _size1016); - (*(this->success)).resize(_size1016); - uint32_t _i1020; - for (_i1020 = 0; _i1020 < _size1016; ++_i1020) + uint32_t _size1046; + ::apache::thrift::protocol::TType _etype1049; + xfer += iprot->readListBegin(_etype1049, _size1046); + (*(this->success)).resize(_size1046); + uint32_t _i1050; + for (_i1050 = 0; _i1050 < _size1046; ++_i1050) { - xfer += (*(this->success))[_i1020].read(iprot); + xfer += (*(this->success))[_i1050].read(iprot); } xfer += iprot->readListEnd(); } @@ -7613,14 +7613,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1021; - ::apache::thrift::protocol::TType _etype1024; - xfer += iprot->readListBegin(_etype1024, _size1021); - this->success.resize(_size1021); - uint32_t _i1025; - for (_i1025 = 0; _i1025 < _size1021; ++_i1025) + uint32_t _size1051; + ::apache::thrift::protocol::TType _etype1054; + xfer += iprot->readListBegin(_etype1054, _size1051); + this->success.resize(_size1051); + uint32_t _i1055; + for (_i1055 = 0; _i1055 < _size1051; ++_i1055) { - xfer += iprot->readString(this->success[_i1025]); + xfer += iprot->readString(this->success[_i1055]); } xfer += iprot->readListEnd(); } @@ -7659,10 +7659,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1026; - for (_iter1026 = this->success.begin(); _iter1026 != this->success.end(); ++_iter1026) + std::vector ::const_iterator _iter1056; + for (_iter1056 = this->success.begin(); _iter1056 != this->success.end(); ++_iter1056) { - xfer += oprot->writeString((*_iter1026)); + xfer += oprot->writeString((*_iter1056)); } xfer += oprot->writeListEnd(); } @@ -7707,14 +7707,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1027; - ::apache::thrift::protocol::TType _etype1030; - xfer += iprot->readListBegin(_etype1030, _size1027); - (*(this->success)).resize(_size1027); - uint32_t _i1031; - for (_i1031 = 0; _i1031 < _size1027; ++_i1031) + uint32_t _size1057; + ::apache::thrift::protocol::TType _etype1060; + xfer += iprot->readListBegin(_etype1060, _size1057); + (*(this->success)).resize(_size1057); + uint32_t _i1061; + for (_i1061 = 0; _i1061 < _size1057; ++_i1061) { - xfer += iprot->readString((*(this->success))[_i1031]); + xfer += iprot->readString((*(this->success))[_i1061]); } xfer += iprot->readListEnd(); } @@ -8024,14 +8024,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1032; - ::apache::thrift::protocol::TType _etype1035; - xfer += iprot->readListBegin(_etype1035, _size1032); - this->tbl_names.resize(_size1032); - uint32_t _i1036; - for (_i1036 = 0; _i1036 < _size1032; ++_i1036) + uint32_t _size1062; + ::apache::thrift::protocol::TType _etype1065; + xfer += iprot->readListBegin(_etype1065, _size1062); + this->tbl_names.resize(_size1062); + uint32_t _i1066; + for (_i1066 = 0; _i1066 < _size1062; ++_i1066) { - xfer += iprot->readString(this->tbl_names[_i1036]); + xfer += iprot->readString(this->tbl_names[_i1066]); } xfer += iprot->readListEnd(); } @@ -8064,10 +8064,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1037; - for (_iter1037 = this->tbl_names.begin(); _iter1037 != this->tbl_names.end(); ++_iter1037) + std::vector ::const_iterator _iter1067; + for (_iter1067 = this->tbl_names.begin(); _iter1067 != this->tbl_names.end(); ++_iter1067) { - xfer += oprot->writeString((*_iter1037)); + xfer += oprot->writeString((*_iter1067)); } xfer += oprot->writeListEnd(); } @@ -8095,10 +8095,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1038; - for (_iter1038 = (*(this->tbl_names)).begin(); _iter1038 != (*(this->tbl_names)).end(); ++_iter1038) + std::vector ::const_iterator _iter1068; + for (_iter1068 = (*(this->tbl_names)).begin(); _iter1068 != (*(this->tbl_names)).end(); ++_iter1068) { - xfer += oprot->writeString((*_iter1038)); + xfer += oprot->writeString((*_iter1068)); } xfer += oprot->writeListEnd(); } @@ -8139,14 +8139,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1039; - ::apache::thrift::protocol::TType _etype1042; - xfer += iprot->readListBegin(_etype1042, _size1039); - this->success.resize(_size1039); - uint32_t _i1043; - for (_i1043 = 0; _i1043 < _size1039; ++_i1043) + uint32_t _size1069; + ::apache::thrift::protocol::TType _etype1072; + xfer += iprot->readListBegin(_etype1072, _size1069); + this->success.resize(_size1069); + uint32_t _i1073; + for (_i1073 = 0; _i1073 < _size1069; ++_i1073) { - xfer += this->success[_i1043].read(iprot); + xfer += this->success[_i1073].read(iprot); } xfer += iprot->readListEnd(); } @@ -8177,10 +8177,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1044; - for (_iter1044 = this->success.begin(); _iter1044 != this->success.end(); ++_iter1044) + std::vector
::const_iterator _iter1074; + for (_iter1074 = this->success.begin(); _iter1074 != this->success.end(); ++_iter1074) { - xfer += (*_iter1044).write(oprot); + xfer += (*_iter1074).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8221,14 +8221,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1045; - ::apache::thrift::protocol::TType _etype1048; - xfer += iprot->readListBegin(_etype1048, _size1045); - (*(this->success)).resize(_size1045); - uint32_t _i1049; - for (_i1049 = 0; _i1049 < _size1045; ++_i1049) + uint32_t _size1075; + ::apache::thrift::protocol::TType _etype1078; + xfer += iprot->readListBegin(_etype1078, _size1075); + (*(this->success)).resize(_size1075); + uint32_t _i1079; + for (_i1079 = 0; _i1079 < _size1075; ++_i1079) { - xfer += (*(this->success))[_i1049].read(iprot); + xfer += (*(this->success))[_i1079].read(iprot); } xfer += iprot->readListEnd(); } @@ -8864,14 +8864,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1050; - ::apache::thrift::protocol::TType _etype1053; - xfer += iprot->readListBegin(_etype1053, _size1050); - this->success.resize(_size1050); - uint32_t _i1054; - for (_i1054 = 0; _i1054 < _size1050; ++_i1054) + uint32_t _size1080; + ::apache::thrift::protocol::TType _etype1083; + xfer += iprot->readListBegin(_etype1083, _size1080); + this->success.resize(_size1080); + uint32_t _i1084; + for (_i1084 = 0; _i1084 < _size1080; ++_i1084) { - xfer += iprot->readString(this->success[_i1054]); + xfer += iprot->readString(this->success[_i1084]); } xfer += iprot->readListEnd(); } @@ -8926,10 +8926,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1055; - for (_iter1055 = this->success.begin(); _iter1055 != this->success.end(); ++_iter1055) + std::vector ::const_iterator _iter1085; + for (_iter1085 = this->success.begin(); _iter1085 != this->success.end(); ++_iter1085) { - xfer += oprot->writeString((*_iter1055)); + xfer += oprot->writeString((*_iter1085)); } xfer += oprot->writeListEnd(); } @@ -8982,14 +8982,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1056; - ::apache::thrift::protocol::TType _etype1059; - xfer += iprot->readListBegin(_etype1059, _size1056); - (*(this->success)).resize(_size1056); - uint32_t _i1060; - for (_i1060 = 0; _i1060 < _size1056; ++_i1060) + uint32_t _size1086; + ::apache::thrift::protocol::TType _etype1089; + xfer += iprot->readListBegin(_etype1089, _size1086); + (*(this->success)).resize(_size1086); + uint32_t _i1090; + for (_i1090 = 0; _i1090 < _size1086; ++_i1090) { - xfer += iprot->readString((*(this->success))[_i1060]); + xfer += iprot->readString((*(this->success))[_i1090]); } xfer += iprot->readListEnd(); } @@ -10323,14 +10323,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - this->new_parts.resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _size1091; + ::apache::thrift::protocol::TType _etype1094; + xfer += iprot->readListBegin(_etype1094, _size1091); + this->new_parts.resize(_size1091); + uint32_t _i1095; + for (_i1095 = 0; _i1095 < _size1091; ++_i1095) { - xfer += this->new_parts[_i1065].read(iprot); + xfer += this->new_parts[_i1095].read(iprot); } xfer += iprot->readListEnd(); } @@ -10359,10 +10359,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1066; - for (_iter1066 = this->new_parts.begin(); _iter1066 != this->new_parts.end(); ++_iter1066) + std::vector ::const_iterator _iter1096; + for (_iter1096 = this->new_parts.begin(); _iter1096 != this->new_parts.end(); ++_iter1096) { - xfer += (*_iter1066).write(oprot); + xfer += (*_iter1096).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10386,10 +10386,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1067; - for (_iter1067 = (*(this->new_parts)).begin(); _iter1067 != (*(this->new_parts)).end(); ++_iter1067) + std::vector ::const_iterator _iter1097; + for (_iter1097 = (*(this->new_parts)).begin(); _iter1097 != (*(this->new_parts)).end(); ++_iter1097) { - xfer += (*_iter1067).write(oprot); + xfer += (*_iter1097).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10598,14 +10598,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1068; - ::apache::thrift::protocol::TType _etype1071; - xfer += iprot->readListBegin(_etype1071, _size1068); - this->new_parts.resize(_size1068); - uint32_t _i1072; - for (_i1072 = 0; _i1072 < _size1068; ++_i1072) + uint32_t _size1098; + ::apache::thrift::protocol::TType _etype1101; + xfer += iprot->readListBegin(_etype1101, _size1098); + this->new_parts.resize(_size1098); + uint32_t _i1102; + for (_i1102 = 0; _i1102 < _size1098; ++_i1102) { - xfer += this->new_parts[_i1072].read(iprot); + xfer += this->new_parts[_i1102].read(iprot); } xfer += iprot->readListEnd(); } @@ -10634,10 +10634,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1073; - for (_iter1073 = this->new_parts.begin(); _iter1073 != this->new_parts.end(); ++_iter1073) + std::vector ::const_iterator _iter1103; + for (_iter1103 = this->new_parts.begin(); _iter1103 != this->new_parts.end(); ++_iter1103) { - xfer += (*_iter1073).write(oprot); + xfer += (*_iter1103).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10661,10 +10661,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1074; - for (_iter1074 = (*(this->new_parts)).begin(); _iter1074 != (*(this->new_parts)).end(); ++_iter1074) + std::vector ::const_iterator _iter1104; + for (_iter1104 = (*(this->new_parts)).begin(); _iter1104 != (*(this->new_parts)).end(); ++_iter1104) { - xfer += (*_iter1074).write(oprot); + xfer += (*_iter1104).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10889,14 +10889,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1075; - ::apache::thrift::protocol::TType _etype1078; - xfer += iprot->readListBegin(_etype1078, _size1075); - this->part_vals.resize(_size1075); - uint32_t _i1079; - for (_i1079 = 0; _i1079 < _size1075; ++_i1079) + uint32_t _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->part_vals.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += iprot->readString(this->part_vals[_i1079]); + xfer += iprot->readString(this->part_vals[_i1109]); } xfer += iprot->readListEnd(); } @@ -10933,10 +10933,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1080; - for (_iter1080 = this->part_vals.begin(); _iter1080 != this->part_vals.end(); ++_iter1080) + std::vector ::const_iterator _iter1110; + for (_iter1110 = this->part_vals.begin(); _iter1110 != this->part_vals.end(); ++_iter1110) { - xfer += oprot->writeString((*_iter1080)); + xfer += oprot->writeString((*_iter1110)); } xfer += oprot->writeListEnd(); } @@ -10968,10 +10968,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1081; - for (_iter1081 = (*(this->part_vals)).begin(); _iter1081 != (*(this->part_vals)).end(); ++_iter1081) + std::vector ::const_iterator _iter1111; + for (_iter1111 = (*(this->part_vals)).begin(); _iter1111 != (*(this->part_vals)).end(); ++_iter1111) { - xfer += oprot->writeString((*_iter1081)); + xfer += oprot->writeString((*_iter1111)); } xfer += oprot->writeListEnd(); } @@ -11443,14 +11443,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1082; - ::apache::thrift::protocol::TType _etype1085; - xfer += iprot->readListBegin(_etype1085, _size1082); - this->part_vals.resize(_size1082); - uint32_t _i1086; - for (_i1086 = 0; _i1086 < _size1082; ++_i1086) + uint32_t _size1112; + ::apache::thrift::protocol::TType _etype1115; + xfer += iprot->readListBegin(_etype1115, _size1112); + this->part_vals.resize(_size1112); + uint32_t _i1116; + for (_i1116 = 0; _i1116 < _size1112; ++_i1116) { - xfer += iprot->readString(this->part_vals[_i1086]); + xfer += iprot->readString(this->part_vals[_i1116]); } xfer += iprot->readListEnd(); } @@ -11495,10 +11495,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1087; - for (_iter1087 = this->part_vals.begin(); _iter1087 != this->part_vals.end(); ++_iter1087) + std::vector ::const_iterator _iter1117; + for (_iter1117 = this->part_vals.begin(); _iter1117 != this->part_vals.end(); ++_iter1117) { - xfer += oprot->writeString((*_iter1087)); + xfer += oprot->writeString((*_iter1117)); } xfer += oprot->writeListEnd(); } @@ -11534,10 +11534,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1088; - for (_iter1088 = (*(this->part_vals)).begin(); _iter1088 != (*(this->part_vals)).end(); ++_iter1088) + std::vector ::const_iterator _iter1118; + for (_iter1118 = (*(this->part_vals)).begin(); _iter1118 != (*(this->part_vals)).end(); ++_iter1118) { - xfer += oprot->writeString((*_iter1088)); + xfer += oprot->writeString((*_iter1118)); } xfer += oprot->writeListEnd(); } @@ -12340,14 +12340,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1089; - ::apache::thrift::protocol::TType _etype1092; - xfer += iprot->readListBegin(_etype1092, _size1089); - this->part_vals.resize(_size1089); - uint32_t _i1093; - for (_i1093 = 0; _i1093 < _size1089; ++_i1093) + uint32_t _size1119; + ::apache::thrift::protocol::TType _etype1122; + xfer += iprot->readListBegin(_etype1122, _size1119); + this->part_vals.resize(_size1119); + uint32_t _i1123; + for (_i1123 = 0; _i1123 < _size1119; ++_i1123) { - xfer += iprot->readString(this->part_vals[_i1093]); + xfer += iprot->readString(this->part_vals[_i1123]); } xfer += iprot->readListEnd(); } @@ -12392,10 +12392,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1094; - for (_iter1094 = this->part_vals.begin(); _iter1094 != this->part_vals.end(); ++_iter1094) + std::vector ::const_iterator _iter1124; + for (_iter1124 = this->part_vals.begin(); _iter1124 != this->part_vals.end(); ++_iter1124) { - xfer += oprot->writeString((*_iter1094)); + xfer += oprot->writeString((*_iter1124)); } xfer += oprot->writeListEnd(); } @@ -12431,10 +12431,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1095; - for (_iter1095 = (*(this->part_vals)).begin(); _iter1095 != (*(this->part_vals)).end(); ++_iter1095) + std::vector ::const_iterator _iter1125; + for (_iter1125 = (*(this->part_vals)).begin(); _iter1125 != (*(this->part_vals)).end(); ++_iter1125) { - xfer += oprot->writeString((*_iter1095)); + xfer += oprot->writeString((*_iter1125)); } xfer += oprot->writeListEnd(); } @@ -12643,14 +12643,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1096; - ::apache::thrift::protocol::TType _etype1099; - xfer += iprot->readListBegin(_etype1099, _size1096); - this->part_vals.resize(_size1096); - uint32_t _i1100; - for (_i1100 = 0; _i1100 < _size1096; ++_i1100) + uint32_t _size1126; + ::apache::thrift::protocol::TType _etype1129; + xfer += iprot->readListBegin(_etype1129, _size1126); + this->part_vals.resize(_size1126); + uint32_t _i1130; + for (_i1130 = 0; _i1130 < _size1126; ++_i1130) { - xfer += iprot->readString(this->part_vals[_i1100]); + xfer += iprot->readString(this->part_vals[_i1130]); } xfer += iprot->readListEnd(); } @@ -12703,10 +12703,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1101; - for (_iter1101 = this->part_vals.begin(); _iter1101 != this->part_vals.end(); ++_iter1101) + std::vector ::const_iterator _iter1131; + for (_iter1131 = this->part_vals.begin(); _iter1131 != this->part_vals.end(); ++_iter1131) { - xfer += oprot->writeString((*_iter1101)); + xfer += oprot->writeString((*_iter1131)); } xfer += oprot->writeListEnd(); } @@ -12746,10 +12746,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1102; - for (_iter1102 = (*(this->part_vals)).begin(); _iter1102 != (*(this->part_vals)).end(); ++_iter1102) + std::vector ::const_iterator _iter1132; + for (_iter1132 = (*(this->part_vals)).begin(); _iter1132 != (*(this->part_vals)).end(); ++_iter1132) { - xfer += oprot->writeString((*_iter1102)); + xfer += oprot->writeString((*_iter1132)); } xfer += oprot->writeListEnd(); } @@ -13755,14 +13755,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1103; - ::apache::thrift::protocol::TType _etype1106; - xfer += iprot->readListBegin(_etype1106, _size1103); - this->part_vals.resize(_size1103); - uint32_t _i1107; - for (_i1107 = 0; _i1107 < _size1103; ++_i1107) + uint32_t _size1133; + ::apache::thrift::protocol::TType _etype1136; + xfer += iprot->readListBegin(_etype1136, _size1133); + this->part_vals.resize(_size1133); + uint32_t _i1137; + for (_i1137 = 0; _i1137 < _size1133; ++_i1137) { - xfer += iprot->readString(this->part_vals[_i1107]); + xfer += iprot->readString(this->part_vals[_i1137]); } xfer += iprot->readListEnd(); } @@ -13799,10 +13799,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1108; - for (_iter1108 = this->part_vals.begin(); _iter1108 != this->part_vals.end(); ++_iter1108) + std::vector ::const_iterator _iter1138; + for (_iter1138 = this->part_vals.begin(); _iter1138 != this->part_vals.end(); ++_iter1138) { - xfer += oprot->writeString((*_iter1108)); + xfer += oprot->writeString((*_iter1138)); } xfer += oprot->writeListEnd(); } @@ -13834,10 +13834,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1109; - for (_iter1109 = (*(this->part_vals)).begin(); _iter1109 != (*(this->part_vals)).end(); ++_iter1109) + std::vector ::const_iterator _iter1139; + for (_iter1139 = (*(this->part_vals)).begin(); _iter1139 != (*(this->part_vals)).end(); ++_iter1139) { - xfer += oprot->writeString((*_iter1109)); + xfer += oprot->writeString((*_iter1139)); } xfer += oprot->writeListEnd(); } @@ -14026,17 +14026,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1110; - ::apache::thrift::protocol::TType _ktype1111; - ::apache::thrift::protocol::TType _vtype1112; - xfer += iprot->readMapBegin(_ktype1111, _vtype1112, _size1110); - uint32_t _i1114; - for (_i1114 = 0; _i1114 < _size1110; ++_i1114) + uint32_t _size1140; + ::apache::thrift::protocol::TType _ktype1141; + ::apache::thrift::protocol::TType _vtype1142; + xfer += iprot->readMapBegin(_ktype1141, _vtype1142, _size1140); + uint32_t _i1144; + for (_i1144 = 0; _i1144 < _size1140; ++_i1144) { - std::string _key1115; - xfer += iprot->readString(_key1115); - std::string& _val1116 = this->partitionSpecs[_key1115]; - xfer += iprot->readString(_val1116); + std::string _key1145; + xfer += iprot->readString(_key1145); + std::string& _val1146 = this->partitionSpecs[_key1145]; + xfer += iprot->readString(_val1146); } xfer += iprot->readMapEnd(); } @@ -14097,11 +14097,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1117; - for (_iter1117 = this->partitionSpecs.begin(); _iter1117 != this->partitionSpecs.end(); ++_iter1117) + std::map ::const_iterator _iter1147; + for (_iter1147 = this->partitionSpecs.begin(); _iter1147 != this->partitionSpecs.end(); ++_iter1147) { - xfer += oprot->writeString(_iter1117->first); - xfer += oprot->writeString(_iter1117->second); + xfer += oprot->writeString(_iter1147->first); + xfer += oprot->writeString(_iter1147->second); } xfer += oprot->writeMapEnd(); } @@ -14141,11 +14141,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1118; - for (_iter1118 = (*(this->partitionSpecs)).begin(); _iter1118 != (*(this->partitionSpecs)).end(); ++_iter1118) + std::map ::const_iterator _iter1148; + for (_iter1148 = (*(this->partitionSpecs)).begin(); _iter1148 != (*(this->partitionSpecs)).end(); ++_iter1148) { - xfer += oprot->writeString(_iter1118->first); - xfer += oprot->writeString(_iter1118->second); + xfer += oprot->writeString(_iter1148->first); + xfer += oprot->writeString(_iter1148->second); } xfer += oprot->writeMapEnd(); } @@ -14390,17 +14390,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1119; - ::apache::thrift::protocol::TType _ktype1120; - ::apache::thrift::protocol::TType _vtype1121; - xfer += iprot->readMapBegin(_ktype1120, _vtype1121, _size1119); - uint32_t _i1123; - for (_i1123 = 0; _i1123 < _size1119; ++_i1123) + uint32_t _size1149; + ::apache::thrift::protocol::TType _ktype1150; + ::apache::thrift::protocol::TType _vtype1151; + xfer += iprot->readMapBegin(_ktype1150, _vtype1151, _size1149); + uint32_t _i1153; + for (_i1153 = 0; _i1153 < _size1149; ++_i1153) { - std::string _key1124; - xfer += iprot->readString(_key1124); - std::string& _val1125 = this->partitionSpecs[_key1124]; - xfer += iprot->readString(_val1125); + std::string _key1154; + xfer += iprot->readString(_key1154); + std::string& _val1155 = this->partitionSpecs[_key1154]; + xfer += iprot->readString(_val1155); } xfer += iprot->readMapEnd(); } @@ -14461,11 +14461,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1126; - for (_iter1126 = this->partitionSpecs.begin(); _iter1126 != this->partitionSpecs.end(); ++_iter1126) + std::map ::const_iterator _iter1156; + for (_iter1156 = this->partitionSpecs.begin(); _iter1156 != this->partitionSpecs.end(); ++_iter1156) { - xfer += oprot->writeString(_iter1126->first); - xfer += oprot->writeString(_iter1126->second); + xfer += oprot->writeString(_iter1156->first); + xfer += oprot->writeString(_iter1156->second); } xfer += oprot->writeMapEnd(); } @@ -14505,11 +14505,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1127; - for (_iter1127 = (*(this->partitionSpecs)).begin(); _iter1127 != (*(this->partitionSpecs)).end(); ++_iter1127) + std::map ::const_iterator _iter1157; + for (_iter1157 = (*(this->partitionSpecs)).begin(); _iter1157 != (*(this->partitionSpecs)).end(); ++_iter1157) { - xfer += oprot->writeString(_iter1127->first); - xfer += oprot->writeString(_iter1127->second); + xfer += oprot->writeString(_iter1157->first); + xfer += oprot->writeString(_iter1157->second); } xfer += oprot->writeMapEnd(); } @@ -14566,14 +14566,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1128; - ::apache::thrift::protocol::TType _etype1131; - xfer += iprot->readListBegin(_etype1131, _size1128); - this->success.resize(_size1128); - uint32_t _i1132; - for (_i1132 = 0; _i1132 < _size1128; ++_i1132) + uint32_t _size1158; + ::apache::thrift::protocol::TType _etype1161; + xfer += iprot->readListBegin(_etype1161, _size1158); + this->success.resize(_size1158); + uint32_t _i1162; + for (_i1162 = 0; _i1162 < _size1158; ++_i1162) { - xfer += this->success[_i1132].read(iprot); + xfer += this->success[_i1162].read(iprot); } xfer += iprot->readListEnd(); } @@ -14636,10 +14636,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1133; - for (_iter1133 = this->success.begin(); _iter1133 != this->success.end(); ++_iter1133) + std::vector ::const_iterator _iter1163; + for (_iter1163 = this->success.begin(); _iter1163 != this->success.end(); ++_iter1163) { - xfer += (*_iter1133).write(oprot); + xfer += (*_iter1163).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14696,14 +14696,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1134; - ::apache::thrift::protocol::TType _etype1137; - xfer += iprot->readListBegin(_etype1137, _size1134); - (*(this->success)).resize(_size1134); - uint32_t _i1138; - for (_i1138 = 0; _i1138 < _size1134; ++_i1138) + uint32_t _size1164; + ::apache::thrift::protocol::TType _etype1167; + xfer += iprot->readListBegin(_etype1167, _size1164); + (*(this->success)).resize(_size1164); + uint32_t _i1168; + for (_i1168 = 0; _i1168 < _size1164; ++_i1168) { - xfer += (*(this->success))[_i1138].read(iprot); + xfer += (*(this->success))[_i1168].read(iprot); } xfer += iprot->readListEnd(); } @@ -14802,14 +14802,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1139; - ::apache::thrift::protocol::TType _etype1142; - xfer += iprot->readListBegin(_etype1142, _size1139); - this->part_vals.resize(_size1139); - uint32_t _i1143; - for (_i1143 = 0; _i1143 < _size1139; ++_i1143) + uint32_t _size1169; + ::apache::thrift::protocol::TType _etype1172; + xfer += iprot->readListBegin(_etype1172, _size1169); + this->part_vals.resize(_size1169); + uint32_t _i1173; + for (_i1173 = 0; _i1173 < _size1169; ++_i1173) { - xfer += iprot->readString(this->part_vals[_i1143]); + xfer += iprot->readString(this->part_vals[_i1173]); } xfer += iprot->readListEnd(); } @@ -14830,14 +14830,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1144; - ::apache::thrift::protocol::TType _etype1147; - xfer += iprot->readListBegin(_etype1147, _size1144); - this->group_names.resize(_size1144); - uint32_t _i1148; - for (_i1148 = 0; _i1148 < _size1144; ++_i1148) + uint32_t _size1174; + ::apache::thrift::protocol::TType _etype1177; + xfer += iprot->readListBegin(_etype1177, _size1174); + this->group_names.resize(_size1174); + uint32_t _i1178; + for (_i1178 = 0; _i1178 < _size1174; ++_i1178) { - xfer += iprot->readString(this->group_names[_i1148]); + xfer += iprot->readString(this->group_names[_i1178]); } xfer += iprot->readListEnd(); } @@ -14874,10 +14874,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1149; - for (_iter1149 = this->part_vals.begin(); _iter1149 != this->part_vals.end(); ++_iter1149) + std::vector ::const_iterator _iter1179; + for (_iter1179 = this->part_vals.begin(); _iter1179 != this->part_vals.end(); ++_iter1179) { - xfer += oprot->writeString((*_iter1149)); + xfer += oprot->writeString((*_iter1179)); } xfer += oprot->writeListEnd(); } @@ -14890,10 +14890,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1150; - for (_iter1150 = this->group_names.begin(); _iter1150 != this->group_names.end(); ++_iter1150) + std::vector ::const_iterator _iter1180; + for (_iter1180 = this->group_names.begin(); _iter1180 != this->group_names.end(); ++_iter1180) { - xfer += oprot->writeString((*_iter1150)); + xfer += oprot->writeString((*_iter1180)); } xfer += oprot->writeListEnd(); } @@ -14925,10 +14925,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1151; - for (_iter1151 = (*(this->part_vals)).begin(); _iter1151 != (*(this->part_vals)).end(); ++_iter1151) + std::vector ::const_iterator _iter1181; + for (_iter1181 = (*(this->part_vals)).begin(); _iter1181 != (*(this->part_vals)).end(); ++_iter1181) { - xfer += oprot->writeString((*_iter1151)); + xfer += oprot->writeString((*_iter1181)); } xfer += oprot->writeListEnd(); } @@ -14941,10 +14941,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1152; - for (_iter1152 = (*(this->group_names)).begin(); _iter1152 != (*(this->group_names)).end(); ++_iter1152) + std::vector ::const_iterator _iter1182; + for (_iter1182 = (*(this->group_names)).begin(); _iter1182 != (*(this->group_names)).end(); ++_iter1182) { - xfer += oprot->writeString((*_iter1152)); + xfer += oprot->writeString((*_iter1182)); } xfer += oprot->writeListEnd(); } @@ -15503,14 +15503,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1153; - ::apache::thrift::protocol::TType _etype1156; - xfer += iprot->readListBegin(_etype1156, _size1153); - this->success.resize(_size1153); - uint32_t _i1157; - for (_i1157 = 0; _i1157 < _size1153; ++_i1157) + uint32_t _size1183; + ::apache::thrift::protocol::TType _etype1186; + xfer += iprot->readListBegin(_etype1186, _size1183); + this->success.resize(_size1183); + uint32_t _i1187; + for (_i1187 = 0; _i1187 < _size1183; ++_i1187) { - xfer += this->success[_i1157].read(iprot); + xfer += this->success[_i1187].read(iprot); } xfer += iprot->readListEnd(); } @@ -15557,10 +15557,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1158; - for (_iter1158 = this->success.begin(); _iter1158 != this->success.end(); ++_iter1158) + std::vector ::const_iterator _iter1188; + for (_iter1188 = this->success.begin(); _iter1188 != this->success.end(); ++_iter1188) { - xfer += (*_iter1158).write(oprot); + xfer += (*_iter1188).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15609,14 +15609,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1159; - ::apache::thrift::protocol::TType _etype1162; - xfer += iprot->readListBegin(_etype1162, _size1159); - (*(this->success)).resize(_size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + uint32_t _size1189; + ::apache::thrift::protocol::TType _etype1192; + xfer += iprot->readListBegin(_etype1192, _size1189); + (*(this->success)).resize(_size1189); + uint32_t _i1193; + for (_i1193 = 0; _i1193 < _size1189; ++_i1193) { - xfer += (*(this->success))[_i1163].read(iprot); + xfer += (*(this->success))[_i1193].read(iprot); } xfer += iprot->readListEnd(); } @@ -15715,14 +15715,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1164; - ::apache::thrift::protocol::TType _etype1167; - xfer += iprot->readListBegin(_etype1167, _size1164); - this->group_names.resize(_size1164); - uint32_t _i1168; - for (_i1168 = 0; _i1168 < _size1164; ++_i1168) + uint32_t _size1194; + ::apache::thrift::protocol::TType _etype1197; + xfer += iprot->readListBegin(_etype1197, _size1194); + this->group_names.resize(_size1194); + uint32_t _i1198; + for (_i1198 = 0; _i1198 < _size1194; ++_i1198) { - xfer += iprot->readString(this->group_names[_i1168]); + xfer += iprot->readString(this->group_names[_i1198]); } xfer += iprot->readListEnd(); } @@ -15767,10 +15767,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1169; - for (_iter1169 = this->group_names.begin(); _iter1169 != this->group_names.end(); ++_iter1169) + std::vector ::const_iterator _iter1199; + for (_iter1199 = this->group_names.begin(); _iter1199 != this->group_names.end(); ++_iter1199) { - xfer += oprot->writeString((*_iter1169)); + xfer += oprot->writeString((*_iter1199)); } xfer += oprot->writeListEnd(); } @@ -15810,10 +15810,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1170; - for (_iter1170 = (*(this->group_names)).begin(); _iter1170 != (*(this->group_names)).end(); ++_iter1170) + std::vector ::const_iterator _iter1200; + for (_iter1200 = (*(this->group_names)).begin(); _iter1200 != (*(this->group_names)).end(); ++_iter1200) { - xfer += oprot->writeString((*_iter1170)); + xfer += oprot->writeString((*_iter1200)); } xfer += oprot->writeListEnd(); } @@ -15854,14 +15854,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1171; - ::apache::thrift::protocol::TType _etype1174; - xfer += iprot->readListBegin(_etype1174, _size1171); - this->success.resize(_size1171); - uint32_t _i1175; - for (_i1175 = 0; _i1175 < _size1171; ++_i1175) + uint32_t _size1201; + ::apache::thrift::protocol::TType _etype1204; + xfer += iprot->readListBegin(_etype1204, _size1201); + this->success.resize(_size1201); + uint32_t _i1205; + for (_i1205 = 0; _i1205 < _size1201; ++_i1205) { - xfer += this->success[_i1175].read(iprot); + xfer += this->success[_i1205].read(iprot); } xfer += iprot->readListEnd(); } @@ -15908,10 +15908,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1176; - for (_iter1176 = this->success.begin(); _iter1176 != this->success.end(); ++_iter1176) + std::vector ::const_iterator _iter1206; + for (_iter1206 = this->success.begin(); _iter1206 != this->success.end(); ++_iter1206) { - xfer += (*_iter1176).write(oprot); + xfer += (*_iter1206).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15960,14 +15960,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1177; - ::apache::thrift::protocol::TType _etype1180; - xfer += iprot->readListBegin(_etype1180, _size1177); - (*(this->success)).resize(_size1177); - uint32_t _i1181; - for (_i1181 = 0; _i1181 < _size1177; ++_i1181) + uint32_t _size1207; + ::apache::thrift::protocol::TType _etype1210; + xfer += iprot->readListBegin(_etype1210, _size1207); + (*(this->success)).resize(_size1207); + uint32_t _i1211; + for (_i1211 = 0; _i1211 < _size1207; ++_i1211) { - xfer += (*(this->success))[_i1181].read(iprot); + xfer += (*(this->success))[_i1211].read(iprot); } xfer += iprot->readListEnd(); } @@ -16145,14 +16145,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1182; - ::apache::thrift::protocol::TType _etype1185; - xfer += iprot->readListBegin(_etype1185, _size1182); - this->success.resize(_size1182); - uint32_t _i1186; - for (_i1186 = 0; _i1186 < _size1182; ++_i1186) + uint32_t _size1212; + ::apache::thrift::protocol::TType _etype1215; + xfer += iprot->readListBegin(_etype1215, _size1212); + this->success.resize(_size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - xfer += this->success[_i1186].read(iprot); + xfer += this->success[_i1216].read(iprot); } xfer += iprot->readListEnd(); } @@ -16199,10 +16199,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1187; - for (_iter1187 = this->success.begin(); _iter1187 != this->success.end(); ++_iter1187) + std::vector ::const_iterator _iter1217; + for (_iter1217 = this->success.begin(); _iter1217 != this->success.end(); ++_iter1217) { - xfer += (*_iter1187).write(oprot); + xfer += (*_iter1217).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16251,14 +16251,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1188; - ::apache::thrift::protocol::TType _etype1191; - xfer += iprot->readListBegin(_etype1191, _size1188); - (*(this->success)).resize(_size1188); - uint32_t _i1192; - for (_i1192 = 0; _i1192 < _size1188; ++_i1192) + uint32_t _size1218; + ::apache::thrift::protocol::TType _etype1221; + xfer += iprot->readListBegin(_etype1221, _size1218); + (*(this->success)).resize(_size1218); + uint32_t _i1222; + for (_i1222 = 0; _i1222 < _size1218; ++_i1222) { - xfer += (*(this->success))[_i1192].read(iprot); + xfer += (*(this->success))[_i1222].read(iprot); } xfer += iprot->readListEnd(); } @@ -16436,14 +16436,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1193; - ::apache::thrift::protocol::TType _etype1196; - xfer += iprot->readListBegin(_etype1196, _size1193); - this->success.resize(_size1193); - uint32_t _i1197; - for (_i1197 = 0; _i1197 < _size1193; ++_i1197) + uint32_t _size1223; + ::apache::thrift::protocol::TType _etype1226; + xfer += iprot->readListBegin(_etype1226, _size1223); + this->success.resize(_size1223); + uint32_t _i1227; + for (_i1227 = 0; _i1227 < _size1223; ++_i1227) { - xfer += iprot->readString(this->success[_i1197]); + xfer += iprot->readString(this->success[_i1227]); } xfer += iprot->readListEnd(); } @@ -16482,10 +16482,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1198; - for (_iter1198 = this->success.begin(); _iter1198 != this->success.end(); ++_iter1198) + std::vector ::const_iterator _iter1228; + for (_iter1228 = this->success.begin(); _iter1228 != this->success.end(); ++_iter1228) { - xfer += oprot->writeString((*_iter1198)); + xfer += oprot->writeString((*_iter1228)); } xfer += oprot->writeListEnd(); } @@ -16530,14 +16530,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1199; - ::apache::thrift::protocol::TType _etype1202; - xfer += iprot->readListBegin(_etype1202, _size1199); - (*(this->success)).resize(_size1199); - uint32_t _i1203; - for (_i1203 = 0; _i1203 < _size1199; ++_i1203) + uint32_t _size1229; + ::apache::thrift::protocol::TType _etype1232; + xfer += iprot->readListBegin(_etype1232, _size1229); + (*(this->success)).resize(_size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - xfer += iprot->readString((*(this->success))[_i1203]); + xfer += iprot->readString((*(this->success))[_i1233]); } xfer += iprot->readListEnd(); } @@ -16567,6 +16567,233 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: } +ThriftHiveMetastore_get_partition_values_args::~ThriftHiveMetastore_get_partition_values_args() throw() { +} + + +uint32_t ThriftHiveMetastore_get_partition_values_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->request.read(iprot); + this->__isset.request = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_partition_values_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_values_args"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->request.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_partition_values_pargs::~ThriftHiveMetastore_get_partition_values_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_partition_values_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_values_pargs"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->request)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_partition_values_result::~ThriftHiveMetastore_get_partition_values_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_partition_values_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_partition_values_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_values_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_partition_values_presult::~ThriftHiveMetastore_get_partition_values_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_partition_values_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + ThriftHiveMetastore_get_partitions_ps_args::~ThriftHiveMetastore_get_partitions_ps_args() throw() { } @@ -16612,14 +16839,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1204; - ::apache::thrift::protocol::TType _etype1207; - xfer += iprot->readListBegin(_etype1207, _size1204); - this->part_vals.resize(_size1204); - uint32_t _i1208; - for (_i1208 = 0; _i1208 < _size1204; ++_i1208) + uint32_t _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + this->part_vals.resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += iprot->readString(this->part_vals[_i1208]); + xfer += iprot->readString(this->part_vals[_i1238]); } xfer += iprot->readListEnd(); } @@ -16664,10 +16891,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1209; - for (_iter1209 = this->part_vals.begin(); _iter1209 != this->part_vals.end(); ++_iter1209) + std::vector ::const_iterator _iter1239; + for (_iter1239 = this->part_vals.begin(); _iter1239 != this->part_vals.end(); ++_iter1239) { - xfer += oprot->writeString((*_iter1209)); + xfer += oprot->writeString((*_iter1239)); } xfer += oprot->writeListEnd(); } @@ -16703,10 +16930,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1210; - for (_iter1210 = (*(this->part_vals)).begin(); _iter1210 != (*(this->part_vals)).end(); ++_iter1210) + std::vector ::const_iterator _iter1240; + for (_iter1240 = (*(this->part_vals)).begin(); _iter1240 != (*(this->part_vals)).end(); ++_iter1240) { - xfer += oprot->writeString((*_iter1210)); + xfer += oprot->writeString((*_iter1240)); } xfer += oprot->writeListEnd(); } @@ -16751,14 +16978,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1211; - ::apache::thrift::protocol::TType _etype1214; - xfer += iprot->readListBegin(_etype1214, _size1211); - this->success.resize(_size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + uint32_t _size1241; + ::apache::thrift::protocol::TType _etype1244; + xfer += iprot->readListBegin(_etype1244, _size1241); + this->success.resize(_size1241); + uint32_t _i1245; + for (_i1245 = 0; _i1245 < _size1241; ++_i1245) { - xfer += this->success[_i1215].read(iprot); + xfer += this->success[_i1245].read(iprot); } xfer += iprot->readListEnd(); } @@ -16805,10 +17032,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1216; - for (_iter1216 = this->success.begin(); _iter1216 != this->success.end(); ++_iter1216) + std::vector ::const_iterator _iter1246; + for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) { - xfer += (*_iter1216).write(oprot); + xfer += (*_iter1246).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16857,14 +17084,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1217; - ::apache::thrift::protocol::TType _etype1220; - xfer += iprot->readListBegin(_etype1220, _size1217); - (*(this->success)).resize(_size1217); - uint32_t _i1221; - for (_i1221 = 0; _i1221 < _size1217; ++_i1221) + uint32_t _size1247; + ::apache::thrift::protocol::TType _etype1250; + xfer += iprot->readListBegin(_etype1250, _size1247); + (*(this->success)).resize(_size1247); + uint32_t _i1251; + for (_i1251 = 0; _i1251 < _size1247; ++_i1251) { - xfer += (*(this->success))[_i1221].read(iprot); + xfer += (*(this->success))[_i1251].read(iprot); } xfer += iprot->readListEnd(); } @@ -16947,14 +17174,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1222; - ::apache::thrift::protocol::TType _etype1225; - xfer += iprot->readListBegin(_etype1225, _size1222); - this->part_vals.resize(_size1222); - uint32_t _i1226; - for (_i1226 = 0; _i1226 < _size1222; ++_i1226) + uint32_t _size1252; + ::apache::thrift::protocol::TType _etype1255; + xfer += iprot->readListBegin(_etype1255, _size1252); + this->part_vals.resize(_size1252); + uint32_t _i1256; + for (_i1256 = 0; _i1256 < _size1252; ++_i1256) { - xfer += iprot->readString(this->part_vals[_i1226]); + xfer += iprot->readString(this->part_vals[_i1256]); } xfer += iprot->readListEnd(); } @@ -16983,14 +17210,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1227; - ::apache::thrift::protocol::TType _etype1230; - xfer += iprot->readListBegin(_etype1230, _size1227); - this->group_names.resize(_size1227); - uint32_t _i1231; - for (_i1231 = 0; _i1231 < _size1227; ++_i1231) + uint32_t _size1257; + ::apache::thrift::protocol::TType _etype1260; + xfer += iprot->readListBegin(_etype1260, _size1257); + this->group_names.resize(_size1257); + uint32_t _i1261; + for (_i1261 = 0; _i1261 < _size1257; ++_i1261) { - xfer += iprot->readString(this->group_names[_i1231]); + xfer += iprot->readString(this->group_names[_i1261]); } xfer += iprot->readListEnd(); } @@ -17027,10 +17254,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1232; - for (_iter1232 = this->part_vals.begin(); _iter1232 != this->part_vals.end(); ++_iter1232) + std::vector ::const_iterator _iter1262; + for (_iter1262 = this->part_vals.begin(); _iter1262 != this->part_vals.end(); ++_iter1262) { - xfer += oprot->writeString((*_iter1232)); + xfer += oprot->writeString((*_iter1262)); } xfer += oprot->writeListEnd(); } @@ -17047,10 +17274,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1233; - for (_iter1233 = this->group_names.begin(); _iter1233 != this->group_names.end(); ++_iter1233) + std::vector ::const_iterator _iter1263; + for (_iter1263 = this->group_names.begin(); _iter1263 != this->group_names.end(); ++_iter1263) { - xfer += oprot->writeString((*_iter1233)); + xfer += oprot->writeString((*_iter1263)); } xfer += oprot->writeListEnd(); } @@ -17082,10 +17309,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1234; - for (_iter1234 = (*(this->part_vals)).begin(); _iter1234 != (*(this->part_vals)).end(); ++_iter1234) + std::vector ::const_iterator _iter1264; + for (_iter1264 = (*(this->part_vals)).begin(); _iter1264 != (*(this->part_vals)).end(); ++_iter1264) { - xfer += oprot->writeString((*_iter1234)); + xfer += oprot->writeString((*_iter1264)); } xfer += oprot->writeListEnd(); } @@ -17102,10 +17329,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1235; - for (_iter1235 = (*(this->group_names)).begin(); _iter1235 != (*(this->group_names)).end(); ++_iter1235) + std::vector ::const_iterator _iter1265; + for (_iter1265 = (*(this->group_names)).begin(); _iter1265 != (*(this->group_names)).end(); ++_iter1265) { - xfer += oprot->writeString((*_iter1235)); + xfer += oprot->writeString((*_iter1265)); } xfer += oprot->writeListEnd(); } @@ -17146,14 +17373,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1236; - ::apache::thrift::protocol::TType _etype1239; - xfer += iprot->readListBegin(_etype1239, _size1236); - this->success.resize(_size1236); - uint32_t _i1240; - for (_i1240 = 0; _i1240 < _size1236; ++_i1240) + uint32_t _size1266; + ::apache::thrift::protocol::TType _etype1269; + xfer += iprot->readListBegin(_etype1269, _size1266); + this->success.resize(_size1266); + uint32_t _i1270; + for (_i1270 = 0; _i1270 < _size1266; ++_i1270) { - xfer += this->success[_i1240].read(iprot); + xfer += this->success[_i1270].read(iprot); } xfer += iprot->readListEnd(); } @@ -17200,10 +17427,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1241; - for (_iter1241 = this->success.begin(); _iter1241 != this->success.end(); ++_iter1241) + std::vector ::const_iterator _iter1271; + for (_iter1271 = this->success.begin(); _iter1271 != this->success.end(); ++_iter1271) { - xfer += (*_iter1241).write(oprot); + xfer += (*_iter1271).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17252,14 +17479,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1242; - ::apache::thrift::protocol::TType _etype1245; - xfer += iprot->readListBegin(_etype1245, _size1242); - (*(this->success)).resize(_size1242); - uint32_t _i1246; - for (_i1246 = 0; _i1246 < _size1242; ++_i1246) + uint32_t _size1272; + ::apache::thrift::protocol::TType _etype1275; + xfer += iprot->readListBegin(_etype1275, _size1272); + (*(this->success)).resize(_size1272); + uint32_t _i1276; + for (_i1276 = 0; _i1276 < _size1272; ++_i1276) { - xfer += (*(this->success))[_i1246].read(iprot); + xfer += (*(this->success))[_i1276].read(iprot); } xfer += iprot->readListEnd(); } @@ -17342,14 +17569,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1247; - ::apache::thrift::protocol::TType _etype1250; - xfer += iprot->readListBegin(_etype1250, _size1247); - this->part_vals.resize(_size1247); - uint32_t _i1251; - for (_i1251 = 0; _i1251 < _size1247; ++_i1251) + uint32_t _size1277; + ::apache::thrift::protocol::TType _etype1280; + xfer += iprot->readListBegin(_etype1280, _size1277); + this->part_vals.resize(_size1277); + uint32_t _i1281; + for (_i1281 = 0; _i1281 < _size1277; ++_i1281) { - xfer += iprot->readString(this->part_vals[_i1251]); + xfer += iprot->readString(this->part_vals[_i1281]); } xfer += iprot->readListEnd(); } @@ -17394,10 +17621,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1252; - for (_iter1252 = this->part_vals.begin(); _iter1252 != this->part_vals.end(); ++_iter1252) + std::vector ::const_iterator _iter1282; + for (_iter1282 = this->part_vals.begin(); _iter1282 != this->part_vals.end(); ++_iter1282) { - xfer += oprot->writeString((*_iter1252)); + xfer += oprot->writeString((*_iter1282)); } xfer += oprot->writeListEnd(); } @@ -17433,10 +17660,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1253; - for (_iter1253 = (*(this->part_vals)).begin(); _iter1253 != (*(this->part_vals)).end(); ++_iter1253) + std::vector ::const_iterator _iter1283; + for (_iter1283 = (*(this->part_vals)).begin(); _iter1283 != (*(this->part_vals)).end(); ++_iter1283) { - xfer += oprot->writeString((*_iter1253)); + xfer += oprot->writeString((*_iter1283)); } xfer += oprot->writeListEnd(); } @@ -17481,14 +17708,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1254; - ::apache::thrift::protocol::TType _etype1257; - xfer += iprot->readListBegin(_etype1257, _size1254); - this->success.resize(_size1254); - uint32_t _i1258; - for (_i1258 = 0; _i1258 < _size1254; ++_i1258) + uint32_t _size1284; + ::apache::thrift::protocol::TType _etype1287; + xfer += iprot->readListBegin(_etype1287, _size1284); + this->success.resize(_size1284); + uint32_t _i1288; + for (_i1288 = 0; _i1288 < _size1284; ++_i1288) { - xfer += iprot->readString(this->success[_i1258]); + xfer += iprot->readString(this->success[_i1288]); } xfer += iprot->readListEnd(); } @@ -17535,10 +17762,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1259; - for (_iter1259 = this->success.begin(); _iter1259 != this->success.end(); ++_iter1259) + std::vector ::const_iterator _iter1289; + for (_iter1289 = this->success.begin(); _iter1289 != this->success.end(); ++_iter1289) { - xfer += oprot->writeString((*_iter1259)); + xfer += oprot->writeString((*_iter1289)); } xfer += oprot->writeListEnd(); } @@ -17587,14 +17814,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - (*(this->success)).resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + uint32_t _size1290; + ::apache::thrift::protocol::TType _etype1293; + xfer += iprot->readListBegin(_etype1293, _size1290); + (*(this->success)).resize(_size1290); + uint32_t _i1294; + for (_i1294 = 0; _i1294 < _size1290; ++_i1294) { - xfer += iprot->readString((*(this->success))[_i1264]); + xfer += iprot->readString((*(this->success))[_i1294]); } xfer += iprot->readListEnd(); } @@ -17788,14 +18015,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1265; - ::apache::thrift::protocol::TType _etype1268; - xfer += iprot->readListBegin(_etype1268, _size1265); - this->success.resize(_size1265); - uint32_t _i1269; - for (_i1269 = 0; _i1269 < _size1265; ++_i1269) + uint32_t _size1295; + ::apache::thrift::protocol::TType _etype1298; + xfer += iprot->readListBegin(_etype1298, _size1295); + this->success.resize(_size1295); + uint32_t _i1299; + for (_i1299 = 0; _i1299 < _size1295; ++_i1299) { - xfer += this->success[_i1269].read(iprot); + xfer += this->success[_i1299].read(iprot); } xfer += iprot->readListEnd(); } @@ -17842,10 +18069,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1270; - for (_iter1270 = this->success.begin(); _iter1270 != this->success.end(); ++_iter1270) + std::vector ::const_iterator _iter1300; + for (_iter1300 = this->success.begin(); _iter1300 != this->success.end(); ++_iter1300) { - xfer += (*_iter1270).write(oprot); + xfer += (*_iter1300).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17894,14 +18121,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - (*(this->success)).resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + uint32_t _size1301; + ::apache::thrift::protocol::TType _etype1304; + xfer += iprot->readListBegin(_etype1304, _size1301); + (*(this->success)).resize(_size1301); + uint32_t _i1305; + for (_i1305 = 0; _i1305 < _size1301; ++_i1305) { - xfer += (*(this->success))[_i1275].read(iprot); + xfer += (*(this->success))[_i1305].read(iprot); } xfer += iprot->readListEnd(); } @@ -18095,14 +18322,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1276; - ::apache::thrift::protocol::TType _etype1279; - xfer += iprot->readListBegin(_etype1279, _size1276); - this->success.resize(_size1276); - uint32_t _i1280; - for (_i1280 = 0; _i1280 < _size1276; ++_i1280) + uint32_t _size1306; + ::apache::thrift::protocol::TType _etype1309; + xfer += iprot->readListBegin(_etype1309, _size1306); + this->success.resize(_size1306); + uint32_t _i1310; + for (_i1310 = 0; _i1310 < _size1306; ++_i1310) { - xfer += this->success[_i1280].read(iprot); + xfer += this->success[_i1310].read(iprot); } xfer += iprot->readListEnd(); } @@ -18149,10 +18376,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1281; - for (_iter1281 = this->success.begin(); _iter1281 != this->success.end(); ++_iter1281) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->success.begin(); _iter1311 != this->success.end(); ++_iter1311) { - xfer += (*_iter1281).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18201,14 +18428,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - (*(this->success)).resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1312; + ::apache::thrift::protocol::TType _etype1315; + xfer += iprot->readListBegin(_etype1315, _size1312); + (*(this->success)).resize(_size1312); + uint32_t _i1316; + for (_i1316 = 0; _i1316 < _size1312; ++_i1316) { - xfer += (*(this->success))[_i1286].read(iprot); + xfer += (*(this->success))[_i1316].read(iprot); } xfer += iprot->readListEnd(); } @@ -18777,14 +19004,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->names.resize(_size1287); - uint32_t _i1291; - for (_i1291 = 0; _i1291 < _size1287; ++_i1291) + uint32_t _size1317; + ::apache::thrift::protocol::TType _etype1320; + xfer += iprot->readListBegin(_etype1320, _size1317); + this->names.resize(_size1317); + uint32_t _i1321; + for (_i1321 = 0; _i1321 < _size1317; ++_i1321) { - xfer += iprot->readString(this->names[_i1291]); + xfer += iprot->readString(this->names[_i1321]); } xfer += iprot->readListEnd(); } @@ -18821,10 +19048,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1292; - for (_iter1292 = this->names.begin(); _iter1292 != this->names.end(); ++_iter1292) + std::vector ::const_iterator _iter1322; + for (_iter1322 = this->names.begin(); _iter1322 != this->names.end(); ++_iter1322) { - xfer += oprot->writeString((*_iter1292)); + xfer += oprot->writeString((*_iter1322)); } xfer += oprot->writeListEnd(); } @@ -18856,10 +19083,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1293; - for (_iter1293 = (*(this->names)).begin(); _iter1293 != (*(this->names)).end(); ++_iter1293) + std::vector ::const_iterator _iter1323; + for (_iter1323 = (*(this->names)).begin(); _iter1323 != (*(this->names)).end(); ++_iter1323) { - xfer += oprot->writeString((*_iter1293)); + xfer += oprot->writeString((*_iter1323)); } xfer += oprot->writeListEnd(); } @@ -18900,14 +19127,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1294; - ::apache::thrift::protocol::TType _etype1297; - xfer += iprot->readListBegin(_etype1297, _size1294); - this->success.resize(_size1294); - uint32_t _i1298; - for (_i1298 = 0; _i1298 < _size1294; ++_i1298) + uint32_t _size1324; + ::apache::thrift::protocol::TType _etype1327; + xfer += iprot->readListBegin(_etype1327, _size1324); + this->success.resize(_size1324); + uint32_t _i1328; + for (_i1328 = 0; _i1328 < _size1324; ++_i1328) { - xfer += this->success[_i1298].read(iprot); + xfer += this->success[_i1328].read(iprot); } xfer += iprot->readListEnd(); } @@ -18954,10 +19181,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1299; - for (_iter1299 = this->success.begin(); _iter1299 != this->success.end(); ++_iter1299) + std::vector ::const_iterator _iter1329; + for (_iter1329 = this->success.begin(); _iter1329 != this->success.end(); ++_iter1329) { - xfer += (*_iter1299).write(oprot); + xfer += (*_iter1329).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19006,14 +19233,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - (*(this->success)).resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + uint32_t _size1330; + ::apache::thrift::protocol::TType _etype1333; + xfer += iprot->readListBegin(_etype1333, _size1330); + (*(this->success)).resize(_size1330); + uint32_t _i1334; + for (_i1334 = 0; _i1334 < _size1330; ++_i1334) { - xfer += (*(this->success))[_i1304].read(iprot); + xfer += (*(this->success))[_i1334].read(iprot); } xfer += iprot->readListEnd(); } @@ -19335,14 +19562,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1305; - ::apache::thrift::protocol::TType _etype1308; - xfer += iprot->readListBegin(_etype1308, _size1305); - this->new_parts.resize(_size1305); - uint32_t _i1309; - for (_i1309 = 0; _i1309 < _size1305; ++_i1309) + uint32_t _size1335; + ::apache::thrift::protocol::TType _etype1338; + xfer += iprot->readListBegin(_etype1338, _size1335); + this->new_parts.resize(_size1335); + uint32_t _i1339; + for (_i1339 = 0; _i1339 < _size1335; ++_i1339) { - xfer += this->new_parts[_i1309].read(iprot); + xfer += this->new_parts[_i1339].read(iprot); } xfer += iprot->readListEnd(); } @@ -19379,10 +19606,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1310; - for (_iter1310 = this->new_parts.begin(); _iter1310 != this->new_parts.end(); ++_iter1310) + std::vector ::const_iterator _iter1340; + for (_iter1340 = this->new_parts.begin(); _iter1340 != this->new_parts.end(); ++_iter1340) { - xfer += (*_iter1310).write(oprot); + xfer += (*_iter1340).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19414,10 +19641,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1311; - for (_iter1311 = (*(this->new_parts)).begin(); _iter1311 != (*(this->new_parts)).end(); ++_iter1311) + std::vector ::const_iterator _iter1341; + for (_iter1341 = (*(this->new_parts)).begin(); _iter1341 != (*(this->new_parts)).end(); ++_iter1341) { - xfer += (*_iter1311).write(oprot); + xfer += (*_iter1341).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19602,14 +19829,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1312; - ::apache::thrift::protocol::TType _etype1315; - xfer += iprot->readListBegin(_etype1315, _size1312); - this->new_parts.resize(_size1312); - uint32_t _i1316; - for (_i1316 = 0; _i1316 < _size1312; ++_i1316) + uint32_t _size1342; + ::apache::thrift::protocol::TType _etype1345; + xfer += iprot->readListBegin(_etype1345, _size1342); + this->new_parts.resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - xfer += this->new_parts[_i1316].read(iprot); + xfer += this->new_parts[_i1346].read(iprot); } xfer += iprot->readListEnd(); } @@ -19654,10 +19881,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1317; - for (_iter1317 = this->new_parts.begin(); _iter1317 != this->new_parts.end(); ++_iter1317) + std::vector ::const_iterator _iter1347; + for (_iter1347 = this->new_parts.begin(); _iter1347 != this->new_parts.end(); ++_iter1347) { - xfer += (*_iter1317).write(oprot); + xfer += (*_iter1347).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19693,10 +19920,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1318; - for (_iter1318 = (*(this->new_parts)).begin(); _iter1318 != (*(this->new_parts)).end(); ++_iter1318) + std::vector ::const_iterator _iter1348; + for (_iter1348 = (*(this->new_parts)).begin(); _iter1348 != (*(this->new_parts)).end(); ++_iter1348) { - xfer += (*_iter1318).write(oprot); + xfer += (*_iter1348).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20140,14 +20367,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1319; - ::apache::thrift::protocol::TType _etype1322; - xfer += iprot->readListBegin(_etype1322, _size1319); - this->part_vals.resize(_size1319); - uint32_t _i1323; - for (_i1323 = 0; _i1323 < _size1319; ++_i1323) + uint32_t _size1349; + ::apache::thrift::protocol::TType _etype1352; + xfer += iprot->readListBegin(_etype1352, _size1349); + this->part_vals.resize(_size1349); + uint32_t _i1353; + for (_i1353 = 0; _i1353 < _size1349; ++_i1353) { - xfer += iprot->readString(this->part_vals[_i1323]); + xfer += iprot->readString(this->part_vals[_i1353]); } xfer += iprot->readListEnd(); } @@ -20192,10 +20419,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1324; - for (_iter1324 = this->part_vals.begin(); _iter1324 != this->part_vals.end(); ++_iter1324) + std::vector ::const_iterator _iter1354; + for (_iter1354 = this->part_vals.begin(); _iter1354 != this->part_vals.end(); ++_iter1354) { - xfer += oprot->writeString((*_iter1324)); + xfer += oprot->writeString((*_iter1354)); } xfer += oprot->writeListEnd(); } @@ -20231,10 +20458,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1325; - for (_iter1325 = (*(this->part_vals)).begin(); _iter1325 != (*(this->part_vals)).end(); ++_iter1325) + std::vector ::const_iterator _iter1355; + for (_iter1355 = (*(this->part_vals)).begin(); _iter1355 != (*(this->part_vals)).end(); ++_iter1355) { - xfer += oprot->writeString((*_iter1325)); + xfer += oprot->writeString((*_iter1355)); } xfer += oprot->writeListEnd(); } @@ -20407,14 +20634,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1326; - ::apache::thrift::protocol::TType _etype1329; - xfer += iprot->readListBegin(_etype1329, _size1326); - this->part_vals.resize(_size1326); - uint32_t _i1330; - for (_i1330 = 0; _i1330 < _size1326; ++_i1330) + uint32_t _size1356; + ::apache::thrift::protocol::TType _etype1359; + xfer += iprot->readListBegin(_etype1359, _size1356); + this->part_vals.resize(_size1356); + uint32_t _i1360; + for (_i1360 = 0; _i1360 < _size1356; ++_i1360) { - xfer += iprot->readString(this->part_vals[_i1330]); + xfer += iprot->readString(this->part_vals[_i1360]); } xfer += iprot->readListEnd(); } @@ -20451,10 +20678,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1331; - for (_iter1331 = this->part_vals.begin(); _iter1331 != this->part_vals.end(); ++_iter1331) + std::vector ::const_iterator _iter1361; + for (_iter1361 = this->part_vals.begin(); _iter1361 != this->part_vals.end(); ++_iter1361) { - xfer += oprot->writeString((*_iter1331)); + xfer += oprot->writeString((*_iter1361)); } xfer += oprot->writeListEnd(); } @@ -20482,10 +20709,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1332; - for (_iter1332 = (*(this->part_vals)).begin(); _iter1332 != (*(this->part_vals)).end(); ++_iter1332) + std::vector ::const_iterator _iter1362; + for (_iter1362 = (*(this->part_vals)).begin(); _iter1362 != (*(this->part_vals)).end(); ++_iter1362) { - xfer += oprot->writeString((*_iter1332)); + xfer += oprot->writeString((*_iter1362)); } xfer += oprot->writeListEnd(); } @@ -20960,14 +21187,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1333; - ::apache::thrift::protocol::TType _etype1336; - xfer += iprot->readListBegin(_etype1336, _size1333); - this->success.resize(_size1333); - uint32_t _i1337; - for (_i1337 = 0; _i1337 < _size1333; ++_i1337) + uint32_t _size1363; + ::apache::thrift::protocol::TType _etype1366; + xfer += iprot->readListBegin(_etype1366, _size1363); + this->success.resize(_size1363); + uint32_t _i1367; + for (_i1367 = 0; _i1367 < _size1363; ++_i1367) { - xfer += iprot->readString(this->success[_i1337]); + xfer += iprot->readString(this->success[_i1367]); } xfer += iprot->readListEnd(); } @@ -21006,10 +21233,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1338; - for (_iter1338 = this->success.begin(); _iter1338 != this->success.end(); ++_iter1338) + std::vector ::const_iterator _iter1368; + for (_iter1368 = this->success.begin(); _iter1368 != this->success.end(); ++_iter1368) { - xfer += oprot->writeString((*_iter1338)); + xfer += oprot->writeString((*_iter1368)); } xfer += oprot->writeListEnd(); } @@ -21054,14 +21281,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1339; - ::apache::thrift::protocol::TType _etype1342; - xfer += iprot->readListBegin(_etype1342, _size1339); - (*(this->success)).resize(_size1339); - uint32_t _i1343; - for (_i1343 = 0; _i1343 < _size1339; ++_i1343) + uint32_t _size1369; + ::apache::thrift::protocol::TType _etype1372; + xfer += iprot->readListBegin(_etype1372, _size1369); + (*(this->success)).resize(_size1369); + uint32_t _i1373; + for (_i1373 = 0; _i1373 < _size1369; ++_i1373) { - xfer += iprot->readString((*(this->success))[_i1343]); + xfer += iprot->readString((*(this->success))[_i1373]); } xfer += iprot->readListEnd(); } @@ -21199,17 +21426,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1344; - ::apache::thrift::protocol::TType _ktype1345; - ::apache::thrift::protocol::TType _vtype1346; - xfer += iprot->readMapBegin(_ktype1345, _vtype1346, _size1344); - uint32_t _i1348; - for (_i1348 = 0; _i1348 < _size1344; ++_i1348) + uint32_t _size1374; + ::apache::thrift::protocol::TType _ktype1375; + ::apache::thrift::protocol::TType _vtype1376; + xfer += iprot->readMapBegin(_ktype1375, _vtype1376, _size1374); + uint32_t _i1378; + for (_i1378 = 0; _i1378 < _size1374; ++_i1378) { - std::string _key1349; - xfer += iprot->readString(_key1349); - std::string& _val1350 = this->success[_key1349]; - xfer += iprot->readString(_val1350); + std::string _key1379; + xfer += iprot->readString(_key1379); + std::string& _val1380 = this->success[_key1379]; + xfer += iprot->readString(_val1380); } xfer += iprot->readMapEnd(); } @@ -21248,11 +21475,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1351; - for (_iter1351 = this->success.begin(); _iter1351 != this->success.end(); ++_iter1351) + std::map ::const_iterator _iter1381; + for (_iter1381 = this->success.begin(); _iter1381 != this->success.end(); ++_iter1381) { - xfer += oprot->writeString(_iter1351->first); - xfer += oprot->writeString(_iter1351->second); + xfer += oprot->writeString(_iter1381->first); + xfer += oprot->writeString(_iter1381->second); } xfer += oprot->writeMapEnd(); } @@ -21297,17 +21524,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1352; - ::apache::thrift::protocol::TType _ktype1353; - ::apache::thrift::protocol::TType _vtype1354; - xfer += iprot->readMapBegin(_ktype1353, _vtype1354, _size1352); - uint32_t _i1356; - for (_i1356 = 0; _i1356 < _size1352; ++_i1356) + uint32_t _size1382; + ::apache::thrift::protocol::TType _ktype1383; + ::apache::thrift::protocol::TType _vtype1384; + xfer += iprot->readMapBegin(_ktype1383, _vtype1384, _size1382); + uint32_t _i1386; + for (_i1386 = 0; _i1386 < _size1382; ++_i1386) { - std::string _key1357; - xfer += iprot->readString(_key1357); - std::string& _val1358 = (*(this->success))[_key1357]; - xfer += iprot->readString(_val1358); + std::string _key1387; + xfer += iprot->readString(_key1387); + std::string& _val1388 = (*(this->success))[_key1387]; + xfer += iprot->readString(_val1388); } xfer += iprot->readMapEnd(); } @@ -21382,17 +21609,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1359; - ::apache::thrift::protocol::TType _ktype1360; - ::apache::thrift::protocol::TType _vtype1361; - xfer += iprot->readMapBegin(_ktype1360, _vtype1361, _size1359); - uint32_t _i1363; - for (_i1363 = 0; _i1363 < _size1359; ++_i1363) + uint32_t _size1389; + ::apache::thrift::protocol::TType _ktype1390; + ::apache::thrift::protocol::TType _vtype1391; + xfer += iprot->readMapBegin(_ktype1390, _vtype1391, _size1389); + uint32_t _i1393; + for (_i1393 = 0; _i1393 < _size1389; ++_i1393) { - std::string _key1364; - xfer += iprot->readString(_key1364); - std::string& _val1365 = this->part_vals[_key1364]; - xfer += iprot->readString(_val1365); + std::string _key1394; + xfer += iprot->readString(_key1394); + std::string& _val1395 = this->part_vals[_key1394]; + xfer += iprot->readString(_val1395); } xfer += iprot->readMapEnd(); } @@ -21403,9 +21630,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1366; - xfer += iprot->readI32(ecast1366); - this->eventType = (PartitionEventType::type)ecast1366; + int32_t ecast1396; + xfer += iprot->readI32(ecast1396); + this->eventType = (PartitionEventType::type)ecast1396; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -21439,11 +21666,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1367; - for (_iter1367 = this->part_vals.begin(); _iter1367 != this->part_vals.end(); ++_iter1367) + std::map ::const_iterator _iter1397; + for (_iter1397 = this->part_vals.begin(); _iter1397 != this->part_vals.end(); ++_iter1397) { - xfer += oprot->writeString(_iter1367->first); - xfer += oprot->writeString(_iter1367->second); + xfer += oprot->writeString(_iter1397->first); + xfer += oprot->writeString(_iter1397->second); } xfer += oprot->writeMapEnd(); } @@ -21479,11 +21706,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1368; - for (_iter1368 = (*(this->part_vals)).begin(); _iter1368 != (*(this->part_vals)).end(); ++_iter1368) + std::map ::const_iterator _iter1398; + for (_iter1398 = (*(this->part_vals)).begin(); _iter1398 != (*(this->part_vals)).end(); ++_iter1398) { - xfer += oprot->writeString(_iter1368->first); - xfer += oprot->writeString(_iter1368->second); + xfer += oprot->writeString(_iter1398->first); + xfer += oprot->writeString(_iter1398->second); } xfer += oprot->writeMapEnd(); } @@ -21752,17 +21979,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1369; - ::apache::thrift::protocol::TType _ktype1370; - ::apache::thrift::protocol::TType _vtype1371; - xfer += iprot->readMapBegin(_ktype1370, _vtype1371, _size1369); - uint32_t _i1373; - for (_i1373 = 0; _i1373 < _size1369; ++_i1373) + uint32_t _size1399; + ::apache::thrift::protocol::TType _ktype1400; + ::apache::thrift::protocol::TType _vtype1401; + xfer += iprot->readMapBegin(_ktype1400, _vtype1401, _size1399); + uint32_t _i1403; + for (_i1403 = 0; _i1403 < _size1399; ++_i1403) { - std::string _key1374; - xfer += iprot->readString(_key1374); - std::string& _val1375 = this->part_vals[_key1374]; - xfer += iprot->readString(_val1375); + std::string _key1404; + xfer += iprot->readString(_key1404); + std::string& _val1405 = this->part_vals[_key1404]; + xfer += iprot->readString(_val1405); } xfer += iprot->readMapEnd(); } @@ -21773,9 +22000,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1376; - xfer += iprot->readI32(ecast1376); - this->eventType = (PartitionEventType::type)ecast1376; + int32_t ecast1406; + xfer += iprot->readI32(ecast1406); + this->eventType = (PartitionEventType::type)ecast1406; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -21809,11 +22036,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1377; - for (_iter1377 = this->part_vals.begin(); _iter1377 != this->part_vals.end(); ++_iter1377) + std::map ::const_iterator _iter1407; + for (_iter1407 = this->part_vals.begin(); _iter1407 != this->part_vals.end(); ++_iter1407) { - xfer += oprot->writeString(_iter1377->first); - xfer += oprot->writeString(_iter1377->second); + xfer += oprot->writeString(_iter1407->first); + xfer += oprot->writeString(_iter1407->second); } xfer += oprot->writeMapEnd(); } @@ -21849,11 +22076,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1378; - for (_iter1378 = (*(this->part_vals)).begin(); _iter1378 != (*(this->part_vals)).end(); ++_iter1378) + std::map ::const_iterator _iter1408; + for (_iter1408 = (*(this->part_vals)).begin(); _iter1408 != (*(this->part_vals)).end(); ++_iter1408) { - xfer += oprot->writeString(_iter1378->first); - xfer += oprot->writeString(_iter1378->second); + xfer += oprot->writeString(_iter1408->first); + xfer += oprot->writeString(_iter1408->second); } xfer += oprot->writeMapEnd(); } @@ -23289,14 +23516,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1379; - ::apache::thrift::protocol::TType _etype1382; - xfer += iprot->readListBegin(_etype1382, _size1379); - this->success.resize(_size1379); - uint32_t _i1383; - for (_i1383 = 0; _i1383 < _size1379; ++_i1383) + uint32_t _size1409; + ::apache::thrift::protocol::TType _etype1412; + xfer += iprot->readListBegin(_etype1412, _size1409); + this->success.resize(_size1409); + uint32_t _i1413; + for (_i1413 = 0; _i1413 < _size1409; ++_i1413) { - xfer += this->success[_i1383].read(iprot); + xfer += this->success[_i1413].read(iprot); } xfer += iprot->readListEnd(); } @@ -23343,10 +23570,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1384; - for (_iter1384 = this->success.begin(); _iter1384 != this->success.end(); ++_iter1384) + std::vector ::const_iterator _iter1414; + for (_iter1414 = this->success.begin(); _iter1414 != this->success.end(); ++_iter1414) { - xfer += (*_iter1384).write(oprot); + xfer += (*_iter1414).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23395,14 +23622,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1385; - ::apache::thrift::protocol::TType _etype1388; - xfer += iprot->readListBegin(_etype1388, _size1385); - (*(this->success)).resize(_size1385); - uint32_t _i1389; - for (_i1389 = 0; _i1389 < _size1385; ++_i1389) + uint32_t _size1415; + ::apache::thrift::protocol::TType _etype1418; + xfer += iprot->readListBegin(_etype1418, _size1415); + (*(this->success)).resize(_size1415); + uint32_t _i1419; + for (_i1419 = 0; _i1419 < _size1415; ++_i1419) { - xfer += (*(this->success))[_i1389].read(iprot); + xfer += (*(this->success))[_i1419].read(iprot); } xfer += iprot->readListEnd(); } @@ -23580,14 +23807,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1390; - ::apache::thrift::protocol::TType _etype1393; - xfer += iprot->readListBegin(_etype1393, _size1390); - this->success.resize(_size1390); - uint32_t _i1394; - for (_i1394 = 0; _i1394 < _size1390; ++_i1394) + uint32_t _size1420; + ::apache::thrift::protocol::TType _etype1423; + xfer += iprot->readListBegin(_etype1423, _size1420); + this->success.resize(_size1420); + uint32_t _i1424; + for (_i1424 = 0; _i1424 < _size1420; ++_i1424) { - xfer += iprot->readString(this->success[_i1394]); + xfer += iprot->readString(this->success[_i1424]); } xfer += iprot->readListEnd(); } @@ -23626,10 +23853,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1395; - for (_iter1395 = this->success.begin(); _iter1395 != this->success.end(); ++_iter1395) + std::vector ::const_iterator _iter1425; + for (_iter1425 = this->success.begin(); _iter1425 != this->success.end(); ++_iter1425) { - xfer += oprot->writeString((*_iter1395)); + xfer += oprot->writeString((*_iter1425)); } xfer += oprot->writeListEnd(); } @@ -23674,14 +23901,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1396; - ::apache::thrift::protocol::TType _etype1399; - xfer += iprot->readListBegin(_etype1399, _size1396); - (*(this->success)).resize(_size1396); - uint32_t _i1400; - for (_i1400 = 0; _i1400 < _size1396; ++_i1400) + uint32_t _size1426; + ::apache::thrift::protocol::TType _etype1429; + xfer += iprot->readListBegin(_etype1429, _size1426); + (*(this->success)).resize(_size1426); + uint32_t _i1430; + for (_i1430 = 0; _i1430 < _size1426; ++_i1430) { - xfer += iprot->readString((*(this->success))[_i1400]); + xfer += iprot->readString((*(this->success))[_i1430]); } xfer += iprot->readListEnd(); } @@ -28162,14 +28389,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->success.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1431; + ::apache::thrift::protocol::TType _etype1434; + xfer += iprot->readListBegin(_etype1434, _size1431); + this->success.resize(_size1431); + uint32_t _i1435; + for (_i1435 = 0; _i1435 < _size1431; ++_i1435) { - xfer += iprot->readString(this->success[_i1405]); + xfer += iprot->readString(this->success[_i1435]); } xfer += iprot->readListEnd(); } @@ -28208,10 +28435,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1406; - for (_iter1406 = this->success.begin(); _iter1406 != this->success.end(); ++_iter1406) + std::vector ::const_iterator _iter1436; + for (_iter1436 = this->success.begin(); _iter1436 != this->success.end(); ++_iter1436) { - xfer += oprot->writeString((*_iter1406)); + xfer += oprot->writeString((*_iter1436)); } xfer += oprot->writeListEnd(); } @@ -28256,14 +28483,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1407; - ::apache::thrift::protocol::TType _etype1410; - xfer += iprot->readListBegin(_etype1410, _size1407); - (*(this->success)).resize(_size1407); - uint32_t _i1411; - for (_i1411 = 0; _i1411 < _size1407; ++_i1411) + uint32_t _size1437; + ::apache::thrift::protocol::TType _etype1440; + xfer += iprot->readListBegin(_etype1440, _size1437); + (*(this->success)).resize(_size1437); + uint32_t _i1441; + for (_i1441 = 0; _i1441 < _size1437; ++_i1441) { - xfer += iprot->readString((*(this->success))[_i1411]); + xfer += iprot->readString((*(this->success))[_i1441]); } xfer += iprot->readListEnd(); } @@ -29223,14 +29450,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1412; - ::apache::thrift::protocol::TType _etype1415; - xfer += iprot->readListBegin(_etype1415, _size1412); - this->success.resize(_size1412); - uint32_t _i1416; - for (_i1416 = 0; _i1416 < _size1412; ++_i1416) + uint32_t _size1442; + ::apache::thrift::protocol::TType _etype1445; + xfer += iprot->readListBegin(_etype1445, _size1442); + this->success.resize(_size1442); + uint32_t _i1446; + for (_i1446 = 0; _i1446 < _size1442; ++_i1446) { - xfer += iprot->readString(this->success[_i1416]); + xfer += iprot->readString(this->success[_i1446]); } xfer += iprot->readListEnd(); } @@ -29269,10 +29496,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1417; - for (_iter1417 = this->success.begin(); _iter1417 != this->success.end(); ++_iter1417) + std::vector ::const_iterator _iter1447; + for (_iter1447 = this->success.begin(); _iter1447 != this->success.end(); ++_iter1447) { - xfer += oprot->writeString((*_iter1417)); + xfer += oprot->writeString((*_iter1447)); } xfer += oprot->writeListEnd(); } @@ -29317,14 +29544,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1418; - ::apache::thrift::protocol::TType _etype1421; - xfer += iprot->readListBegin(_etype1421, _size1418); - (*(this->success)).resize(_size1418); - uint32_t _i1422; - for (_i1422 = 0; _i1422 < _size1418; ++_i1422) + uint32_t _size1448; + ::apache::thrift::protocol::TType _etype1451; + xfer += iprot->readListBegin(_etype1451, _size1448); + (*(this->success)).resize(_size1448); + uint32_t _i1452; + for (_i1452 = 0; _i1452 < _size1448; ++_i1452) { - xfer += iprot->readString((*(this->success))[_i1422]); + xfer += iprot->readString((*(this->success))[_i1452]); } xfer += iprot->readListEnd(); } @@ -29397,9 +29624,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1423; - xfer += iprot->readI32(ecast1423); - this->principal_type = (PrincipalType::type)ecast1423; + int32_t ecast1453; + xfer += iprot->readI32(ecast1453); + this->principal_type = (PrincipalType::type)ecast1453; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29415,9 +29642,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1424; - xfer += iprot->readI32(ecast1424); - this->grantorType = (PrincipalType::type)ecast1424; + int32_t ecast1454; + xfer += iprot->readI32(ecast1454); + this->grantorType = (PrincipalType::type)ecast1454; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -29688,9 +29915,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1425; - xfer += iprot->readI32(ecast1425); - this->principal_type = (PrincipalType::type)ecast1425; + int32_t ecast1455; + xfer += iprot->readI32(ecast1455); + this->principal_type = (PrincipalType::type)ecast1455; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29921,9 +30148,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1426; - xfer += iprot->readI32(ecast1426); - this->principal_type = (PrincipalType::type)ecast1426; + int32_t ecast1456; + xfer += iprot->readI32(ecast1456); + this->principal_type = (PrincipalType::type)ecast1456; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30012,14 +30239,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1427; - ::apache::thrift::protocol::TType _etype1430; - xfer += iprot->readListBegin(_etype1430, _size1427); - this->success.resize(_size1427); - uint32_t _i1431; - for (_i1431 = 0; _i1431 < _size1427; ++_i1431) + uint32_t _size1457; + ::apache::thrift::protocol::TType _etype1460; + xfer += iprot->readListBegin(_etype1460, _size1457); + this->success.resize(_size1457); + uint32_t _i1461; + for (_i1461 = 0; _i1461 < _size1457; ++_i1461) { - xfer += this->success[_i1431].read(iprot); + xfer += this->success[_i1461].read(iprot); } xfer += iprot->readListEnd(); } @@ -30058,10 +30285,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1432; - for (_iter1432 = this->success.begin(); _iter1432 != this->success.end(); ++_iter1432) + std::vector ::const_iterator _iter1462; + for (_iter1462 = this->success.begin(); _iter1462 != this->success.end(); ++_iter1462) { - xfer += (*_iter1432).write(oprot); + xfer += (*_iter1462).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30106,14 +30333,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1433; - ::apache::thrift::protocol::TType _etype1436; - xfer += iprot->readListBegin(_etype1436, _size1433); - (*(this->success)).resize(_size1433); - uint32_t _i1437; - for (_i1437 = 0; _i1437 < _size1433; ++_i1437) + uint32_t _size1463; + ::apache::thrift::protocol::TType _etype1466; + xfer += iprot->readListBegin(_etype1466, _size1463); + (*(this->success)).resize(_size1463); + uint32_t _i1467; + for (_i1467 = 0; _i1467 < _size1463; ++_i1467) { - xfer += (*(this->success))[_i1437].read(iprot); + xfer += (*(this->success))[_i1467].read(iprot); } xfer += iprot->readListEnd(); } @@ -30809,14 +31036,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1438; - ::apache::thrift::protocol::TType _etype1441; - xfer += iprot->readListBegin(_etype1441, _size1438); - this->group_names.resize(_size1438); - uint32_t _i1442; - for (_i1442 = 0; _i1442 < _size1438; ++_i1442) + uint32_t _size1468; + ::apache::thrift::protocol::TType _etype1471; + xfer += iprot->readListBegin(_etype1471, _size1468); + this->group_names.resize(_size1468); + uint32_t _i1472; + for (_i1472 = 0; _i1472 < _size1468; ++_i1472) { - xfer += iprot->readString(this->group_names[_i1442]); + xfer += iprot->readString(this->group_names[_i1472]); } xfer += iprot->readListEnd(); } @@ -30853,10 +31080,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1443; - for (_iter1443 = this->group_names.begin(); _iter1443 != this->group_names.end(); ++_iter1443) + std::vector ::const_iterator _iter1473; + for (_iter1473 = this->group_names.begin(); _iter1473 != this->group_names.end(); ++_iter1473) { - xfer += oprot->writeString((*_iter1443)); + xfer += oprot->writeString((*_iter1473)); } xfer += oprot->writeListEnd(); } @@ -30888,10 +31115,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1444; - for (_iter1444 = (*(this->group_names)).begin(); _iter1444 != (*(this->group_names)).end(); ++_iter1444) + std::vector ::const_iterator _iter1474; + for (_iter1474 = (*(this->group_names)).begin(); _iter1474 != (*(this->group_names)).end(); ++_iter1474) { - xfer += oprot->writeString((*_iter1444)); + xfer += oprot->writeString((*_iter1474)); } xfer += oprot->writeListEnd(); } @@ -31066,9 +31293,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1445; - xfer += iprot->readI32(ecast1445); - this->principal_type = (PrincipalType::type)ecast1445; + int32_t ecast1475; + xfer += iprot->readI32(ecast1475); + this->principal_type = (PrincipalType::type)ecast1475; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31173,14 +31400,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - this->success.resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _size1476; + ::apache::thrift::protocol::TType _etype1479; + xfer += iprot->readListBegin(_etype1479, _size1476); + this->success.resize(_size1476); + uint32_t _i1480; + for (_i1480 = 0; _i1480 < _size1476; ++_i1480) { - xfer += this->success[_i1450].read(iprot); + xfer += this->success[_i1480].read(iprot); } xfer += iprot->readListEnd(); } @@ -31219,10 +31446,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1451; - for (_iter1451 = this->success.begin(); _iter1451 != this->success.end(); ++_iter1451) + std::vector ::const_iterator _iter1481; + for (_iter1481 = this->success.begin(); _iter1481 != this->success.end(); ++_iter1481) { - xfer += (*_iter1451).write(oprot); + xfer += (*_iter1481).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31267,14 +31494,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1452; - ::apache::thrift::protocol::TType _etype1455; - xfer += iprot->readListBegin(_etype1455, _size1452); - (*(this->success)).resize(_size1452); - uint32_t _i1456; - for (_i1456 = 0; _i1456 < _size1452; ++_i1456) + uint32_t _size1482; + ::apache::thrift::protocol::TType _etype1485; + xfer += iprot->readListBegin(_etype1485, _size1482); + (*(this->success)).resize(_size1482); + uint32_t _i1486; + for (_i1486 = 0; _i1486 < _size1482; ++_i1486) { - xfer += (*(this->success))[_i1456].read(iprot); + xfer += (*(this->success))[_i1486].read(iprot); } xfer += iprot->readListEnd(); } @@ -31962,14 +32189,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1457; - ::apache::thrift::protocol::TType _etype1460; - xfer += iprot->readListBegin(_etype1460, _size1457); - this->group_names.resize(_size1457); - uint32_t _i1461; - for (_i1461 = 0; _i1461 < _size1457; ++_i1461) + uint32_t _size1487; + ::apache::thrift::protocol::TType _etype1490; + xfer += iprot->readListBegin(_etype1490, _size1487); + this->group_names.resize(_size1487); + uint32_t _i1491; + for (_i1491 = 0; _i1491 < _size1487; ++_i1491) { - xfer += iprot->readString(this->group_names[_i1461]); + xfer += iprot->readString(this->group_names[_i1491]); } xfer += iprot->readListEnd(); } @@ -32002,10 +32229,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1462; - for (_iter1462 = this->group_names.begin(); _iter1462 != this->group_names.end(); ++_iter1462) + std::vector ::const_iterator _iter1492; + for (_iter1492 = this->group_names.begin(); _iter1492 != this->group_names.end(); ++_iter1492) { - xfer += oprot->writeString((*_iter1462)); + xfer += oprot->writeString((*_iter1492)); } xfer += oprot->writeListEnd(); } @@ -32033,10 +32260,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1463; - for (_iter1463 = (*(this->group_names)).begin(); _iter1463 != (*(this->group_names)).end(); ++_iter1463) + std::vector ::const_iterator _iter1493; + for (_iter1493 = (*(this->group_names)).begin(); _iter1493 != (*(this->group_names)).end(); ++_iter1493) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1493)); } xfer += oprot->writeListEnd(); } @@ -32077,14 +32304,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1464; - ::apache::thrift::protocol::TType _etype1467; - xfer += iprot->readListBegin(_etype1467, _size1464); - this->success.resize(_size1464); - uint32_t _i1468; - for (_i1468 = 0; _i1468 < _size1464; ++_i1468) + uint32_t _size1494; + ::apache::thrift::protocol::TType _etype1497; + xfer += iprot->readListBegin(_etype1497, _size1494); + this->success.resize(_size1494); + uint32_t _i1498; + for (_i1498 = 0; _i1498 < _size1494; ++_i1498) { - xfer += iprot->readString(this->success[_i1468]); + xfer += iprot->readString(this->success[_i1498]); } xfer += iprot->readListEnd(); } @@ -32123,10 +32350,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1469; - for (_iter1469 = this->success.begin(); _iter1469 != this->success.end(); ++_iter1469) + std::vector ::const_iterator _iter1499; + for (_iter1499 = this->success.begin(); _iter1499 != this->success.end(); ++_iter1499) { - xfer += oprot->writeString((*_iter1469)); + xfer += oprot->writeString((*_iter1499)); } xfer += oprot->writeListEnd(); } @@ -32171,14 +32398,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1470; - ::apache::thrift::protocol::TType _etype1473; - xfer += iprot->readListBegin(_etype1473, _size1470); - (*(this->success)).resize(_size1470); - uint32_t _i1474; - for (_i1474 = 0; _i1474 < _size1470; ++_i1474) + uint32_t _size1500; + ::apache::thrift::protocol::TType _etype1503; + xfer += iprot->readListBegin(_etype1503, _size1500); + (*(this->success)).resize(_size1500); + uint32_t _i1504; + for (_i1504 = 0; _i1504 < _size1500; ++_i1504) { - xfer += iprot->readString((*(this->success))[_i1474]); + xfer += iprot->readString((*(this->success))[_i1504]); } xfer += iprot->readListEnd(); } @@ -33489,14 +33716,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1475; - ::apache::thrift::protocol::TType _etype1478; - xfer += iprot->readListBegin(_etype1478, _size1475); - this->success.resize(_size1475); - uint32_t _i1479; - for (_i1479 = 0; _i1479 < _size1475; ++_i1479) + uint32_t _size1505; + ::apache::thrift::protocol::TType _etype1508; + xfer += iprot->readListBegin(_etype1508, _size1505); + this->success.resize(_size1505); + uint32_t _i1509; + for (_i1509 = 0; _i1509 < _size1505; ++_i1509) { - xfer += iprot->readString(this->success[_i1479]); + xfer += iprot->readString(this->success[_i1509]); } xfer += iprot->readListEnd(); } @@ -33527,10 +33754,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1480; - for (_iter1480 = this->success.begin(); _iter1480 != this->success.end(); ++_iter1480) + std::vector ::const_iterator _iter1510; + for (_iter1510 = this->success.begin(); _iter1510 != this->success.end(); ++_iter1510) { - xfer += oprot->writeString((*_iter1480)); + xfer += oprot->writeString((*_iter1510)); } xfer += oprot->writeListEnd(); } @@ -33571,14 +33798,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1481; - ::apache::thrift::protocol::TType _etype1484; - xfer += iprot->readListBegin(_etype1484, _size1481); - (*(this->success)).resize(_size1481); - uint32_t _i1485; - for (_i1485 = 0; _i1485 < _size1481; ++_i1485) + uint32_t _size1511; + ::apache::thrift::protocol::TType _etype1514; + xfer += iprot->readListBegin(_etype1514, _size1511); + (*(this->success)).resize(_size1511); + uint32_t _i1515; + for (_i1515 = 0; _i1515 < _size1511; ++_i1515) { - xfer += iprot->readString((*(this->success))[_i1485]); + xfer += iprot->readString((*(this->success))[_i1515]); } xfer += iprot->readListEnd(); } @@ -34304,14 +34531,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1486; - ::apache::thrift::protocol::TType _etype1489; - xfer += iprot->readListBegin(_etype1489, _size1486); - this->success.resize(_size1486); - uint32_t _i1490; - for (_i1490 = 0; _i1490 < _size1486; ++_i1490) + uint32_t _size1516; + ::apache::thrift::protocol::TType _etype1519; + xfer += iprot->readListBegin(_etype1519, _size1516); + this->success.resize(_size1516); + uint32_t _i1520; + for (_i1520 = 0; _i1520 < _size1516; ++_i1520) { - xfer += iprot->readString(this->success[_i1490]); + xfer += iprot->readString(this->success[_i1520]); } xfer += iprot->readListEnd(); } @@ -34342,10 +34569,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1491; - for (_iter1491 = this->success.begin(); _iter1491 != this->success.end(); ++_iter1491) + std::vector ::const_iterator _iter1521; + for (_iter1521 = this->success.begin(); _iter1521 != this->success.end(); ++_iter1521) { - xfer += oprot->writeString((*_iter1491)); + xfer += oprot->writeString((*_iter1521)); } xfer += oprot->writeListEnd(); } @@ -34386,14 +34613,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1492; - ::apache::thrift::protocol::TType _etype1495; - xfer += iprot->readListBegin(_etype1495, _size1492); - (*(this->success)).resize(_size1492); - uint32_t _i1496; - for (_i1496 = 0; _i1496 < _size1492; ++_i1496) + uint32_t _size1522; + ::apache::thrift::protocol::TType _etype1525; + xfer += iprot->readListBegin(_etype1525, _size1522); + (*(this->success)).resize(_size1522); + uint32_t _i1526; + for (_i1526 = 0; _i1526 < _size1522; ++_i1526) { - xfer += iprot->readString((*(this->success))[_i1496]); + xfer += iprot->readString((*(this->success))[_i1526]); } xfer += iprot->readListEnd(); } @@ -43735,6 +43962,70 @@ void ThriftHiveMetastoreClient::recv_get_partition_names(std::vectorwriteMessageBegin("get_partition_values", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_values_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_partition_values(PartitionValuesResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("get_partition_values") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_partition_values_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + if (result.__isset.o1) { + throw result.o1; + } + if (result.__isset.o2) { + throw result.o2; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_values failed: unknown result"); +} + void ThriftHiveMetastoreClient::get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) { send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts); @@ -53652,6 +53943,66 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, :: } } +void ThriftHiveMetastoreProcessor::process_get_partition_values(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = NULL; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_partition_values", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_values"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_values"); + } + + ThriftHiveMetastore_get_partition_values_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_values", bytes); + } + + ThriftHiveMetastore_get_partition_values_result result; + try { + iface_->get_partition_values(result.success, args.request); + result.__isset.success = true; + } catch (MetaException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (NoSuchObjectException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_values"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_partition_values", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition_values"); + } + + oprot->writeMessageBegin("get_partition_values", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition_values", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -65171,6 +65522,98 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_partition_names(std::vectorsync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_values", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_values_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_values(PartitionValuesResponse& _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); + + while(true) { + if(!this->sync_.getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("get_partition_values") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + ThriftHiveMetastore_get_partition_values_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_values failed: unknown result"); + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + void ThriftHiveMetastoreConcurrentClient::get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) { int32_t seqid = send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 3094394..ec3fdbd 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -84,6 +84,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void get_partitions_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) = 0; virtual void get_partitions_pspec(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int32_t max_parts) = 0; virtual void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) = 0; + virtual void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) = 0; virtual void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) = 0; virtual void get_partitions_ps_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) = 0; virtual void get_partition_names_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) = 0; @@ -406,6 +407,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_partition_names(std::vector & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_parts */) { return; } + void get_partition_values(PartitionValuesResponse& /* _return */, const PartitionValuesRequest& /* request */) { + return; + } void get_partitions_ps(std::vector & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector & /* part_vals */, const int16_t /* max_parts */) { return; } @@ -8759,6 +8763,126 @@ class ThriftHiveMetastore_get_partition_names_presult { }; +typedef struct _ThriftHiveMetastore_get_partition_values_args__isset { + _ThriftHiveMetastore_get_partition_values_args__isset() : request(false) {} + bool request :1; +} _ThriftHiveMetastore_get_partition_values_args__isset; + +class ThriftHiveMetastore_get_partition_values_args { + public: + + ThriftHiveMetastore_get_partition_values_args(const ThriftHiveMetastore_get_partition_values_args&); + ThriftHiveMetastore_get_partition_values_args& operator=(const ThriftHiveMetastore_get_partition_values_args&); + ThriftHiveMetastore_get_partition_values_args() { + } + + virtual ~ThriftHiveMetastore_get_partition_values_args() throw(); + PartitionValuesRequest request; + + _ThriftHiveMetastore_get_partition_values_args__isset __isset; + + void __set_request(const PartitionValuesRequest& val); + + bool operator == (const ThriftHiveMetastore_get_partition_values_args & rhs) const + { + if (!(request == rhs.request)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_partition_values_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_partition_values_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_partition_values_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_partition_values_pargs() throw(); + const PartitionValuesRequest* request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_partition_values_result__isset { + _ThriftHiveMetastore_get_partition_values_result__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_partition_values_result__isset; + +class ThriftHiveMetastore_get_partition_values_result { + public: + + ThriftHiveMetastore_get_partition_values_result(const ThriftHiveMetastore_get_partition_values_result&); + ThriftHiveMetastore_get_partition_values_result& operator=(const ThriftHiveMetastore_get_partition_values_result&); + ThriftHiveMetastore_get_partition_values_result() { + } + + virtual ~ThriftHiveMetastore_get_partition_values_result() throw(); + PartitionValuesResponse success; + MetaException o1; + NoSuchObjectException o2; + + _ThriftHiveMetastore_get_partition_values_result__isset __isset; + + void __set_success(const PartitionValuesResponse& val); + + void __set_o1(const MetaException& val); + + void __set_o2(const NoSuchObjectException& val); + + bool operator == (const ThriftHiveMetastore_get_partition_values_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_partition_values_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_partition_values_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_partition_values_presult__isset { + _ThriftHiveMetastore_get_partition_values_presult__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_partition_values_presult__isset; + +class ThriftHiveMetastore_get_partition_values_presult { + public: + + + virtual ~ThriftHiveMetastore_get_partition_values_presult() throw(); + PartitionValuesResponse* success; + MetaException o1; + NoSuchObjectException o2; + + _ThriftHiveMetastore_get_partition_values_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_partitions_ps_args__isset { _ThriftHiveMetastore_get_partitions_ps_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(true) {} bool db_name :1; @@ -20742,6 +20866,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void recv_get_partition_names(std::vector & _return); + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request); + void send_get_partition_values(const PartitionValuesRequest& request); + void recv_get_partition_values(PartitionValuesResponse& _return); void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); void send_get_partitions_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); void recv_get_partitions_ps(std::vector & _return); @@ -21111,6 +21238,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_pspec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_partition_values(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -21276,6 +21404,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["get_partitions_with_auth"] = &ThriftHiveMetastoreProcessor::process_get_partitions_with_auth; processMap_["get_partitions_pspec"] = &ThriftHiveMetastoreProcessor::process_get_partitions_pspec; processMap_["get_partition_names"] = &ThriftHiveMetastoreProcessor::process_get_partition_names; + processMap_["get_partition_values"] = &ThriftHiveMetastoreProcessor::process_get_partition_values; processMap_["get_partitions_ps"] = &ThriftHiveMetastoreProcessor::process_get_partitions_ps; processMap_["get_partitions_ps_with_auth"] = &ThriftHiveMetastoreProcessor::process_get_partitions_ps_with_auth; processMap_["get_partition_names_ps"] = &ThriftHiveMetastoreProcessor::process_get_partition_names_ps; @@ -22002,6 +22131,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_partition_values(_return, request); + } + ifaces_[i]->get_partition_values(_return, request); + return; + } + void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) { size_t sz = ifaces_.size(); size_t i = 0; @@ -23154,6 +23293,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); int32_t send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void recv_get_partition_names(std::vector & _return, const int32_t seqid); + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request); + int32_t send_get_partition_values(const PartitionValuesRequest& request); + void recv_get_partition_values(PartitionValuesResponse& _return, const int32_t seqid); void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); int32_t send_get_partitions_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); void recv_get_partitions_ps(std::vector & _return, const int32_t seqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index c656d5f..78efd63 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -332,6 +332,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_partition_names\n"); } + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { + // Your implementation goes here + printf("get_partition_values\n"); + } + void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) { // Your implementation goes here printf("get_partitions_ps\n"); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 5c09fdd..b3c9798 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -12290,6 +12290,503 @@ void DropPartitionsRequest::printTo(std::ostream& out) const { } +PartitionValuesRequest::~PartitionValuesRequest() throw() { +} + + +void PartitionValuesRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void PartitionValuesRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void PartitionValuesRequest::__set_partitionKeys(const std::vector & val) { + this->partitionKeys = val; +} + +void PartitionValuesRequest::__set_applyDistinct(const bool val) { + this->applyDistinct = val; +__isset.applyDistinct = true; +} + +void PartitionValuesRequest::__set_filter(const std::string& val) { + this->filter = val; +__isset.filter = true; +} + +void PartitionValuesRequest::__set_partitionOrder(const std::vector & val) { + this->partitionOrder = val; +__isset.partitionOrder = true; +} + +void PartitionValuesRequest::__set_ascending(const bool val) { + this->ascending = val; +__isset.ascending = true; +} + +void PartitionValuesRequest::__set_maxParts(const int64_t val) { + this->maxParts = val; +__isset.maxParts = true; +} + +uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_dbName = false; + bool isset_tblName = false; + bool isset_partitionKeys = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->dbName); + isset_dbName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tblName); + isset_tblName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->partitionKeys.clear(); + uint32_t _size533; + ::apache::thrift::protocol::TType _etype536; + xfer += iprot->readListBegin(_etype536, _size533); + this->partitionKeys.resize(_size533); + uint32_t _i537; + for (_i537 = 0; _i537 < _size533; ++_i537) + { + xfer += this->partitionKeys[_i537].read(iprot); + } + xfer += iprot->readListEnd(); + } + isset_partitionKeys = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->applyDistinct); + this->__isset.applyDistinct = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->filter); + this->__isset.filter = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->partitionOrder.clear(); + uint32_t _size538; + ::apache::thrift::protocol::TType _etype541; + xfer += iprot->readListBegin(_etype541, _size538); + this->partitionOrder.resize(_size538); + uint32_t _i542; + for (_i542 = 0; _i542 < _size538; ++_i542) + { + xfer += this->partitionOrder[_i542].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.partitionOrder = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->ascending); + this->__isset.ascending = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->maxParts); + this->__isset.maxParts = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_dbName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tblName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_partitionKeys) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t PartitionValuesRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PartitionValuesRequest"); + + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->dbName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tblName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 3); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); + std::vector ::const_iterator _iter543; + for (_iter543 = this->partitionKeys.begin(); _iter543 != this->partitionKeys.end(); ++_iter543) + { + xfer += (*_iter543).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + if (this->__isset.applyDistinct) { + xfer += oprot->writeFieldBegin("applyDistinct", ::apache::thrift::protocol::T_BOOL, 4); + xfer += oprot->writeBool(this->applyDistinct); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.filter) { + xfer += oprot->writeFieldBegin("filter", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->filter); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.partitionOrder) { + xfer += oprot->writeFieldBegin("partitionOrder", ::apache::thrift::protocol::T_LIST, 6); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionOrder.size())); + std::vector ::const_iterator _iter544; + for (_iter544 = this->partitionOrder.begin(); _iter544 != this->partitionOrder.end(); ++_iter544) + { + xfer += (*_iter544).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.ascending) { + xfer += oprot->writeFieldBegin("ascending", ::apache::thrift::protocol::T_BOOL, 7); + xfer += oprot->writeBool(this->ascending); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.maxParts) { + xfer += oprot->writeFieldBegin("maxParts", ::apache::thrift::protocol::T_I64, 8); + xfer += oprot->writeI64(this->maxParts); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PartitionValuesRequest &a, PartitionValuesRequest &b) { + using ::std::swap; + swap(a.dbName, b.dbName); + swap(a.tblName, b.tblName); + swap(a.partitionKeys, b.partitionKeys); + swap(a.applyDistinct, b.applyDistinct); + swap(a.filter, b.filter); + swap(a.partitionOrder, b.partitionOrder); + swap(a.ascending, b.ascending); + swap(a.maxParts, b.maxParts); + swap(a.__isset, b.__isset); +} + +PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other545) { + dbName = other545.dbName; + tblName = other545.tblName; + partitionKeys = other545.partitionKeys; + applyDistinct = other545.applyDistinct; + filter = other545.filter; + partitionOrder = other545.partitionOrder; + ascending = other545.ascending; + maxParts = other545.maxParts; + __isset = other545.__isset; +} +PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other546) { + dbName = other546.dbName; + tblName = other546.tblName; + partitionKeys = other546.partitionKeys; + applyDistinct = other546.applyDistinct; + filter = other546.filter; + partitionOrder = other546.partitionOrder; + ascending = other546.ascending; + maxParts = other546.maxParts; + __isset = other546.__isset; + return *this; +} +void PartitionValuesRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PartitionValuesRequest("; + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "partitionKeys=" << to_string(partitionKeys); + out << ", " << "applyDistinct="; (__isset.applyDistinct ? (out << to_string(applyDistinct)) : (out << "")); + out << ", " << "filter="; (__isset.filter ? (out << to_string(filter)) : (out << "")); + out << ", " << "partitionOrder="; (__isset.partitionOrder ? (out << to_string(partitionOrder)) : (out << "")); + out << ", " << "ascending="; (__isset.ascending ? (out << to_string(ascending)) : (out << "")); + out << ", " << "maxParts="; (__isset.maxParts ? (out << to_string(maxParts)) : (out << "")); + out << ")"; +} + + +PartitionValuesRow::~PartitionValuesRow() throw() { +} + + +void PartitionValuesRow::__set_row(const std::vector & val) { + this->row = val; +} + +uint32_t PartitionValuesRow::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_row = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->row.clear(); + uint32_t _size547; + ::apache::thrift::protocol::TType _etype550; + xfer += iprot->readListBegin(_etype550, _size547); + this->row.resize(_size547); + uint32_t _i551; + for (_i551 = 0; _i551 < _size547; ++_i551) + { + xfer += iprot->readString(this->row[_i551]); + } + xfer += iprot->readListEnd(); + } + isset_row = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_row) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t PartitionValuesRow::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PartitionValuesRow"); + + xfer += oprot->writeFieldBegin("row", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->row.size())); + std::vector ::const_iterator _iter552; + for (_iter552 = this->row.begin(); _iter552 != this->row.end(); ++_iter552) + { + xfer += oprot->writeString((*_iter552)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PartitionValuesRow &a, PartitionValuesRow &b) { + using ::std::swap; + swap(a.row, b.row); +} + +PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other553) { + row = other553.row; +} +PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other554) { + row = other554.row; + return *this; +} +void PartitionValuesRow::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PartitionValuesRow("; + out << "row=" << to_string(row); + out << ")"; +} + + +PartitionValuesResponse::~PartitionValuesResponse() throw() { +} + + +void PartitionValuesResponse::__set_partitionValues(const std::vector & val) { + this->partitionValues = val; +} + +uint32_t PartitionValuesResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_partitionValues = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->partitionValues.clear(); + uint32_t _size555; + ::apache::thrift::protocol::TType _etype558; + xfer += iprot->readListBegin(_etype558, _size555); + this->partitionValues.resize(_size555); + uint32_t _i559; + for (_i559 = 0; _i559 < _size555; ++_i559) + { + xfer += this->partitionValues[_i559].read(iprot); + } + xfer += iprot->readListEnd(); + } + isset_partitionValues = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_partitionValues) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t PartitionValuesResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("PartitionValuesResponse"); + + xfer += oprot->writeFieldBegin("partitionValues", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionValues.size())); + std::vector ::const_iterator _iter560; + for (_iter560 = this->partitionValues.begin(); _iter560 != this->partitionValues.end(); ++_iter560) + { + xfer += (*_iter560).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(PartitionValuesResponse &a, PartitionValuesResponse &b) { + using ::std::swap; + swap(a.partitionValues, b.partitionValues); +} + +PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other561) { + partitionValues = other561.partitionValues; +} +PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other562) { + partitionValues = other562.partitionValues; + return *this; +} +void PartitionValuesResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "PartitionValuesResponse("; + out << "partitionValues=" << to_string(partitionValues); + out << ")"; +} + + ResourceUri::~ResourceUri() throw() { } @@ -12325,9 +12822,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast533; - xfer += iprot->readI32(ecast533); - this->resourceType = (ResourceType::type)ecast533; + int32_t ecast563; + xfer += iprot->readI32(ecast563); + this->resourceType = (ResourceType::type)ecast563; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -12378,15 +12875,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other534) { - resourceType = other534.resourceType; - uri = other534.uri; - __isset = other534.__isset; +ResourceUri::ResourceUri(const ResourceUri& other564) { + resourceType = other564.resourceType; + uri = other564.uri; + __isset = other564.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other535) { - resourceType = other535.resourceType; - uri = other535.uri; - __isset = other535.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other565) { + resourceType = other565.resourceType; + uri = other565.uri; + __isset = other565.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -12489,9 +12986,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast536; - xfer += iprot->readI32(ecast536); - this->ownerType = (PrincipalType::type)ecast536; + int32_t ecast566; + xfer += iprot->readI32(ecast566); + this->ownerType = (PrincipalType::type)ecast566; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -12507,9 +13004,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast537; - xfer += iprot->readI32(ecast537); - this->functionType = (FunctionType::type)ecast537; + int32_t ecast567; + xfer += iprot->readI32(ecast567); + this->functionType = (FunctionType::type)ecast567; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -12519,14 +13016,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size538; - ::apache::thrift::protocol::TType _etype541; - xfer += iprot->readListBegin(_etype541, _size538); - this->resourceUris.resize(_size538); - uint32_t _i542; - for (_i542 = 0; _i542 < _size538; ++_i542) + uint32_t _size568; + ::apache::thrift::protocol::TType _etype571; + xfer += iprot->readListBegin(_etype571, _size568); + this->resourceUris.resize(_size568); + uint32_t _i572; + for (_i572 = 0; _i572 < _size568; ++_i572) { - xfer += this->resourceUris[_i542].read(iprot); + xfer += this->resourceUris[_i572].read(iprot); } xfer += iprot->readListEnd(); } @@ -12583,10 +13080,10 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("resourceUris", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourceUris.size())); - std::vector ::const_iterator _iter543; - for (_iter543 = this->resourceUris.begin(); _iter543 != this->resourceUris.end(); ++_iter543) + std::vector ::const_iterator _iter573; + for (_iter573 = this->resourceUris.begin(); _iter573 != this->resourceUris.end(); ++_iter573) { - xfer += (*_iter543).write(oprot); + xfer += (*_iter573).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12610,27 +13107,27 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other544) { - functionName = other544.functionName; - dbName = other544.dbName; - className = other544.className; - ownerName = other544.ownerName; - ownerType = other544.ownerType; - createTime = other544.createTime; - functionType = other544.functionType; - resourceUris = other544.resourceUris; - __isset = other544.__isset; -} -Function& Function::operator=(const Function& other545) { - functionName = other545.functionName; - dbName = other545.dbName; - className = other545.className; - ownerName = other545.ownerName; - ownerType = other545.ownerType; - createTime = other545.createTime; - functionType = other545.functionType; - resourceUris = other545.resourceUris; - __isset = other545.__isset; +Function::Function(const Function& other574) { + functionName = other574.functionName; + dbName = other574.dbName; + className = other574.className; + ownerName = other574.ownerName; + ownerType = other574.ownerType; + createTime = other574.createTime; + functionType = other574.functionType; + resourceUris = other574.resourceUris; + __isset = other574.__isset; +} +Function& Function::operator=(const Function& other575) { + functionName = other575.functionName; + dbName = other575.dbName; + className = other575.className; + ownerName = other575.ownerName; + ownerType = other575.ownerType; + createTime = other575.createTime; + functionType = other575.functionType; + resourceUris = other575.resourceUris; + __isset = other575.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -12728,9 +13225,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast546; - xfer += iprot->readI32(ecast546); - this->state = (TxnState::type)ecast546; + int32_t ecast576; + xfer += iprot->readI32(ecast576); + this->state = (TxnState::type)ecast576; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -12877,29 +13374,29 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other547) { - id = other547.id; - state = other547.state; - user = other547.user; - hostname = other547.hostname; - agentInfo = other547.agentInfo; - heartbeatCount = other547.heartbeatCount; - metaInfo = other547.metaInfo; - startedTime = other547.startedTime; - lastHeartbeatTime = other547.lastHeartbeatTime; - __isset = other547.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other548) { - id = other548.id; - state = other548.state; - user = other548.user; - hostname = other548.hostname; - agentInfo = other548.agentInfo; - heartbeatCount = other548.heartbeatCount; - metaInfo = other548.metaInfo; - startedTime = other548.startedTime; - lastHeartbeatTime = other548.lastHeartbeatTime; - __isset = other548.__isset; +TxnInfo::TxnInfo(const TxnInfo& other577) { + id = other577.id; + state = other577.state; + user = other577.user; + hostname = other577.hostname; + agentInfo = other577.agentInfo; + heartbeatCount = other577.heartbeatCount; + metaInfo = other577.metaInfo; + startedTime = other577.startedTime; + lastHeartbeatTime = other577.lastHeartbeatTime; + __isset = other577.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other578) { + id = other578.id; + state = other578.state; + user = other578.user; + hostname = other578.hostname; + agentInfo = other578.agentInfo; + heartbeatCount = other578.heartbeatCount; + metaInfo = other578.metaInfo; + startedTime = other578.startedTime; + lastHeartbeatTime = other578.lastHeartbeatTime; + __isset = other578.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -12965,14 +13462,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size549; - ::apache::thrift::protocol::TType _etype552; - xfer += iprot->readListBegin(_etype552, _size549); - this->open_txns.resize(_size549); - uint32_t _i553; - for (_i553 = 0; _i553 < _size549; ++_i553) + uint32_t _size579; + ::apache::thrift::protocol::TType _etype582; + xfer += iprot->readListBegin(_etype582, _size579); + this->open_txns.resize(_size579); + uint32_t _i583; + for (_i583 = 0; _i583 < _size579; ++_i583) { - xfer += this->open_txns[_i553].read(iprot); + xfer += this->open_txns[_i583].read(iprot); } xfer += iprot->readListEnd(); } @@ -13009,10 +13506,10 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter554; - for (_iter554 = this->open_txns.begin(); _iter554 != this->open_txns.end(); ++_iter554) + std::vector ::const_iterator _iter584; + for (_iter584 = this->open_txns.begin(); _iter584 != this->open_txns.end(); ++_iter584) { - xfer += (*_iter554).write(oprot); + xfer += (*_iter584).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13029,13 +13526,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other555) { - txn_high_water_mark = other555.txn_high_water_mark; - open_txns = other555.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other585) { + txn_high_water_mark = other585.txn_high_water_mark; + open_txns = other585.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other556) { - txn_high_water_mark = other556.txn_high_water_mark; - open_txns = other556.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other586) { + txn_high_water_mark = other586.txn_high_water_mark; + open_txns = other586.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -13104,14 +13601,14 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size557; - ::apache::thrift::protocol::TType _etype560; - xfer += iprot->readListBegin(_etype560, _size557); - this->open_txns.resize(_size557); - uint32_t _i561; - for (_i561 = 0; _i561 < _size557; ++_i561) + uint32_t _size587; + ::apache::thrift::protocol::TType _etype590; + xfer += iprot->readListBegin(_etype590, _size587); + this->open_txns.resize(_size587); + uint32_t _i591; + for (_i591 = 0; _i591 < _size587; ++_i591) { - xfer += iprot->readI64(this->open_txns[_i561]); + xfer += iprot->readI64(this->open_txns[_i591]); } xfer += iprot->readListEnd(); } @@ -13166,10 +13663,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter562; - for (_iter562 = this->open_txns.begin(); _iter562 != this->open_txns.end(); ++_iter562) + std::vector ::const_iterator _iter592; + for (_iter592 = this->open_txns.begin(); _iter592 != this->open_txns.end(); ++_iter592) { - xfer += oprot->writeI64((*_iter562)); + xfer += oprot->writeI64((*_iter592)); } xfer += oprot->writeListEnd(); } @@ -13198,19 +13695,19 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.__isset, b.__isset); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other563) { - txn_high_water_mark = other563.txn_high_water_mark; - open_txns = other563.open_txns; - min_open_txn = other563.min_open_txn; - abortedBits = other563.abortedBits; - __isset = other563.__isset; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other593) { + txn_high_water_mark = other593.txn_high_water_mark; + open_txns = other593.open_txns; + min_open_txn = other593.min_open_txn; + abortedBits = other593.abortedBits; + __isset = other593.__isset; } -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other564) { - txn_high_water_mark = other564.txn_high_water_mark; - open_txns = other564.open_txns; - min_open_txn = other564.min_open_txn; - abortedBits = other564.abortedBits; - __isset = other564.__isset; +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other594) { + txn_high_water_mark = other594.txn_high_water_mark; + open_txns = other594.open_txns; + min_open_txn = other594.min_open_txn; + abortedBits = other594.abortedBits; + __isset = other594.__isset; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -13355,19 +13852,19 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other565) { - num_txns = other565.num_txns; - user = other565.user; - hostname = other565.hostname; - agentInfo = other565.agentInfo; - __isset = other565.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other595) { + num_txns = other595.num_txns; + user = other595.user; + hostname = other595.hostname; + agentInfo = other595.agentInfo; + __isset = other595.__isset; } -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other566) { - num_txns = other566.num_txns; - user = other566.user; - hostname = other566.hostname; - agentInfo = other566.agentInfo; - __isset = other566.__isset; +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other596) { + num_txns = other596.num_txns; + user = other596.user; + hostname = other596.hostname; + agentInfo = other596.agentInfo; + __isset = other596.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -13415,14 +13912,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readListBegin(_etype570, _size567); - this->txn_ids.resize(_size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size597; + ::apache::thrift::protocol::TType _etype600; + xfer += iprot->readListBegin(_etype600, _size597); + this->txn_ids.resize(_size597); + uint32_t _i601; + for (_i601 = 0; _i601 < _size597; ++_i601) { - xfer += iprot->readI64(this->txn_ids[_i571]); + xfer += iprot->readI64(this->txn_ids[_i601]); } xfer += iprot->readListEnd(); } @@ -13453,10 +13950,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter572; - for (_iter572 = this->txn_ids.begin(); _iter572 != this->txn_ids.end(); ++_iter572) + std::vector ::const_iterator _iter602; + for (_iter602 = this->txn_ids.begin(); _iter602 != this->txn_ids.end(); ++_iter602) { - xfer += oprot->writeI64((*_iter572)); + xfer += oprot->writeI64((*_iter602)); } xfer += oprot->writeListEnd(); } @@ -13472,11 +13969,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other573) { - txn_ids = other573.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other603) { + txn_ids = other603.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other574) { - txn_ids = other574.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other604) { + txn_ids = other604.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -13558,11 +14055,11 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.txnid, b.txnid); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other575) { - txnid = other575.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other605) { + txnid = other605.txnid; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other576) { - txnid = other576.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other606) { + txnid = other606.txnid; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -13607,14 +14104,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size577; - ::apache::thrift::protocol::TType _etype580; - xfer += iprot->readListBegin(_etype580, _size577); - this->txn_ids.resize(_size577); - uint32_t _i581; - for (_i581 = 0; _i581 < _size577; ++_i581) + uint32_t _size607; + ::apache::thrift::protocol::TType _etype610; + xfer += iprot->readListBegin(_etype610, _size607); + this->txn_ids.resize(_size607); + uint32_t _i611; + for (_i611 = 0; _i611 < _size607; ++_i611) { - xfer += iprot->readI64(this->txn_ids[_i581]); + xfer += iprot->readI64(this->txn_ids[_i611]); } xfer += iprot->readListEnd(); } @@ -13645,10 +14142,10 @@ uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter582; - for (_iter582 = this->txn_ids.begin(); _iter582 != this->txn_ids.end(); ++_iter582) + std::vector ::const_iterator _iter612; + for (_iter612 = this->txn_ids.begin(); _iter612 != this->txn_ids.end(); ++_iter612) { - xfer += oprot->writeI64((*_iter582)); + xfer += oprot->writeI64((*_iter612)); } xfer += oprot->writeListEnd(); } @@ -13664,11 +14161,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other583) { - txn_ids = other583.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other613) { + txn_ids = other613.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other584) { - txn_ids = other584.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other614) { + txn_ids = other614.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -13750,11 +14247,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other585) { - txnid = other585.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other615) { + txnid = other615.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other586) { - txnid = other586.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other616) { + txnid = other616.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -13832,9 +14329,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast587; - xfer += iprot->readI32(ecast587); - this->type = (LockType::type)ecast587; + int32_t ecast617; + xfer += iprot->readI32(ecast617); + this->type = (LockType::type)ecast617; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13842,9 +14339,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast588; - xfer += iprot->readI32(ecast588); - this->level = (LockLevel::type)ecast588; + int32_t ecast618; + xfer += iprot->readI32(ecast618); + this->level = (LockLevel::type)ecast618; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -13876,9 +14373,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast589; - xfer += iprot->readI32(ecast589); - this->operationType = (DataOperationType::type)ecast589; + int32_t ecast619; + xfer += iprot->readI32(ecast619); + this->operationType = (DataOperationType::type)ecast619; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -13978,27 +14475,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other590) { - type = other590.type; - level = other590.level; - dbname = other590.dbname; - tablename = other590.tablename; - partitionname = other590.partitionname; - operationType = other590.operationType; - isAcid = other590.isAcid; - isDynamicPartitionWrite = other590.isDynamicPartitionWrite; - __isset = other590.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other591) { - type = other591.type; - level = other591.level; - dbname = other591.dbname; - tablename = other591.tablename; - partitionname = other591.partitionname; - operationType = other591.operationType; - isAcid = other591.isAcid; - isDynamicPartitionWrite = other591.isDynamicPartitionWrite; - __isset = other591.__isset; +LockComponent::LockComponent(const LockComponent& other620) { + type = other620.type; + level = other620.level; + dbname = other620.dbname; + tablename = other620.tablename; + partitionname = other620.partitionname; + operationType = other620.operationType; + isAcid = other620.isAcid; + isDynamicPartitionWrite = other620.isDynamicPartitionWrite; + __isset = other620.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other621) { + type = other621.type; + level = other621.level; + dbname = other621.dbname; + tablename = other621.tablename; + partitionname = other621.partitionname; + operationType = other621.operationType; + isAcid = other621.isAcid; + isDynamicPartitionWrite = other621.isDynamicPartitionWrite; + __isset = other621.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -14070,14 +14567,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size592; - ::apache::thrift::protocol::TType _etype595; - xfer += iprot->readListBegin(_etype595, _size592); - this->component.resize(_size592); - uint32_t _i596; - for (_i596 = 0; _i596 < _size592; ++_i596) + uint32_t _size622; + ::apache::thrift::protocol::TType _etype625; + xfer += iprot->readListBegin(_etype625, _size622); + this->component.resize(_size622); + uint32_t _i626; + for (_i626 = 0; _i626 < _size622; ++_i626) { - xfer += this->component[_i596].read(iprot); + xfer += this->component[_i626].read(iprot); } xfer += iprot->readListEnd(); } @@ -14144,10 +14641,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter597; - for (_iter597 = this->component.begin(); _iter597 != this->component.end(); ++_iter597) + std::vector ::const_iterator _iter627; + for (_iter627 = this->component.begin(); _iter627 != this->component.end(); ++_iter627) { - xfer += (*_iter597).write(oprot); + xfer += (*_iter627).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14186,21 +14683,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other598) { - component = other598.component; - txnid = other598.txnid; - user = other598.user; - hostname = other598.hostname; - agentInfo = other598.agentInfo; - __isset = other598.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other599) { - component = other599.component; - txnid = other599.txnid; - user = other599.user; - hostname = other599.hostname; - agentInfo = other599.agentInfo; - __isset = other599.__isset; +LockRequest::LockRequest(const LockRequest& other628) { + component = other628.component; + txnid = other628.txnid; + user = other628.user; + hostname = other628.hostname; + agentInfo = other628.agentInfo; + __isset = other628.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other629) { + component = other629.component; + txnid = other629.txnid; + user = other629.user; + hostname = other629.hostname; + agentInfo = other629.agentInfo; + __isset = other629.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -14260,9 +14757,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast600; - xfer += iprot->readI32(ecast600); - this->state = (LockState::type)ecast600; + int32_t ecast630; + xfer += iprot->readI32(ecast630); + this->state = (LockState::type)ecast630; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -14308,13 +14805,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other601) { - lockid = other601.lockid; - state = other601.state; +LockResponse::LockResponse(const LockResponse& other631) { + lockid = other631.lockid; + state = other631.state; } -LockResponse& LockResponse::operator=(const LockResponse& other602) { - lockid = other602.lockid; - state = other602.state; +LockResponse& LockResponse::operator=(const LockResponse& other632) { + lockid = other632.lockid; + state = other632.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -14436,17 +14933,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other603) { - lockid = other603.lockid; - txnid = other603.txnid; - elapsed_ms = other603.elapsed_ms; - __isset = other603.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other633) { + lockid = other633.lockid; + txnid = other633.txnid; + elapsed_ms = other633.elapsed_ms; + __isset = other633.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other604) { - lockid = other604.lockid; - txnid = other604.txnid; - elapsed_ms = other604.elapsed_ms; - __isset = other604.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other634) { + lockid = other634.lockid; + txnid = other634.txnid; + elapsed_ms = other634.elapsed_ms; + __isset = other634.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -14530,11 +15027,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other605) { - lockid = other605.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other635) { + lockid = other635.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other606) { - lockid = other606.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other636) { + lockid = other636.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -14673,19 +15170,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other607) { - dbname = other607.dbname; - tablename = other607.tablename; - partname = other607.partname; - isExtended = other607.isExtended; - __isset = other607.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other637) { + dbname = other637.dbname; + tablename = other637.tablename; + partname = other637.partname; + isExtended = other637.isExtended; + __isset = other637.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other608) { - dbname = other608.dbname; - tablename = other608.tablename; - partname = other608.partname; - isExtended = other608.isExtended; - __isset = other608.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other638) { + dbname = other638.dbname; + tablename = other638.tablename; + partname = other638.partname; + isExtended = other638.isExtended; + __isset = other638.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -14838,9 +15335,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast609; - xfer += iprot->readI32(ecast609); - this->state = (LockState::type)ecast609; + int32_t ecast639; + xfer += iprot->readI32(ecast639); + this->state = (LockState::type)ecast639; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -14848,9 +15345,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast610; - xfer += iprot->readI32(ecast610); - this->type = (LockType::type)ecast610; + int32_t ecast640; + xfer += iprot->readI32(ecast640); + this->type = (LockType::type)ecast640; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15066,43 +15563,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other611) { - lockid = other611.lockid; - dbname = other611.dbname; - tablename = other611.tablename; - partname = other611.partname; - state = other611.state; - type = other611.type; - txnid = other611.txnid; - lastheartbeat = other611.lastheartbeat; - acquiredat = other611.acquiredat; - user = other611.user; - hostname = other611.hostname; - heartbeatCount = other611.heartbeatCount; - agentInfo = other611.agentInfo; - blockedByExtId = other611.blockedByExtId; - blockedByIntId = other611.blockedByIntId; - lockIdInternal = other611.lockIdInternal; - __isset = other611.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other612) { - lockid = other612.lockid; - dbname = other612.dbname; - tablename = other612.tablename; - partname = other612.partname; - state = other612.state; - type = other612.type; - txnid = other612.txnid; - lastheartbeat = other612.lastheartbeat; - acquiredat = other612.acquiredat; - user = other612.user; - hostname = other612.hostname; - heartbeatCount = other612.heartbeatCount; - agentInfo = other612.agentInfo; - blockedByExtId = other612.blockedByExtId; - blockedByIntId = other612.blockedByIntId; - lockIdInternal = other612.lockIdInternal; - __isset = other612.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other641) { + lockid = other641.lockid; + dbname = other641.dbname; + tablename = other641.tablename; + partname = other641.partname; + state = other641.state; + type = other641.type; + txnid = other641.txnid; + lastheartbeat = other641.lastheartbeat; + acquiredat = other641.acquiredat; + user = other641.user; + hostname = other641.hostname; + heartbeatCount = other641.heartbeatCount; + agentInfo = other641.agentInfo; + blockedByExtId = other641.blockedByExtId; + blockedByIntId = other641.blockedByIntId; + lockIdInternal = other641.lockIdInternal; + __isset = other641.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other642) { + lockid = other642.lockid; + dbname = other642.dbname; + tablename = other642.tablename; + partname = other642.partname; + state = other642.state; + type = other642.type; + txnid = other642.txnid; + lastheartbeat = other642.lastheartbeat; + acquiredat = other642.acquiredat; + user = other642.user; + hostname = other642.hostname; + heartbeatCount = other642.heartbeatCount; + agentInfo = other642.agentInfo; + blockedByExtId = other642.blockedByExtId; + blockedByIntId = other642.blockedByIntId; + lockIdInternal = other642.lockIdInternal; + __isset = other642.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -15161,14 +15658,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size613; - ::apache::thrift::protocol::TType _etype616; - xfer += iprot->readListBegin(_etype616, _size613); - this->locks.resize(_size613); - uint32_t _i617; - for (_i617 = 0; _i617 < _size613; ++_i617) + uint32_t _size643; + ::apache::thrift::protocol::TType _etype646; + xfer += iprot->readListBegin(_etype646, _size643); + this->locks.resize(_size643); + uint32_t _i647; + for (_i647 = 0; _i647 < _size643; ++_i647) { - xfer += this->locks[_i617].read(iprot); + xfer += this->locks[_i647].read(iprot); } xfer += iprot->readListEnd(); } @@ -15197,10 +15694,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter618; - for (_iter618 = this->locks.begin(); _iter618 != this->locks.end(); ++_iter618) + std::vector ::const_iterator _iter648; + for (_iter648 = this->locks.begin(); _iter648 != this->locks.end(); ++_iter648) { - xfer += (*_iter618).write(oprot); + xfer += (*_iter648).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15217,13 +15714,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other619) { - locks = other619.locks; - __isset = other619.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other649) { + locks = other649.locks; + __isset = other649.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other620) { - locks = other620.locks; - __isset = other620.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other650) { + locks = other650.locks; + __isset = other650.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -15324,15 +15821,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other621) { - lockid = other621.lockid; - txnid = other621.txnid; - __isset = other621.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other651) { + lockid = other651.lockid; + txnid = other651.txnid; + __isset = other651.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other622) { - lockid = other622.lockid; - txnid = other622.txnid; - __isset = other622.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other652) { + lockid = other652.lockid; + txnid = other652.txnid; + __isset = other652.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -15435,13 +15932,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other623) { - min = other623.min; - max = other623.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other653) { + min = other653.min; + max = other653.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other624) { - min = other624.min; - max = other624.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other654) { + min = other654.min; + max = other654.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -15492,15 +15989,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readSetBegin(_etype628, _size625); - uint32_t _i629; - for (_i629 = 0; _i629 < _size625; ++_i629) + uint32_t _size655; + ::apache::thrift::protocol::TType _etype658; + xfer += iprot->readSetBegin(_etype658, _size655); + uint32_t _i659; + for (_i659 = 0; _i659 < _size655; ++_i659) { - int64_t _elem630; - xfer += iprot->readI64(_elem630); - this->aborted.insert(_elem630); + int64_t _elem660; + xfer += iprot->readI64(_elem660); + this->aborted.insert(_elem660); } xfer += iprot->readSetEnd(); } @@ -15513,15 +16010,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size631; - ::apache::thrift::protocol::TType _etype634; - xfer += iprot->readSetBegin(_etype634, _size631); - uint32_t _i635; - for (_i635 = 0; _i635 < _size631; ++_i635) + uint32_t _size661; + ::apache::thrift::protocol::TType _etype664; + xfer += iprot->readSetBegin(_etype664, _size661); + uint32_t _i665; + for (_i665 = 0; _i665 < _size661; ++_i665) { - int64_t _elem636; - xfer += iprot->readI64(_elem636); - this->nosuch.insert(_elem636); + int64_t _elem666; + xfer += iprot->readI64(_elem666); + this->nosuch.insert(_elem666); } xfer += iprot->readSetEnd(); } @@ -15554,10 +16051,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter637; - for (_iter637 = this->aborted.begin(); _iter637 != this->aborted.end(); ++_iter637) + std::set ::const_iterator _iter667; + for (_iter667 = this->aborted.begin(); _iter667 != this->aborted.end(); ++_iter667) { - xfer += oprot->writeI64((*_iter637)); + xfer += oprot->writeI64((*_iter667)); } xfer += oprot->writeSetEnd(); } @@ -15566,10 +16063,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter638; - for (_iter638 = this->nosuch.begin(); _iter638 != this->nosuch.end(); ++_iter638) + std::set ::const_iterator _iter668; + for (_iter668 = this->nosuch.begin(); _iter668 != this->nosuch.end(); ++_iter668) { - xfer += oprot->writeI64((*_iter638)); + xfer += oprot->writeI64((*_iter668)); } xfer += oprot->writeSetEnd(); } @@ -15586,13 +16083,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other639) { - aborted = other639.aborted; - nosuch = other639.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other669) { + aborted = other669.aborted; + nosuch = other669.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other640) { - aborted = other640.aborted; - nosuch = other640.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other670) { + aborted = other670.aborted; + nosuch = other670.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -15685,9 +16182,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast641; - xfer += iprot->readI32(ecast641); - this->type = (CompactionType::type)ecast641; + int32_t ecast671; + xfer += iprot->readI32(ecast671); + this->type = (CompactionType::type)ecast671; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15705,17 +16202,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size642; - ::apache::thrift::protocol::TType _ktype643; - ::apache::thrift::protocol::TType _vtype644; - xfer += iprot->readMapBegin(_ktype643, _vtype644, _size642); - uint32_t _i646; - for (_i646 = 0; _i646 < _size642; ++_i646) + uint32_t _size672; + ::apache::thrift::protocol::TType _ktype673; + ::apache::thrift::protocol::TType _vtype674; + xfer += iprot->readMapBegin(_ktype673, _vtype674, _size672); + uint32_t _i676; + for (_i676 = 0; _i676 < _size672; ++_i676) { - std::string _key647; - xfer += iprot->readString(_key647); - std::string& _val648 = this->properties[_key647]; - xfer += iprot->readString(_val648); + std::string _key677; + xfer += iprot->readString(_key677); + std::string& _val678 = this->properties[_key677]; + xfer += iprot->readString(_val678); } xfer += iprot->readMapEnd(); } @@ -15773,11 +16270,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter649; - for (_iter649 = this->properties.begin(); _iter649 != this->properties.end(); ++_iter649) + std::map ::const_iterator _iter679; + for (_iter679 = this->properties.begin(); _iter679 != this->properties.end(); ++_iter679) { - xfer += oprot->writeString(_iter649->first); - xfer += oprot->writeString(_iter649->second); + xfer += oprot->writeString(_iter679->first); + xfer += oprot->writeString(_iter679->second); } xfer += oprot->writeMapEnd(); } @@ -15799,23 +16296,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other650) { - dbname = other650.dbname; - tablename = other650.tablename; - partitionname = other650.partitionname; - type = other650.type; - runas = other650.runas; - properties = other650.properties; - __isset = other650.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other651) { - dbname = other651.dbname; - tablename = other651.tablename; - partitionname = other651.partitionname; - type = other651.type; - runas = other651.runas; - properties = other651.properties; - __isset = other651.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other680) { + dbname = other680.dbname; + tablename = other680.tablename; + partitionname = other680.partitionname; + type = other680.type; + runas = other680.runas; + properties = other680.properties; + __isset = other680.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other681) { + dbname = other681.dbname; + tablename = other681.tablename; + partitionname = other681.partitionname; + type = other681.type; + runas = other681.runas; + properties = other681.properties; + __isset = other681.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -15942,15 +16439,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other652) { - id = other652.id; - state = other652.state; - accepted = other652.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other682) { + id = other682.id; + state = other682.state; + accepted = other682.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other653) { - id = other653.id; - state = other653.state; - accepted = other653.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other683) { + id = other683.id; + state = other683.state; + accepted = other683.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -16011,11 +16508,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other654) { - (void) other654; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other684) { + (void) other684; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other655) { - (void) other655; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other685) { + (void) other685; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -16141,9 +16638,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast656; - xfer += iprot->readI32(ecast656); - this->type = (CompactionType::type)ecast656; + int32_t ecast686; + xfer += iprot->readI32(ecast686); + this->type = (CompactionType::type)ecast686; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16330,37 +16827,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other657) { - dbname = other657.dbname; - tablename = other657.tablename; - partitionname = other657.partitionname; - type = other657.type; - state = other657.state; - workerid = other657.workerid; - start = other657.start; - runAs = other657.runAs; - hightestTxnId = other657.hightestTxnId; - metaInfo = other657.metaInfo; - endTime = other657.endTime; - hadoopJobId = other657.hadoopJobId; - id = other657.id; - __isset = other657.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other658) { - dbname = other658.dbname; - tablename = other658.tablename; - partitionname = other658.partitionname; - type = other658.type; - state = other658.state; - workerid = other658.workerid; - start = other658.start; - runAs = other658.runAs; - hightestTxnId = other658.hightestTxnId; - metaInfo = other658.metaInfo; - endTime = other658.endTime; - hadoopJobId = other658.hadoopJobId; - id = other658.id; - __isset = other658.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other687) { + dbname = other687.dbname; + tablename = other687.tablename; + partitionname = other687.partitionname; + type = other687.type; + state = other687.state; + workerid = other687.workerid; + start = other687.start; + runAs = other687.runAs; + hightestTxnId = other687.hightestTxnId; + metaInfo = other687.metaInfo; + endTime = other687.endTime; + hadoopJobId = other687.hadoopJobId; + id = other687.id; + __isset = other687.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other688) { + dbname = other688.dbname; + tablename = other688.tablename; + partitionname = other688.partitionname; + type = other688.type; + state = other688.state; + workerid = other688.workerid; + start = other688.start; + runAs = other688.runAs; + hightestTxnId = other688.hightestTxnId; + metaInfo = other688.metaInfo; + endTime = other688.endTime; + hadoopJobId = other688.hadoopJobId; + id = other688.id; + __isset = other688.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -16417,14 +16914,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size659; - ::apache::thrift::protocol::TType _etype662; - xfer += iprot->readListBegin(_etype662, _size659); - this->compacts.resize(_size659); - uint32_t _i663; - for (_i663 = 0; _i663 < _size659; ++_i663) + uint32_t _size689; + ::apache::thrift::protocol::TType _etype692; + xfer += iprot->readListBegin(_etype692, _size689); + this->compacts.resize(_size689); + uint32_t _i693; + for (_i693 = 0; _i693 < _size689; ++_i693) { - xfer += this->compacts[_i663].read(iprot); + xfer += this->compacts[_i693].read(iprot); } xfer += iprot->readListEnd(); } @@ -16455,10 +16952,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter664; - for (_iter664 = this->compacts.begin(); _iter664 != this->compacts.end(); ++_iter664) + std::vector ::const_iterator _iter694; + for (_iter694 = this->compacts.begin(); _iter694 != this->compacts.end(); ++_iter694) { - xfer += (*_iter664).write(oprot); + xfer += (*_iter694).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16474,11 +16971,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other665) { - compacts = other665.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other695) { + compacts = other695.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other666) { - compacts = other666.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other696) { + compacts = other696.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -16567,14 +17064,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size667; - ::apache::thrift::protocol::TType _etype670; - xfer += iprot->readListBegin(_etype670, _size667); - this->partitionnames.resize(_size667); - uint32_t _i671; - for (_i671 = 0; _i671 < _size667; ++_i671) + uint32_t _size697; + ::apache::thrift::protocol::TType _etype700; + xfer += iprot->readListBegin(_etype700, _size697); + this->partitionnames.resize(_size697); + uint32_t _i701; + for (_i701 = 0; _i701 < _size697; ++_i701) { - xfer += iprot->readString(this->partitionnames[_i671]); + xfer += iprot->readString(this->partitionnames[_i701]); } xfer += iprot->readListEnd(); } @@ -16585,9 +17082,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast672; - xfer += iprot->readI32(ecast672); - this->operationType = (DataOperationType::type)ecast672; + int32_t ecast702; + xfer += iprot->readI32(ecast702); + this->operationType = (DataOperationType::type)ecast702; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -16633,10 +17130,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter673; - for (_iter673 = this->partitionnames.begin(); _iter673 != this->partitionnames.end(); ++_iter673) + std::vector ::const_iterator _iter703; + for (_iter703 = this->partitionnames.begin(); _iter703 != this->partitionnames.end(); ++_iter703) { - xfer += oprot->writeString((*_iter673)); + xfer += oprot->writeString((*_iter703)); } xfer += oprot->writeListEnd(); } @@ -16662,21 +17159,21 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other674) { - txnid = other674.txnid; - dbname = other674.dbname; - tablename = other674.tablename; - partitionnames = other674.partitionnames; - operationType = other674.operationType; - __isset = other674.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other675) { - txnid = other675.txnid; - dbname = other675.dbname; - tablename = other675.tablename; - partitionnames = other675.partitionnames; - operationType = other675.operationType; - __isset = other675.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other704) { + txnid = other704.txnid; + dbname = other704.dbname; + tablename = other704.tablename; + partitionnames = other704.partitionnames; + operationType = other704.operationType; + __isset = other704.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other705) { + txnid = other705.txnid; + dbname = other705.dbname; + tablename = other705.tablename; + partitionnames = other705.partitionnames; + operationType = other705.operationType; + __isset = other705.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -16782,15 +17279,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other676) { - lastEvent = other676.lastEvent; - maxEvents = other676.maxEvents; - __isset = other676.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other706) { + lastEvent = other706.lastEvent; + maxEvents = other706.maxEvents; + __isset = other706.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other677) { - lastEvent = other677.lastEvent; - maxEvents = other677.maxEvents; - __isset = other677.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other707) { + lastEvent = other707.lastEvent; + maxEvents = other707.maxEvents; + __isset = other707.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -16991,25 +17488,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other678) { - eventId = other678.eventId; - eventTime = other678.eventTime; - eventType = other678.eventType; - dbName = other678.dbName; - tableName = other678.tableName; - message = other678.message; - messageFormat = other678.messageFormat; - __isset = other678.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other679) { - eventId = other679.eventId; - eventTime = other679.eventTime; - eventType = other679.eventType; - dbName = other679.dbName; - tableName = other679.tableName; - message = other679.message; - messageFormat = other679.messageFormat; - __isset = other679.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other708) { + eventId = other708.eventId; + eventTime = other708.eventTime; + eventType = other708.eventType; + dbName = other708.dbName; + tableName = other708.tableName; + message = other708.message; + messageFormat = other708.messageFormat; + __isset = other708.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other709) { + eventId = other709.eventId; + eventTime = other709.eventTime; + eventType = other709.eventType; + dbName = other709.dbName; + tableName = other709.tableName; + message = other709.message; + messageFormat = other709.messageFormat; + __isset = other709.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -17060,14 +17557,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size680; - ::apache::thrift::protocol::TType _etype683; - xfer += iprot->readListBegin(_etype683, _size680); - this->events.resize(_size680); - uint32_t _i684; - for (_i684 = 0; _i684 < _size680; ++_i684) + uint32_t _size710; + ::apache::thrift::protocol::TType _etype713; + xfer += iprot->readListBegin(_etype713, _size710); + this->events.resize(_size710); + uint32_t _i714; + for (_i714 = 0; _i714 < _size710; ++_i714) { - xfer += this->events[_i684].read(iprot); + xfer += this->events[_i714].read(iprot); } xfer += iprot->readListEnd(); } @@ -17098,10 +17595,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter685; - for (_iter685 = this->events.begin(); _iter685 != this->events.end(); ++_iter685) + std::vector ::const_iterator _iter715; + for (_iter715 = this->events.begin(); _iter715 != this->events.end(); ++_iter715) { - xfer += (*_iter685).write(oprot); + xfer += (*_iter715).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17117,11 +17614,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other686) { - events = other686.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other716) { + events = other716.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other687) { - events = other687.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other717) { + events = other717.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -17203,11 +17700,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other688) { - eventId = other688.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other718) { + eventId = other718.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other689) { - eventId = other689.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other719) { + eventId = other719.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -17309,13 +17806,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other690) { - fromEventId = other690.fromEventId; - dbName = other690.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other720) { + fromEventId = other720.fromEventId; + dbName = other720.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other691) { - fromEventId = other691.fromEventId; - dbName = other691.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other721) { + fromEventId = other721.fromEventId; + dbName = other721.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -17398,11 +17895,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other692) { - eventsCount = other692.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other722) { + eventsCount = other722.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other693) { - eventsCount = other693.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other723) { + eventsCount = other723.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -17465,14 +17962,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size694; - ::apache::thrift::protocol::TType _etype697; - xfer += iprot->readListBegin(_etype697, _size694); - this->filesAdded.resize(_size694); - uint32_t _i698; - for (_i698 = 0; _i698 < _size694; ++_i698) + uint32_t _size724; + ::apache::thrift::protocol::TType _etype727; + xfer += iprot->readListBegin(_etype727, _size724); + this->filesAdded.resize(_size724); + uint32_t _i728; + for (_i728 = 0; _i728 < _size724; ++_i728) { - xfer += iprot->readString(this->filesAdded[_i698]); + xfer += iprot->readString(this->filesAdded[_i728]); } xfer += iprot->readListEnd(); } @@ -17485,14 +17982,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size699; - ::apache::thrift::protocol::TType _etype702; - xfer += iprot->readListBegin(_etype702, _size699); - this->filesAddedChecksum.resize(_size699); - uint32_t _i703; - for (_i703 = 0; _i703 < _size699; ++_i703) + uint32_t _size729; + ::apache::thrift::protocol::TType _etype732; + xfer += iprot->readListBegin(_etype732, _size729); + this->filesAddedChecksum.resize(_size729); + uint32_t _i733; + for (_i733 = 0; _i733 < _size729; ++_i733) { - xfer += iprot->readString(this->filesAddedChecksum[_i703]); + xfer += iprot->readString(this->filesAddedChecksum[_i733]); } xfer += iprot->readListEnd(); } @@ -17528,10 +18025,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter704; - for (_iter704 = this->filesAdded.begin(); _iter704 != this->filesAdded.end(); ++_iter704) + std::vector ::const_iterator _iter734; + for (_iter734 = this->filesAdded.begin(); _iter734 != this->filesAdded.end(); ++_iter734) { - xfer += oprot->writeString((*_iter704)); + xfer += oprot->writeString((*_iter734)); } xfer += oprot->writeListEnd(); } @@ -17541,10 +18038,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter705; - for (_iter705 = this->filesAddedChecksum.begin(); _iter705 != this->filesAddedChecksum.end(); ++_iter705) + std::vector ::const_iterator _iter735; + for (_iter735 = this->filesAddedChecksum.begin(); _iter735 != this->filesAddedChecksum.end(); ++_iter735) { - xfer += oprot->writeString((*_iter705)); + xfer += oprot->writeString((*_iter735)); } xfer += oprot->writeListEnd(); } @@ -17563,17 +18060,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other706) { - replace = other706.replace; - filesAdded = other706.filesAdded; - filesAddedChecksum = other706.filesAddedChecksum; - __isset = other706.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other736) { + replace = other736.replace; + filesAdded = other736.filesAdded; + filesAddedChecksum = other736.filesAddedChecksum; + __isset = other736.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other707) { - replace = other707.replace; - filesAdded = other707.filesAdded; - filesAddedChecksum = other707.filesAddedChecksum; - __isset = other707.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other737) { + replace = other737.replace; + filesAdded = other737.filesAdded; + filesAddedChecksum = other737.filesAddedChecksum; + __isset = other737.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -17655,13 +18152,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other708) { - insertData = other708.insertData; - __isset = other708.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other738) { + insertData = other738.insertData; + __isset = other738.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other709) { - insertData = other709.insertData; - __isset = other709.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other739) { + insertData = other739.insertData; + __isset = other739.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -17758,14 +18255,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size710; - ::apache::thrift::protocol::TType _etype713; - xfer += iprot->readListBegin(_etype713, _size710); - this->partitionVals.resize(_size710); - uint32_t _i714; - for (_i714 = 0; _i714 < _size710; ++_i714) + uint32_t _size740; + ::apache::thrift::protocol::TType _etype743; + xfer += iprot->readListBegin(_etype743, _size740); + this->partitionVals.resize(_size740); + uint32_t _i744; + for (_i744 = 0; _i744 < _size740; ++_i744) { - xfer += iprot->readString(this->partitionVals[_i714]); + xfer += iprot->readString(this->partitionVals[_i744]); } xfer += iprot->readListEnd(); } @@ -17817,10 +18314,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter715; - for (_iter715 = this->partitionVals.begin(); _iter715 != this->partitionVals.end(); ++_iter715) + std::vector ::const_iterator _iter745; + for (_iter745 = this->partitionVals.begin(); _iter745 != this->partitionVals.end(); ++_iter745) { - xfer += oprot->writeString((*_iter715)); + xfer += oprot->writeString((*_iter745)); } xfer += oprot->writeListEnd(); } @@ -17841,21 +18338,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other716) { - successful = other716.successful; - data = other716.data; - dbName = other716.dbName; - tableName = other716.tableName; - partitionVals = other716.partitionVals; - __isset = other716.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other717) { - successful = other717.successful; - data = other717.data; - dbName = other717.dbName; - tableName = other717.tableName; - partitionVals = other717.partitionVals; - __isset = other717.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other746) { + successful = other746.successful; + data = other746.data; + dbName = other746.dbName; + tableName = other746.tableName; + partitionVals = other746.partitionVals; + __isset = other746.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other747) { + successful = other747.successful; + data = other747.data; + dbName = other747.dbName; + tableName = other747.tableName; + partitionVals = other747.partitionVals; + __isset = other747.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -17918,11 +18415,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other718) { - (void) other718; +FireEventResponse::FireEventResponse(const FireEventResponse& other748) { + (void) other748; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other719) { - (void) other719; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other749) { + (void) other749; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -18022,15 +18519,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other720) { - metadata = other720.metadata; - includeBitset = other720.includeBitset; - __isset = other720.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other750) { + metadata = other750.metadata; + includeBitset = other750.includeBitset; + __isset = other750.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other721) { - metadata = other721.metadata; - includeBitset = other721.includeBitset; - __isset = other721.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other751) { + metadata = other751.metadata; + includeBitset = other751.includeBitset; + __isset = other751.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -18081,17 +18578,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size722; - ::apache::thrift::protocol::TType _ktype723; - ::apache::thrift::protocol::TType _vtype724; - xfer += iprot->readMapBegin(_ktype723, _vtype724, _size722); - uint32_t _i726; - for (_i726 = 0; _i726 < _size722; ++_i726) + uint32_t _size752; + ::apache::thrift::protocol::TType _ktype753; + ::apache::thrift::protocol::TType _vtype754; + xfer += iprot->readMapBegin(_ktype753, _vtype754, _size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - int64_t _key727; - xfer += iprot->readI64(_key727); - MetadataPpdResult& _val728 = this->metadata[_key727]; - xfer += _val728.read(iprot); + int64_t _key757; + xfer += iprot->readI64(_key757); + MetadataPpdResult& _val758 = this->metadata[_key757]; + xfer += _val758.read(iprot); } xfer += iprot->readMapEnd(); } @@ -18132,11 +18629,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter729; - for (_iter729 = this->metadata.begin(); _iter729 != this->metadata.end(); ++_iter729) + std::map ::const_iterator _iter759; + for (_iter759 = this->metadata.begin(); _iter759 != this->metadata.end(); ++_iter759) { - xfer += oprot->writeI64(_iter729->first); - xfer += _iter729->second.write(oprot); + xfer += oprot->writeI64(_iter759->first); + xfer += _iter759->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -18157,13 +18654,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other730) { - metadata = other730.metadata; - isSupported = other730.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other760) { + metadata = other760.metadata; + isSupported = other760.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other731) { - metadata = other731.metadata; - isSupported = other731.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other761) { + metadata = other761.metadata; + isSupported = other761.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -18224,14 +18721,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size732; - ::apache::thrift::protocol::TType _etype735; - xfer += iprot->readListBegin(_etype735, _size732); - this->fileIds.resize(_size732); - uint32_t _i736; - for (_i736 = 0; _i736 < _size732; ++_i736) + uint32_t _size762; + ::apache::thrift::protocol::TType _etype765; + xfer += iprot->readListBegin(_etype765, _size762); + this->fileIds.resize(_size762); + uint32_t _i766; + for (_i766 = 0; _i766 < _size762; ++_i766) { - xfer += iprot->readI64(this->fileIds[_i736]); + xfer += iprot->readI64(this->fileIds[_i766]); } xfer += iprot->readListEnd(); } @@ -18258,9 +18755,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast737; - xfer += iprot->readI32(ecast737); - this->type = (FileMetadataExprType::type)ecast737; + int32_t ecast767; + xfer += iprot->readI32(ecast767); + this->type = (FileMetadataExprType::type)ecast767; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -18290,10 +18787,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter738; - for (_iter738 = this->fileIds.begin(); _iter738 != this->fileIds.end(); ++_iter738) + std::vector ::const_iterator _iter768; + for (_iter768 = this->fileIds.begin(); _iter768 != this->fileIds.end(); ++_iter768) { - xfer += oprot->writeI64((*_iter738)); + xfer += oprot->writeI64((*_iter768)); } xfer += oprot->writeListEnd(); } @@ -18327,19 +18824,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other739) { - fileIds = other739.fileIds; - expr = other739.expr; - doGetFooters = other739.doGetFooters; - type = other739.type; - __isset = other739.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other769) { + fileIds = other769.fileIds; + expr = other769.expr; + doGetFooters = other769.doGetFooters; + type = other769.type; + __isset = other769.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other740) { - fileIds = other740.fileIds; - expr = other740.expr; - doGetFooters = other740.doGetFooters; - type = other740.type; - __isset = other740.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other770) { + fileIds = other770.fileIds; + expr = other770.expr; + doGetFooters = other770.doGetFooters; + type = other770.type; + __isset = other770.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -18392,17 +18889,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size741; - ::apache::thrift::protocol::TType _ktype742; - ::apache::thrift::protocol::TType _vtype743; - xfer += iprot->readMapBegin(_ktype742, _vtype743, _size741); - uint32_t _i745; - for (_i745 = 0; _i745 < _size741; ++_i745) + uint32_t _size771; + ::apache::thrift::protocol::TType _ktype772; + ::apache::thrift::protocol::TType _vtype773; + xfer += iprot->readMapBegin(_ktype772, _vtype773, _size771); + uint32_t _i775; + for (_i775 = 0; _i775 < _size771; ++_i775) { - int64_t _key746; - xfer += iprot->readI64(_key746); - std::string& _val747 = this->metadata[_key746]; - xfer += iprot->readBinary(_val747); + int64_t _key776; + xfer += iprot->readI64(_key776); + std::string& _val777 = this->metadata[_key776]; + xfer += iprot->readBinary(_val777); } xfer += iprot->readMapEnd(); } @@ -18443,11 +18940,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter748; - for (_iter748 = this->metadata.begin(); _iter748 != this->metadata.end(); ++_iter748) + std::map ::const_iterator _iter778; + for (_iter778 = this->metadata.begin(); _iter778 != this->metadata.end(); ++_iter778) { - xfer += oprot->writeI64(_iter748->first); - xfer += oprot->writeBinary(_iter748->second); + xfer += oprot->writeI64(_iter778->first); + xfer += oprot->writeBinary(_iter778->second); } xfer += oprot->writeMapEnd(); } @@ -18468,13 +18965,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other749) { - metadata = other749.metadata; - isSupported = other749.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other779) { + metadata = other779.metadata; + isSupported = other779.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other750) { - metadata = other750.metadata; - isSupported = other750.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other780) { + metadata = other780.metadata; + isSupported = other780.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -18520,14 +19017,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size751; - ::apache::thrift::protocol::TType _etype754; - xfer += iprot->readListBegin(_etype754, _size751); - this->fileIds.resize(_size751); - uint32_t _i755; - for (_i755 = 0; _i755 < _size751; ++_i755) + uint32_t _size781; + ::apache::thrift::protocol::TType _etype784; + xfer += iprot->readListBegin(_etype784, _size781); + this->fileIds.resize(_size781); + uint32_t _i785; + for (_i785 = 0; _i785 < _size781; ++_i785) { - xfer += iprot->readI64(this->fileIds[_i755]); + xfer += iprot->readI64(this->fileIds[_i785]); } xfer += iprot->readListEnd(); } @@ -18558,10 +19055,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter756; - for (_iter756 = this->fileIds.begin(); _iter756 != this->fileIds.end(); ++_iter756) + std::vector ::const_iterator _iter786; + for (_iter786 = this->fileIds.begin(); _iter786 != this->fileIds.end(); ++_iter786) { - xfer += oprot->writeI64((*_iter756)); + xfer += oprot->writeI64((*_iter786)); } xfer += oprot->writeListEnd(); } @@ -18577,11 +19074,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other757) { - fileIds = other757.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other787) { + fileIds = other787.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other758) { - fileIds = other758.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other788) { + fileIds = other788.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -18640,11 +19137,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other759) { - (void) other759; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other789) { + (void) other789; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other760) { - (void) other760; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other790) { + (void) other790; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -18698,14 +19195,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size761; - ::apache::thrift::protocol::TType _etype764; - xfer += iprot->readListBegin(_etype764, _size761); - this->fileIds.resize(_size761); - uint32_t _i765; - for (_i765 = 0; _i765 < _size761; ++_i765) + uint32_t _size791; + ::apache::thrift::protocol::TType _etype794; + xfer += iprot->readListBegin(_etype794, _size791); + this->fileIds.resize(_size791); + uint32_t _i795; + for (_i795 = 0; _i795 < _size791; ++_i795) { - xfer += iprot->readI64(this->fileIds[_i765]); + xfer += iprot->readI64(this->fileIds[_i795]); } xfer += iprot->readListEnd(); } @@ -18718,14 +19215,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size766; - ::apache::thrift::protocol::TType _etype769; - xfer += iprot->readListBegin(_etype769, _size766); - this->metadata.resize(_size766); - uint32_t _i770; - for (_i770 = 0; _i770 < _size766; ++_i770) + uint32_t _size796; + ::apache::thrift::protocol::TType _etype799; + xfer += iprot->readListBegin(_etype799, _size796); + this->metadata.resize(_size796); + uint32_t _i800; + for (_i800 = 0; _i800 < _size796; ++_i800) { - xfer += iprot->readBinary(this->metadata[_i770]); + xfer += iprot->readBinary(this->metadata[_i800]); } xfer += iprot->readListEnd(); } @@ -18736,9 +19233,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast771; - xfer += iprot->readI32(ecast771); - this->type = (FileMetadataExprType::type)ecast771; + int32_t ecast801; + xfer += iprot->readI32(ecast801); + this->type = (FileMetadataExprType::type)ecast801; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -18768,10 +19265,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter772; - for (_iter772 = this->fileIds.begin(); _iter772 != this->fileIds.end(); ++_iter772) + std::vector ::const_iterator _iter802; + for (_iter802 = this->fileIds.begin(); _iter802 != this->fileIds.end(); ++_iter802) { - xfer += oprot->writeI64((*_iter772)); + xfer += oprot->writeI64((*_iter802)); } xfer += oprot->writeListEnd(); } @@ -18780,10 +19277,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter773; - for (_iter773 = this->metadata.begin(); _iter773 != this->metadata.end(); ++_iter773) + std::vector ::const_iterator _iter803; + for (_iter803 = this->metadata.begin(); _iter803 != this->metadata.end(); ++_iter803) { - xfer += oprot->writeBinary((*_iter773)); + xfer += oprot->writeBinary((*_iter803)); } xfer += oprot->writeListEnd(); } @@ -18807,17 +19304,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other774) { - fileIds = other774.fileIds; - metadata = other774.metadata; - type = other774.type; - __isset = other774.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other804) { + fileIds = other804.fileIds; + metadata = other804.metadata; + type = other804.type; + __isset = other804.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other775) { - fileIds = other775.fileIds; - metadata = other775.metadata; - type = other775.type; - __isset = other775.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other805) { + fileIds = other805.fileIds; + metadata = other805.metadata; + type = other805.type; + __isset = other805.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -18878,11 +19375,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other776) { - (void) other776; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other806) { + (void) other806; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other777) { - (void) other777; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other807) { + (void) other807; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -18926,14 +19423,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size778; - ::apache::thrift::protocol::TType _etype781; - xfer += iprot->readListBegin(_etype781, _size778); - this->fileIds.resize(_size778); - uint32_t _i782; - for (_i782 = 0; _i782 < _size778; ++_i782) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->fileIds.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readI64(this->fileIds[_i782]); + xfer += iprot->readI64(this->fileIds[_i812]); } xfer += iprot->readListEnd(); } @@ -18964,10 +19461,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter783; - for (_iter783 = this->fileIds.begin(); _iter783 != this->fileIds.end(); ++_iter783) + std::vector ::const_iterator _iter813; + for (_iter813 = this->fileIds.begin(); _iter813 != this->fileIds.end(); ++_iter813) { - xfer += oprot->writeI64((*_iter783)); + xfer += oprot->writeI64((*_iter813)); } xfer += oprot->writeListEnd(); } @@ -18983,11 +19480,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other784) { - fileIds = other784.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other814) { + fileIds = other814.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other785) { - fileIds = other785.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other815) { + fileIds = other815.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -19069,11 +19566,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other786) { - isSupported = other786.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other816) { + isSupported = other816.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other787) { - isSupported = other787.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other817) { + isSupported = other817.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -19214,19 +19711,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other788) { - dbName = other788.dbName; - tblName = other788.tblName; - partName = other788.partName; - isAllParts = other788.isAllParts; - __isset = other788.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other818) { + dbName = other818.dbName; + tblName = other818.tblName; + partName = other818.partName; + isAllParts = other818.isAllParts; + __isset = other818.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other789) { - dbName = other789.dbName; - tblName = other789.tblName; - partName = other789.partName; - isAllParts = other789.isAllParts; - __isset = other789.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other819) { + dbName = other819.dbName; + tblName = other819.tblName; + partName = other819.partName; + isAllParts = other819.isAllParts; + __isset = other819.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -19274,14 +19771,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size790; - ::apache::thrift::protocol::TType _etype793; - xfer += iprot->readListBegin(_etype793, _size790); - this->functions.resize(_size790); - uint32_t _i794; - for (_i794 = 0; _i794 < _size790; ++_i794) + uint32_t _size820; + ::apache::thrift::protocol::TType _etype823; + xfer += iprot->readListBegin(_etype823, _size820); + this->functions.resize(_size820); + uint32_t _i824; + for (_i824 = 0; _i824 < _size820; ++_i824) { - xfer += this->functions[_i794].read(iprot); + xfer += this->functions[_i824].read(iprot); } xfer += iprot->readListEnd(); } @@ -19311,10 +19808,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter795; - for (_iter795 = this->functions.begin(); _iter795 != this->functions.end(); ++_iter795) + std::vector ::const_iterator _iter825; + for (_iter825 = this->functions.begin(); _iter825 != this->functions.end(); ++_iter825) { - xfer += (*_iter795).write(oprot); + xfer += (*_iter825).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19331,13 +19828,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other796) { - functions = other796.functions; - __isset = other796.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other826) { + functions = other826.functions; + __isset = other826.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other797) { - functions = other797.functions; - __isset = other797.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other827) { + functions = other827.functions; + __isset = other827.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -19382,16 +19879,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size798; - ::apache::thrift::protocol::TType _etype801; - xfer += iprot->readListBegin(_etype801, _size798); - this->values.resize(_size798); - uint32_t _i802; - for (_i802 = 0; _i802 < _size798; ++_i802) + uint32_t _size828; + ::apache::thrift::protocol::TType _etype831; + xfer += iprot->readListBegin(_etype831, _size828); + this->values.resize(_size828); + uint32_t _i832; + for (_i832 = 0; _i832 < _size828; ++_i832) { - int32_t ecast803; - xfer += iprot->readI32(ecast803); - this->values[_i802] = (ClientCapability::type)ecast803; + int32_t ecast833; + xfer += iprot->readI32(ecast833); + this->values[_i832] = (ClientCapability::type)ecast833; } xfer += iprot->readListEnd(); } @@ -19422,10 +19919,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter804; - for (_iter804 = this->values.begin(); _iter804 != this->values.end(); ++_iter804) + std::vector ::const_iterator _iter834; + for (_iter834 = this->values.begin(); _iter834 != this->values.end(); ++_iter834) { - xfer += oprot->writeI32((int32_t)(*_iter804)); + xfer += oprot->writeI32((int32_t)(*_iter834)); } xfer += oprot->writeListEnd(); } @@ -19441,11 +19938,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other805) { - values = other805.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other835) { + values = other835.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other806) { - values = other806.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other836) { + values = other836.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -19567,17 +20064,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other807) { - dbName = other807.dbName; - tblName = other807.tblName; - capabilities = other807.capabilities; - __isset = other807.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other837) { + dbName = other837.dbName; + tblName = other837.tblName; + capabilities = other837.capabilities; + __isset = other837.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other808) { - dbName = other808.dbName; - tblName = other808.tblName; - capabilities = other808.capabilities; - __isset = other808.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other838) { + dbName = other838.dbName; + tblName = other838.tblName; + capabilities = other838.capabilities; + __isset = other838.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -19661,11 +20158,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other809) { - table = other809.table; +GetTableResult::GetTableResult(const GetTableResult& other839) { + table = other839.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other810) { - table = other810.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other840) { + table = other840.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -19728,14 +20225,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size811; - ::apache::thrift::protocol::TType _etype814; - xfer += iprot->readListBegin(_etype814, _size811); - this->tblNames.resize(_size811); - uint32_t _i815; - for (_i815 = 0; _i815 < _size811; ++_i815) + uint32_t _size841; + ::apache::thrift::protocol::TType _etype844; + xfer += iprot->readListBegin(_etype844, _size841); + this->tblNames.resize(_size841); + uint32_t _i845; + for (_i845 = 0; _i845 < _size841; ++_i845) { - xfer += iprot->readString(this->tblNames[_i815]); + xfer += iprot->readString(this->tblNames[_i845]); } xfer += iprot->readListEnd(); } @@ -19779,10 +20276,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter816; - for (_iter816 = this->tblNames.begin(); _iter816 != this->tblNames.end(); ++_iter816) + std::vector ::const_iterator _iter846; + for (_iter846 = this->tblNames.begin(); _iter846 != this->tblNames.end(); ++_iter846) { - xfer += oprot->writeString((*_iter816)); + xfer += oprot->writeString((*_iter846)); } xfer += oprot->writeListEnd(); } @@ -19806,17 +20303,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other817) { - dbName = other817.dbName; - tblNames = other817.tblNames; - capabilities = other817.capabilities; - __isset = other817.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other847) { + dbName = other847.dbName; + tblNames = other847.tblNames; + capabilities = other847.capabilities; + __isset = other847.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other818) { - dbName = other818.dbName; - tblNames = other818.tblNames; - capabilities = other818.capabilities; - __isset = other818.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other848) { + dbName = other848.dbName; + tblNames = other848.tblNames; + capabilities = other848.capabilities; + __isset = other848.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -19863,14 +20360,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size819; - ::apache::thrift::protocol::TType _etype822; - xfer += iprot->readListBegin(_etype822, _size819); - this->tables.resize(_size819); - uint32_t _i823; - for (_i823 = 0; _i823 < _size819; ++_i823) + uint32_t _size849; + ::apache::thrift::protocol::TType _etype852; + xfer += iprot->readListBegin(_etype852, _size849); + this->tables.resize(_size849); + uint32_t _i853; + for (_i853 = 0; _i853 < _size849; ++_i853) { - xfer += this->tables[_i823].read(iprot); + xfer += this->tables[_i853].read(iprot); } xfer += iprot->readListEnd(); } @@ -19901,10 +20398,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter824; - for (_iter824 = this->tables.begin(); _iter824 != this->tables.end(); ++_iter824) + std::vector
::const_iterator _iter854; + for (_iter854 = this->tables.begin(); _iter854 != this->tables.end(); ++_iter854) { - xfer += (*_iter824).write(oprot); + xfer += (*_iter854).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19920,11 +20417,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other825) { - tables = other825.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other855) { + tables = other855.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other826) { - tables = other826.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other856) { + tables = other856.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -20026,13 +20523,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other827) { - dataPath = other827.dataPath; - purge = other827.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other857) { + dataPath = other857.dataPath; + purge = other857.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other828) { - dataPath = other828.dataPath; - purge = other828.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other858) { + dataPath = other858.dataPath; + purge = other858.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -20092,11 +20589,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other829) { - (void) other829; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other859) { + (void) other859; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other830) { - (void) other830; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other860) { + (void) other860; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -20237,19 +20734,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other831) { - dbName = other831.dbName; - tableName = other831.tableName; - tableType = other831.tableType; - comments = other831.comments; - __isset = other831.__isset; +TableMeta::TableMeta(const TableMeta& other861) { + dbName = other861.dbName; + tableName = other861.tableName; + tableType = other861.tableType; + comments = other861.comments; + __isset = other861.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other832) { - dbName = other832.dbName; - tableName = other832.tableName; - tableType = other832.tableType; - comments = other832.comments; - __isset = other832.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other862) { + dbName = other862.dbName; + tableName = other862.tableName; + tableType = other862.tableType; + comments = other862.comments; + __isset = other862.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -20332,13 +20829,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other833) : TException() { - message = other833.message; - __isset = other833.__isset; +MetaException::MetaException(const MetaException& other863) : TException() { + message = other863.message; + __isset = other863.__isset; } -MetaException& MetaException::operator=(const MetaException& other834) { - message = other834.message; - __isset = other834.__isset; +MetaException& MetaException::operator=(const MetaException& other864) { + message = other864.message; + __isset = other864.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -20429,13 +20926,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other835) : TException() { - message = other835.message; - __isset = other835.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other865) : TException() { + message = other865.message; + __isset = other865.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other836) { - message = other836.message; - __isset = other836.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other866) { + message = other866.message; + __isset = other866.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -20526,13 +21023,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other837) : TException() { - message = other837.message; - __isset = other837.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other867) : TException() { + message = other867.message; + __isset = other867.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other838) { - message = other838.message; - __isset = other838.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other868) { + message = other868.message; + __isset = other868.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -20623,13 +21120,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other839) : TException() { - message = other839.message; - __isset = other839.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other869) : TException() { + message = other869.message; + __isset = other869.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other840) { - message = other840.message; - __isset = other840.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other870) { + message = other870.message; + __isset = other870.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -20720,13 +21217,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other841) : TException() { - message = other841.message; - __isset = other841.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other871) : TException() { + message = other871.message; + __isset = other871.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other842) { - message = other842.message; - __isset = other842.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other872) { + message = other872.message; + __isset = other872.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -20817,13 +21314,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other843) : TException() { - message = other843.message; - __isset = other843.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other873) : TException() { + message = other873.message; + __isset = other873.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other844) { - message = other844.message; - __isset = other844.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other874) { + message = other874.message; + __isset = other874.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -20914,13 +21411,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other845) : TException() { - message = other845.message; - __isset = other845.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other875) : TException() { + message = other875.message; + __isset = other875.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other846) { - message = other846.message; - __isset = other846.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other876) { + message = other876.message; + __isset = other876.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -21011,13 +21508,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other847) : TException() { - message = other847.message; - __isset = other847.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other877) : TException() { + message = other877.message; + __isset = other877.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other848) { - message = other848.message; - __isset = other848.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other878) { + message = other878.message; + __isset = other878.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -21108,13 +21605,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other849) : TException() { - message = other849.message; - __isset = other849.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other879) : TException() { + message = other879.message; + __isset = other879.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other850) { - message = other850.message; - __isset = other850.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other880) { + message = other880.message; + __isset = other880.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -21205,13 +21702,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other851) : TException() { - message = other851.message; - __isset = other851.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other881) : TException() { + message = other881.message; + __isset = other881.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other852) { - message = other852.message; - __isset = other852.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other882) { + message = other882.message; + __isset = other882.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -21302,13 +21799,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other853) : TException() { - message = other853.message; - __isset = other853.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other883) : TException() { + message = other883.message; + __isset = other883.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other854) { - message = other854.message; - __isset = other854.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other884) { + message = other884.message; + __isset = other884.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -21399,13 +21896,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other855) : TException() { - message = other855.message; - __isset = other855.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other885) : TException() { + message = other885.message; + __isset = other885.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other856) { - message = other856.message; - __isset = other856.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other886) { + message = other886.message; + __isset = other886.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -21496,13 +21993,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other857) : TException() { - message = other857.message; - __isset = other857.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other887) : TException() { + message = other887.message; + __isset = other887.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other858) { - message = other858.message; - __isset = other858.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other888) { + message = other888.message; + __isset = other888.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -21593,13 +22090,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other859) : TException() { - message = other859.message; - __isset = other859.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other889) : TException() { + message = other889.message; + __isset = other889.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other860) { - message = other860.message; - __isset = other860.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other890) { + message = other890.message; + __isset = other890.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -21690,13 +22187,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other861) : TException() { - message = other861.message; - __isset = other861.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other891) : TException() { + message = other891.message; + __isset = other891.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other862) { - message = other862.message; - __isset = other862.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other892) { + message = other892.message; + __isset = other892.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -21787,13 +22284,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other863) : TException() { - message = other863.message; - __isset = other863.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other893) : TException() { + message = other893.message; + __isset = other893.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other864) { - message = other864.message; - __isset = other864.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other894) { + message = other894.message; + __isset = other894.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index d5963f3..fd9014d 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -318,6 +318,12 @@ class RequestPartsSpec; class DropPartitionsRequest; +class PartitionValuesRequest; + +class PartitionValuesRow; + +class PartitionValuesResponse; + class ResourceUri; class Function; @@ -5084,6 +5090,181 @@ inline std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& return out; } +typedef struct _PartitionValuesRequest__isset { + _PartitionValuesRequest__isset() : applyDistinct(true), filter(false), partitionOrder(false), ascending(true), maxParts(true) {} + bool applyDistinct :1; + bool filter :1; + bool partitionOrder :1; + bool ascending :1; + bool maxParts :1; +} _PartitionValuesRequest__isset; + +class PartitionValuesRequest { + public: + + PartitionValuesRequest(const PartitionValuesRequest&); + PartitionValuesRequest& operator=(const PartitionValuesRequest&); + PartitionValuesRequest() : dbName(), tblName(), applyDistinct(true), filter(), ascending(true), maxParts(-1LL) { + } + + virtual ~PartitionValuesRequest() throw(); + std::string dbName; + std::string tblName; + std::vector partitionKeys; + bool applyDistinct; + std::string filter; + std::vector partitionOrder; + bool ascending; + int64_t maxParts; + + _PartitionValuesRequest__isset __isset; + + void __set_dbName(const std::string& val); + + void __set_tblName(const std::string& val); + + void __set_partitionKeys(const std::vector & val); + + void __set_applyDistinct(const bool val); + + void __set_filter(const std::string& val); + + void __set_partitionOrder(const std::vector & val); + + void __set_ascending(const bool val); + + void __set_maxParts(const int64_t val); + + bool operator == (const PartitionValuesRequest & rhs) const + { + if (!(dbName == rhs.dbName)) + return false; + if (!(tblName == rhs.tblName)) + return false; + if (!(partitionKeys == rhs.partitionKeys)) + return false; + if (__isset.applyDistinct != rhs.__isset.applyDistinct) + return false; + else if (__isset.applyDistinct && !(applyDistinct == rhs.applyDistinct)) + return false; + if (__isset.filter != rhs.__isset.filter) + return false; + else if (__isset.filter && !(filter == rhs.filter)) + return false; + if (__isset.partitionOrder != rhs.__isset.partitionOrder) + return false; + else if (__isset.partitionOrder && !(partitionOrder == rhs.partitionOrder)) + return false; + if (__isset.ascending != rhs.__isset.ascending) + return false; + else if (__isset.ascending && !(ascending == rhs.ascending)) + return false; + if (__isset.maxParts != rhs.__isset.maxParts) + return false; + else if (__isset.maxParts && !(maxParts == rhs.maxParts)) + return false; + return true; + } + bool operator != (const PartitionValuesRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PartitionValuesRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PartitionValuesRequest &a, PartitionValuesRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const PartitionValuesRequest& obj) +{ + obj.printTo(out); + return out; +} + + +class PartitionValuesRow { + public: + + PartitionValuesRow(const PartitionValuesRow&); + PartitionValuesRow& operator=(const PartitionValuesRow&); + PartitionValuesRow() { + } + + virtual ~PartitionValuesRow() throw(); + std::vector row; + + void __set_row(const std::vector & val); + + bool operator == (const PartitionValuesRow & rhs) const + { + if (!(row == rhs.row)) + return false; + return true; + } + bool operator != (const PartitionValuesRow &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PartitionValuesRow & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PartitionValuesRow &a, PartitionValuesRow &b); + +inline std::ostream& operator<<(std::ostream& out, const PartitionValuesRow& obj) +{ + obj.printTo(out); + return out; +} + + +class PartitionValuesResponse { + public: + + PartitionValuesResponse(const PartitionValuesResponse&); + PartitionValuesResponse& operator=(const PartitionValuesResponse&); + PartitionValuesResponse() { + } + + virtual ~PartitionValuesResponse() throw(); + std::vector partitionValues; + + void __set_partitionValues(const std::vector & val); + + bool operator == (const PartitionValuesResponse & rhs) const + { + if (!(partitionValues == rhs.partitionValues)) + return false; + return true; + } + bool operator != (const PartitionValuesResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const PartitionValuesResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(PartitionValuesResponse &a, PartitionValuesResponse &b); + +inline std::ostream& operator<<(std::ostream& out, const PartitionValuesResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ResourceUri__isset { _ResourceUri__isset() : resourceType(false), uri(false) {} bool resourceType :1; diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index eee1e64..a7bce0b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list516.size); - long _elem517; - for (int _i518 = 0; _i518 < _list516.size; ++_i518) + org.apache.thrift.protocol.TList _list548 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list548.size); + long _elem549; + for (int _i550 = 0; _i550 < _list548.size; ++_i550) { - _elem517 = iprot.readI64(); - struct.txn_ids.add(_elem517); + _elem549 = iprot.readI64(); + struct.txn_ids.add(_elem549); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter519 : struct.txn_ids) + for (long _iter551 : struct.txn_ids) { - oprot.writeI64(_iter519); + oprot.writeI64(_iter551); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter520 : struct.txn_ids) + for (long _iter552 : struct.txn_ids) { - oprot.writeI64(_iter520); + oprot.writeI64(_iter552); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list521.size); - long _elem522; - for (int _i523 = 0; _i523 < _list521.size; ++_i523) + org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list553.size); + long _elem554; + for (int _i555 = 0; _i555 < _list553.size; ++_i555) { - _elem522 = iprot.readI64(); - struct.txn_ids.add(_elem522); + _elem554 = iprot.readI64(); + struct.txn_ids.add(_elem554); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 054cf1b..fc74e41 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -727,13 +727,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 4: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list574.size); - String _elem575; - for (int _i576 = 0; _i576 < _list574.size; ++_i576) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list606.size); + String _elem607; + for (int _i608 = 0; _i608 < _list606.size; ++_i608) { - _elem575 = iprot.readString(); - struct.partitionnames.add(_elem575); + _elem607 = iprot.readString(); + struct.partitionnames.add(_elem607); } iprot.readListEnd(); } @@ -780,9 +780,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter577 : struct.partitionnames) + for (String _iter609 : struct.partitionnames) { - oprot.writeString(_iter577); + oprot.writeString(_iter609); } oprot.writeListEnd(); } @@ -817,9 +817,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter578 : struct.partitionnames) + for (String _iter610 : struct.partitionnames) { - oprot.writeString(_iter578); + oprot.writeString(_iter610); } } BitSet optionals = new BitSet(); @@ -842,13 +842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list579.size); - String _elem580; - for (int _i581 = 0; _i581 < _list579.size; ++_i581) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list611.size); + String _elem612; + for (int _i613 = 0; _i613 < _list611.size; ++_i613) { - _elem580 = iprot.readString(); - struct.partitionnames.add(_elem580); + _elem612 = iprot.readString(); + struct.partitionnames.add(_elem612); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 0b6574d..5ab1da9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list666.size); - long _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list698.size); + long _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem667 = iprot.readI64(); - struct.fileIds.add(_elem667); + _elem699 = iprot.readI64(); + struct.fileIds.add(_elem699); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter669 : struct.fileIds) + for (long _iter701 : struct.fileIds) { - oprot.writeI64(_iter669); + oprot.writeI64(_iter701); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter670 : struct.fileIds) + for (long _iter702 : struct.fileIds) { - oprot.writeI64(_iter670); + oprot.writeI64(_iter702); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list671.size); - long _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list703.size); + long _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem672 = iprot.readI64(); - struct.fileIds.add(_elem672); + _elem704 = iprot.readI64(); + struct.fileIds.add(_elem704); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index 19e671b..acb6a92 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); - struct.values = new ArrayList(_list682.size); - ClientCapability _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.values = new ArrayList(_list714.size); + ClientCapability _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem683 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem683); + _elem715 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem715); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter685 : struct.values) + for (ClientCapability _iter717 : struct.values) { - oprot.writeI32(_iter685.getValue()); + oprot.writeI32(_iter717.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter686 : struct.values) + for (ClientCapability _iter718 : struct.values) { - oprot.writeI32(_iter686.getValue()); + oprot.writeI32(_iter718.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list687.size); - ClientCapability _elem688; - for (int _i689 = 0; _i689 < _list687.size; ++_i689) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list719.size); + ClientCapability _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem688 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem688); + _elem720 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem720); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 3acb203..e17a8b9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map556 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map556.size); - String _key557; - String _val558; - for (int _i559 = 0; _i559 < _map556.size; ++_i559) + org.apache.thrift.protocol.TMap _map588 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map588.size); + String _key589; + String _val590; + for (int _i591 = 0; _i591 < _map588.size; ++_i591) { - _key557 = iprot.readString(); - _val558 = iprot.readString(); - struct.properties.put(_key557, _val558); + _key589 = iprot.readString(); + _val590 = iprot.readString(); + struct.properties.put(_key589, _val590); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter560 : struct.properties.entrySet()) + for (Map.Entry _iter592 : struct.properties.entrySet()) { - oprot.writeString(_iter560.getKey()); - oprot.writeString(_iter560.getValue()); + oprot.writeString(_iter592.getKey()); + oprot.writeString(_iter592.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter561 : struct.properties.entrySet()) + for (Map.Entry _iter593 : struct.properties.entrySet()) { - oprot.writeString(_iter561.getKey()); - oprot.writeString(_iter561.getValue()); + oprot.writeString(_iter593.getKey()); + oprot.writeString(_iter593.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map562 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map562.size); - String _key563; - String _val564; - for (int _i565 = 0; _i565 < _map562.size; ++_i565) + org.apache.thrift.protocol.TMap _map594 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map594.size); + String _key595; + String _val596; + for (int _i597 = 0; _i597 < _map594.size; ++_i597) { - _key563 = iprot.readString(); - _val564 = iprot.readString(); - struct.properties.put(_key563, _val564); + _key595 = iprot.readString(); + _val596 = iprot.readString(); + struct.properties.put(_key595, _val596); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index cc336c5..19b8e01 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list606.size); - String _elem607; - for (int _i608 = 0; _i608 < _list606.size; ++_i608) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list638.size); + String _elem639; + for (int _i640 = 0; _i640 < _list638.size; ++_i640) { - _elem607 = iprot.readString(); - struct.partitionVals.add(_elem607); + _elem639 = iprot.readString(); + struct.partitionVals.add(_elem639); } iprot.readListEnd(); } @@ -768,9 +768,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter609 : struct.partitionVals) + for (String _iter641 : struct.partitionVals) { - oprot.writeString(_iter609); + oprot.writeString(_iter641); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter610 : struct.partitionVals) + for (String _iter642 : struct.partitionVals) { - oprot.writeString(_iter610); + oprot.writeString(_iter642); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list611.size); - String _elem612; - for (int _i613 = 0; _i613 < _list611.size; ++_i613) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list643.size); + String _elem644; + for (int _i645 = 0; _i645 < _list643.size; ++_i645) { - _elem612 = iprot.readString(); - struct.partitionVals.add(_elem612); + _elem644 = iprot.readString(); + struct.partitionVals.add(_elem644); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index ad12ab1..96300e8 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -997,14 +997,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th case 8: // RESOURCE_URIS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list484.size); - ResourceUri _elem485; - for (int _i486 = 0; _i486 < _list484.size; ++_i486) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list516.size); + ResourceUri _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem485 = new ResourceUri(); - _elem485.read(iprot); - struct.resourceUris.add(_elem485); + _elem517 = new ResourceUri(); + _elem517.read(iprot); + struct.resourceUris.add(_elem517); } iprot.readListEnd(); } @@ -1063,9 +1063,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Function struct) t oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size())); - for (ResourceUri _iter487 : struct.resourceUris) + for (ResourceUri _iter519 : struct.resourceUris) { - _iter487.write(oprot); + _iter519.write(oprot); } oprot.writeListEnd(); } @@ -1138,9 +1138,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter488 : struct.resourceUris) + for (ResourceUri _iter520 : struct.resourceUris) { - _iter488.write(oprot); + _iter520.write(oprot); } } } @@ -1180,14 +1180,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list489.size); - ResourceUri _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list521.size); + ResourceUri _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem490 = new ResourceUri(); - _elem490.read(iprot); - struct.resourceUris.add(_elem490); + _elem522 = new ResourceUri(); + _elem522.read(iprot); + struct.resourceUris.add(_elem522); } } struct.setResourceUrisIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index bb11fe3..bcbc7e0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); - struct.functions = new ArrayList(_list674.size); - Function _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.functions = new ArrayList(_list706.size); + Function _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem675 = new Function(); - _elem675.read(iprot); - struct.functions.add(_elem675); + _elem707 = new Function(); + _elem707.read(iprot); + struct.functions.add(_elem707); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter677 : struct.functions) + for (Function _iter709 : struct.functions) { - _iter677.write(oprot); + _iter709.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter678 : struct.functions) + for (Function _iter710 : struct.functions) { - _iter678.write(oprot); + _iter710.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list679.size); - Function _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list711.size); + Function _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem680 = new Function(); - _elem680.read(iprot); - struct.functions.add(_elem680); + _elem712 = new Function(); + _elem712.read(iprot); + struct.functions.add(_elem712); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index ef758cd..b416d62 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list624 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list624.size); - long _elem625; - for (int _i626 = 0; _i626 < _list624.size; ++_i626) + org.apache.thrift.protocol.TList _list656 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list656.size); + long _elem657; + for (int _i658 = 0; _i658 < _list656.size; ++_i658) { - _elem625 = iprot.readI64(); - struct.fileIds.add(_elem625); + _elem657 = iprot.readI64(); + struct.fileIds.add(_elem657); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter627 : struct.fileIds) + for (long _iter659 : struct.fileIds) { - oprot.writeI64(_iter627); + oprot.writeI64(_iter659); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter628 : struct.fileIds) + for (long _iter660 : struct.fileIds) { - oprot.writeI64(_iter628); + oprot.writeI64(_iter660); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list629.size); - long _elem630; - for (int _i631 = 0; _i631 < _list629.size; ++_i631) + org.apache.thrift.protocol.TList _list661 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list661.size); + long _elem662; + for (int _i663 = 0; _i663 < _list661.size; ++_i663) { - _elem630 = iprot.readI64(); - struct.fileIds.add(_elem630); + _elem662 = iprot.readI64(); + struct.fileIds.add(_elem662); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index ee94380..fc85a17 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map614 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map614.size); - long _key615; - MetadataPpdResult _val616; - for (int _i617 = 0; _i617 < _map614.size; ++_i617) + org.apache.thrift.protocol.TMap _map646 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map646.size); + long _key647; + MetadataPpdResult _val648; + for (int _i649 = 0; _i649 < _map646.size; ++_i649) { - _key615 = iprot.readI64(); - _val616 = new MetadataPpdResult(); - _val616.read(iprot); - struct.metadata.put(_key615, _val616); + _key647 = iprot.readI64(); + _val648 = new MetadataPpdResult(); + _val648.read(iprot); + struct.metadata.put(_key647, _val648); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter618 : struct.metadata.entrySet()) + for (Map.Entry _iter650 : struct.metadata.entrySet()) { - oprot.writeI64(_iter618.getKey()); - _iter618.getValue().write(oprot); + oprot.writeI64(_iter650.getKey()); + _iter650.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter619 : struct.metadata.entrySet()) + for (Map.Entry _iter651 : struct.metadata.entrySet()) { - oprot.writeI64(_iter619.getKey()); - _iter619.getValue().write(oprot); + oprot.writeI64(_iter651.getKey()); + _iter651.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map620 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map620.size); - long _key621; - MetadataPpdResult _val622; - for (int _i623 = 0; _i623 < _map620.size; ++_i623) + org.apache.thrift.protocol.TMap _map652 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map652.size); + long _key653; + MetadataPpdResult _val654; + for (int _i655 = 0; _i655 < _map652.size; ++_i655) { - _key621 = iprot.readI64(); - _val622 = new MetadataPpdResult(); - _val622.read(iprot); - struct.metadata.put(_key621, _val622); + _key653 = iprot.readI64(); + _val654 = new MetadataPpdResult(); + _val654.read(iprot); + struct.metadata.put(_key653, _val654); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index f8c8258..54c2733 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list642.size); - long _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list674.size); + long _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem643 = iprot.readI64(); - struct.fileIds.add(_elem643); + _elem675 = iprot.readI64(); + struct.fileIds.add(_elem675); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter645 : struct.fileIds) + for (long _iter677 : struct.fileIds) { - oprot.writeI64(_iter645); + oprot.writeI64(_iter677); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter646 : struct.fileIds) + for (long _iter678 : struct.fileIds) { - oprot.writeI64(_iter646); + oprot.writeI64(_iter678); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list647.size); - long _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list679.size); + long _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem648 = iprot.readI64(); - struct.fileIds.add(_elem648); + _elem680 = iprot.readI64(); + struct.fileIds.add(_elem680); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 73888e9..f78ceff 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map632 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map632.size); - long _key633; - ByteBuffer _val634; - for (int _i635 = 0; _i635 < _map632.size; ++_i635) + org.apache.thrift.protocol.TMap _map664 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map664.size); + long _key665; + ByteBuffer _val666; + for (int _i667 = 0; _i667 < _map664.size; ++_i667) { - _key633 = iprot.readI64(); - _val634 = iprot.readBinary(); - struct.metadata.put(_key633, _val634); + _key665 = iprot.readI64(); + _val666 = iprot.readBinary(); + struct.metadata.put(_key665, _val666); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter636 : struct.metadata.entrySet()) + for (Map.Entry _iter668 : struct.metadata.entrySet()) { - oprot.writeI64(_iter636.getKey()); - oprot.writeBinary(_iter636.getValue()); + oprot.writeI64(_iter668.getKey()); + oprot.writeBinary(_iter668.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter637 : struct.metadata.entrySet()) + for (Map.Entry _iter669 : struct.metadata.entrySet()) { - oprot.writeI64(_iter637.getKey()); - oprot.writeBinary(_iter637.getValue()); + oprot.writeI64(_iter669.getKey()); + oprot.writeBinary(_iter669.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map638 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map638.size); - long _key639; - ByteBuffer _val640; - for (int _i641 = 0; _i641 < _map638.size; ++_i641) + org.apache.thrift.protocol.TMap _map670 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map670.size); + long _key671; + ByteBuffer _val672; + for (int _i673 = 0; _i673 < _map670.size; ++_i673) { - _key639 = iprot.readI64(); - _val640 = iprot.readBinary(); - struct.metadata.put(_key639, _val640); + _key671 = iprot.readI64(); + _val672 = iprot.readBinary(); + struct.metadata.put(_key671, _val672); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 18a8e62..7d80426 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -447,14 +447,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list492.size); - TxnInfo _elem493; - for (int _i494 = 0; _i494 < _list492.size; ++_i494) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list524.size); + TxnInfo _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) { - _elem493 = new TxnInfo(); - _elem493.read(iprot); - struct.open_txns.add(_elem493); + _elem525 = new TxnInfo(); + _elem525.read(iprot); + struct.open_txns.add(_elem525); } iprot.readListEnd(); } @@ -483,9 +483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsInfoRes oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size())); - for (TxnInfo _iter495 : struct.open_txns) + for (TxnInfo _iter527 : struct.open_txns) { - _iter495.write(oprot); + _iter527.write(oprot); } oprot.writeListEnd(); } @@ -511,9 +511,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoResp oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (TxnInfo _iter496 : struct.open_txns) + for (TxnInfo _iter528 : struct.open_txns) { - _iter496.write(oprot); + _iter528.write(oprot); } } } @@ -524,14 +524,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list497.size); - TxnInfo _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list529.size); + TxnInfo _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) { - _elem498 = new TxnInfo(); - _elem498.read(iprot); - struct.open_txns.add(_elem498); + _elem530 = new TxnInfo(); + _elem530.read(iprot); + struct.open_txns.add(_elem530); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 386c105..a0944a6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -615,13 +615,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list500.size); - long _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list532.size); + long _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - _elem501 = iprot.readI64(); - struct.open_txns.add(_elem501); + _elem533 = iprot.readI64(); + struct.open_txns.add(_elem533); } iprot.readListEnd(); } @@ -666,9 +666,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRespons oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter503 : struct.open_txns) + for (long _iter535 : struct.open_txns) { - oprot.writeI64(_iter503); + oprot.writeI64(_iter535); } oprot.writeListEnd(); } @@ -704,9 +704,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (long _iter504 : struct.open_txns) + for (long _iter536 : struct.open_txns) { - oprot.writeI64(_iter504); + oprot.writeI64(_iter536); } } oprot.writeBinary(struct.abortedBits); @@ -726,13 +726,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new ArrayList(_list505.size); - long _elem506; - for (int _i507 = 0; _i507 < _list505.size; ++_i507) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new ArrayList(_list537.size); + long _elem538; + for (int _i539 = 0; _i539 < _list537.size; ++_i539) { - _elem506 = iprot.readI64(); - struct.open_txns.add(_elem506); + _elem538 = iprot.readI64(); + struct.open_txns.add(_elem538); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index 5195427..8cd3e37 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list690.size); - String _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list722.size); + String _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem691 = iprot.readString(); - struct.tblNames.add(_elem691); + _elem723 = iprot.readString(); + struct.tblNames.add(_elem723); } iprot.readListEnd(); } @@ -572,9 +572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter693 : struct.tblNames) + for (String _iter725 : struct.tblNames) { - oprot.writeString(_iter693); + oprot.writeString(_iter725); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter694 : struct.tblNames) + for (String _iter726 : struct.tblNames) { - oprot.writeString(_iter694); + oprot.writeString(_iter726); } } } @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list695.size); - String _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list727.size); + String _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem696 = iprot.readString(); - struct.tblNames.add(_elem696); + _elem728 = iprot.readString(); + struct.tblNames.add(_elem728); } } struct.setTblNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index 1ade2f5..f0aefcc 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list698.size); - Table _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list730.size); + Table _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem699 = new Table(); - _elem699.read(iprot); - struct.tables.add(_elem699); + _elem731 = new Table(); + _elem731.read(iprot); + struct.tables.add(_elem731); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter701 : struct.tables) + for (Table _iter733 : struct.tables) { - _iter701.write(oprot); + _iter733.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter702 : struct.tables) + for (Table _iter734 : struct.tables) { - _iter702.write(oprot); + _iter734.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list703.size); - Table _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list735.size); + Table _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem704 = new Table(); - _elem704.read(iprot); - struct.tables.add(_elem704); + _elem736 = new Table(); + _elem736.read(iprot); + struct.tables.add(_elem736); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index a33210d..e823d59 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set540 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set540.size); - long _elem541; - for (int _i542 = 0; _i542 < _set540.size; ++_i542) + org.apache.thrift.protocol.TSet _set572 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set572.size); + long _elem573; + for (int _i574 = 0; _i574 < _set572.size; ++_i574) { - _elem541 = iprot.readI64(); - struct.aborted.add(_elem541); + _elem573 = iprot.readI64(); + struct.aborted.add(_elem573); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set543 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set543.size); - long _elem544; - for (int _i545 = 0; _i545 < _set543.size; ++_i545) + org.apache.thrift.protocol.TSet _set575 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set575.size); + long _elem576; + for (int _i577 = 0; _i577 < _set575.size; ++_i577) { - _elem544 = iprot.readI64(); - struct.nosuch.add(_elem544); + _elem576 = iprot.readI64(); + struct.nosuch.add(_elem576); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter546 : struct.aborted) + for (long _iter578 : struct.aborted) { - oprot.writeI64(_iter546); + oprot.writeI64(_iter578); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter547 : struct.nosuch) + for (long _iter579 : struct.nosuch) { - oprot.writeI64(_iter547); + oprot.writeI64(_iter579); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter548 : struct.aborted) + for (long _iter580 : struct.aborted) { - oprot.writeI64(_iter548); + oprot.writeI64(_iter580); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter549 : struct.nosuch) + for (long _iter581 : struct.nosuch) { - oprot.writeI64(_iter549); + oprot.writeI64(_iter581); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set550 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set550.size); - long _elem551; - for (int _i552 = 0; _i552 < _set550.size; ++_i552) + org.apache.thrift.protocol.TSet _set582 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set582.size); + long _elem583; + for (int _i584 = 0; _i584 < _set582.size; ++_i584) { - _elem551 = iprot.readI64(); - struct.aborted.add(_elem551); + _elem583 = iprot.readI64(); + struct.aborted.add(_elem583); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set553 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set553.size); - long _elem554; - for (int _i555 = 0; _i555 < _set553.size; ++_i555) + org.apache.thrift.protocol.TSet _set585 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set585.size); + long _elem586; + for (int _i587 = 0; _i587 < _set585.size; ++_i587) { - _elem554 = iprot.readI64(); - struct.nosuch.add(_elem554); + _elem586 = iprot.readI64(); + struct.nosuch.add(_elem586); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 84f1df1..fe4cf63 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -538,13 +538,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list590.size); - String _elem591; - for (int _i592 = 0; _i592 < _list590.size; ++_i592) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list622.size); + String _elem623; + for (int _i624 = 0; _i624 < _list622.size; ++_i624) { - _elem591 = iprot.readString(); - struct.filesAdded.add(_elem591); + _elem623 = iprot.readString(); + struct.filesAdded.add(_elem623); } iprot.readListEnd(); } @@ -556,13 +556,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list593 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list593.size); - String _elem594; - for (int _i595 = 0; _i595 < _list593.size; ++_i595) + org.apache.thrift.protocol.TList _list625 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list625.size); + String _elem626; + for (int _i627 = 0; _i627 < _list625.size; ++_i627) { - _elem594 = iprot.readString(); - struct.filesAddedChecksum.add(_elem594); + _elem626 = iprot.readString(); + struct.filesAddedChecksum.add(_elem626); } iprot.readListEnd(); } @@ -593,9 +593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter596 : struct.filesAdded) + for (String _iter628 : struct.filesAdded) { - oprot.writeString(_iter596); + oprot.writeString(_iter628); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter597 : struct.filesAddedChecksum) + for (String _iter629 : struct.filesAddedChecksum) { - oprot.writeString(_iter597); + oprot.writeString(_iter629); } oprot.writeListEnd(); } @@ -634,9 +634,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter598 : struct.filesAdded) + for (String _iter630 : struct.filesAdded) { - oprot.writeString(_iter598); + oprot.writeString(_iter630); } } BitSet optionals = new BitSet(); @@ -653,9 +653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter599 : struct.filesAddedChecksum) + for (String _iter631 : struct.filesAddedChecksum) { - oprot.writeString(_iter599); + oprot.writeString(_iter631); } } } @@ -665,13 +665,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list600 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list600.size); - String _elem601; - for (int _i602 = 0; _i602 < _list600.size; ++_i602) + org.apache.thrift.protocol.TList _list632 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list632.size); + String _elem633; + for (int _i634 = 0; _i634 < _list632.size; ++_i634) { - _elem601 = iprot.readString(); - struct.filesAdded.add(_elem601); + _elem633 = iprot.readString(); + struct.filesAdded.add(_elem633); } } struct.setFilesAddedIsSet(true); @@ -682,13 +682,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list603.size); - String _elem604; - for (int _i605 = 0; _i605 < _list603.size; ++_i605) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list635.size); + String _elem636; + for (int _i637 = 0; _i637 < _list635.size; ++_i637) { - _elem604 = iprot.readString(); - struct.filesAddedChecksum.add(_elem604); + _elem636 = iprot.readString(); + struct.filesAddedChecksum.add(_elem636); } } struct.setFilesAddedChecksumIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 833adbb..75d9d56 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); - struct.component = new ArrayList(_list524.size); - LockComponent _elem525; - for (int _i526 = 0; _i526 < _list524.size; ++_i526) + org.apache.thrift.protocol.TList _list556 = iprot.readListBegin(); + struct.component = new ArrayList(_list556.size); + LockComponent _elem557; + for (int _i558 = 0; _i558 < _list556.size; ++_i558) { - _elem525 = new LockComponent(); - _elem525.read(iprot); - struct.component.add(_elem525); + _elem557 = new LockComponent(); + _elem557.read(iprot); + struct.component.add(_elem557); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter527 : struct.component) + for (LockComponent _iter559 : struct.component) { - _iter527.write(oprot); + _iter559.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter528 : struct.component) + for (LockComponent _iter560 : struct.component) { - _iter528.write(oprot); + _iter560.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list529.size); - LockComponent _elem530; - for (int _i531 = 0; _i531 < _list529.size; ++_i531) + org.apache.thrift.protocol.TList _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list561.size); + LockComponent _elem562; + for (int _i563 = 0; _i563 < _list561.size; ++_i563) { - _elem530 = new LockComponent(); - _elem530.read(iprot); - struct.component.add(_elem530); + _elem562 = new LockComponent(); + _elem562.read(iprot); + struct.component.add(_elem562); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index bcfc75b..a2a5fe6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); - struct.events = new ArrayList(_list582.size); - NotificationEvent _elem583; - for (int _i584 = 0; _i584 < _list582.size; ++_i584) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.events = new ArrayList(_list614.size); + NotificationEvent _elem615; + for (int _i616 = 0; _i616 < _list614.size; ++_i616) { - _elem583 = new NotificationEvent(); - _elem583.read(iprot); - struct.events.add(_elem583); + _elem615 = new NotificationEvent(); + _elem615.read(iprot); + struct.events.add(_elem615); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter585 : struct.events) + for (NotificationEvent _iter617 : struct.events) { - _iter585.write(oprot); + _iter617.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter586 : struct.events) + for (NotificationEvent _iter618 : struct.events) { - _iter586.write(oprot); + _iter618.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list587.size); - NotificationEvent _elem588; - for (int _i589 = 0; _i589 < _list587.size; ++_i589) + org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list619.size); + NotificationEvent _elem620; + for (int _i621 = 0; _i621 < _list619.size; ++_i621) { - _elem588 = new NotificationEvent(); - _elem588.read(iprot); - struct.events.add(_elem588); + _elem620 = new NotificationEvent(); + _elem620.read(iprot); + struct.events.add(_elem620); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index c23482a..c706f84 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list508.size); - long _elem509; - for (int _i510 = 0; _i510 < _list508.size; ++_i510) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list540.size); + long _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) { - _elem509 = iprot.readI64(); - struct.txn_ids.add(_elem509); + _elem541 = iprot.readI64(); + struct.txn_ids.add(_elem541); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter511 : struct.txn_ids) + for (long _iter543 : struct.txn_ids) { - oprot.writeI64(_iter511); + oprot.writeI64(_iter543); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter512 : struct.txn_ids) + for (long _iter544 : struct.txn_ids) { - oprot.writeI64(_iter512); + oprot.writeI64(_iter544); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list513.size); - long _elem514; - for (int _i515 = 0; _i515 < _list513.size; ++_i515) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list545.size); + long _elem546; + for (int _i547 = 0; _i547 < _list545.size; ++_i547) { - _elem514 = iprot.readI64(); - struct.txn_ids.add(_elem514); + _elem546 = iprot.readI64(); + struct.txn_ids.add(_elem546); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java new file mode 100644 index 0000000..9e0af3e --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java @@ -0,0 +1,1222 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +public class PartitionValuesRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionValuesRequest"); + + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PARTITION_KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionKeys", org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.thrift.protocol.TField APPLY_DISTINCT_FIELD_DESC = new org.apache.thrift.protocol.TField("applyDistinct", org.apache.thrift.protocol.TType.BOOL, (short)4); + private static final org.apache.thrift.protocol.TField FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField PARTITION_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionOrder", org.apache.thrift.protocol.TType.LIST, (short)6); + private static final org.apache.thrift.protocol.TField ASCENDING_FIELD_DESC = new org.apache.thrift.protocol.TField("ascending", org.apache.thrift.protocol.TType.BOOL, (short)7); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxParts", org.apache.thrift.protocol.TType.I64, (short)8); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new PartitionValuesRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new PartitionValuesRequestTupleSchemeFactory()); + } + + private String dbName; // required + private String tblName; // required + private List partitionKeys; // required + private boolean applyDistinct; // optional + private String filter; // optional + private List partitionOrder; // optional + private boolean ascending; // optional + private long maxParts; // optional + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + DB_NAME((short)1, "dbName"), + TBL_NAME((short)2, "tblName"), + PARTITION_KEYS((short)3, "partitionKeys"), + APPLY_DISTINCT((short)4, "applyDistinct"), + FILTER((short)5, "filter"), + PARTITION_ORDER((short)6, "partitionOrder"), + ASCENDING((short)7, "ascending"), + MAX_PARTS((short)8, "maxParts"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // PARTITION_KEYS + return PARTITION_KEYS; + case 4: // APPLY_DISTINCT + return APPLY_DISTINCT; + case 5: // FILTER + return FILTER; + case 6: // PARTITION_ORDER + return PARTITION_ORDER; + case 7: // ASCENDING + return ASCENDING; + case 8: // MAX_PARTS + return MAX_PARTS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __APPLYDISTINCT_ISSET_ID = 0; + private static final int __ASCENDING_ISSET_ID = 1; + private static final int __MAXPARTS_ISSET_ID = 2; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.APPLY_DISTINCT,_Fields.FILTER,_Fields.PARTITION_ORDER,_Fields.ASCENDING,_Fields.MAX_PARTS}; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tblName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARTITION_KEYS, new org.apache.thrift.meta_data.FieldMetaData("partitionKeys", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FieldSchema.class)))); + tmpMap.put(_Fields.APPLY_DISTINCT, new org.apache.thrift.meta_data.FieldMetaData("applyDistinct", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARTITION_ORDER, new org.apache.thrift.meta_data.FieldMetaData("partitionOrder", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FieldSchema.class)))); + tmpMap.put(_Fields.ASCENDING, new org.apache.thrift.meta_data.FieldMetaData("ascending", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("maxParts", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionValuesRequest.class, metaDataMap); + } + + public PartitionValuesRequest() { + this.applyDistinct = true; + + this.ascending = true; + + this.maxParts = -1L; + + } + + public PartitionValuesRequest( + String dbName, + String tblName, + List partitionKeys) + { + this(); + this.dbName = dbName; + this.tblName = tblName; + this.partitionKeys = partitionKeys; + } + + /** + * Performs a deep copy on other. + */ + public PartitionValuesRequest(PartitionValuesRequest other) { + __isset_bitfield = other.__isset_bitfield; + if (other.isSetDbName()) { + this.dbName = other.dbName; + } + if (other.isSetTblName()) { + this.tblName = other.tblName; + } + if (other.isSetPartitionKeys()) { + List __this__partitionKeys = new ArrayList(other.partitionKeys.size()); + for (FieldSchema other_element : other.partitionKeys) { + __this__partitionKeys.add(new FieldSchema(other_element)); + } + this.partitionKeys = __this__partitionKeys; + } + this.applyDistinct = other.applyDistinct; + if (other.isSetFilter()) { + this.filter = other.filter; + } + if (other.isSetPartitionOrder()) { + List __this__partitionOrder = new ArrayList(other.partitionOrder.size()); + for (FieldSchema other_element : other.partitionOrder) { + __this__partitionOrder.add(new FieldSchema(other_element)); + } + this.partitionOrder = __this__partitionOrder; + } + this.ascending = other.ascending; + this.maxParts = other.maxParts; + } + + public PartitionValuesRequest deepCopy() { + return new PartitionValuesRequest(this); + } + + @Override + public void clear() { + this.dbName = null; + this.tblName = null; + this.partitionKeys = null; + this.applyDistinct = true; + + this.filter = null; + this.partitionOrder = null; + this.ascending = true; + + this.maxParts = -1L; + + } + + public String getDbName() { + return this.dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public void unsetDbName() { + this.dbName = null; + } + + /** Returns true if field dbName is set (has been assigned a value) and false otherwise */ + public boolean isSetDbName() { + return this.dbName != null; + } + + public void setDbNameIsSet(boolean value) { + if (!value) { + this.dbName = null; + } + } + + public String getTblName() { + return this.tblName; + } + + public void setTblName(String tblName) { + this.tblName = tblName; + } + + public void unsetTblName() { + this.tblName = null; + } + + /** Returns true if field tblName is set (has been assigned a value) and false otherwise */ + public boolean isSetTblName() { + return this.tblName != null; + } + + public void setTblNameIsSet(boolean value) { + if (!value) { + this.tblName = null; + } + } + + public int getPartitionKeysSize() { + return (this.partitionKeys == null) ? 0 : this.partitionKeys.size(); + } + + public java.util.Iterator getPartitionKeysIterator() { + return (this.partitionKeys == null) ? null : this.partitionKeys.iterator(); + } + + public void addToPartitionKeys(FieldSchema elem) { + if (this.partitionKeys == null) { + this.partitionKeys = new ArrayList(); + } + this.partitionKeys.add(elem); + } + + public List getPartitionKeys() { + return this.partitionKeys; + } + + public void setPartitionKeys(List partitionKeys) { + this.partitionKeys = partitionKeys; + } + + public void unsetPartitionKeys() { + this.partitionKeys = null; + } + + /** Returns true if field partitionKeys is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitionKeys() { + return this.partitionKeys != null; + } + + public void setPartitionKeysIsSet(boolean value) { + if (!value) { + this.partitionKeys = null; + } + } + + public boolean isApplyDistinct() { + return this.applyDistinct; + } + + public void setApplyDistinct(boolean applyDistinct) { + this.applyDistinct = applyDistinct; + setApplyDistinctIsSet(true); + } + + public void unsetApplyDistinct() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __APPLYDISTINCT_ISSET_ID); + } + + /** Returns true if field applyDistinct is set (has been assigned a value) and false otherwise */ + public boolean isSetApplyDistinct() { + return EncodingUtils.testBit(__isset_bitfield, __APPLYDISTINCT_ISSET_ID); + } + + public void setApplyDistinctIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __APPLYDISTINCT_ISSET_ID, value); + } + + public String getFilter() { + return this.filter; + } + + public void setFilter(String filter) { + this.filter = filter; + } + + public void unsetFilter() { + this.filter = null; + } + + /** Returns true if field filter is set (has been assigned a value) and false otherwise */ + public boolean isSetFilter() { + return this.filter != null; + } + + public void setFilterIsSet(boolean value) { + if (!value) { + this.filter = null; + } + } + + public int getPartitionOrderSize() { + return (this.partitionOrder == null) ? 0 : this.partitionOrder.size(); + } + + public java.util.Iterator getPartitionOrderIterator() { + return (this.partitionOrder == null) ? null : this.partitionOrder.iterator(); + } + + public void addToPartitionOrder(FieldSchema elem) { + if (this.partitionOrder == null) { + this.partitionOrder = new ArrayList(); + } + this.partitionOrder.add(elem); + } + + public List getPartitionOrder() { + return this.partitionOrder; + } + + public void setPartitionOrder(List partitionOrder) { + this.partitionOrder = partitionOrder; + } + + public void unsetPartitionOrder() { + this.partitionOrder = null; + } + + /** Returns true if field partitionOrder is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitionOrder() { + return this.partitionOrder != null; + } + + public void setPartitionOrderIsSet(boolean value) { + if (!value) { + this.partitionOrder = null; + } + } + + public boolean isAscending() { + return this.ascending; + } + + public void setAscending(boolean ascending) { + this.ascending = ascending; + setAscendingIsSet(true); + } + + public void unsetAscending() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ASCENDING_ISSET_ID); + } + + /** Returns true if field ascending is set (has been assigned a value) and false otherwise */ + public boolean isSetAscending() { + return EncodingUtils.testBit(__isset_bitfield, __ASCENDING_ISSET_ID); + } + + public void setAscendingIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ASCENDING_ISSET_ID, value); + } + + public long getMaxParts() { + return this.maxParts; + } + + public void setMaxParts(long maxParts) { + this.maxParts = maxParts; + setMaxPartsIsSet(true); + } + + public void unsetMaxParts() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAXPARTS_ISSET_ID); + } + + /** Returns true if field maxParts is set (has been assigned a value) and false otherwise */ + public boolean isSetMaxParts() { + return EncodingUtils.testBit(__isset_bitfield, __MAXPARTS_ISSET_ID); + } + + public void setMaxPartsIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXPARTS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDbName(); + } else { + setDbName((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTblName(); + } else { + setTblName((String)value); + } + break; + + case PARTITION_KEYS: + if (value == null) { + unsetPartitionKeys(); + } else { + setPartitionKeys((List)value); + } + break; + + case APPLY_DISTINCT: + if (value == null) { + unsetApplyDistinct(); + } else { + setApplyDistinct((Boolean)value); + } + break; + + case FILTER: + if (value == null) { + unsetFilter(); + } else { + setFilter((String)value); + } + break; + + case PARTITION_ORDER: + if (value == null) { + unsetPartitionOrder(); + } else { + setPartitionOrder((List)value); + } + break; + + case ASCENDING: + if (value == null) { + unsetAscending(); + } else { + setAscending((Boolean)value); + } + break; + + case MAX_PARTS: + if (value == null) { + unsetMaxParts(); + } else { + setMaxParts((Long)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDbName(); + + case TBL_NAME: + return getTblName(); + + case PARTITION_KEYS: + return getPartitionKeys(); + + case APPLY_DISTINCT: + return isApplyDistinct(); + + case FILTER: + return getFilter(); + + case PARTITION_ORDER: + return getPartitionOrder(); + + case ASCENDING: + return isAscending(); + + case MAX_PARTS: + return getMaxParts(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDbName(); + case TBL_NAME: + return isSetTblName(); + case PARTITION_KEYS: + return isSetPartitionKeys(); + case APPLY_DISTINCT: + return isSetApplyDistinct(); + case FILTER: + return isSetFilter(); + case PARTITION_ORDER: + return isSetPartitionOrder(); + case ASCENDING: + return isSetAscending(); + case MAX_PARTS: + return isSetMaxParts(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof PartitionValuesRequest) + return this.equals((PartitionValuesRequest)that); + return false; + } + + public boolean equals(PartitionValuesRequest that) { + if (that == null) + return false; + + boolean this_present_dbName = true && this.isSetDbName(); + boolean that_present_dbName = true && that.isSetDbName(); + if (this_present_dbName || that_present_dbName) { + if (!(this_present_dbName && that_present_dbName)) + return false; + if (!this.dbName.equals(that.dbName)) + return false; + } + + boolean this_present_tblName = true && this.isSetTblName(); + boolean that_present_tblName = true && that.isSetTblName(); + if (this_present_tblName || that_present_tblName) { + if (!(this_present_tblName && that_present_tblName)) + return false; + if (!this.tblName.equals(that.tblName)) + return false; + } + + boolean this_present_partitionKeys = true && this.isSetPartitionKeys(); + boolean that_present_partitionKeys = true && that.isSetPartitionKeys(); + if (this_present_partitionKeys || that_present_partitionKeys) { + if (!(this_present_partitionKeys && that_present_partitionKeys)) + return false; + if (!this.partitionKeys.equals(that.partitionKeys)) + return false; + } + + boolean this_present_applyDistinct = true && this.isSetApplyDistinct(); + boolean that_present_applyDistinct = true && that.isSetApplyDistinct(); + if (this_present_applyDistinct || that_present_applyDistinct) { + if (!(this_present_applyDistinct && that_present_applyDistinct)) + return false; + if (this.applyDistinct != that.applyDistinct) + return false; + } + + boolean this_present_filter = true && this.isSetFilter(); + boolean that_present_filter = true && that.isSetFilter(); + if (this_present_filter || that_present_filter) { + if (!(this_present_filter && that_present_filter)) + return false; + if (!this.filter.equals(that.filter)) + return false; + } + + boolean this_present_partitionOrder = true && this.isSetPartitionOrder(); + boolean that_present_partitionOrder = true && that.isSetPartitionOrder(); + if (this_present_partitionOrder || that_present_partitionOrder) { + if (!(this_present_partitionOrder && that_present_partitionOrder)) + return false; + if (!this.partitionOrder.equals(that.partitionOrder)) + return false; + } + + boolean this_present_ascending = true && this.isSetAscending(); + boolean that_present_ascending = true && that.isSetAscending(); + if (this_present_ascending || that_present_ascending) { + if (!(this_present_ascending && that_present_ascending)) + return false; + if (this.ascending != that.ascending) + return false; + } + + boolean this_present_maxParts = true && this.isSetMaxParts(); + boolean that_present_maxParts = true && that.isSetMaxParts(); + if (this_present_maxParts || that_present_maxParts) { + if (!(this_present_maxParts && that_present_maxParts)) + return false; + if (this.maxParts != that.maxParts) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_dbName = true && (isSetDbName()); + list.add(present_dbName); + if (present_dbName) + list.add(dbName); + + boolean present_tblName = true && (isSetTblName()); + list.add(present_tblName); + if (present_tblName) + list.add(tblName); + + boolean present_partitionKeys = true && (isSetPartitionKeys()); + list.add(present_partitionKeys); + if (present_partitionKeys) + list.add(partitionKeys); + + boolean present_applyDistinct = true && (isSetApplyDistinct()); + list.add(present_applyDistinct); + if (present_applyDistinct) + list.add(applyDistinct); + + boolean present_filter = true && (isSetFilter()); + list.add(present_filter); + if (present_filter) + list.add(filter); + + boolean present_partitionOrder = true && (isSetPartitionOrder()); + list.add(present_partitionOrder); + if (present_partitionOrder) + list.add(partitionOrder); + + boolean present_ascending = true && (isSetAscending()); + list.add(present_ascending); + if (present_ascending) + list.add(ascending); + + boolean present_maxParts = true && (isSetMaxParts()); + list.add(present_maxParts); + if (present_maxParts) + list.add(maxParts); + + return list.hashCode(); + } + + @Override + public int compareTo(PartitionValuesRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDbName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTblName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPartitionKeys()).compareTo(other.isSetPartitionKeys()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitionKeys()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionKeys, other.partitionKeys); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetApplyDistinct()).compareTo(other.isSetApplyDistinct()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetApplyDistinct()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applyDistinct, other.applyDistinct); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetFilter()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPartitionOrder()).compareTo(other.isSetPartitionOrder()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitionOrder()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionOrder, other.partitionOrder); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetAscending()).compareTo(other.isSetAscending()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAscending()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ascending, other.ascending); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMaxParts()).compareTo(other.isSetMaxParts()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMaxParts()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxParts, other.maxParts); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("PartitionValuesRequest("); + boolean first = true; + + sb.append("dbName:"); + if (this.dbName == null) { + sb.append("null"); + } else { + sb.append(this.dbName); + } + first = false; + if (!first) sb.append(", "); + sb.append("tblName:"); + if (this.tblName == null) { + sb.append("null"); + } else { + sb.append(this.tblName); + } + first = false; + if (!first) sb.append(", "); + sb.append("partitionKeys:"); + if (this.partitionKeys == null) { + sb.append("null"); + } else { + sb.append(this.partitionKeys); + } + first = false; + if (isSetApplyDistinct()) { + if (!first) sb.append(", "); + sb.append("applyDistinct:"); + sb.append(this.applyDistinct); + first = false; + } + if (isSetFilter()) { + if (!first) sb.append(", "); + sb.append("filter:"); + if (this.filter == null) { + sb.append("null"); + } else { + sb.append(this.filter); + } + first = false; + } + if (isSetPartitionOrder()) { + if (!first) sb.append(", "); + sb.append("partitionOrder:"); + if (this.partitionOrder == null) { + sb.append("null"); + } else { + sb.append(this.partitionOrder); + } + first = false; + } + if (isSetAscending()) { + if (!first) sb.append(", "); + sb.append("ascending:"); + sb.append(this.ascending); + first = false; + } + if (isSetMaxParts()) { + if (!first) sb.append(", "); + sb.append("maxParts:"); + sb.append(this.maxParts); + first = false; + } + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetDbName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); + } + + if (!isSetTblName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString()); + } + + if (!isSetPartitionKeys()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'partitionKeys' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class PartitionValuesRequestStandardSchemeFactory implements SchemeFactory { + public PartitionValuesRequestStandardScheme getScheme() { + return new PartitionValuesRequestStandardScheme(); + } + } + + private static class PartitionValuesRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequest struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PARTITION_KEYS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list484.size); + FieldSchema _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) + { + _elem485 = new FieldSchema(); + _elem485.read(iprot); + struct.partitionKeys.add(_elem485); + } + iprot.readListEnd(); + } + struct.setPartitionKeysIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // APPLY_DISTINCT + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.applyDistinct = iprot.readBool(); + struct.setApplyDistinctIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // FILTER + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.filter = iprot.readString(); + struct.setFilterIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // PARTITION_ORDER + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list487 = iprot.readListBegin(); + struct.partitionOrder = new ArrayList(_list487.size); + FieldSchema _elem488; + for (int _i489 = 0; _i489 < _list487.size; ++_i489) + { + _elem488 = new FieldSchema(); + _elem488.read(iprot); + struct.partitionOrder.add(_elem488); + } + iprot.readListEnd(); + } + struct.setPartitionOrderIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // ASCENDING + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.ascending = iprot.readBool(); + struct.setAscendingIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // MAX_PARTS + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.maxParts = iprot.readI64(); + struct.setMaxPartsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.dbName != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.dbName); + oprot.writeFieldEnd(); + } + if (struct.tblName != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tblName); + oprot.writeFieldEnd(); + } + if (struct.partitionKeys != null) { + oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionKeys.size())); + for (FieldSchema _iter490 : struct.partitionKeys) + { + _iter490.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.isSetApplyDistinct()) { + oprot.writeFieldBegin(APPLY_DISTINCT_FIELD_DESC); + oprot.writeBool(struct.applyDistinct); + oprot.writeFieldEnd(); + } + if (struct.filter != null) { + if (struct.isSetFilter()) { + oprot.writeFieldBegin(FILTER_FIELD_DESC); + oprot.writeString(struct.filter); + oprot.writeFieldEnd(); + } + } + if (struct.partitionOrder != null) { + if (struct.isSetPartitionOrder()) { + oprot.writeFieldBegin(PARTITION_ORDER_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionOrder.size())); + for (FieldSchema _iter491 : struct.partitionOrder) + { + _iter491.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } + if (struct.isSetAscending()) { + oprot.writeFieldBegin(ASCENDING_FIELD_DESC); + oprot.writeBool(struct.ascending); + oprot.writeFieldEnd(); + } + if (struct.isSetMaxParts()) { + oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); + oprot.writeI64(struct.maxParts); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class PartitionValuesRequestTupleSchemeFactory implements SchemeFactory { + public PartitionValuesRequestTupleScheme getScheme() { + return new PartitionValuesRequestTupleScheme(); + } + } + + private static class PartitionValuesRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeString(struct.dbName); + oprot.writeString(struct.tblName); + { + oprot.writeI32(struct.partitionKeys.size()); + for (FieldSchema _iter492 : struct.partitionKeys) + { + _iter492.write(oprot); + } + } + BitSet optionals = new BitSet(); + if (struct.isSetApplyDistinct()) { + optionals.set(0); + } + if (struct.isSetFilter()) { + optionals.set(1); + } + if (struct.isSetPartitionOrder()) { + optionals.set(2); + } + if (struct.isSetAscending()) { + optionals.set(3); + } + if (struct.isSetMaxParts()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if (struct.isSetApplyDistinct()) { + oprot.writeBool(struct.applyDistinct); + } + if (struct.isSetFilter()) { + oprot.writeString(struct.filter); + } + if (struct.isSetPartitionOrder()) { + { + oprot.writeI32(struct.partitionOrder.size()); + for (FieldSchema _iter493 : struct.partitionOrder) + { + _iter493.write(oprot); + } + } + } + if (struct.isSetAscending()) { + oprot.writeBool(struct.ascending); + } + if (struct.isSetMaxParts()) { + oprot.writeI64(struct.maxParts); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + { + org.apache.thrift.protocol.TList _list494 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list494.size); + FieldSchema _elem495; + for (int _i496 = 0; _i496 < _list494.size; ++_i496) + { + _elem495 = new FieldSchema(); + _elem495.read(iprot); + struct.partitionKeys.add(_elem495); + } + } + struct.setPartitionKeysIsSet(true); + BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.applyDistinct = iprot.readBool(); + struct.setApplyDistinctIsSet(true); + } + if (incoming.get(1)) { + struct.filter = iprot.readString(); + struct.setFilterIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionOrder = new ArrayList(_list497.size); + FieldSchema _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) + { + _elem498 = new FieldSchema(); + _elem498.read(iprot); + struct.partitionOrder.add(_elem498); + } + } + struct.setPartitionOrderIsSet(true); + } + if (incoming.get(3)) { + struct.ascending = iprot.readBool(); + struct.setAscendingIsSet(true); + } + if (incoming.get(4)) { + struct.maxParts = iprot.readI64(); + struct.setMaxPartsIsSet(true); + } + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java new file mode 100644 index 0000000..69be7cd --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java @@ -0,0 +1,443 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +public class PartitionValuesResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionValuesResponse"); + + private static final org.apache.thrift.protocol.TField PARTITION_VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionValues", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new PartitionValuesResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new PartitionValuesResponseTupleSchemeFactory()); + } + + private List partitionValues; // 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 { + PARTITION_VALUES((short)1, "partitionValues"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // PARTITION_VALUES + return PARTITION_VALUES; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.PARTITION_VALUES, new org.apache.thrift.meta_data.FieldMetaData("partitionValues", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionValuesRow.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionValuesResponse.class, metaDataMap); + } + + public PartitionValuesResponse() { + } + + public PartitionValuesResponse( + List partitionValues) + { + this(); + this.partitionValues = partitionValues; + } + + /** + * Performs a deep copy on other. + */ + public PartitionValuesResponse(PartitionValuesResponse other) { + if (other.isSetPartitionValues()) { + List __this__partitionValues = new ArrayList(other.partitionValues.size()); + for (PartitionValuesRow other_element : other.partitionValues) { + __this__partitionValues.add(new PartitionValuesRow(other_element)); + } + this.partitionValues = __this__partitionValues; + } + } + + public PartitionValuesResponse deepCopy() { + return new PartitionValuesResponse(this); + } + + @Override + public void clear() { + this.partitionValues = null; + } + + public int getPartitionValuesSize() { + return (this.partitionValues == null) ? 0 : this.partitionValues.size(); + } + + public java.util.Iterator getPartitionValuesIterator() { + return (this.partitionValues == null) ? null : this.partitionValues.iterator(); + } + + public void addToPartitionValues(PartitionValuesRow elem) { + if (this.partitionValues == null) { + this.partitionValues = new ArrayList(); + } + this.partitionValues.add(elem); + } + + public List getPartitionValues() { + return this.partitionValues; + } + + public void setPartitionValues(List partitionValues) { + this.partitionValues = partitionValues; + } + + public void unsetPartitionValues() { + this.partitionValues = null; + } + + /** Returns true if field partitionValues is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitionValues() { + return this.partitionValues != null; + } + + public void setPartitionValuesIsSet(boolean value) { + if (!value) { + this.partitionValues = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case PARTITION_VALUES: + if (value == null) { + unsetPartitionValues(); + } else { + setPartitionValues((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case PARTITION_VALUES: + return getPartitionValues(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case PARTITION_VALUES: + return isSetPartitionValues(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof PartitionValuesResponse) + return this.equals((PartitionValuesResponse)that); + return false; + } + + public boolean equals(PartitionValuesResponse that) { + if (that == null) + return false; + + boolean this_present_partitionValues = true && this.isSetPartitionValues(); + boolean that_present_partitionValues = true && that.isSetPartitionValues(); + if (this_present_partitionValues || that_present_partitionValues) { + if (!(this_present_partitionValues && that_present_partitionValues)) + return false; + if (!this.partitionValues.equals(that.partitionValues)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_partitionValues = true && (isSetPartitionValues()); + list.add(present_partitionValues); + if (present_partitionValues) + list.add(partitionValues); + + return list.hashCode(); + } + + @Override + public int compareTo(PartitionValuesResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetPartitionValues()).compareTo(other.isSetPartitionValues()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitionValues()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionValues, other.partitionValues); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("PartitionValuesResponse("); + boolean first = true; + + sb.append("partitionValues:"); + if (this.partitionValues == null) { + sb.append("null"); + } else { + sb.append(this.partitionValues); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetPartitionValues()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'partitionValues' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class PartitionValuesResponseStandardSchemeFactory implements SchemeFactory { + public PartitionValuesResponseStandardScheme getScheme() { + return new PartitionValuesResponseStandardScheme(); + } + } + + private static class PartitionValuesResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesResponse struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // PARTITION_VALUES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.partitionValues = new ArrayList(_list508.size); + PartitionValuesRow _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) + { + _elem509 = new PartitionValuesRow(); + _elem509.read(iprot); + struct.partitionValues.add(_elem509); + } + iprot.readListEnd(); + } + struct.setPartitionValuesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.partitionValues != null) { + oprot.writeFieldBegin(PARTITION_VALUES_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionValues.size())); + for (PartitionValuesRow _iter511 : struct.partitionValues) + { + _iter511.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class PartitionValuesResponseTupleSchemeFactory implements SchemeFactory { + public PartitionValuesResponseTupleScheme getScheme() { + return new PartitionValuesResponseTupleScheme(); + } + } + + private static class PartitionValuesResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.partitionValues.size()); + for (PartitionValuesRow _iter512 : struct.partitionValues) + { + _iter512.write(oprot); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionValues = new ArrayList(_list513.size); + PartitionValuesRow _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) + { + _elem514 = new PartitionValuesRow(); + _elem514.read(iprot); + struct.partitionValues.add(_elem514); + } + } + struct.setPartitionValuesIsSet(true); + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java new file mode 100644 index 0000000..2ed8014 --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java @@ -0,0 +1,438 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +public class PartitionValuesRow implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionValuesRow"); + + private static final org.apache.thrift.protocol.TField ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("row", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new PartitionValuesRowStandardSchemeFactory()); + schemes.put(TupleScheme.class, new PartitionValuesRowTupleSchemeFactory()); + } + + private List row; // 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 { + ROW((short)1, "row"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // ROW + return ROW; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionValuesRow.class, metaDataMap); + } + + public PartitionValuesRow() { + } + + public PartitionValuesRow( + List row) + { + this(); + this.row = row; + } + + /** + * Performs a deep copy on other. + */ + public PartitionValuesRow(PartitionValuesRow other) { + if (other.isSetRow()) { + List __this__row = new ArrayList(other.row); + this.row = __this__row; + } + } + + public PartitionValuesRow deepCopy() { + return new PartitionValuesRow(this); + } + + @Override + public void clear() { + this.row = null; + } + + public int getRowSize() { + return (this.row == null) ? 0 : this.row.size(); + } + + public java.util.Iterator getRowIterator() { + return (this.row == null) ? null : this.row.iterator(); + } + + public void addToRow(String elem) { + if (this.row == null) { + this.row = new ArrayList(); + } + this.row.add(elem); + } + + public List getRow() { + return this.row; + } + + public void setRow(List row) { + this.row = row; + } + + public void unsetRow() { + this.row = null; + } + + /** Returns true if field row is set (has been assigned a value) and false otherwise */ + public boolean isSetRow() { + return this.row != null; + } + + public void setRowIsSet(boolean value) { + if (!value) { + this.row = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case ROW: + if (value == null) { + unsetRow(); + } else { + setRow((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case ROW: + return getRow(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case ROW: + return isSetRow(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof PartitionValuesRow) + return this.equals((PartitionValuesRow)that); + return false; + } + + public boolean equals(PartitionValuesRow that) { + if (that == null) + return false; + + boolean this_present_row = true && this.isSetRow(); + boolean that_present_row = true && that.isSetRow(); + if (this_present_row || that_present_row) { + if (!(this_present_row && that_present_row)) + return false; + if (!this.row.equals(that.row)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_row = true && (isSetRow()); + list.add(present_row); + if (present_row) + list.add(row); + + return list.hashCode(); + } + + @Override + public int compareTo(PartitionValuesRow other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRow()).compareTo(other.isSetRow()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRow()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.row, other.row); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("PartitionValuesRow("); + boolean first = true; + + sb.append("row:"); + if (this.row == null) { + sb.append("null"); + } else { + sb.append(this.row); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetRow()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'row' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class PartitionValuesRowStandardSchemeFactory implements SchemeFactory { + public PartitionValuesRowStandardScheme getScheme() { + return new PartitionValuesRowStandardScheme(); + } + } + + private static class PartitionValuesRowStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRow struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // ROW + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.row = new ArrayList(_list500.size); + String _elem501; + for (int _i502 = 0; _i502 < _list500.size; ++_i502) + { + _elem501 = iprot.readString(); + struct.row.add(_elem501); + } + iprot.readListEnd(); + } + struct.setRowIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRow struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.row != null) { + oprot.writeFieldBegin(ROW_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.row.size())); + for (String _iter503 : struct.row) + { + oprot.writeString(_iter503); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class PartitionValuesRowTupleSchemeFactory implements SchemeFactory { + public PartitionValuesRowTupleScheme getScheme() { + return new PartitionValuesRowTupleScheme(); + } + } + + private static class PartitionValuesRowTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.row.size()); + for (String _iter504 : struct.row) + { + oprot.writeString(_iter504); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.row = new ArrayList(_list505.size); + String _elem506; + for (int _i507 = 0; _i507 < _list505.size; ++_i507) + { + _elem506 = iprot.readString(); + struct.row.add(_elem506); + } + } + struct.setRowIsSet(true); + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 0c06ff3..d4b7d8c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list650.size); - long _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list682.size); + long _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem651 = iprot.readI64(); - struct.fileIds.add(_elem651); + _elem683 = iprot.readI64(); + struct.fileIds.add(_elem683); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list653 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list653.size); - ByteBuffer _elem654; - for (int _i655 = 0; _i655 < _list653.size; ++_i655) + org.apache.thrift.protocol.TList _list685 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list685.size); + ByteBuffer _elem686; + for (int _i687 = 0; _i687 < _list685.size; ++_i687) { - _elem654 = iprot.readBinary(); - struct.metadata.add(_elem654); + _elem686 = iprot.readBinary(); + struct.metadata.add(_elem686); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter656 : struct.fileIds) + for (long _iter688 : struct.fileIds) { - oprot.writeI64(_iter656); + oprot.writeI64(_iter688); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter657 : struct.metadata) + for (ByteBuffer _iter689 : struct.metadata) { - oprot.writeBinary(_iter657); + oprot.writeBinary(_iter689); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter658 : struct.fileIds) + for (long _iter690 : struct.fileIds) { - oprot.writeI64(_iter658); + oprot.writeI64(_iter690); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter659 : struct.metadata) + for (ByteBuffer _iter691 : struct.metadata) { - oprot.writeBinary(_iter659); + oprot.writeBinary(_iter691); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list660 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list660.size); - long _elem661; - for (int _i662 = 0; _i662 < _list660.size; ++_i662) + org.apache.thrift.protocol.TList _list692 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list692.size); + long _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem661 = iprot.readI64(); - struct.fileIds.add(_elem661); + _elem693 = iprot.readI64(); + struct.fileIds.add(_elem693); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list663.size); - ByteBuffer _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list695.size); + ByteBuffer _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem664 = iprot.readBinary(); - struct.metadata.add(_elem664); + _elem696 = iprot.readBinary(); + struct.metadata.add(_elem696); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index 1dd13cc..915d649 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list566.size); - ShowCompactResponseElement _elem567; - for (int _i568 = 0; _i568 < _list566.size; ++_i568) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list598.size); + ShowCompactResponseElement _elem599; + for (int _i600 = 0; _i600 < _list598.size; ++_i600) { - _elem567 = new ShowCompactResponseElement(); - _elem567.read(iprot); - struct.compacts.add(_elem567); + _elem599 = new ShowCompactResponseElement(); + _elem599.read(iprot); + struct.compacts.add(_elem599); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter569 : struct.compacts) + for (ShowCompactResponseElement _iter601 : struct.compacts) { - _iter569.write(oprot); + _iter601.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter570 : struct.compacts) + for (ShowCompactResponseElement _iter602 : struct.compacts) { - _iter570.write(oprot); + _iter602.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list571.size); - ShowCompactResponseElement _elem572; - for (int _i573 = 0; _i573 < _list571.size; ++_i573) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list603.size); + ShowCompactResponseElement _elem604; + for (int _i605 = 0; _i605 < _list603.size; ++_i605) { - _elem572 = new ShowCompactResponseElement(); - _elem572.read(iprot); - struct.compacts.add(_elem572); + _elem604 = new ShowCompactResponseElement(); + _elem604.read(iprot); + struct.compacts.add(_elem604); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 11ef050..0fe5812 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); - struct.locks = new ArrayList(_list532.size); - ShowLocksResponseElement _elem533; - for (int _i534 = 0; _i534 < _list532.size; ++_i534) + org.apache.thrift.protocol.TList _list564 = iprot.readListBegin(); + struct.locks = new ArrayList(_list564.size); + ShowLocksResponseElement _elem565; + for (int _i566 = 0; _i566 < _list564.size; ++_i566) { - _elem533 = new ShowLocksResponseElement(); - _elem533.read(iprot); - struct.locks.add(_elem533); + _elem565 = new ShowLocksResponseElement(); + _elem565.read(iprot); + struct.locks.add(_elem565); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter535 : struct.locks) + for (ShowLocksResponseElement _iter567 : struct.locks) { - _iter535.write(oprot); + _iter567.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter536 : struct.locks) + for (ShowLocksResponseElement _iter568 : struct.locks) { - _iter536.write(oprot); + _iter568.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list537.size); - ShowLocksResponseElement _elem538; - for (int _i539 = 0; _i539 < _list537.size; ++_i539) + org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list569.size); + ShowLocksResponseElement _elem570; + for (int _i571 = 0; _i571 < _list569.size; ++_i571) { - _elem538 = new ShowLocksResponseElement(); - _elem538.read(iprot); - struct.locks.add(_elem538); + _elem570 = new ShowLocksResponseElement(); + _elem570.read(iprot); + struct.locks.add(_elem570); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 47335b4..3476fdd 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -166,6 +166,8 @@ public List get_partition_names(String db_name, String tbl_name, short max_parts) throws MetaException, org.apache.thrift.TException; + public PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; + public List get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; public List get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; @@ -492,6 +494,8 @@ public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_values(PartitionValuesRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -2590,6 +2594,35 @@ public void send_get_partition_names(String db_name, String tbl_name, short max_ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result"); } + public PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + send_get_partition_values(request); + return recv_get_partition_values(); + } + + public void send_get_partition_values(PartitionValuesRequest request) throws org.apache.thrift.TException + { + get_partition_values_args args = new get_partition_values_args(); + args.setRequest(request); + sendBase("get_partition_values", args); + } + + public PartitionValuesResponse recv_get_partition_values() throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + get_partition_values_result result = new get_partition_values_result(); + receiveBase(result, "get_partition_values"); + 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_partition_values failed: unknown result"); + } + public List get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException { send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts); @@ -7594,6 +7627,38 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } + public void get_partition_values(PartitionValuesRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_partition_values_call method_call = new get_partition_values_call(request, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_partition_values_call extends org.apache.thrift.async.TAsyncMethodCall { + private PartitionValuesRequest request; + public get_partition_values_call(PartitionValuesRequest request, 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.request = request; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_partition_values", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_partition_values_args args = new get_partition_values_args(); + args.setRequest(request); + args.write(prot); + prot.writeMessageEnd(); + } + + public PartitionValuesResponse getResult() throws MetaException, NoSuchObjectException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_get_partition_values(); + } + } + public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_ps_call method_call = new get_partitions_ps_call(db_name, tbl_name, part_vals, max_parts, resultHandler, this, ___protocolFactory, ___transport); @@ -11068,6 +11133,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_partition_values() { + super("get_partition_values"); + } + + public get_partition_values_args getEmptyArgsInstance() { + return new get_partition_values_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_partition_values_result getResult(I iface, get_partition_values_args args) throws org.apache.thrift.TException { + get_partition_values_result result = new get_partition_values_result(); + try { + result.success = iface.get_partition_values(args.request); + } catch (MetaException o1) { + result.o1 = o1; + } catch (NoSuchObjectException o2) { + result.o2 = o2; + } + return result; + } + } + public static class get_partitions_ps extends org.apache.thrift.ProcessFunction { public get_partitions_ps() { super("get_partitions_ps"); @@ -15337,6 +15429,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public get_partition_values() { + super("get_partition_values"); + } + + public get_partition_values_args getEmptyArgsInstance() { + return new get_partition_values_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(PartitionValuesResponse o) { + get_partition_values_result result = new get_partition_values_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_values_result result = new get_partition_values_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_values_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partition_values(args.request,resultHandler); + } + } + public static class get_partitions_ps extends org.apache.thrift.AsyncProcessFunction> { public get_partitions_ps() { super("get_partitions_ps"); @@ -30601,13 +30756,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 _list706 = iprot.readListBegin(); - struct.success = new ArrayList(_list706.size); - String _elem707; - for (int _i708 = 0; _i708 < _list706.size; ++_i708) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.success = new ArrayList(_list738.size); + String _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem707 = iprot.readString(); - struct.success.add(_elem707); + _elem739 = iprot.readString(); + struct.success.add(_elem739); } iprot.readListEnd(); } @@ -30642,9 +30797,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 _iter709 : struct.success) + for (String _iter741 : struct.success) { - oprot.writeString(_iter709); + oprot.writeString(_iter741); } oprot.writeListEnd(); } @@ -30683,9 +30838,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter710 : struct.success) + for (String _iter742 : struct.success) { - oprot.writeString(_iter710); + oprot.writeString(_iter742); } } } @@ -30700,13 +30855,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 _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list711.size); - String _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list743.size); + String _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem712 = iprot.readString(); - struct.success.add(_elem712); + _elem744 = iprot.readString(); + struct.success.add(_elem744); } } struct.setSuccessIsSet(true); @@ -31360,13 +31515,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 _list714 = iprot.readListBegin(); - struct.success = new ArrayList(_list714.size); - String _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.success = new ArrayList(_list746.size); + String _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem715 = iprot.readString(); - struct.success.add(_elem715); + _elem747 = iprot.readString(); + struct.success.add(_elem747); } iprot.readListEnd(); } @@ -31401,9 +31556,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 _iter717 : struct.success) + for (String _iter749 : struct.success) { - oprot.writeString(_iter717); + oprot.writeString(_iter749); } oprot.writeListEnd(); } @@ -31442,9 +31597,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter718 : struct.success) + for (String _iter750 : struct.success) { - oprot.writeString(_iter718); + oprot.writeString(_iter750); } } } @@ -31459,13 +31614,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 _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list719.size); - String _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list751.size); + String _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem720 = iprot.readString(); - struct.success.add(_elem720); + _elem752 = iprot.readString(); + struct.success.add(_elem752); } } struct.setSuccessIsSet(true); @@ -36072,16 +36227,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 _map722 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map722.size); - String _key723; - Type _val724; - for (int _i725 = 0; _i725 < _map722.size; ++_i725) + org.apache.thrift.protocol.TMap _map754 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map754.size); + String _key755; + Type _val756; + for (int _i757 = 0; _i757 < _map754.size; ++_i757) { - _key723 = iprot.readString(); - _val724 = new Type(); - _val724.read(iprot); - struct.success.put(_key723, _val724); + _key755 = iprot.readString(); + _val756 = new Type(); + _val756.read(iprot); + struct.success.put(_key755, _val756); } iprot.readMapEnd(); } @@ -36116,10 +36271,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 _iter726 : struct.success.entrySet()) + for (Map.Entry _iter758 : struct.success.entrySet()) { - oprot.writeString(_iter726.getKey()); - _iter726.getValue().write(oprot); + oprot.writeString(_iter758.getKey()); + _iter758.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -36158,10 +36313,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 _iter727 : struct.success.entrySet()) + for (Map.Entry _iter759 : struct.success.entrySet()) { - oprot.writeString(_iter727.getKey()); - _iter727.getValue().write(oprot); + oprot.writeString(_iter759.getKey()); + _iter759.getValue().write(oprot); } } } @@ -36176,16 +36331,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 _map728 = 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*_map728.size); - String _key729; - Type _val730; - for (int _i731 = 0; _i731 < _map728.size; ++_i731) + org.apache.thrift.protocol.TMap _map760 = 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*_map760.size); + String _key761; + Type _val762; + for (int _i763 = 0; _i763 < _map760.size; ++_i763) { - _key729 = iprot.readString(); - _val730 = new Type(); - _val730.read(iprot); - struct.success.put(_key729, _val730); + _key761 = iprot.readString(); + _val762 = new Type(); + _val762.read(iprot); + struct.success.put(_key761, _val762); } } struct.setSuccessIsSet(true); @@ -37220,14 +37375,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 _list732 = iprot.readListBegin(); - struct.success = new ArrayList(_list732.size); - FieldSchema _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.success = new ArrayList(_list764.size); + FieldSchema _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem733 = new FieldSchema(); - _elem733.read(iprot); - struct.success.add(_elem733); + _elem765 = new FieldSchema(); + _elem765.read(iprot); + struct.success.add(_elem765); } iprot.readListEnd(); } @@ -37280,9 +37435,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 _iter735 : struct.success) + for (FieldSchema _iter767 : struct.success) { - _iter735.write(oprot); + _iter767.write(oprot); } oprot.writeListEnd(); } @@ -37337,9 +37492,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter736 : struct.success) + for (FieldSchema _iter768 : struct.success) { - _iter736.write(oprot); + _iter768.write(oprot); } } } @@ -37360,14 +37515,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 _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list737.size); - FieldSchema _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list769.size); + FieldSchema _elem770; + for (int _i771 = 0; _i771 < _list769.size; ++_i771) { - _elem738 = new FieldSchema(); - _elem738.read(iprot); - struct.success.add(_elem738); + _elem770 = new FieldSchema(); + _elem770.read(iprot); + struct.success.add(_elem770); } } struct.setSuccessIsSet(true); @@ -38521,14 +38676,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 _list740 = iprot.readListBegin(); - struct.success = new ArrayList(_list740.size); - FieldSchema _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.success = new ArrayList(_list772.size); + FieldSchema _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem741 = new FieldSchema(); - _elem741.read(iprot); - struct.success.add(_elem741); + _elem773 = new FieldSchema(); + _elem773.read(iprot); + struct.success.add(_elem773); } iprot.readListEnd(); } @@ -38581,9 +38736,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 _iter743 : struct.success) + for (FieldSchema _iter775 : struct.success) { - _iter743.write(oprot); + _iter775.write(oprot); } oprot.writeListEnd(); } @@ -38638,9 +38793,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter744 : struct.success) + for (FieldSchema _iter776 : struct.success) { - _iter744.write(oprot); + _iter776.write(oprot); } } } @@ -38661,14 +38816,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 _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list745.size); - FieldSchema _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list777.size); + FieldSchema _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem746 = new FieldSchema(); - _elem746.read(iprot); - struct.success.add(_elem746); + _elem778 = new FieldSchema(); + _elem778.read(iprot); + struct.success.add(_elem778); } } struct.setSuccessIsSet(true); @@ -39713,14 +39868,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 _list748 = iprot.readListBegin(); - struct.success = new ArrayList(_list748.size); - FieldSchema _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.success = new ArrayList(_list780.size); + FieldSchema _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem749 = new FieldSchema(); - _elem749.read(iprot); - struct.success.add(_elem749); + _elem781 = new FieldSchema(); + _elem781.read(iprot); + struct.success.add(_elem781); } iprot.readListEnd(); } @@ -39773,9 +39928,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 _iter751 : struct.success) + for (FieldSchema _iter783 : struct.success) { - _iter751.write(oprot); + _iter783.write(oprot); } oprot.writeListEnd(); } @@ -39830,9 +39985,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter752 : struct.success) + for (FieldSchema _iter784 : struct.success) { - _iter752.write(oprot); + _iter784.write(oprot); } } } @@ -39853,14 +40008,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 _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list753.size); - FieldSchema _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list785.size); + FieldSchema _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem754 = new FieldSchema(); - _elem754.read(iprot); - struct.success.add(_elem754); + _elem786 = new FieldSchema(); + _elem786.read(iprot); + struct.success.add(_elem786); } } struct.setSuccessIsSet(true); @@ -41014,14 +41169,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 _list756 = iprot.readListBegin(); - struct.success = new ArrayList(_list756.size); - FieldSchema _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.success = new ArrayList(_list788.size); + FieldSchema _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem757 = new FieldSchema(); - _elem757.read(iprot); - struct.success.add(_elem757); + _elem789 = new FieldSchema(); + _elem789.read(iprot); + struct.success.add(_elem789); } iprot.readListEnd(); } @@ -41074,9 +41229,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 _iter759 : struct.success) + for (FieldSchema _iter791 : struct.success) { - _iter759.write(oprot); + _iter791.write(oprot); } oprot.writeListEnd(); } @@ -41131,9 +41286,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter760 : struct.success) + for (FieldSchema _iter792 : struct.success) { - _iter760.write(oprot); + _iter792.write(oprot); } } } @@ -41154,14 +41309,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 _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list761.size); - FieldSchema _elem762; - for (int _i763 = 0; _i763 < _list761.size; ++_i763) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list793.size); + FieldSchema _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem762 = new FieldSchema(); - _elem762.read(iprot); - struct.success.add(_elem762); + _elem794 = new FieldSchema(); + _elem794.read(iprot); + struct.success.add(_elem794); } } struct.setSuccessIsSet(true); @@ -44088,14 +44243,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 _list764 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list764.size); - SQLPrimaryKey _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list796.size); + SQLPrimaryKey _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem765 = new SQLPrimaryKey(); - _elem765.read(iprot); - struct.primaryKeys.add(_elem765); + _elem797 = new SQLPrimaryKey(); + _elem797.read(iprot); + struct.primaryKeys.add(_elem797); } iprot.readListEnd(); } @@ -44107,14 +44262,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 _list767 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list767.size); - SQLForeignKey _elem768; - for (int _i769 = 0; _i769 < _list767.size; ++_i769) + org.apache.thrift.protocol.TList _list799 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list799.size); + SQLForeignKey _elem800; + for (int _i801 = 0; _i801 < _list799.size; ++_i801) { - _elem768 = new SQLForeignKey(); - _elem768.read(iprot); - struct.foreignKeys.add(_elem768); + _elem800 = new SQLForeignKey(); + _elem800.read(iprot); + struct.foreignKeys.add(_elem800); } iprot.readListEnd(); } @@ -44126,14 +44281,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 _list770 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list770.size); - SQLUniqueConstraint _elem771; - for (int _i772 = 0; _i772 < _list770.size; ++_i772) + org.apache.thrift.protocol.TList _list802 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list802.size); + SQLUniqueConstraint _elem803; + for (int _i804 = 0; _i804 < _list802.size; ++_i804) { - _elem771 = new SQLUniqueConstraint(); - _elem771.read(iprot); - struct.uniqueConstraints.add(_elem771); + _elem803 = new SQLUniqueConstraint(); + _elem803.read(iprot); + struct.uniqueConstraints.add(_elem803); } iprot.readListEnd(); } @@ -44145,14 +44300,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 _list773 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list773.size); - SQLNotNullConstraint _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list805 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list805.size); + SQLNotNullConstraint _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem774 = new SQLNotNullConstraint(); - _elem774.read(iprot); - struct.notNullConstraints.add(_elem774); + _elem806 = new SQLNotNullConstraint(); + _elem806.read(iprot); + struct.notNullConstraints.add(_elem806); } iprot.readListEnd(); } @@ -44183,9 +44338,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 _iter776 : struct.primaryKeys) + for (SQLPrimaryKey _iter808 : struct.primaryKeys) { - _iter776.write(oprot); + _iter808.write(oprot); } oprot.writeListEnd(); } @@ -44195,9 +44350,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 _iter777 : struct.foreignKeys) + for (SQLForeignKey _iter809 : struct.foreignKeys) { - _iter777.write(oprot); + _iter809.write(oprot); } oprot.writeListEnd(); } @@ -44207,9 +44362,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 _iter778 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter810 : struct.uniqueConstraints) { - _iter778.write(oprot); + _iter810.write(oprot); } oprot.writeListEnd(); } @@ -44219,9 +44374,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 _iter779 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter811 : struct.notNullConstraints) { - _iter779.write(oprot); + _iter811.write(oprot); } oprot.writeListEnd(); } @@ -44267,36 +44422,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter780 : struct.primaryKeys) + for (SQLPrimaryKey _iter812 : struct.primaryKeys) { - _iter780.write(oprot); + _iter812.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter781 : struct.foreignKeys) + for (SQLForeignKey _iter813 : struct.foreignKeys) { - _iter781.write(oprot); + _iter813.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter782 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter814 : struct.uniqueConstraints) { - _iter782.write(oprot); + _iter814.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter783 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter815 : struct.notNullConstraints) { - _iter783.write(oprot); + _iter815.write(oprot); } } } @@ -44313,56 +44468,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list784 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list784.size); - SQLPrimaryKey _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list816 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list816.size); + SQLPrimaryKey _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem785 = new SQLPrimaryKey(); - _elem785.read(iprot); - struct.primaryKeys.add(_elem785); + _elem817 = new SQLPrimaryKey(); + _elem817.read(iprot); + struct.primaryKeys.add(_elem817); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list787 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list787.size); - SQLForeignKey _elem788; - for (int _i789 = 0; _i789 < _list787.size; ++_i789) + org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list819.size); + SQLForeignKey _elem820; + for (int _i821 = 0; _i821 < _list819.size; ++_i821) { - _elem788 = new SQLForeignKey(); - _elem788.read(iprot); - struct.foreignKeys.add(_elem788); + _elem820 = new SQLForeignKey(); + _elem820.read(iprot); + struct.foreignKeys.add(_elem820); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list790 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list790.size); - SQLUniqueConstraint _elem791; - for (int _i792 = 0; _i792 < _list790.size; ++_i792) + org.apache.thrift.protocol.TList _list822 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list822.size); + SQLUniqueConstraint _elem823; + for (int _i824 = 0; _i824 < _list822.size; ++_i824) { - _elem791 = new SQLUniqueConstraint(); - _elem791.read(iprot); - struct.uniqueConstraints.add(_elem791); + _elem823 = new SQLUniqueConstraint(); + _elem823.read(iprot); + struct.uniqueConstraints.add(_elem823); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list793.size); - SQLNotNullConstraint _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list825.size); + SQLNotNullConstraint _elem826; + for (int _i827 = 0; _i827 < _list825.size; ++_i827) { - _elem794 = new SQLNotNullConstraint(); - _elem794.read(iprot); - struct.notNullConstraints.add(_elem794); + _elem826 = new SQLNotNullConstraint(); + _elem826.read(iprot); + struct.notNullConstraints.add(_elem826); } } struct.setNotNullConstraintsIsSet(true); @@ -51854,13 +52009,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 _list796 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list796.size); - String _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list828.size); + String _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem797 = iprot.readString(); - struct.partNames.add(_elem797); + _elem829 = iprot.readString(); + struct.partNames.add(_elem829); } iprot.readListEnd(); } @@ -51896,9 +52051,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 _iter799 : struct.partNames) + for (String _iter831 : struct.partNames) { - oprot.writeString(_iter799); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -51941,9 +52096,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter800 : struct.partNames) + for (String _iter832 : struct.partNames) { - oprot.writeString(_iter800); + oprot.writeString(_iter832); } } } @@ -51963,13 +52118,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list801.size); - String _elem802; - for (int _i803 = 0; _i803 < _list801.size; ++_i803) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list833.size); + String _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem802 = iprot.readString(); - struct.partNames.add(_elem802); + _elem834 = iprot.readString(); + struct.partNames.add(_elem834); } } struct.setPartNamesIsSet(true); @@ -53194,13 +53349,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 _list804 = iprot.readListBegin(); - struct.success = new ArrayList(_list804.size); - String _elem805; - for (int _i806 = 0; _i806 < _list804.size; ++_i806) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + struct.success = new ArrayList(_list836.size); + String _elem837; + for (int _i838 = 0; _i838 < _list836.size; ++_i838) { - _elem805 = iprot.readString(); - struct.success.add(_elem805); + _elem837 = iprot.readString(); + struct.success.add(_elem837); } iprot.readListEnd(); } @@ -53235,9 +53390,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 _iter807 : struct.success) + for (String _iter839 : struct.success) { - oprot.writeString(_iter807); + oprot.writeString(_iter839); } oprot.writeListEnd(); } @@ -53276,9 +53431,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter808 : struct.success) + for (String _iter840 : struct.success) { - oprot.writeString(_iter808); + oprot.writeString(_iter840); } } } @@ -53293,13 +53448,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 _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list809.size); - String _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list841.size); + String _elem842; + for (int _i843 = 0; _i843 < _list841.size; ++_i843) { - _elem810 = iprot.readString(); - struct.success.add(_elem810); + _elem842 = iprot.readString(); + struct.success.add(_elem842); } } struct.setSuccessIsSet(true); @@ -54273,13 +54428,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 _list812 = iprot.readListBegin(); - struct.success = new ArrayList(_list812.size); - String _elem813; - for (int _i814 = 0; _i814 < _list812.size; ++_i814) + org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); + struct.success = new ArrayList(_list844.size); + String _elem845; + for (int _i846 = 0; _i846 < _list844.size; ++_i846) { - _elem813 = iprot.readString(); - struct.success.add(_elem813); + _elem845 = iprot.readString(); + struct.success.add(_elem845); } iprot.readListEnd(); } @@ -54314,9 +54469,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 _iter815 : struct.success) + for (String _iter847 : struct.success) { - oprot.writeString(_iter815); + oprot.writeString(_iter847); } oprot.writeListEnd(); } @@ -54355,9 +54510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter816 : struct.success) + for (String _iter848 : struct.success) { - oprot.writeString(_iter816); + oprot.writeString(_iter848); } } } @@ -54372,13 +54527,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 _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list817.size); - String _elem818; - for (int _i819 = 0; _i819 < _list817.size; ++_i819) + org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list849.size); + String _elem850; + for (int _i851 = 0; _i851 < _list849.size; ++_i851) { - _elem818 = iprot.readString(); - struct.success.add(_elem818); + _elem850 = iprot.readString(); + struct.success.add(_elem850); } } struct.setSuccessIsSet(true); @@ -54883,13 +55038,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 _list820 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list820.size); - String _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list852 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list852.size); + String _elem853; + for (int _i854 = 0; _i854 < _list852.size; ++_i854) { - _elem821 = iprot.readString(); - struct.tbl_types.add(_elem821); + _elem853 = iprot.readString(); + struct.tbl_types.add(_elem853); } iprot.readListEnd(); } @@ -54925,9 +55080,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 _iter823 : struct.tbl_types) + for (String _iter855 : struct.tbl_types) { - oprot.writeString(_iter823); + oprot.writeString(_iter855); } oprot.writeListEnd(); } @@ -54970,9 +55125,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 _iter824 : struct.tbl_types) + for (String _iter856 : struct.tbl_types) { - oprot.writeString(_iter824); + oprot.writeString(_iter856); } } } @@ -54992,13 +55147,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list825.size); - String _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list857.size); + String _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem826 = iprot.readString(); - struct.tbl_types.add(_elem826); + _elem858 = iprot.readString(); + struct.tbl_types.add(_elem858); } } struct.setTbl_typesIsSet(true); @@ -55404,14 +55559,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 _list828 = iprot.readListBegin(); - struct.success = new ArrayList(_list828.size); - TableMeta _elem829; - for (int _i830 = 0; _i830 < _list828.size; ++_i830) + org.apache.thrift.protocol.TList _list860 = iprot.readListBegin(); + struct.success = new ArrayList(_list860.size); + TableMeta _elem861; + for (int _i862 = 0; _i862 < _list860.size; ++_i862) { - _elem829 = new TableMeta(); - _elem829.read(iprot); - struct.success.add(_elem829); + _elem861 = new TableMeta(); + _elem861.read(iprot); + struct.success.add(_elem861); } iprot.readListEnd(); } @@ -55446,9 +55601,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 _iter831 : struct.success) + for (TableMeta _iter863 : struct.success) { - _iter831.write(oprot); + _iter863.write(oprot); } oprot.writeListEnd(); } @@ -55487,9 +55642,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter832 : struct.success) + for (TableMeta _iter864 : struct.success) { - _iter832.write(oprot); + _iter864.write(oprot); } } } @@ -55504,14 +55659,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 _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list833.size); - TableMeta _elem834; - for (int _i835 = 0; _i835 < _list833.size; ++_i835) + org.apache.thrift.protocol.TList _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list865.size); + TableMeta _elem866; + for (int _i867 = 0; _i867 < _list865.size; ++_i867) { - _elem834 = new TableMeta(); - _elem834.read(iprot); - struct.success.add(_elem834); + _elem866 = new TableMeta(); + _elem866.read(iprot); + struct.success.add(_elem866); } } struct.setSuccessIsSet(true); @@ -56277,13 +56432,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 _list836 = iprot.readListBegin(); - struct.success = new ArrayList(_list836.size); - String _elem837; - for (int _i838 = 0; _i838 < _list836.size; ++_i838) + org.apache.thrift.protocol.TList _list868 = iprot.readListBegin(); + struct.success = new ArrayList(_list868.size); + String _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem837 = iprot.readString(); - struct.success.add(_elem837); + _elem869 = iprot.readString(); + struct.success.add(_elem869); } iprot.readListEnd(); } @@ -56318,9 +56473,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 _iter839 : struct.success) + for (String _iter871 : struct.success) { - oprot.writeString(_iter839); + oprot.writeString(_iter871); } oprot.writeListEnd(); } @@ -56359,9 +56514,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter840 : struct.success) + for (String _iter872 : struct.success) { - oprot.writeString(_iter840); + oprot.writeString(_iter872); } } } @@ -56376,13 +56531,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 _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list841.size); - String _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list873.size); + String _elem874; + for (int _i875 = 0; _i875 < _list873.size; ++_i875) { - _elem842 = iprot.readString(); - struct.success.add(_elem842); + _elem874 = iprot.readString(); + struct.success.add(_elem874); } } struct.setSuccessIsSet(true); @@ -57835,13 +57990,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 _list844 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list844.size); - String _elem845; - for (int _i846 = 0; _i846 < _list844.size; ++_i846) + org.apache.thrift.protocol.TList _list876 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list876.size); + String _elem877; + for (int _i878 = 0; _i878 < _list876.size; ++_i878) { - _elem845 = iprot.readString(); - struct.tbl_names.add(_elem845); + _elem877 = iprot.readString(); + struct.tbl_names.add(_elem877); } iprot.readListEnd(); } @@ -57872,9 +58027,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 _iter847 : struct.tbl_names) + for (String _iter879 : struct.tbl_names) { - oprot.writeString(_iter847); + oprot.writeString(_iter879); } oprot.writeListEnd(); } @@ -57911,9 +58066,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 _iter848 : struct.tbl_names) + for (String _iter880 : struct.tbl_names) { - oprot.writeString(_iter848); + oprot.writeString(_iter880); } } } @@ -57929,13 +58084,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list849.size); - String _elem850; - for (int _i851 = 0; _i851 < _list849.size; ++_i851) + org.apache.thrift.protocol.TList _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list881.size); + String _elem882; + for (int _i883 = 0; _i883 < _list881.size; ++_i883) { - _elem850 = iprot.readString(); - struct.tbl_names.add(_elem850); + _elem882 = iprot.readString(); + struct.tbl_names.add(_elem882); } } struct.setTbl_namesIsSet(true); @@ -58260,14 +58415,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 _list852 = iprot.readListBegin(); - struct.success = new ArrayList
(_list852.size); - Table _elem853; - for (int _i854 = 0; _i854 < _list852.size; ++_i854) + org.apache.thrift.protocol.TList _list884 = iprot.readListBegin(); + struct.success = new ArrayList
(_list884.size); + Table _elem885; + for (int _i886 = 0; _i886 < _list884.size; ++_i886) { - _elem853 = new Table(); - _elem853.read(iprot); - struct.success.add(_elem853); + _elem885 = new Table(); + _elem885.read(iprot); + struct.success.add(_elem885); } iprot.readListEnd(); } @@ -58293,9 +58448,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 _iter855 : struct.success) + for (Table _iter887 : struct.success) { - _iter855.write(oprot); + _iter887.write(oprot); } oprot.writeListEnd(); } @@ -58326,9 +58481,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter856 : struct.success) + for (Table _iter888 : struct.success) { - _iter856.write(oprot); + _iter888.write(oprot); } } } @@ -58340,14 +58495,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 _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list857.size); - Table _elem858; - for (int _i859 = 0; _i859 < _list857.size; ++_i859) + org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list889.size); + Table _elem890; + for (int _i891 = 0; _i891 < _list889.size; ++_i891) { - _elem858 = new Table(); - _elem858.read(iprot); - struct.success.add(_elem858); + _elem890 = new Table(); + _elem890.read(iprot); + struct.success.add(_elem890); } } struct.setSuccessIsSet(true); @@ -61460,13 +61615,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 _list860 = iprot.readListBegin(); - struct.success = new ArrayList(_list860.size); - String _elem861; - for (int _i862 = 0; _i862 < _list860.size; ++_i862) + org.apache.thrift.protocol.TList _list892 = iprot.readListBegin(); + struct.success = new ArrayList(_list892.size); + String _elem893; + for (int _i894 = 0; _i894 < _list892.size; ++_i894) { - _elem861 = iprot.readString(); - struct.success.add(_elem861); + _elem893 = iprot.readString(); + struct.success.add(_elem893); } iprot.readListEnd(); } @@ -61519,9 +61674,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 _iter863 : struct.success) + for (String _iter895 : struct.success) { - oprot.writeString(_iter863); + oprot.writeString(_iter895); } oprot.writeListEnd(); } @@ -61576,9 +61731,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter864 : struct.success) + for (String _iter896 : struct.success) { - oprot.writeString(_iter864); + oprot.writeString(_iter896); } } } @@ -61599,13 +61754,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 _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list865.size); - String _elem866; - for (int _i867 = 0; _i867 < _list865.size; ++_i867) + org.apache.thrift.protocol.TList _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list897.size); + String _elem898; + for (int _i899 = 0; _i899 < _list897.size; ++_i899) { - _elem866 = iprot.readString(); - struct.success.add(_elem866); + _elem898 = iprot.readString(); + struct.success.add(_elem898); } } struct.setSuccessIsSet(true); @@ -67464,14 +67619,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 _list868 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list868.size); - Partition _elem869; - for (int _i870 = 0; _i870 < _list868.size; ++_i870) + org.apache.thrift.protocol.TList _list900 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list900.size); + Partition _elem901; + for (int _i902 = 0; _i902 < _list900.size; ++_i902) { - _elem869 = new Partition(); - _elem869.read(iprot); - struct.new_parts.add(_elem869); + _elem901 = new Partition(); + _elem901.read(iprot); + struct.new_parts.add(_elem901); } iprot.readListEnd(); } @@ -67497,9 +67652,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 _iter871 : struct.new_parts) + for (Partition _iter903 : struct.new_parts) { - _iter871.write(oprot); + _iter903.write(oprot); } oprot.writeListEnd(); } @@ -67530,9 +67685,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 _iter872 : struct.new_parts) + for (Partition _iter904 : struct.new_parts) { - _iter872.write(oprot); + _iter904.write(oprot); } } } @@ -67544,14 +67699,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 _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list873.size); - Partition _elem874; - for (int _i875 = 0; _i875 < _list873.size; ++_i875) + org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list905.size); + Partition _elem906; + for (int _i907 = 0; _i907 < _list905.size; ++_i907) { - _elem874 = new Partition(); - _elem874.read(iprot); - struct.new_parts.add(_elem874); + _elem906 = new Partition(); + _elem906.read(iprot); + struct.new_parts.add(_elem906); } } struct.setNew_partsIsSet(true); @@ -68552,14 +68707,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 _list876 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list876.size); - PartitionSpec _elem877; - for (int _i878 = 0; _i878 < _list876.size; ++_i878) + org.apache.thrift.protocol.TList _list908 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list908.size); + PartitionSpec _elem909; + for (int _i910 = 0; _i910 < _list908.size; ++_i910) { - _elem877 = new PartitionSpec(); - _elem877.read(iprot); - struct.new_parts.add(_elem877); + _elem909 = new PartitionSpec(); + _elem909.read(iprot); + struct.new_parts.add(_elem909); } iprot.readListEnd(); } @@ -68585,9 +68740,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 _iter879 : struct.new_parts) + for (PartitionSpec _iter911 : struct.new_parts) { - _iter879.write(oprot); + _iter911.write(oprot); } oprot.writeListEnd(); } @@ -68618,9 +68773,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 _iter880 : struct.new_parts) + for (PartitionSpec _iter912 : struct.new_parts) { - _iter880.write(oprot); + _iter912.write(oprot); } } } @@ -68632,14 +68787,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 _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list881.size); - PartitionSpec _elem882; - for (int _i883 = 0; _i883 < _list881.size; ++_i883) + org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list913.size); + PartitionSpec _elem914; + for (int _i915 = 0; _i915 < _list913.size; ++_i915) { - _elem882 = new PartitionSpec(); - _elem882.read(iprot); - struct.new_parts.add(_elem882); + _elem914 = new PartitionSpec(); + _elem914.read(iprot); + struct.new_parts.add(_elem914); } } struct.setNew_partsIsSet(true); @@ -69815,13 +69970,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 _list884 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list884.size); - String _elem885; - for (int _i886 = 0; _i886 < _list884.size; ++_i886) + org.apache.thrift.protocol.TList _list916 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list916.size); + String _elem917; + for (int _i918 = 0; _i918 < _list916.size; ++_i918) { - _elem885 = iprot.readString(); - struct.part_vals.add(_elem885); + _elem917 = iprot.readString(); + struct.part_vals.add(_elem917); } iprot.readListEnd(); } @@ -69857,9 +70012,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 _iter887 : struct.part_vals) + for (String _iter919 : struct.part_vals) { - oprot.writeString(_iter887); + oprot.writeString(_iter919); } oprot.writeListEnd(); } @@ -69902,9 +70057,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 _iter888 : struct.part_vals) + for (String _iter920 : struct.part_vals) { - oprot.writeString(_iter888); + oprot.writeString(_iter920); } } } @@ -69924,13 +70079,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list889.size); - String _elem890; - for (int _i891 = 0; _i891 < _list889.size; ++_i891) + org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list921.size); + String _elem922; + for (int _i923 = 0; _i923 < _list921.size; ++_i923) { - _elem890 = iprot.readString(); - struct.part_vals.add(_elem890); + _elem922 = iprot.readString(); + struct.part_vals.add(_elem922); } } struct.setPart_valsIsSet(true); @@ -72239,13 +72394,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 _list892 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list892.size); - String _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list924 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list924.size); + String _elem925; + for (int _i926 = 0; _i926 < _list924.size; ++_i926) { - _elem893 = iprot.readString(); - struct.part_vals.add(_elem893); + _elem925 = iprot.readString(); + struct.part_vals.add(_elem925); } iprot.readListEnd(); } @@ -72290,9 +72445,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 _iter895 : struct.part_vals) + for (String _iter927 : struct.part_vals) { - oprot.writeString(_iter895); + oprot.writeString(_iter927); } oprot.writeListEnd(); } @@ -72343,9 +72498,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 _iter896 : struct.part_vals) + for (String _iter928 : struct.part_vals) { - oprot.writeString(_iter896); + oprot.writeString(_iter928); } } } @@ -72368,13 +72523,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list897.size); - String _elem898; - for (int _i899 = 0; _i899 < _list897.size; ++_i899) + org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list929.size); + String _elem930; + for (int _i931 = 0; _i931 < _list929.size; ++_i931) { - _elem898 = iprot.readString(); - struct.part_vals.add(_elem898); + _elem930 = iprot.readString(); + struct.part_vals.add(_elem930); } } struct.setPart_valsIsSet(true); @@ -76244,13 +76399,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 _list900 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list900.size); - String _elem901; - for (int _i902 = 0; _i902 < _list900.size; ++_i902) + org.apache.thrift.protocol.TList _list932 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list932.size); + String _elem933; + for (int _i934 = 0; _i934 < _list932.size; ++_i934) { - _elem901 = iprot.readString(); - struct.part_vals.add(_elem901); + _elem933 = iprot.readString(); + struct.part_vals.add(_elem933); } iprot.readListEnd(); } @@ -76294,9 +76449,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 _iter903 : struct.part_vals) + for (String _iter935 : struct.part_vals) { - oprot.writeString(_iter903); + oprot.writeString(_iter935); } oprot.writeListEnd(); } @@ -76345,9 +76500,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 _iter904 : struct.part_vals) + for (String _iter936 : struct.part_vals) { - oprot.writeString(_iter904); + oprot.writeString(_iter936); } } } @@ -76370,13 +76525,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list905.size); - String _elem906; - for (int _i907 = 0; _i907 < _list905.size; ++_i907) + org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list937.size); + String _elem938; + for (int _i939 = 0; _i939 < _list937.size; ++_i939) { - _elem906 = iprot.readString(); - struct.part_vals.add(_elem906); + _elem938 = iprot.readString(); + struct.part_vals.add(_elem938); } } struct.setPart_valsIsSet(true); @@ -77615,13 +77770,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 _list908 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list908.size); - String _elem909; - for (int _i910 = 0; _i910 < _list908.size; ++_i910) + org.apache.thrift.protocol.TList _list940 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list940.size); + String _elem941; + for (int _i942 = 0; _i942 < _list940.size; ++_i942) { - _elem909 = iprot.readString(); - struct.part_vals.add(_elem909); + _elem941 = iprot.readString(); + struct.part_vals.add(_elem941); } iprot.readListEnd(); } @@ -77674,9 +77829,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 _iter911 : struct.part_vals) + for (String _iter943 : struct.part_vals) { - oprot.writeString(_iter911); + oprot.writeString(_iter943); } oprot.writeListEnd(); } @@ -77733,9 +77888,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 _iter912 : struct.part_vals) + for (String _iter944 : struct.part_vals) { - oprot.writeString(_iter912); + oprot.writeString(_iter944); } } } @@ -77761,13 +77916,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list913.size); - String _elem914; - for (int _i915 = 0; _i915 < _list913.size; ++_i915) + org.apache.thrift.protocol.TList _list945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list945.size); + String _elem946; + for (int _i947 = 0; _i947 < _list945.size; ++_i947) { - _elem914 = iprot.readString(); - struct.part_vals.add(_elem914); + _elem946 = iprot.readString(); + struct.part_vals.add(_elem946); } } struct.setPart_valsIsSet(true); @@ -82369,13 +82524,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 _list916 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list916.size); - String _elem917; - for (int _i918 = 0; _i918 < _list916.size; ++_i918) + org.apache.thrift.protocol.TList _list948 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list948.size); + String _elem949; + for (int _i950 = 0; _i950 < _list948.size; ++_i950) { - _elem917 = iprot.readString(); - struct.part_vals.add(_elem917); + _elem949 = iprot.readString(); + struct.part_vals.add(_elem949); } iprot.readListEnd(); } @@ -82411,9 +82566,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 _iter919 : struct.part_vals) + for (String _iter951 : struct.part_vals) { - oprot.writeString(_iter919); + oprot.writeString(_iter951); } oprot.writeListEnd(); } @@ -82456,9 +82611,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 _iter920 : struct.part_vals) + for (String _iter952 : struct.part_vals) { - oprot.writeString(_iter920); + oprot.writeString(_iter952); } } } @@ -82478,13 +82633,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list921.size); - String _elem922; - for (int _i923 = 0; _i923 < _list921.size; ++_i923) + org.apache.thrift.protocol.TList _list953 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list953.size); + String _elem954; + for (int _i955 = 0; _i955 < _list953.size; ++_i955) { - _elem922 = iprot.readString(); - struct.part_vals.add(_elem922); + _elem954 = iprot.readString(); + struct.part_vals.add(_elem954); } } struct.setPart_valsIsSet(true); @@ -83702,15 +83857,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 _map924 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map924.size); - String _key925; - String _val926; - for (int _i927 = 0; _i927 < _map924.size; ++_i927) + org.apache.thrift.protocol.TMap _map956 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map956.size); + String _key957; + String _val958; + for (int _i959 = 0; _i959 < _map956.size; ++_i959) { - _key925 = iprot.readString(); - _val926 = iprot.readString(); - struct.partitionSpecs.put(_key925, _val926); + _key957 = iprot.readString(); + _val958 = iprot.readString(); + struct.partitionSpecs.put(_key957, _val958); } iprot.readMapEnd(); } @@ -83768,10 +83923,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 _iter928 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter960 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter928.getKey()); - oprot.writeString(_iter928.getValue()); + oprot.writeString(_iter960.getKey()); + oprot.writeString(_iter960.getValue()); } oprot.writeMapEnd(); } @@ -83834,10 +83989,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter929 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter961 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter929.getKey()); - oprot.writeString(_iter929.getValue()); + oprot.writeString(_iter961.getKey()); + oprot.writeString(_iter961.getValue()); } } } @@ -83861,15 +84016,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 _map930 = 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*_map930.size); - String _key931; - String _val932; - for (int _i933 = 0; _i933 < _map930.size; ++_i933) + org.apache.thrift.protocol.TMap _map962 = 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*_map962.size); + String _key963; + String _val964; + for (int _i965 = 0; _i965 < _map962.size; ++_i965) { - _key931 = iprot.readString(); - _val932 = iprot.readString(); - struct.partitionSpecs.put(_key931, _val932); + _key963 = iprot.readString(); + _val964 = iprot.readString(); + struct.partitionSpecs.put(_key963, _val964); } } struct.setPartitionSpecsIsSet(true); @@ -85315,15 +85470,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 _map934 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map934.size); - String _key935; - String _val936; - for (int _i937 = 0; _i937 < _map934.size; ++_i937) + org.apache.thrift.protocol.TMap _map966 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map966.size); + String _key967; + String _val968; + for (int _i969 = 0; _i969 < _map966.size; ++_i969) { - _key935 = iprot.readString(); - _val936 = iprot.readString(); - struct.partitionSpecs.put(_key935, _val936); + _key967 = iprot.readString(); + _val968 = iprot.readString(); + struct.partitionSpecs.put(_key967, _val968); } iprot.readMapEnd(); } @@ -85381,10 +85536,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 _iter938 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter970 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter938.getKey()); - oprot.writeString(_iter938.getValue()); + oprot.writeString(_iter970.getKey()); + oprot.writeString(_iter970.getValue()); } oprot.writeMapEnd(); } @@ -85447,10 +85602,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter939 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter971 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter939.getKey()); - oprot.writeString(_iter939.getValue()); + oprot.writeString(_iter971.getKey()); + oprot.writeString(_iter971.getValue()); } } } @@ -85474,15 +85629,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 _map940 = 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*_map940.size); - String _key941; - String _val942; - for (int _i943 = 0; _i943 < _map940.size; ++_i943) + org.apache.thrift.protocol.TMap _map972 = 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*_map972.size); + String _key973; + String _val974; + for (int _i975 = 0; _i975 < _map972.size; ++_i975) { - _key941 = iprot.readString(); - _val942 = iprot.readString(); - struct.partitionSpecs.put(_key941, _val942); + _key973 = iprot.readString(); + _val974 = iprot.readString(); + struct.partitionSpecs.put(_key973, _val974); } } struct.setPartitionSpecsIsSet(true); @@ -86147,14 +86302,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 _list944 = iprot.readListBegin(); - struct.success = new ArrayList(_list944.size); - Partition _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.success = new ArrayList(_list976.size); + Partition _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem945 = new Partition(); - _elem945.read(iprot); - struct.success.add(_elem945); + _elem977 = new Partition(); + _elem977.read(iprot); + struct.success.add(_elem977); } iprot.readListEnd(); } @@ -86216,9 +86371,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 _iter947 : struct.success) + for (Partition _iter979 : struct.success) { - _iter947.write(oprot); + _iter979.write(oprot); } oprot.writeListEnd(); } @@ -86281,9 +86436,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter948 : struct.success) + for (Partition _iter980 : struct.success) { - _iter948.write(oprot); + _iter980.write(oprot); } } } @@ -86307,14 +86462,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 _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list949.size); - Partition _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list981.size); + Partition _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem950 = new Partition(); - _elem950.read(iprot); - struct.success.add(_elem950); + _elem982 = new Partition(); + _elem982.read(iprot); + struct.success.add(_elem982); } } struct.setSuccessIsSet(true); @@ -86555,102 +86710,1443 @@ public void setTbl_nameIsSet(boolean value) { } } - public int getPart_valsSize() { - return (this.part_vals == null) ? 0 : this.part_vals.size(); - } - - public java.util.Iterator getPart_valsIterator() { - return (this.part_vals == null) ? null : this.part_vals.iterator(); - } - - public void addToPart_vals(String elem) { - if (this.part_vals == null) { - this.part_vals = new ArrayList(); - } - this.part_vals.add(elem); - } - - public List getPart_vals() { - return this.part_vals; - } - - public void setPart_vals(List part_vals) { - this.part_vals = part_vals; - } - - public void unsetPart_vals() { - this.part_vals = null; - } - - /** Returns true if field part_vals is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_vals() { - return this.part_vals != null; - } - - public void setPart_valsIsSet(boolean value) { - if (!value) { - this.part_vals = null; - } - } - - public String getUser_name() { - return this.user_name; - } - - public void setUser_name(String user_name) { - this.user_name = user_name; - } - - public void unsetUser_name() { - this.user_name = null; - } - - /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ - public boolean isSetUser_name() { - return this.user_name != null; - } - - public void setUser_nameIsSet(boolean value) { - if (!value) { - this.user_name = null; - } - } - - public int getGroup_namesSize() { - return (this.group_names == null) ? 0 : this.group_names.size(); - } - - public java.util.Iterator getGroup_namesIterator() { - return (this.group_names == null) ? null : this.group_names.iterator(); - } - - public void addToGroup_names(String elem) { - if (this.group_names == null) { - this.group_names = new ArrayList(); - } - this.group_names.add(elem); - } - - public List getGroup_names() { - return this.group_names; + public int getPart_valsSize() { + return (this.part_vals == null) ? 0 : this.part_vals.size(); + } + + public java.util.Iterator getPart_valsIterator() { + return (this.part_vals == null) ? null : this.part_vals.iterator(); + } + + public void addToPart_vals(String elem) { + if (this.part_vals == null) { + this.part_vals = new ArrayList(); + } + this.part_vals.add(elem); + } + + public List getPart_vals() { + return this.part_vals; + } + + public void setPart_vals(List part_vals) { + this.part_vals = part_vals; + } + + public void unsetPart_vals() { + this.part_vals = null; + } + + /** Returns true if field part_vals is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_vals() { + return this.part_vals != null; + } + + public void setPart_valsIsSet(boolean value) { + if (!value) { + this.part_vals = null; + } + } + + public String getUser_name() { + return this.user_name; + } + + public void setUser_name(String user_name) { + this.user_name = user_name; + } + + public void unsetUser_name() { + this.user_name = null; + } + + /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ + public boolean isSetUser_name() { + return this.user_name != null; + } + + public void setUser_nameIsSet(boolean value) { + if (!value) { + this.user_name = null; + } + } + + public int getGroup_namesSize() { + return (this.group_names == null) ? 0 : this.group_names.size(); + } + + public java.util.Iterator getGroup_namesIterator() { + return (this.group_names == null) ? null : this.group_names.iterator(); + } + + public void addToGroup_names(String elem) { + if (this.group_names == null) { + this.group_names = new ArrayList(); + } + this.group_names.add(elem); + } + + public List getGroup_names() { + return this.group_names; + } + + public void setGroup_names(List group_names) { + this.group_names = group_names; + } + + public void unsetGroup_names() { + this.group_names = null; + } + + /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ + public boolean isSetGroup_names() { + return this.group_names != null; + } + + public void setGroup_namesIsSet(boolean value) { + if (!value) { + this.group_names = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDb_name(); + } else { + setDb_name((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTbl_name(); + } else { + setTbl_name((String)value); + } + break; + + case PART_VALS: + if (value == null) { + unsetPart_vals(); + } else { + setPart_vals((List)value); + } + break; + + case USER_NAME: + if (value == null) { + unsetUser_name(); + } else { + setUser_name((String)value); + } + break; + + case GROUP_NAMES: + if (value == null) { + unsetGroup_names(); + } else { + setGroup_names((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDb_name(); + + case TBL_NAME: + return getTbl_name(); + + case PART_VALS: + return getPart_vals(); + + case USER_NAME: + return getUser_name(); + + case GROUP_NAMES: + return getGroup_names(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case PART_VALS: + return isSetPart_vals(); + case USER_NAME: + return isSetUser_name(); + case GROUP_NAMES: + return isSetGroup_names(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_partition_with_auth_args) + return this.equals((get_partition_with_auth_args)that); + return false; + } + + public boolean equals(get_partition_with_auth_args that) { + if (that == null) + return false; + + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) + return false; + if (!this.db_name.equals(that.db_name)) + return false; + } + + boolean this_present_tbl_name = true && this.isSetTbl_name(); + boolean that_present_tbl_name = true && that.isSetTbl_name(); + if (this_present_tbl_name || that_present_tbl_name) { + if (!(this_present_tbl_name && that_present_tbl_name)) + return false; + if (!this.tbl_name.equals(that.tbl_name)) + return false; + } + + boolean this_present_part_vals = true && this.isSetPart_vals(); + boolean that_present_part_vals = true && that.isSetPart_vals(); + if (this_present_part_vals || that_present_part_vals) { + if (!(this_present_part_vals && that_present_part_vals)) + return false; + if (!this.part_vals.equals(that.part_vals)) + return false; + } + + boolean this_present_user_name = true && this.isSetUser_name(); + boolean that_present_user_name = true && that.isSetUser_name(); + if (this_present_user_name || that_present_user_name) { + if (!(this_present_user_name && that_present_user_name)) + return false; + if (!this.user_name.equals(that.user_name)) + return false; + } + + boolean this_present_group_names = true && this.isSetGroup_names(); + boolean that_present_group_names = true && that.isSetGroup_names(); + if (this_present_group_names || that_present_group_names) { + if (!(this_present_group_names && that_present_group_names)) + return false; + if (!this.group_names.equals(that.group_names)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); + + boolean present_tbl_name = true && (isSetTbl_name()); + list.add(present_tbl_name); + if (present_tbl_name) + list.add(tbl_name); + + boolean present_part_vals = true && (isSetPart_vals()); + list.add(present_part_vals); + if (present_part_vals) + list.add(part_vals); + + boolean present_user_name = true && (isSetUser_name()); + list.add(present_user_name); + if (present_user_name) + list.add(user_name); + + boolean present_group_names = true && (isSetGroup_names()); + list.add(present_group_names); + if (present_group_names) + list.add(group_names); + + return list.hashCode(); + } + + @Override + public int compareTo(get_partition_with_auth_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPart_vals()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetUser_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetGroup_names()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_partition_with_auth_args("); + boolean first = true; + + sb.append("db_name:"); + if (this.db_name == null) { + sb.append("null"); + } else { + sb.append(this.db_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_name:"); + if (this.tbl_name == null) { + sb.append("null"); + } else { + sb.append(this.tbl_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("part_vals:"); + if (this.part_vals == null) { + sb.append("null"); + } else { + sb.append(this.part_vals); + } + first = false; + if (!first) sb.append(", "); + sb.append("user_name:"); + if (this.user_name == null) { + sb.append("null"); + } else { + sb.append(this.user_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("group_names:"); + if (this.group_names == null) { + sb.append("null"); + } else { + sb.append(this.group_names); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_partition_with_auth_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_with_auth_argsStandardScheme getScheme() { + return new get_partition_with_auth_argsStandardScheme(); + } + } + + private static class get_partition_with_auth_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PART_VALS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list984.size); + String _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) + { + _elem985 = iprot.readString(); + struct.part_vals.add(_elem985); + } + iprot.readListEnd(); + } + struct.setPart_valsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // USER_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // GROUP_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list987 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list987.size); + String _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) + { + _elem988 = iprot.readString(); + struct.group_names.add(_elem988); + } + iprot.readListEnd(); + } + struct.setGroup_namesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); + oprot.writeFieldEnd(); + } + if (struct.tbl_name != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tbl_name); + oprot.writeFieldEnd(); + } + if (struct.part_vals != null) { + 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 _iter990 : struct.part_vals) + { + oprot.writeString(_iter990); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.user_name != null) { + oprot.writeFieldBegin(USER_NAME_FIELD_DESC); + oprot.writeString(struct.user_name); + oprot.writeFieldEnd(); + } + if (struct.group_names != null) { + 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 _iter991 : struct.group_names) + { + oprot.writeString(_iter991); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_partition_with_auth_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_with_auth_argsTupleScheme getScheme() { + return new get_partition_with_auth_argsTupleScheme(); + } + } + + private static class get_partition_with_auth_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetDb_name()) { + optionals.set(0); + } + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetPart_vals()) { + optionals.set(2); + } + if (struct.isSetUser_name()) { + optionals.set(3); + } + if (struct.isSetGroup_names()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); + } + if (struct.isSetPart_vals()) { + { + oprot.writeI32(struct.part_vals.size()); + for (String _iter992 : struct.part_vals) + { + oprot.writeString(_iter992); + } + } + } + if (struct.isSetUser_name()) { + oprot.writeString(struct.user_name); + } + if (struct.isSetGroup_names()) { + { + oprot.writeI32(struct.group_names.size()); + for (String _iter993 : struct.group_names) + { + oprot.writeString(_iter993); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } + if (incoming.get(1)) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list994 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) + { + _elem995 = iprot.readString(); + struct.part_vals.add(_elem995); + } + } + struct.setPart_valsIsSet(true); + } + if (incoming.get(3)) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } + if (incoming.get(4)) { + { + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list997.size); + String _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) + { + _elem998 = iprot.readString(); + struct.group_names.add(_elem998); + } + } + struct.setGroup_namesIsSet(true); + } + } + } + + } + + public static class get_partition_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_with_auth_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_partition_with_auth_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_with_auth_resultTupleSchemeFactory()); + } + + private Partition success; // required + private MetaException o1; // required + private NoSuchObjectException 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"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // O1 + return O1; + case 2: // O2 + return O2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.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_partition_with_auth_result.class, metaDataMap); + } + + public get_partition_with_auth_result() { + } + + public get_partition_with_auth_result( + Partition success, + MetaException o1, + NoSuchObjectException o2) + { + this(); + this.success = success; + this.o1 = o1; + this.o2 = o2; + } + + /** + * Performs a deep copy on other. + */ + public get_partition_with_auth_result(get_partition_with_auth_result other) { + if (other.isSetSuccess()) { + this.success = new Partition(other.success); + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new NoSuchObjectException(other.o2); + } + } + + public get_partition_with_auth_result deepCopy() { + return new get_partition_with_auth_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + this.o2 = null; + } + + public Partition getSuccess() { + return this.success; + } + + public void setSuccess(Partition success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public MetaException getO1() { + return this.o1; + } + + public void setO1(MetaException 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 NoSuchObjectException getO2() { + return this.o2; + } + + public void setO2(NoSuchObjectException 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: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Partition)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((NoSuchObjectException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + case O2: + return getO2(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case O1: + return isSetO1(); + case O2: + return isSetO2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_partition_with_auth_result) + return this.equals((get_partition_with_auth_result)that); + return false; + } + + public boolean equals(get_partition_with_auth_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + 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; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + + return list.hashCode(); + } + + @Override + public int compareTo(get_partition_with_auth_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + 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; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_partition_with_auth_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } 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(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_partition_with_auth_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_with_auth_resultStandardScheme getScheme() { + return new get_partition_with_auth_resultStandardScheme(); + } + } + + private static class get_partition_with_auth_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new Partition(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new MetaException(); + 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 NoSuchObjectException(); + 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); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_partition_with_auth_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_with_auth_resultTupleScheme getScheme() { + return new get_partition_with_auth_resultTupleScheme(); + } + } + + private static class get_partition_with_auth_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + 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_partition_with_auth_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = new Partition(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(2)) { + struct.o2 = new NoSuchObjectException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } + } + } + + } + + public static class get_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_args"); + + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_partition_by_name_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_by_name_argsTupleSchemeFactory()); + } + + private String db_name; // required + private String tbl_name; // required + private String part_name; // 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 { + DB_NAME((short)1, "db_name"), + TBL_NAME((short)2, "tbl_name"), + PART_NAME((short)3, "part_name"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // PART_NAME + return PART_NAME; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", 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_partition_by_name_args.class, metaDataMap); + } + + public get_partition_by_name_args() { + } + + public get_partition_by_name_args( + String db_name, + String tbl_name, + String part_name) + { + this(); + this.db_name = db_name; + this.tbl_name = tbl_name; + this.part_name = part_name; + } + + /** + * Performs a deep copy on other. + */ + public get_partition_by_name_args(get_partition_by_name_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetTbl_name()) { + this.tbl_name = other.tbl_name; + } + if (other.isSetPart_name()) { + this.part_name = other.part_name; + } + } + + public get_partition_by_name_args deepCopy() { + return new get_partition_by_name_args(this); + } + + @Override + public void clear() { + this.db_name = null; + this.tbl_name = null; + this.part_name = null; + } + + public String getDb_name() { + return this.db_name; + } + + public void setDb_name(String db_name) { + this.db_name = db_name; + } + + public void unsetDb_name() { + this.db_name = null; + } + + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; + } + + public void setDb_nameIsSet(boolean value) { + if (!value) { + this.db_name = null; + } + } + + public String getTbl_name() { + return this.tbl_name; + } + + public void setTbl_name(String tbl_name) { + this.tbl_name = tbl_name; + } + + public void unsetTbl_name() { + this.tbl_name = null; + } + + /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_name() { + return this.tbl_name != null; + } + + public void setTbl_nameIsSet(boolean value) { + if (!value) { + this.tbl_name = null; + } + } + + public String getPart_name() { + return this.part_name; } - public void setGroup_names(List group_names) { - this.group_names = group_names; + public void setPart_name(String part_name) { + this.part_name = part_name; } - public void unsetGroup_names() { - this.group_names = null; + public void unsetPart_name() { + this.part_name = null; } - /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ - public boolean isSetGroup_names() { - return this.group_names != null; + /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_name() { + return this.part_name != null; } - public void setGroup_namesIsSet(boolean value) { + public void setPart_nameIsSet(boolean value) { if (!value) { - this.group_names = null; + this.part_name = null; } } @@ -86672,27 +88168,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case PART_VALS: - if (value == null) { - unsetPart_vals(); - } else { - setPart_vals((List)value); - } - break; - - case USER_NAME: - if (value == null) { - unsetUser_name(); - } else { - setUser_name((String)value); - } - break; - - case GROUP_NAMES: + case PART_NAME: if (value == null) { - unsetGroup_names(); + unsetPart_name(); } else { - setGroup_names((List)value); + setPart_name((String)value); } break; @@ -86707,14 +88187,8 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); - case PART_VALS: - return getPart_vals(); - - case USER_NAME: - return getUser_name(); - - case GROUP_NAMES: - return getGroup_names(); + case PART_NAME: + return getPart_name(); } throw new IllegalStateException(); @@ -86731,12 +88205,8 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); - case PART_VALS: - return isSetPart_vals(); - case USER_NAME: - return isSetUser_name(); - case GROUP_NAMES: - return isSetGroup_names(); + case PART_NAME: + return isSetPart_name(); } throw new IllegalStateException(); } @@ -86745,12 +88215,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_with_auth_args) - return this.equals((get_partition_with_auth_args)that); + if (that instanceof get_partition_by_name_args) + return this.equals((get_partition_by_name_args)that); return false; } - public boolean equals(get_partition_with_auth_args that) { + public boolean equals(get_partition_by_name_args that) { if (that == null) return false; @@ -86772,30 +88242,12 @@ public boolean equals(get_partition_with_auth_args that) { return false; } - boolean this_present_part_vals = true && this.isSetPart_vals(); - boolean that_present_part_vals = true && that.isSetPart_vals(); - if (this_present_part_vals || that_present_part_vals) { - if (!(this_present_part_vals && that_present_part_vals)) - return false; - if (!this.part_vals.equals(that.part_vals)) - return false; - } - - boolean this_present_user_name = true && this.isSetUser_name(); - boolean that_present_user_name = true && that.isSetUser_name(); - if (this_present_user_name || that_present_user_name) { - if (!(this_present_user_name && that_present_user_name)) - return false; - if (!this.user_name.equals(that.user_name)) - return false; - } - - boolean this_present_group_names = true && this.isSetGroup_names(); - boolean that_present_group_names = true && that.isSetGroup_names(); - if (this_present_group_names || that_present_group_names) { - if (!(this_present_group_names && that_present_group_names)) + boolean this_present_part_name = true && this.isSetPart_name(); + boolean that_present_part_name = true && that.isSetPart_name(); + if (this_present_part_name || that_present_part_name) { + if (!(this_present_part_name && that_present_part_name)) return false; - if (!this.group_names.equals(that.group_names)) + if (!this.part_name.equals(that.part_name)) return false; } @@ -86816,26 +88268,16 @@ public int hashCode() { if (present_tbl_name) list.add(tbl_name); - boolean present_part_vals = true && (isSetPart_vals()); - list.add(present_part_vals); - if (present_part_vals) - list.add(part_vals); - - boolean present_user_name = true && (isSetUser_name()); - list.add(present_user_name); - if (present_user_name) - list.add(user_name); - - boolean present_group_names = true && (isSetGroup_names()); - list.add(present_group_names); - if (present_group_names) - list.add(group_names); + boolean present_part_name = true && (isSetPart_name()); + list.add(present_part_name); + if (present_part_name) + list.add(part_name); return list.hashCode(); } @Override - public int compareTo(get_partition_with_auth_args other) { + public int compareTo(get_partition_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -86862,32 +88304,12 @@ public int compareTo(get_partition_with_auth_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); + if (isSetPart_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } @@ -86909,7 +88331,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_with_auth_args("); + StringBuilder sb = new StringBuilder("get_partition_by_name_args("); boolean first = true; sb.append("db_name:"); @@ -86928,27 +88350,11 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("part_vals:"); - if (this.part_vals == null) { - sb.append("null"); - } else { - sb.append(this.part_vals); - } - first = false; - if (!first) sb.append(", "); - sb.append("user_name:"); - if (this.user_name == null) { - sb.append("null"); - } else { - sb.append(this.user_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("group_names:"); - if (this.group_names == null) { + sb.append("part_name:"); + if (this.part_name == null) { sb.append("null"); } else { - sb.append(this.group_names); + sb.append(this.part_name); } first = false; sb.append(")"); @@ -86976,15 +88382,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_with_auth_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_with_auth_argsStandardScheme getScheme() { - return new get_partition_with_auth_argsStandardScheme(); + private static class get_partition_by_name_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_by_name_argsStandardScheme getScheme() { + return new get_partition_by_name_argsStandardScheme(); } } - private static class get_partition_with_auth_argsStandardScheme extends StandardScheme { + private static class get_partition_by_name_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_name_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -87010,46 +88416,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // PART_VALS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list952.size); - String _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) - { - _elem953 = iprot.readString(); - struct.part_vals.add(_elem953); - } - iprot.readListEnd(); - } - struct.setPart_valsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // USER_NAME + case 3: // PART_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // GROUP_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list955 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list955.size); - String _elem956; - for (int _i957 = 0; _i957 < _list955.size; ++_i957) - { - _elem956 = iprot.readString(); - struct.group_names.add(_elem956); - } - iprot.readListEnd(); - } - struct.setGroup_namesIsSet(true); + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -87063,7 +88433,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_name_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -87077,33 +88447,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } - if (struct.part_vals != null) { - 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 _iter958 : struct.part_vals) - { - oprot.writeString(_iter958); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if (struct.user_name != null) { - oprot.writeFieldBegin(USER_NAME_FIELD_DESC); - oprot.writeString(struct.user_name); - oprot.writeFieldEnd(); - } - if (struct.group_names != null) { - 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 _iter959 : struct.group_names) - { - oprot.writeString(_iter959); - } - oprot.writeListEnd(); - } + if (struct.part_name != null) { + oprot.writeFieldBegin(PART_NAME_FIELD_DESC); + oprot.writeString(struct.part_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -87112,16 +88458,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with } - private static class get_partition_with_auth_argsTupleSchemeFactory implements SchemeFactory { - public get_partition_with_auth_argsTupleScheme getScheme() { - return new get_partition_with_auth_argsTupleScheme(); + private static class get_partition_by_name_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_by_name_argsTupleScheme getScheme() { + return new get_partition_by_name_argsTupleScheme(); } } - private static class get_partition_with_auth_argsTupleScheme extends TupleScheme { + private static class get_partition_by_name_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -87130,49 +88476,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetPart_vals()) { + if (struct.isSetPart_name()) { optionals.set(2); } - if (struct.isSetUser_name()) { - optionals.set(3); - } - if (struct.isSetGroup_names()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } - if (struct.isSetPart_vals()) { - { - oprot.writeI32(struct.part_vals.size()); - for (String _iter960 : struct.part_vals) - { - oprot.writeString(_iter960); - } - } - } - if (struct.isSetUser_name()) { - oprot.writeString(struct.user_name); - } - if (struct.isSetGroup_names()) { - { - oprot.writeI32(struct.group_names.size()); - for (String _iter961 : struct.group_names) - { - oprot.writeString(_iter961); - } - } + if (struct.isSetPart_name()) { + oprot.writeString(struct.part_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -87182,42 +88504,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list962 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list962.size); - String _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) - { - _elem963 = iprot.readString(); - struct.part_vals.add(_elem963); - } - } - struct.setPart_valsIsSet(true); - } - if (incoming.get(3)) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list965.size); - String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) - { - _elem966 = iprot.readString(); - struct.group_names.add(_elem966); - } - } - struct.setGroup_namesIsSet(true); + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); } } } } - public static class get_partition_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_with_auth_result"); + public static class get_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_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); @@ -87225,8 +88521,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_with_auth_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_with_auth_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_by_name_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_by_name_resultTupleSchemeFactory()); } private Partition success; // required @@ -87308,13 +88604,13 @@ public String getFieldName() { 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_partition_with_auth_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_by_name_result.class, metaDataMap); } - public get_partition_with_auth_result() { + public get_partition_by_name_result() { } - public get_partition_with_auth_result( + public get_partition_by_name_result( Partition success, MetaException o1, NoSuchObjectException o2) @@ -87328,7 +88624,7 @@ public get_partition_with_auth_result( /** * Performs a deep copy on other. */ - public get_partition_with_auth_result(get_partition_with_auth_result other) { + public get_partition_by_name_result(get_partition_by_name_result other) { if (other.isSetSuccess()) { this.success = new Partition(other.success); } @@ -87340,8 +88636,8 @@ public get_partition_with_auth_result(get_partition_with_auth_result other) { } } - public get_partition_with_auth_result deepCopy() { - return new get_partition_with_auth_result(this); + public get_partition_by_name_result deepCopy() { + return new get_partition_by_name_result(this); } @Override @@ -87485,12 +88781,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_with_auth_result) - return this.equals((get_partition_with_auth_result)that); + if (that instanceof get_partition_by_name_result) + return this.equals((get_partition_by_name_result)that); return false; } - public boolean equals(get_partition_with_auth_result that) { + public boolean equals(get_partition_by_name_result that) { if (that == null) return false; @@ -87547,7 +88843,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_with_auth_result other) { + public int compareTo(get_partition_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -87601,7 +88897,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_with_auth_result("); + StringBuilder sb = new StringBuilder("get_partition_by_name_result("); boolean first = true; sb.append("success:"); @@ -87655,15 +88951,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_with_auth_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_with_auth_resultStandardScheme getScheme() { - return new get_partition_with_auth_resultStandardScheme(); + private static class get_partition_by_name_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_by_name_resultStandardScheme getScheme() { + return new get_partition_by_name_resultStandardScheme(); } } - private static class get_partition_with_auth_resultStandardScheme extends StandardScheme { + private static class get_partition_by_name_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_name_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -87709,7 +89005,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_name_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -87734,16 +89030,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with } - private static class get_partition_with_auth_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_with_auth_resultTupleScheme getScheme() { - return new get_partition_with_auth_resultTupleScheme(); + private static class get_partition_by_name_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_by_name_resultTupleScheme getScheme() { + return new get_partition_by_name_resultTupleScheme(); } } - private static class get_partition_with_auth_resultTupleScheme extends TupleScheme { + private static class get_partition_by_name_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -87768,7 +89064,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -87791,28 +89087,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } - public static class get_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_args"); + public static class get_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_by_name_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_by_name_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private String part_name; // required + private short max_parts; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - PART_NAME((short)3, "part_name"); + MAX_PARTS((short)3, "max_parts"); private static final Map byName = new HashMap(); @@ -87831,8 +89127,8 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // TBL_NAME return TBL_NAME; - case 3: // PART_NAME - return PART_NAME; + case 3: // MAX_PARTS + return MAX_PARTS; default: return null; } @@ -87873,6 +89169,8 @@ public String getFieldName() { } // isset id assignments + private static final int __MAX_PARTS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -87880,50 +89178,53 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_by_name_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_args.class, metaDataMap); } - public get_partition_by_name_args() { + public get_partitions_args() { + this.max_parts = (short)-1; + } - public get_partition_by_name_args( + public get_partitions_args( String db_name, String tbl_name, - String part_name) + short max_parts) { this(); this.db_name = db_name; this.tbl_name = tbl_name; - this.part_name = part_name; + this.max_parts = max_parts; + setMax_partsIsSet(true); } /** * Performs a deep copy on other. */ - public get_partition_by_name_args(get_partition_by_name_args other) { + public get_partitions_args(get_partitions_args other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; } if (other.isSetTbl_name()) { this.tbl_name = other.tbl_name; } - if (other.isSetPart_name()) { - this.part_name = other.part_name; - } + this.max_parts = other.max_parts; } - public get_partition_by_name_args deepCopy() { - return new get_partition_by_name_args(this); + public get_partitions_args deepCopy() { + return new get_partitions_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.part_name = null; + this.max_parts = (short)-1; + } public String getDb_name() { @@ -87972,27 +89273,26 @@ public void setTbl_nameIsSet(boolean value) { } } - public String getPart_name() { - return this.part_name; + public short getMax_parts() { + return this.max_parts; } - public void setPart_name(String part_name) { - this.part_name = part_name; + public void setMax_parts(short max_parts) { + this.max_parts = max_parts; + setMax_partsIsSet(true); } - public void unsetPart_name() { - this.part_name = null; + public void unsetMax_parts() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); } - /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_name() { - return this.part_name != null; + /** Returns true if field max_parts is set (has been assigned a value) and false otherwise */ + public boolean isSetMax_parts() { + return EncodingUtils.testBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); } - public void setPart_nameIsSet(boolean value) { - if (!value) { - this.part_name = null; - } + public void setMax_partsIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { @@ -88013,11 +89313,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case PART_NAME: + case MAX_PARTS: if (value == null) { - unsetPart_name(); + unsetMax_parts(); } else { - setPart_name((String)value); + setMax_parts((Short)value); } break; @@ -88032,8 +89332,8 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); - case PART_NAME: - return getPart_name(); + case MAX_PARTS: + return getMax_parts(); } throw new IllegalStateException(); @@ -88050,8 +89350,8 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); - case PART_NAME: - return isSetPart_name(); + case MAX_PARTS: + return isSetMax_parts(); } throw new IllegalStateException(); } @@ -88060,12 +89360,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_by_name_args) - return this.equals((get_partition_by_name_args)that); + if (that instanceof get_partitions_args) + return this.equals((get_partitions_args)that); return false; } - public boolean equals(get_partition_by_name_args that) { + public boolean equals(get_partitions_args that) { if (that == null) return false; @@ -88087,12 +89387,12 @@ public boolean equals(get_partition_by_name_args that) { return false; } - boolean this_present_part_name = true && this.isSetPart_name(); - boolean that_present_part_name = true && that.isSetPart_name(); - if (this_present_part_name || that_present_part_name) { - if (!(this_present_part_name && that_present_part_name)) + boolean this_present_max_parts = true; + boolean that_present_max_parts = true; + if (this_present_max_parts || that_present_max_parts) { + if (!(this_present_max_parts && that_present_max_parts)) return false; - if (!this.part_name.equals(that.part_name)) + if (this.max_parts != that.max_parts) return false; } @@ -88113,16 +89413,16 @@ public int hashCode() { if (present_tbl_name) list.add(tbl_name); - boolean present_part_name = true && (isSetPart_name()); - list.add(present_part_name); - if (present_part_name) - list.add(part_name); + boolean present_max_parts = true; + list.add(present_max_parts); + if (present_max_parts) + list.add(max_parts); return list.hashCode(); } @Override - public int compareTo(get_partition_by_name_args other) { + public int compareTo(get_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -88149,12 +89449,12 @@ public int compareTo(get_partition_by_name_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } - if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); + if (isSetMax_parts()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -88176,7 +89476,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_by_name_args("); + StringBuilder sb = new StringBuilder("get_partitions_args("); boolean first = true; sb.append("db_name:"); @@ -88195,12 +89495,8 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("part_name:"); - if (this.part_name == null) { - sb.append("null"); - } else { - sb.append(this.part_name); - } + sb.append("max_parts:"); + sb.append(this.max_parts); first = false; sb.append(")"); return sb.toString(); @@ -88221,21 +89517,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_partition_by_name_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_by_name_argsStandardScheme getScheme() { - return new get_partition_by_name_argsStandardScheme(); + private static class get_partitions_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_argsStandardScheme getScheme() { + return new get_partitions_argsStandardScheme(); } } - private static class get_partition_by_name_argsStandardScheme extends StandardScheme { + private static class get_partitions_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -88261,10 +89559,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // PART_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); + case 3: // MAX_PARTS + if (schemeField.type == org.apache.thrift.protocol.TType.I16) { + struct.max_parts = iprot.readI16(); + struct.setMax_partsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -88278,7 +89576,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -88292,27 +89590,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_n oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } - if (struct.part_name != null) { - oprot.writeFieldBegin(PART_NAME_FIELD_DESC); - oprot.writeString(struct.part_name); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); + oprot.writeI16(struct.max_parts); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partition_by_name_argsTupleSchemeFactory implements SchemeFactory { - public get_partition_by_name_argsTupleScheme getScheme() { - return new get_partition_by_name_argsTupleScheme(); + private static class get_partitions_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_argsTupleScheme getScheme() { + return new get_partitions_argsTupleScheme(); } } - private static class get_partition_by_name_argsTupleScheme extends TupleScheme { + private static class get_partitions_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -88321,7 +89617,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_na if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetPart_name()) { + if (struct.isSetMax_parts()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); @@ -88331,13 +89627,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_na if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } - if (struct.isSetPart_name()) { - oprot.writeString(struct.part_name); + if (struct.isSetMax_parts()) { + oprot.writeI16(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -88349,30 +89645,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_nam struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); + struct.max_parts = iprot.readI16(); + struct.setMax_partsIsSet(true); } } } } - public static class get_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_result"); + public static class get_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_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 SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_by_name_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_by_name_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_resultTupleSchemeFactory()); } - private Partition success; // required - private MetaException o1; // required - private NoSuchObjectException o2; // required + private List 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 { @@ -88443,22 +89739,23 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.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_partition_by_name_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_result.class, metaDataMap); } - public get_partition_by_name_result() { + public get_partitions_result() { } - public get_partition_by_name_result( - Partition success, - MetaException o1, - NoSuchObjectException o2) + public get_partitions_result( + List success, + NoSuchObjectException o1, + MetaException o2) { this(); this.success = success; @@ -88469,20 +89766,24 @@ public get_partition_by_name_result( /** * Performs a deep copy on other. */ - public get_partition_by_name_result(get_partition_by_name_result other) { + public get_partitions_result(get_partitions_result other) { if (other.isSetSuccess()) { - this.success = new Partition(other.success); + List __this__success = new ArrayList(other.success.size()); + for (Partition other_element : other.success) { + __this__success.add(new Partition(other_element)); + } + this.success = __this__success; } if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); + this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new NoSuchObjectException(other.o2); + this.o2 = new MetaException(other.o2); } } - public get_partition_by_name_result deepCopy() { - return new get_partition_by_name_result(this); + public get_partitions_result deepCopy() { + return new get_partitions_result(this); } @Override @@ -88492,11 +89793,26 @@ public void clear() { this.o2 = null; } - public Partition getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(Partition elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(Partition success) { + public void setSuccess(List success) { this.success = success; } @@ -88515,11 +89831,11 @@ public void setSuccessIsSet(boolean value) { } } - public MetaException getO1() { + public NoSuchObjectException getO1() { return this.o1; } - public void setO1(MetaException o1) { + public void setO1(NoSuchObjectException o1) { this.o1 = o1; } @@ -88538,11 +89854,11 @@ public void setO1IsSet(boolean value) { } } - public NoSuchObjectException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(NoSuchObjectException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -88567,7 +89883,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Partition)value); + setSuccess((List)value); } break; @@ -88575,7 +89891,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((MetaException)value); + setO1((NoSuchObjectException)value); } break; @@ -88583,7 +89899,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((NoSuchObjectException)value); + setO2((MetaException)value); } break; @@ -88626,12 +89942,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_by_name_result) - return this.equals((get_partition_by_name_result)that); + if (that instanceof get_partitions_result) + return this.equals((get_partitions_result)that); return false; } - public boolean equals(get_partition_by_name_result that) { + public boolean equals(get_partitions_result that) { if (that == null) return false; @@ -88688,7 +90004,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_by_name_result other) { + public int compareTo(get_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -88742,7 +90058,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_by_name_result("); + StringBuilder sb = new StringBuilder("get_partitions_result("); boolean first = true; sb.append("success:"); @@ -88775,9 +90091,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -88796,15 +90109,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_by_name_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_by_name_resultStandardScheme getScheme() { - return new get_partition_by_name_resultStandardScheme(); + private static class get_partitions_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_resultStandardScheme getScheme() { + return new get_partitions_resultStandardScheme(); } } - private static class get_partition_by_name_resultStandardScheme extends StandardScheme { + private static class get_partitions_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -88815,9 +90128,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new Partition(); - struct.success.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.success = new ArrayList(_list1000.size); + Partition _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + { + _elem1001 = new Partition(); + _elem1001.read(iprot); + struct.success.add(_elem1001); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -88825,7 +90148,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -88834,7 +90157,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -88850,13 +90173,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_by_na struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + for (Partition _iter1003 : struct.success) + { + _iter1003.write(oprot); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -88875,16 +90205,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_by_n } - private static class get_partition_by_name_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_by_name_resultTupleScheme getScheme() { - return new get_partition_by_name_resultTupleScheme(); + private static class get_partitions_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_resultTupleScheme getScheme() { + return new get_partitions_resultTupleScheme(); } } - private static class get_partition_by_name_resultTupleScheme extends TupleScheme { + private static class get_partitions_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -88898,7 +90228,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_na } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Partition _iter1004 : struct.success) + { + _iter1004.write(oprot); + } + } } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -88909,21 +90245,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_by_na } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new Partition(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1005.size); + Partition _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + { + _elem1006 = new Partition(); + _elem1006.read(iprot); + struct.success.add(_elem1006); + } + } struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new MetaException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -88932,28 +90277,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_nam } - public static class get_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_args"); + public static class get_partitions_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); + private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("user_name", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField GROUP_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("group_names", org.apache.thrift.protocol.TType.LIST, (short)5); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_with_auth_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_with_auth_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required private short max_parts; // required + private String user_name; // required + private List group_names; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - MAX_PARTS((short)3, "max_parts"); + MAX_PARTS((short)3, "max_parts"), + USER_NAME((short)4, "user_name"), + GROUP_NAMES((short)5, "group_names"); private static final Map byName = new HashMap(); @@ -88974,6 +90325,10 @@ public static _Fields findByThriftId(int fieldId) { return TBL_NAME; case 3: // MAX_PARTS return MAX_PARTS; + case 4: // USER_NAME + return USER_NAME; + case 5: // GROUP_NAMES + return GROUP_NAMES; default: return null; } @@ -89025,31 +90380,40 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); + tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("user_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.GROUP_NAMES, new org.apache.thrift.meta_data.FieldMetaData("group_names", 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)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_args.class, metaDataMap); } - public get_partitions_args() { + public get_partitions_with_auth_args() { this.max_parts = (short)-1; } - public get_partitions_args( + public get_partitions_with_auth_args( String db_name, String tbl_name, - short max_parts) + short max_parts, + String user_name, + List group_names) { this(); this.db_name = db_name; this.tbl_name = tbl_name; this.max_parts = max_parts; setMax_partsIsSet(true); + this.user_name = user_name; + this.group_names = group_names; } /** * Performs a deep copy on other. */ - public get_partitions_args(get_partitions_args other) { + public get_partitions_with_auth_args(get_partitions_with_auth_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -89058,10 +90422,17 @@ public get_partitions_args(get_partitions_args other) { this.tbl_name = other.tbl_name; } this.max_parts = other.max_parts; + if (other.isSetUser_name()) { + this.user_name = other.user_name; + } + if (other.isSetGroup_names()) { + List __this__group_names = new ArrayList(other.group_names); + this.group_names = __this__group_names; + } } - public get_partitions_args deepCopy() { - return new get_partitions_args(this); + public get_partitions_with_auth_args deepCopy() { + return new get_partitions_with_auth_args(this); } @Override @@ -89070,6 +90441,8 @@ public void clear() { this.tbl_name = null; this.max_parts = (short)-1; + this.user_name = null; + this.group_names = null; } public String getDb_name() { @@ -89140,6 +90513,67 @@ public void setMax_partsIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); } + public String getUser_name() { + return this.user_name; + } + + public void setUser_name(String user_name) { + this.user_name = user_name; + } + + public void unsetUser_name() { + this.user_name = null; + } + + /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ + public boolean isSetUser_name() { + return this.user_name != null; + } + + public void setUser_nameIsSet(boolean value) { + if (!value) { + this.user_name = null; + } + } + + public int getGroup_namesSize() { + return (this.group_names == null) ? 0 : this.group_names.size(); + } + + public java.util.Iterator getGroup_namesIterator() { + return (this.group_names == null) ? null : this.group_names.iterator(); + } + + public void addToGroup_names(String elem) { + if (this.group_names == null) { + this.group_names = new ArrayList(); + } + this.group_names.add(elem); + } + + public List getGroup_names() { + return this.group_names; + } + + public void setGroup_names(List group_names) { + this.group_names = group_names; + } + + public void unsetGroup_names() { + this.group_names = null; + } + + /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ + public boolean isSetGroup_names() { + return this.group_names != null; + } + + public void setGroup_namesIsSet(boolean value) { + if (!value) { + this.group_names = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -89166,6 +90600,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case USER_NAME: + if (value == null) { + unsetUser_name(); + } else { + setUser_name((String)value); + } + break; + + case GROUP_NAMES: + if (value == null) { + unsetGroup_names(); + } else { + setGroup_names((List)value); + } + break; + } } @@ -89180,6 +90630,12 @@ public Object getFieldValue(_Fields field) { case MAX_PARTS: return getMax_parts(); + case USER_NAME: + return getUser_name(); + + case GROUP_NAMES: + return getGroup_names(); + } throw new IllegalStateException(); } @@ -89197,6 +90653,10 @@ public boolean isSet(_Fields field) { return isSetTbl_name(); case MAX_PARTS: return isSetMax_parts(); + case USER_NAME: + return isSetUser_name(); + case GROUP_NAMES: + return isSetGroup_names(); } throw new IllegalStateException(); } @@ -89205,12 +90665,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_args) - return this.equals((get_partitions_args)that); + if (that instanceof get_partitions_with_auth_args) + return this.equals((get_partitions_with_auth_args)that); return false; } - public boolean equals(get_partitions_args that) { + public boolean equals(get_partitions_with_auth_args that) { if (that == null) return false; @@ -89241,6 +90701,24 @@ public boolean equals(get_partitions_args that) { return false; } + boolean this_present_user_name = true && this.isSetUser_name(); + boolean that_present_user_name = true && that.isSetUser_name(); + if (this_present_user_name || that_present_user_name) { + if (!(this_present_user_name && that_present_user_name)) + return false; + if (!this.user_name.equals(that.user_name)) + return false; + } + + boolean this_present_group_names = true && this.isSetGroup_names(); + boolean that_present_group_names = true && that.isSetGroup_names(); + if (this_present_group_names || that_present_group_names) { + if (!(this_present_group_names && that_present_group_names)) + return false; + if (!this.group_names.equals(that.group_names)) + return false; + } + return true; } @@ -89263,11 +90741,21 @@ public int hashCode() { if (present_max_parts) list.add(max_parts); + boolean present_user_name = true && (isSetUser_name()); + list.add(present_user_name); + if (present_user_name) + list.add(user_name); + + boolean present_group_names = true && (isSetGroup_names()); + list.add(present_group_names); + if (present_group_names) + list.add(group_names); + return list.hashCode(); } @Override - public int compareTo(get_partitions_args other) { + public int compareTo(get_partitions_with_auth_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -89304,6 +90792,26 @@ public int compareTo(get_partitions_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetUser_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetGroup_names()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -89321,7 +90829,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_args("); + StringBuilder sb = new StringBuilder("get_partitions_with_auth_args("); boolean first = true; sb.append("db_name:"); @@ -89343,6 +90851,22 @@ public String toString() { sb.append("max_parts:"); sb.append(this.max_parts); first = false; + if (!first) sb.append(", "); + sb.append("user_name:"); + if (this.user_name == null) { + sb.append("null"); + } else { + sb.append(this.user_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("group_names:"); + if (this.group_names == null) { + sb.append("null"); + } else { + sb.append(this.group_names); + } + first = false; sb.append(")"); return sb.toString(); } @@ -89370,15 +90894,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_argsStandardScheme getScheme() { - return new get_partitions_argsStandardScheme(); + private static class get_partitions_with_auth_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_with_auth_argsStandardScheme getScheme() { + return new get_partitions_with_auth_argsStandardScheme(); } } - private static class get_partitions_argsStandardScheme extends StandardScheme { + private static class get_partitions_with_auth_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -89412,6 +90936,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_args org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 4: // USER_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // GROUP_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1008.size); + String _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + { + _elem1009 = iprot.readString(); + struct.group_names.add(_elem1009); + } + iprot.readListEnd(); + } + struct.setGroup_namesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -89421,7 +90971,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -89438,22 +90988,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_arg oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); oprot.writeI16(struct.max_parts); oprot.writeFieldEnd(); + if (struct.user_name != null) { + oprot.writeFieldBegin(USER_NAME_FIELD_DESC); + oprot.writeString(struct.user_name); + oprot.writeFieldEnd(); + } + if (struct.group_names != null) { + 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 _iter1011 : struct.group_names) + { + oprot.writeString(_iter1011); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partitions_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_argsTupleScheme getScheme() { - return new get_partitions_argsTupleScheme(); + private static class get_partitions_with_auth_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_with_auth_argsTupleScheme getScheme() { + return new get_partitions_with_auth_argsTupleScheme(); } } - private static class get_partitions_argsTupleScheme extends TupleScheme { + private static class get_partitions_with_auth_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -89465,7 +91032,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_args if (struct.isSetMax_parts()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetUser_name()) { + optionals.set(3); + } + if (struct.isSetGroup_names()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -89475,12 +91048,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_args if (struct.isSetMax_parts()) { oprot.writeI16(struct.max_parts); } + if (struct.isSetUser_name()) { + oprot.writeString(struct.user_name); + } + if (struct.isSetGroup_names()) { + { + oprot.writeI32(struct.group_names.size()); + for (String _iter1012 : struct.group_names) + { + oprot.writeString(_iter1012); + } + } + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -89493,13 +91078,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_args struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } + if (incoming.get(3)) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } + if (incoming.get(4)) { + { + org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1013.size); + String _elem1014; + for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + { + _elem1014 = iprot.readString(); + struct.group_names.add(_elem1014); + } + } + struct.setGroup_namesIsSet(true); + } } } } - public static class get_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_result"); + public static class get_partitions_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -89507,8 +91109,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_args private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_with_auth_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_with_auth_resultTupleSchemeFactory()); } private List success; // required @@ -89591,13 +91193,13 @@ public String getFieldName() { 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_partitions_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_result.class, metaDataMap); } - public get_partitions_result() { + public get_partitions_with_auth_result() { } - public get_partitions_result( + public get_partitions_with_auth_result( List success, NoSuchObjectException o1, MetaException o2) @@ -89611,7 +91213,7 @@ public get_partitions_result( /** * Performs a deep copy on other. */ - public get_partitions_result(get_partitions_result other) { + public get_partitions_with_auth_result(get_partitions_with_auth_result other) { if (other.isSetSuccess()) { List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { @@ -89627,8 +91229,8 @@ public get_partitions_result(get_partitions_result other) { } } - public get_partitions_result deepCopy() { - return new get_partitions_result(this); + public get_partitions_with_auth_result deepCopy() { + return new get_partitions_with_auth_result(this); } @Override @@ -89787,12 +91389,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_result) - return this.equals((get_partitions_result)that); + if (that instanceof get_partitions_with_auth_result) + return this.equals((get_partitions_with_auth_result)that); return false; } - public boolean equals(get_partitions_result that) { + public boolean equals(get_partitions_with_auth_result that) { if (that == null) return false; @@ -89849,7 +91451,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_result other) { + public int compareTo(get_partitions_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -89903,7 +91505,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_result("); + StringBuilder sb = new StringBuilder("get_partitions_with_auth_result("); boolean first = true; sb.append("success:"); @@ -89954,15 +91556,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_resultStandardScheme getScheme() { - return new get_partitions_resultStandardScheme(); + private static class get_partitions_with_auth_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_with_auth_resultStandardScheme getScheme() { + return new get_partitions_with_auth_resultStandardScheme(); } } - private static class get_partitions_resultStandardScheme extends StandardScheme { + private static class get_partitions_with_auth_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -89975,14 +91577,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 _list968 = iprot.readListBegin(); - struct.success = new ArrayList(_list968.size); - Partition _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); + struct.success = new ArrayList(_list1016.size); + Partition _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem969 = new Partition(); - _elem969.read(iprot); - struct.success.add(_elem969); + _elem1017 = new Partition(); + _elem1017.read(iprot); + struct.success.add(_elem1017); } iprot.readListEnd(); } @@ -90018,7 +91620,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -90026,9 +91628,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 _iter971 : struct.success) + for (Partition _iter1019 : struct.success) { - _iter971.write(oprot); + _iter1019.write(oprot); } oprot.writeListEnd(); } @@ -90050,16 +91652,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res } - private static class get_partitions_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_resultTupleScheme getScheme() { - return new get_partitions_resultTupleScheme(); + private static class get_partitions_with_auth_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_with_auth_resultTupleScheme getScheme() { + return new get_partitions_with_auth_resultTupleScheme(); } } - private static class get_partitions_resultTupleScheme extends TupleScheme { + private static class get_partitions_with_auth_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -90075,9 +91677,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter972 : struct.success) + for (Partition _iter1020 : struct.success) { - _iter972.write(oprot); + _iter1020.write(oprot); } } } @@ -90090,19 +91692,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list973.size); - Partition _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1021.size); + Partition _elem1022; + for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) { - _elem974 = new Partition(); - _elem974.read(iprot); - struct.success.add(_elem974); + _elem1022 = new Partition(); + _elem1022.read(iprot); + struct.success.add(_elem1022); } } struct.setSuccessIsSet(true); @@ -90122,34 +91724,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul } - public static class get_partitions_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_args"); + public static class get_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); - private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("user_name", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField GROUP_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("group_names", org.apache.thrift.protocol.TType.LIST, (short)5); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I32, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_with_auth_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_with_auth_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_pspec_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_pspec_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private short max_parts; // required - private String user_name; // required - private List group_names; // required + private int max_parts; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - MAX_PARTS((short)3, "max_parts"), - USER_NAME((short)4, "user_name"), - GROUP_NAMES((short)5, "group_names"); + MAX_PARTS((short)3, "max_parts"); private static final Map byName = new HashMap(); @@ -90170,10 +91766,6 @@ public static _Fields findByThriftId(int fieldId) { return TBL_NAME; case 3: // MAX_PARTS return MAX_PARTS; - case 4: // USER_NAME - return USER_NAME; - case 5: // GROUP_NAMES - return GROUP_NAMES; default: return null; } @@ -90224,41 +91816,32 @@ public String getFieldName() { tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); - tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("user_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.GROUP_NAMES, new org.apache.thrift.meta_data.FieldMetaData("group_names", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_args.class, metaDataMap); } - public get_partitions_with_auth_args() { - this.max_parts = (short)-1; + public get_partitions_pspec_args() { + this.max_parts = -1; } - public get_partitions_with_auth_args( + public get_partitions_pspec_args( String db_name, String tbl_name, - short max_parts, - String user_name, - List group_names) + int max_parts) { this(); this.db_name = db_name; this.tbl_name = tbl_name; this.max_parts = max_parts; setMax_partsIsSet(true); - this.user_name = user_name; - this.group_names = group_names; } /** * Performs a deep copy on other. */ - public get_partitions_with_auth_args(get_partitions_with_auth_args other) { + public get_partitions_pspec_args(get_partitions_pspec_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -90267,27 +91850,18 @@ public get_partitions_with_auth_args(get_partitions_with_auth_args other) { this.tbl_name = other.tbl_name; } this.max_parts = other.max_parts; - if (other.isSetUser_name()) { - this.user_name = other.user_name; - } - if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(other.group_names); - this.group_names = __this__group_names; - } } - public get_partitions_with_auth_args deepCopy() { - return new get_partitions_with_auth_args(this); + public get_partitions_pspec_args deepCopy() { + return new get_partitions_pspec_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.max_parts = (short)-1; + this.max_parts = -1; - this.user_name = null; - this.group_names = null; } public String getDb_name() { @@ -90336,11 +91910,11 @@ public void setTbl_nameIsSet(boolean value) { } } - public short getMax_parts() { + public int getMax_parts() { return this.max_parts; } - public void setMax_parts(short max_parts) { + public void setMax_parts(int max_parts) { this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -90358,67 +91932,6 @@ public void setMax_partsIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); } - public String getUser_name() { - return this.user_name; - } - - public void setUser_name(String user_name) { - this.user_name = user_name; - } - - public void unsetUser_name() { - this.user_name = null; - } - - /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ - public boolean isSetUser_name() { - return this.user_name != null; - } - - public void setUser_nameIsSet(boolean value) { - if (!value) { - this.user_name = null; - } - } - - public int getGroup_namesSize() { - return (this.group_names == null) ? 0 : this.group_names.size(); - } - - public java.util.Iterator getGroup_namesIterator() { - return (this.group_names == null) ? null : this.group_names.iterator(); - } - - public void addToGroup_names(String elem) { - if (this.group_names == null) { - this.group_names = new ArrayList(); - } - this.group_names.add(elem); - } - - public List getGroup_names() { - return this.group_names; - } - - public void setGroup_names(List group_names) { - this.group_names = group_names; - } - - public void unsetGroup_names() { - this.group_names = null; - } - - /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ - public boolean isSetGroup_names() { - return this.group_names != null; - } - - public void setGroup_namesIsSet(boolean value) { - if (!value) { - this.group_names = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -90441,23 +91954,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetMax_parts(); } else { - setMax_parts((Short)value); - } - break; - - case USER_NAME: - if (value == null) { - unsetUser_name(); - } else { - setUser_name((String)value); - } - break; - - case GROUP_NAMES: - if (value == null) { - unsetGroup_names(); - } else { - setGroup_names((List)value); + setMax_parts((Integer)value); } break; @@ -90475,12 +91972,6 @@ public Object getFieldValue(_Fields field) { case MAX_PARTS: return getMax_parts(); - case USER_NAME: - return getUser_name(); - - case GROUP_NAMES: - return getGroup_names(); - } throw new IllegalStateException(); } @@ -90498,10 +91989,6 @@ public boolean isSet(_Fields field) { return isSetTbl_name(); case MAX_PARTS: return isSetMax_parts(); - case USER_NAME: - return isSetUser_name(); - case GROUP_NAMES: - return isSetGroup_names(); } throw new IllegalStateException(); } @@ -90510,12 +91997,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_with_auth_args) - return this.equals((get_partitions_with_auth_args)that); + if (that instanceof get_partitions_pspec_args) + return this.equals((get_partitions_pspec_args)that); return false; } - public boolean equals(get_partitions_with_auth_args that) { + public boolean equals(get_partitions_pspec_args that) { if (that == null) return false; @@ -90546,24 +92033,6 @@ public boolean equals(get_partitions_with_auth_args that) { return false; } - boolean this_present_user_name = true && this.isSetUser_name(); - boolean that_present_user_name = true && that.isSetUser_name(); - if (this_present_user_name || that_present_user_name) { - if (!(this_present_user_name && that_present_user_name)) - return false; - if (!this.user_name.equals(that.user_name)) - return false; - } - - boolean this_present_group_names = true && this.isSetGroup_names(); - boolean that_present_group_names = true && that.isSetGroup_names(); - if (this_present_group_names || that_present_group_names) { - if (!(this_present_group_names && that_present_group_names)) - return false; - if (!this.group_names.equals(that.group_names)) - return false; - } - return true; } @@ -90586,21 +92055,11 @@ public int hashCode() { if (present_max_parts) list.add(max_parts); - boolean present_user_name = true && (isSetUser_name()); - list.add(present_user_name); - if (present_user_name) - list.add(user_name); - - boolean present_group_names = true && (isSetGroup_names()); - list.add(present_group_names); - if (present_group_names) - list.add(group_names); - return list.hashCode(); } @Override - public int compareTo(get_partitions_with_auth_args other) { + public int compareTo(get_partitions_pspec_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -90637,26 +92096,6 @@ public int compareTo(get_partitions_with_auth_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -90674,7 +92113,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_with_auth_args("); + StringBuilder sb = new StringBuilder("get_partitions_pspec_args("); boolean first = true; sb.append("db_name:"); @@ -90696,22 +92135,6 @@ public String toString() { sb.append("max_parts:"); sb.append(this.max_parts); first = false; - if (!first) sb.append(", "); - sb.append("user_name:"); - if (this.user_name == null) { - sb.append("null"); - } else { - sb.append(this.user_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("group_names:"); - if (this.group_names == null) { - sb.append("null"); - } else { - sb.append(this.group_names); - } - first = false; sb.append(")"); return sb.toString(); } @@ -90739,15 +92162,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_with_auth_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_with_auth_argsStandardScheme getScheme() { - return new get_partitions_with_auth_argsStandardScheme(); + private static class get_partitions_pspec_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_pspec_argsStandardScheme getScheme() { + return new get_partitions_pspec_argsStandardScheme(); } } - private static class get_partitions_with_auth_argsStandardScheme extends StandardScheme { + private static class get_partitions_pspec_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -90774,39 +92197,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with } break; case 3: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I16) { - struct.max_parts = iprot.readI16(); + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.max_parts = iprot.readI32(); struct.setMax_partsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // USER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // GROUP_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list976.size); - String _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) - { - _elem977 = iprot.readString(); - struct.group_names.add(_elem977); - } - iprot.readListEnd(); - } - struct.setGroup_namesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -90816,7 +92213,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -90831,41 +92228,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI16(struct.max_parts); + oprot.writeI32(struct.max_parts); oprot.writeFieldEnd(); - if (struct.user_name != null) { - oprot.writeFieldBegin(USER_NAME_FIELD_DESC); - oprot.writeString(struct.user_name); - oprot.writeFieldEnd(); - } - if (struct.group_names != null) { - 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 _iter979 : struct.group_names) - { - oprot.writeString(_iter979); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partitions_with_auth_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_with_auth_argsTupleScheme getScheme() { - return new get_partitions_with_auth_argsTupleScheme(); + private static class get_partitions_pspec_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_pspec_argsTupleScheme getScheme() { + return new get_partitions_pspec_argsTupleScheme(); } } - private static class get_partitions_with_auth_argsTupleScheme extends TupleScheme { + private static class get_partitions_pspec_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -90877,13 +92257,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetMax_parts()) { optionals.set(2); } - if (struct.isSetUser_name()) { - optionals.set(3); - } - if (struct.isSetGroup_names()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -90891,26 +92265,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with oprot.writeString(struct.tbl_name); } if (struct.isSetMax_parts()) { - oprot.writeI16(struct.max_parts); - } - if (struct.isSetUser_name()) { - oprot.writeString(struct.user_name); - } - if (struct.isSetGroup_names()) { - { - oprot.writeI32(struct.group_names.size()); - for (String _iter980 : struct.group_names) - { - oprot.writeString(_iter980); - } - } + oprot.writeI32(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -90920,33 +92282,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.max_parts = iprot.readI16(); + struct.max_parts = iprot.readI32(); struct.setMax_partsIsSet(true); } - if (incoming.get(3)) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list981.size); - String _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) - { - _elem982 = iprot.readString(); - struct.group_names.add(_elem982); - } - } - struct.setGroup_namesIsSet(true); - } } } } - public static class get_partitions_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_result"); + public static class get_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -90954,11 +92299,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_with_auth_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_with_auth_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_pspec_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_pspec_resultTupleSchemeFactory()); } - private List success; // required + private List success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -91032,20 +92377,20 @@ 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionSpec.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_partitions_with_auth_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_result.class, metaDataMap); } - public get_partitions_with_auth_result() { + public get_partitions_pspec_result() { } - public get_partitions_with_auth_result( - List success, + public get_partitions_pspec_result( + List success, NoSuchObjectException o1, MetaException o2) { @@ -91058,11 +92403,11 @@ public get_partitions_with_auth_result( /** * Performs a deep copy on other. */ - public get_partitions_with_auth_result(get_partitions_with_auth_result other) { + public get_partitions_pspec_result(get_partitions_pspec_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (Partition other_element : other.success) { - __this__success.add(new Partition(other_element)); + List __this__success = new ArrayList(other.success.size()); + for (PartitionSpec other_element : other.success) { + __this__success.add(new PartitionSpec(other_element)); } this.success = __this__success; } @@ -91074,8 +92419,8 @@ public get_partitions_with_auth_result(get_partitions_with_auth_result other) { } } - public get_partitions_with_auth_result deepCopy() { - return new get_partitions_with_auth_result(this); + public get_partitions_pspec_result deepCopy() { + return new get_partitions_pspec_result(this); } @Override @@ -91089,22 +92434,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(Partition elem) { + public void addToSuccess(PartitionSpec elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(List success) { this.success = success; } @@ -91175,7 +92520,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -91234,12 +92579,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_with_auth_result) - return this.equals((get_partitions_with_auth_result)that); + if (that instanceof get_partitions_pspec_result) + return this.equals((get_partitions_pspec_result)that); return false; } - public boolean equals(get_partitions_with_auth_result that) { + public boolean equals(get_partitions_pspec_result that) { if (that == null) return false; @@ -91296,7 +92641,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_with_auth_result other) { + public int compareTo(get_partitions_pspec_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -91350,7 +92695,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_with_auth_result("); + StringBuilder sb = new StringBuilder("get_partitions_pspec_result("); boolean first = true; sb.append("success:"); @@ -91401,15 +92746,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_with_auth_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_with_auth_resultStandardScheme getScheme() { - return new get_partitions_with_auth_resultStandardScheme(); + private static class get_partitions_pspec_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_pspec_resultStandardScheme getScheme() { + return new get_partitions_pspec_resultStandardScheme(); } } - private static class get_partitions_with_auth_resultStandardScheme extends StandardScheme { + private static class get_partitions_pspec_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -91422,14 +92767,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 _list984 = iprot.readListBegin(); - struct.success = new ArrayList(_list984.size); - Partition _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin(); + struct.success = new ArrayList(_list1024.size); + PartitionSpec _elem1025; + for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) { - _elem985 = new Partition(); - _elem985.read(iprot); - struct.success.add(_elem985); + _elem1025 = new PartitionSpec(); + _elem1025.read(iprot); + struct.success.add(_elem1025); } iprot.readListEnd(); } @@ -91465,7 +92810,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -91473,9 +92818,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 _iter987 : struct.success) + for (PartitionSpec _iter1027 : struct.success) { - _iter987.write(oprot); + _iter1027.write(oprot); } oprot.writeListEnd(); } @@ -91497,16 +92842,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit } - private static class get_partitions_with_auth_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_with_auth_resultTupleScheme getScheme() { - return new get_partitions_with_auth_resultTupleScheme(); + private static class get_partitions_pspec_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_pspec_resultTupleScheme getScheme() { + return new get_partitions_pspec_resultTupleScheme(); } } - private static class get_partitions_with_auth_resultTupleScheme extends TupleScheme { + private static class get_partitions_pspec_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -91522,9 +92867,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter988 : struct.success) + for (PartitionSpec _iter1028 : struct.success) { - _iter988.write(oprot); + _iter1028.write(oprot); } } } @@ -91537,19 +92882,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list989.size); - Partition _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1029.size); + PartitionSpec _elem1030; + for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) { - _elem990 = new Partition(); - _elem990.read(iprot); - struct.success.add(_elem990); + _elem1030 = new PartitionSpec(); + _elem1030.read(iprot); + struct.success.add(_elem1030); } } struct.setSuccessIsSet(true); @@ -91569,22 +92914,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } - public static class get_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_args"); + public static class get_partition_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I32, (short)3); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_pspec_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_pspec_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_names_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_names_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private int max_parts; // required + private short max_parts; // 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 { @@ -91661,20 +93006,20 @@ public String getFieldName() { tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_args.class, metaDataMap); } - public get_partitions_pspec_args() { - this.max_parts = -1; + public get_partition_names_args() { + this.max_parts = (short)-1; } - public get_partitions_pspec_args( + public get_partition_names_args( String db_name, String tbl_name, - int max_parts) + short max_parts) { this(); this.db_name = db_name; @@ -91686,7 +93031,7 @@ public get_partitions_pspec_args( /** * Performs a deep copy on other. */ - public get_partitions_pspec_args(get_partitions_pspec_args other) { + public get_partition_names_args(get_partition_names_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -91697,15 +93042,15 @@ public get_partitions_pspec_args(get_partitions_pspec_args other) { this.max_parts = other.max_parts; } - public get_partitions_pspec_args deepCopy() { - return new get_partitions_pspec_args(this); + public get_partition_names_args deepCopy() { + return new get_partition_names_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.max_parts = -1; + this.max_parts = (short)-1; } @@ -91755,11 +93100,11 @@ public void setTbl_nameIsSet(boolean value) { } } - public int getMax_parts() { + public short getMax_parts() { return this.max_parts; } - public void setMax_parts(int max_parts) { + public void setMax_parts(short max_parts) { this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -91799,7 +93144,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetMax_parts(); } else { - setMax_parts((Integer)value); + setMax_parts((Short)value); } break; @@ -91842,12 +93187,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_pspec_args) - return this.equals((get_partitions_pspec_args)that); + if (that instanceof get_partition_names_args) + return this.equals((get_partition_names_args)that); return false; } - public boolean equals(get_partitions_pspec_args that) { + public boolean equals(get_partition_names_args that) { if (that == null) return false; @@ -91904,7 +93249,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_pspec_args other) { + public int compareTo(get_partition_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -91958,7 +93303,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_pspec_args("); + StringBuilder sb = new StringBuilder("get_partition_names_args("); boolean first = true; sb.append("db_name:"); @@ -92007,15 +93352,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_pspec_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_pspec_argsStandardScheme getScheme() { - return new get_partitions_pspec_argsStandardScheme(); + private static class get_partition_names_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_names_argsStandardScheme getScheme() { + return new get_partition_names_argsStandardScheme(); } } - private static class get_partitions_pspec_argsStandardScheme extends StandardScheme { + private static class get_partition_names_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -92042,8 +93387,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe } break; case 3: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.max_parts = iprot.readI32(); + if (schemeField.type == org.apache.thrift.protocol.TType.I16) { + struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -92058,7 +93403,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -92073,7 +93418,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI32(struct.max_parts); + oprot.writeI16(struct.max_parts); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); @@ -92081,16 +93426,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp } - private static class get_partitions_pspec_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_pspec_argsTupleScheme getScheme() { - return new get_partitions_pspec_argsTupleScheme(); + private static class get_partition_names_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_names_argsTupleScheme getScheme() { + return new get_partition_names_argsTupleScheme(); } } - private static class get_partitions_pspec_argsTupleScheme extends TupleScheme { + private static class get_partition_names_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -92110,12 +93455,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe oprot.writeString(struct.tbl_name); } if (struct.isSetMax_parts()) { - oprot.writeI32(struct.max_parts); + oprot.writeI16(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -92127,7 +93472,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.max_parts = iprot.readI32(); + struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } } @@ -92135,28 +93480,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } - public static class get_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_result"); + public static class get_partition_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_pspec_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_pspec_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_names_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_names_resultTupleSchemeFactory()); } - private List success; // required - private NoSuchObjectException o1; // required + private List success; // 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"); + O2((short)1, "o2"); private static final Map byName = new HashMap(); @@ -92173,9 +93515,7 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O1 - return O1; - case 2: // O2 + case 1: // O2 return O2; default: return null; @@ -92222,56 +93562,45 @@ 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionSpec.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))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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_partitions_pspec_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_result.class, metaDataMap); } - public get_partitions_pspec_result() { + public get_partition_names_result() { } - public get_partitions_pspec_result( - List success, - NoSuchObjectException o1, + public get_partition_names_result( + List success, MetaException o2) { this(); this.success = success; - this.o1 = o1; this.o2 = o2; } /** * Performs a deep copy on other. */ - public get_partitions_pspec_result(get_partitions_pspec_result other) { + public get_partition_names_result(get_partition_names_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (PartitionSpec other_element : other.success) { - __this__success.add(new PartitionSpec(other_element)); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } - if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); - } if (other.isSetO2()) { this.o2 = new MetaException(other.o2); } } - public get_partitions_pspec_result deepCopy() { - return new get_partitions_pspec_result(this); + public get_partition_names_result deepCopy() { + return new get_partition_names_result(this); } @Override public void clear() { this.success = null; - this.o1 = null; this.o2 = null; } @@ -92279,22 +93608,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(PartitionSpec elem) { + public void addToSuccess(String elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(List success) { this.success = success; } @@ -92313,29 +93642,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; } @@ -92365,15 +93671,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); - } - break; - - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((NoSuchObjectException)value); + setSuccess((List)value); } break; @@ -92393,9 +93691,6 @@ public Object getFieldValue(_Fields field) { case SUCCESS: return getSuccess(); - case O1: - return getO1(); - case O2: return getO2(); @@ -92412,8 +93707,6 @@ public boolean isSet(_Fields field) { switch (field) { case SUCCESS: return isSetSuccess(); - case O1: - return isSetO1(); case O2: return isSetO2(); } @@ -92424,12 +93717,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_pspec_result) - return this.equals((get_partitions_pspec_result)that); + if (that instanceof get_partition_names_result) + return this.equals((get_partition_names_result)that); return false; } - public boolean equals(get_partitions_pspec_result that) { + public boolean equals(get_partition_names_result that) { if (that == null) return false; @@ -92442,15 +93735,6 @@ public boolean equals(get_partitions_pspec_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) { @@ -92472,11 +93756,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) @@ -92486,7 +93765,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_pspec_result other) { + public int compareTo(get_partition_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -92503,16 +93782,6 @@ public int compareTo(get_partitions_pspec_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; @@ -92540,7 +93809,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_pspec_result("); + StringBuilder sb = new StringBuilder("get_partition_names_result("); boolean first = true; sb.append("success:"); @@ -92551,14 +93820,6 @@ public String toString() { } 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"); @@ -92591,15 +93852,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_pspec_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_pspec_resultStandardScheme getScheme() { - return new get_partitions_pspec_resultStandardScheme(); + private static class get_partition_names_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_names_resultStandardScheme getScheme() { + return new get_partition_names_resultStandardScheme(); } } - private static class get_partitions_pspec_resultStandardScheme extends StandardScheme { + private static class get_partition_names_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -92612,14 +93873,13 @@ 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 _list992 = iprot.readListBegin(); - struct.success = new ArrayList(_list992.size); - PartitionSpec _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1032 = iprot.readListBegin(); + struct.success = new ArrayList(_list1032.size); + String _elem1033; + for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) { - _elem993 = new PartitionSpec(); - _elem993.read(iprot); - struct.success.add(_elem993); + _elem1033 = iprot.readString(); + struct.success.add(_elem1033); } iprot.readListEnd(); } @@ -92628,16 +93888,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe 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 + case 1: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.o2 = new MetaException(); struct.o2.read(iprot); @@ -92655,27 +93906,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter995 : struct.success) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1035 : struct.success) { - _iter995.write(oprot); + oprot.writeString(_iter1035); } oprot.writeListEnd(); } 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); @@ -92687,69 +93933,57 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp } - private static class get_partitions_pspec_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_pspec_resultTupleScheme getScheme() { - return new get_partitions_pspec_resultTupleScheme(); + private static class get_partition_names_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_names_resultTupleScheme getScheme() { + return new get_partition_names_resultTupleScheme(); } } - private static class get_partitions_pspec_resultTupleScheme extends TupleScheme { + private static class get_partition_names_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO1()) { - optionals.set(1); - } if (struct.isSetO2()) { - optionals.set(2); + optionals.set(1); } - oprot.writeBitSet(optionals, 3); + oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter996 : struct.success) + for (String _iter1036 : struct.success) { - _iter996.write(oprot); + oprot.writeString(_iter1036); } } } - 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_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list997.size); - PartitionSpec _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1037.size); + String _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem998 = new PartitionSpec(); - _elem998.read(iprot); - struct.success.add(_elem998); + _elem1038 = iprot.readString(); + struct.success.add(_elem1038); } } 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); @@ -92759,28 +93993,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } - public static class get_partition_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_args"); + public static class get_partition_values_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_values_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); + private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_names_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_names_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_values_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_values_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private short max_parts; // required + private PartitionValuesRequest request; // 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 { - DB_NAME((short)1, "db_name"), - TBL_NAME((short)2, "tbl_name"), - MAX_PARTS((short)3, "max_parts"); + REQUEST((short)1, "request"); private static final Map byName = new HashMap(); @@ -92795,12 +94023,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // MAX_PARTS - return MAX_PARTS; + case 1: // REQUEST + return REQUEST; default: return null; } @@ -92841,155 +94065,73 @@ public String getFieldName() { } // isset id assignments - private static final int __MAX_PARTS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); + tmpMap.put(_Fields.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionValuesRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_values_args.class, metaDataMap); } - public get_partition_names_args() { - this.max_parts = (short)-1; - + public get_partition_values_args() { } - public get_partition_names_args( - String db_name, - String tbl_name, - short max_parts) + public get_partition_values_args( + PartitionValuesRequest request) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.max_parts = max_parts; - setMax_partsIsSet(true); + this.request = request; } /** * Performs a deep copy on other. */ - public get_partition_names_args(get_partition_names_args other) { - __isset_bitfield = other.__isset_bitfield; - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTbl_name()) { - this.tbl_name = other.tbl_name; + public get_partition_values_args(get_partition_values_args other) { + if (other.isSetRequest()) { + this.request = new PartitionValuesRequest(other.request); } - this.max_parts = other.max_parts; } - public get_partition_names_args deepCopy() { - return new get_partition_names_args(this); + public get_partition_values_args deepCopy() { + return new get_partition_values_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.max_parts = (short)-1; - - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } + this.request = null; } - public String getTbl_name() { - return this.tbl_name; + public PartitionValuesRequest getRequest() { + return this.request; } - public void setTbl_name(String tbl_name) { - this.tbl_name = tbl_name; + public void setRequest(PartitionValuesRequest request) { + this.request = request; } - public void unsetTbl_name() { - this.tbl_name = null; + public void unsetRequest() { + this.request = null; } - /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_name() { - return this.tbl_name != null; + /** Returns true if field request is set (has been assigned a value) and false otherwise */ + public boolean isSetRequest() { + return this.request != null; } - public void setTbl_nameIsSet(boolean value) { + public void setRequestIsSet(boolean value) { if (!value) { - this.tbl_name = null; + this.request = null; } } - public short getMax_parts() { - return this.max_parts; - } - - public void setMax_parts(short max_parts) { - this.max_parts = max_parts; - setMax_partsIsSet(true); - } - - public void unsetMax_parts() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); - } - - /** Returns true if field max_parts is set (has been assigned a value) and false otherwise */ - public boolean isSetMax_parts() { - return EncodingUtils.testBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); - } - - public void setMax_partsIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); - } - public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TBL_NAME: - if (value == null) { - unsetTbl_name(); - } else { - setTbl_name((String)value); - } - break; - - case MAX_PARTS: + case REQUEST: if (value == null) { - unsetMax_parts(); + unsetRequest(); } else { - setMax_parts((Short)value); + setRequest((PartitionValuesRequest)value); } break; @@ -92998,14 +94140,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - - case TBL_NAME: - return getTbl_name(); - - case MAX_PARTS: - return getMax_parts(); + case REQUEST: + return getRequest(); } throw new IllegalStateException(); @@ -93018,12 +94154,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case MAX_PARTS: - return isSetMax_parts(); + case REQUEST: + return isSetRequest(); } throw new IllegalStateException(); } @@ -93032,39 +94164,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_names_args) - return this.equals((get_partition_names_args)that); + if (that instanceof get_partition_values_args) + return this.equals((get_partition_values_args)that); return false; } - public boolean equals(get_partition_names_args that) { + public boolean equals(get_partition_values_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_tbl_name = true && this.isSetTbl_name(); - boolean that_present_tbl_name = true && that.isSetTbl_name(); - if (this_present_tbl_name || that_present_tbl_name) { - if (!(this_present_tbl_name && that_present_tbl_name)) - return false; - if (!this.tbl_name.equals(that.tbl_name)) - return false; - } - - boolean this_present_max_parts = true; - boolean that_present_max_parts = true; - if (this_present_max_parts || that_present_max_parts) { - if (!(this_present_max_parts && that_present_max_parts)) + boolean this_present_request = true && this.isSetRequest(); + boolean that_present_request = true && that.isSetRequest(); + if (this_present_request || that_present_request) { + if (!(this_present_request && that_present_request)) return false; - if (this.max_parts != that.max_parts) + if (!this.request.equals(that.request)) return false; } @@ -93075,58 +94189,28 @@ public boolean equals(get_partition_names_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_db_name = true && (isSetDb_name()); - list.add(present_db_name); - if (present_db_name) - list.add(db_name); - - boolean present_tbl_name = true && (isSetTbl_name()); - list.add(present_tbl_name); - if (present_tbl_name) - list.add(tbl_name); - - boolean present_max_parts = true; - list.add(present_max_parts); - if (present_max_parts) - list.add(max_parts); + boolean present_request = true && (isSetRequest()); + list.add(present_request); + if (present_request) + list.add(request); return list.hashCode(); } @Override - public int compareTo(get_partition_names_args other) { + public int compareTo(get_partition_values_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } - if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); + if (isSetRequest()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -93148,28 +94232,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_names_args("); + StringBuilder sb = new StringBuilder("get_partition_values_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { + sb.append("request:"); + if (this.request == null) { sb.append("null"); } else { - sb.append(this.tbl_name); + sb.append(this.request); } first = false; - if (!first) sb.append(", "); - sb.append("max_parts:"); - sb.append(this.max_parts); - first = false; sb.append(")"); return sb.toString(); } @@ -93177,6 +94249,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (request != null) { + request.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -93189,23 +94264,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_partition_names_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_names_argsStandardScheme getScheme() { - return new get_partition_names_argsStandardScheme(); + private static class get_partition_values_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_values_argsStandardScheme getScheme() { + return new get_partition_values_argsStandardScheme(); } } - private static class get_partition_names_argsStandardScheme extends StandardScheme { + private static class get_partition_values_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_values_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -93215,26 +94288,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I16) { - struct.max_parts = iprot.readI16(); - struct.setMax_partsIsSet(true); + case 1: // REQUEST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.request = new PartitionValuesRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -93248,102 +94306,78 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_values_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.tbl_name != null) { - oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); + if (struct.request != null) { + oprot.writeFieldBegin(REQUEST_FIELD_DESC); + struct.request.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI16(struct.max_parts); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partition_names_argsTupleSchemeFactory implements SchemeFactory { - public get_partition_names_argsTupleScheme getScheme() { - return new get_partition_names_argsTupleScheme(); + private static class get_partition_values_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_values_argsTupleScheme getScheme() { + return new get_partition_values_argsTupleScheme(); } } - private static class get_partition_names_argsTupleScheme extends TupleScheme { + private static class get_partition_values_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_values_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetRequest()) { optionals.set(0); } - if (struct.isSetTbl_name()) { - optionals.set(1); - } - if (struct.isSetMax_parts()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetMax_parts()) { - oprot.writeI16(struct.max_parts); + oprot.writeBitSet(optionals, 1); + if (struct.isSetRequest()) { + struct.request.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_values_args 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.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } - if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } - if (incoming.get(2)) { - struct.max_parts = iprot.readI16(); - struct.setMax_partsIsSet(true); + struct.request = new PartitionValuesRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); } } } } - public static class get_partition_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_result"); + public static class get_partition_values_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_values_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_names_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_names_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_values_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_values_resultTupleSchemeFactory()); } - private List success; // required - private MetaException o2; // required + private PartitionValuesResponse success; // required + private MetaException o1; // required + private NoSuchObjectException 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"), - O2((short)1, "o2"); + O1((short)1, "o1"), + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -93360,7 +94394,9 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O2 + case 1: // O1 + return O1; + case 2: // O2 return O2; default: return null; @@ -93406,69 +94442,60 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionValuesResponse.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_partition_names_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_values_result.class, metaDataMap); } - public get_partition_names_result() { + public get_partition_values_result() { } - public get_partition_names_result( - List success, - MetaException o2) + public get_partition_values_result( + PartitionValuesResponse success, + MetaException o1, + NoSuchObjectException o2) { this(); this.success = success; + this.o1 = o1; this.o2 = o2; } /** * Performs a deep copy on other. */ - public get_partition_names_result(get_partition_names_result other) { + public get_partition_values_result(get_partition_values_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success); - this.success = __this__success; + this.success = new PartitionValuesResponse(other.success); + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new NoSuchObjectException(other.o2); } } - public get_partition_names_result deepCopy() { - return new get_partition_names_result(this); + public get_partition_values_result deepCopy() { + return new get_partition_values_result(this); } @Override public void clear() { this.success = null; + this.o1 = null; this.o2 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public PartitionValuesResponse getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(PartitionValuesResponse success) { this.success = success; } @@ -93487,11 +94514,34 @@ public void setSuccessIsSet(boolean value) { } } - public MetaException getO2() { + public MetaException getO1() { + return this.o1; + } + + public void setO1(MetaException 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 NoSuchObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(NoSuchObjectException o2) { this.o2 = o2; } @@ -93516,7 +94566,15 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((PartitionValuesResponse)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); } break; @@ -93524,7 +94582,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((NoSuchObjectException)value); } break; @@ -93536,6 +94594,9 @@ public Object getFieldValue(_Fields field) { case SUCCESS: return getSuccess(); + case O1: + return getO1(); + case O2: return getO2(); @@ -93552,6 +94613,8 @@ public boolean isSet(_Fields field) { switch (field) { case SUCCESS: return isSetSuccess(); + case O1: + return isSetO1(); case O2: return isSetO2(); } @@ -93562,12 +94625,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_names_result) - return this.equals((get_partition_names_result)that); + if (that instanceof get_partition_values_result) + return this.equals((get_partition_values_result)that); return false; } - public boolean equals(get_partition_names_result that) { + public boolean equals(get_partition_values_result that) { if (that == null) return false; @@ -93580,6 +94643,15 @@ public boolean equals(get_partition_names_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) { @@ -93601,6 +94673,11 @@ 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) @@ -93610,7 +94687,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_names_result other) { + public int compareTo(get_partition_values_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -93627,6 +94704,16 @@ public int compareTo(get_partition_names_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; @@ -93654,7 +94741,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_names_result("); + StringBuilder sb = new StringBuilder("get_partition_values_result("); boolean first = true; sb.append("success:"); @@ -93665,6 +94752,14 @@ public String toString() { } 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"); @@ -93679,6 +94774,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -93697,15 +94795,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_names_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_names_resultStandardScheme getScheme() { - return new get_partition_names_resultStandardScheme(); + private static class get_partition_values_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_values_resultStandardScheme getScheme() { + return new get_partition_values_resultStandardScheme(); } } - private static class get_partition_names_resultStandardScheme extends StandardScheme { + private static class get_partition_values_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_values_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -93716,26 +94814,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); - struct.success = new ArrayList(_list1000.size); - String _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) - { - _elem1001 = iprot.readString(); - struct.success.add(_elem1001); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new PartitionValuesResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 1: // O2 + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o1 = new MetaException(); + 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 NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -93751,20 +94849,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_values_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1003 : struct.success) - { - oprot.writeString(_iter1003); - } - oprot.writeListEnd(); - } + 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) { @@ -93778,33 +94874,33 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name } - private static class get_partition_names_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_names_resultTupleScheme getScheme() { - return new get_partition_names_resultTupleScheme(); + private static class get_partition_values_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_values_resultTupleScheme getScheme() { + return new get_partition_values_resultTupleScheme(); } } - private static class get_partition_names_resultTupleScheme extends TupleScheme { + private static class get_partition_values_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_values_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter1004 : struct.success) - { - oprot.writeString(_iter1004); - } - } + struct.success.write(oprot); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); } if (struct.isSetO2()) { struct.o2.write(oprot); @@ -93812,24 +94908,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_values_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1005.size); - String _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) - { - _elem1006 = iprot.readString(); - struct.success.add(_elem1006); - } - } + struct.success = new PartitionValuesResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o2 = new MetaException(); + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(2)) { + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -94411,13 +95504,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 _list1008 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1008.size); - String _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1040.size); + String _elem1041; + for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) { - _elem1009 = iprot.readString(); - struct.part_vals.add(_elem1009); + _elem1041 = iprot.readString(); + struct.part_vals.add(_elem1041); } iprot.readListEnd(); } @@ -94461,9 +95554,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 _iter1011 : struct.part_vals) + for (String _iter1043 : struct.part_vals) { - oprot.writeString(_iter1011); + oprot.writeString(_iter1043); } oprot.writeListEnd(); } @@ -94512,9 +95605,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 _iter1012 : struct.part_vals) + for (String _iter1044 : struct.part_vals) { - oprot.writeString(_iter1012); + oprot.writeString(_iter1044); } } } @@ -94537,13 +95630,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1013.size); - String _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1045.size); + String _elem1046; + for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) { - _elem1014 = iprot.readString(); - struct.part_vals.add(_elem1014); + _elem1046 = iprot.readString(); + struct.part_vals.add(_elem1046); } } struct.setPart_valsIsSet(true); @@ -95034,14 +96127,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 _list1016 = iprot.readListBegin(); - struct.success = new ArrayList(_list1016.size); - Partition _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1048 = iprot.readListBegin(); + struct.success = new ArrayList(_list1048.size); + Partition _elem1049; + for (int _i1050 = 0; _i1050 < _list1048.size; ++_i1050) { - _elem1017 = new Partition(); - _elem1017.read(iprot); - struct.success.add(_elem1017); + _elem1049 = new Partition(); + _elem1049.read(iprot); + struct.success.add(_elem1049); } iprot.readListEnd(); } @@ -95085,9 +96178,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 _iter1019 : struct.success) + for (Partition _iter1051 : struct.success) { - _iter1019.write(oprot); + _iter1051.write(oprot); } oprot.writeListEnd(); } @@ -95134,9 +96227,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1020 : struct.success) + for (Partition _iter1052 : struct.success) { - _iter1020.write(oprot); + _iter1052.write(oprot); } } } @@ -95154,14 +96247,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 _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1021.size); - Partition _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1053 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1053.size); + Partition _elem1054; + for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) { - _elem1022 = new Partition(); - _elem1022.read(iprot); - struct.success.add(_elem1022); + _elem1054 = new Partition(); + _elem1054.read(iprot); + struct.success.add(_elem1054); } } struct.setSuccessIsSet(true); @@ -95933,13 +97026,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 _list1024 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1024.size); - String _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1056 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1056.size); + String _elem1057; + for (int _i1058 = 0; _i1058 < _list1056.size; ++_i1058) { - _elem1025 = iprot.readString(); - struct.part_vals.add(_elem1025); + _elem1057 = iprot.readString(); + struct.part_vals.add(_elem1057); } iprot.readListEnd(); } @@ -95967,13 +97060,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 _list1027 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1027.size); - String _elem1028; - for (int _i1029 = 0; _i1029 < _list1027.size; ++_i1029) + org.apache.thrift.protocol.TList _list1059 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1059.size); + String _elem1060; + for (int _i1061 = 0; _i1061 < _list1059.size; ++_i1061) { - _elem1028 = iprot.readString(); - struct.group_names.add(_elem1028); + _elem1060 = iprot.readString(); + struct.group_names.add(_elem1060); } iprot.readListEnd(); } @@ -96009,9 +97102,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 _iter1030 : struct.part_vals) + for (String _iter1062 : struct.part_vals) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1062); } oprot.writeListEnd(); } @@ -96029,9 +97122,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 _iter1031 : struct.group_names) + for (String _iter1063 : struct.group_names) { - oprot.writeString(_iter1031); + oprot.writeString(_iter1063); } oprot.writeListEnd(); } @@ -96083,9 +97176,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 _iter1032 : struct.part_vals) + for (String _iter1064 : struct.part_vals) { - oprot.writeString(_iter1032); + oprot.writeString(_iter1064); } } } @@ -96098,9 +97191,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 _iter1033 : struct.group_names) + for (String _iter1065 : struct.group_names) { - oprot.writeString(_iter1033); + oprot.writeString(_iter1065); } } } @@ -96120,13 +97213,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1034 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1066 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1035 = iprot.readString(); - struct.part_vals.add(_elem1035); + _elem1067 = iprot.readString(); + struct.part_vals.add(_elem1067); } } struct.setPart_valsIsSet(true); @@ -96141,13 +97234,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1037.size); - String _elem1038; - for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) + org.apache.thrift.protocol.TList _list1069 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1069.size); + String _elem1070; + for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) { - _elem1038 = iprot.readString(); - struct.group_names.add(_elem1038); + _elem1070 = iprot.readString(); + struct.group_names.add(_elem1070); } } struct.setGroup_namesIsSet(true); @@ -96634,14 +97727,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 _list1040 = iprot.readListBegin(); - struct.success = new ArrayList(_list1040.size); - Partition _elem1041; - for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) + org.apache.thrift.protocol.TList _list1072 = iprot.readListBegin(); + struct.success = new ArrayList(_list1072.size); + Partition _elem1073; + for (int _i1074 = 0; _i1074 < _list1072.size; ++_i1074) { - _elem1041 = new Partition(); - _elem1041.read(iprot); - struct.success.add(_elem1041); + _elem1073 = new Partition(); + _elem1073.read(iprot); + struct.success.add(_elem1073); } iprot.readListEnd(); } @@ -96685,9 +97778,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 _iter1043 : struct.success) + for (Partition _iter1075 : struct.success) { - _iter1043.write(oprot); + _iter1075.write(oprot); } oprot.writeListEnd(); } @@ -96734,9 +97827,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1044 : struct.success) + for (Partition _iter1076 : struct.success) { - _iter1044.write(oprot); + _iter1076.write(oprot); } } } @@ -96754,14 +97847,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 _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1045.size); - Partition _elem1046; - for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) + org.apache.thrift.protocol.TList _list1077 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1077.size); + Partition _elem1078; + for (int _i1079 = 0; _i1079 < _list1077.size; ++_i1079) { - _elem1046 = new Partition(); - _elem1046.read(iprot); - struct.success.add(_elem1046); + _elem1078 = new Partition(); + _elem1078.read(iprot); + struct.success.add(_elem1078); } } struct.setSuccessIsSet(true); @@ -97354,13 +98447,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 _list1048 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1048.size); - String _elem1049; - for (int _i1050 = 0; _i1050 < _list1048.size; ++_i1050) + org.apache.thrift.protocol.TList _list1080 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1080.size); + String _elem1081; + for (int _i1082 = 0; _i1082 < _list1080.size; ++_i1082) { - _elem1049 = iprot.readString(); - struct.part_vals.add(_elem1049); + _elem1081 = iprot.readString(); + struct.part_vals.add(_elem1081); } iprot.readListEnd(); } @@ -97404,9 +98497,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 _iter1051 : struct.part_vals) + for (String _iter1083 : struct.part_vals) { - oprot.writeString(_iter1051); + oprot.writeString(_iter1083); } oprot.writeListEnd(); } @@ -97455,9 +98548,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 _iter1052 : struct.part_vals) + for (String _iter1084 : struct.part_vals) { - oprot.writeString(_iter1052); + oprot.writeString(_iter1084); } } } @@ -97480,13 +98573,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1053 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1053.size); - String _elem1054; - for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) + org.apache.thrift.protocol.TList _list1085 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1085.size); + String _elem1086; + for (int _i1087 = 0; _i1087 < _list1085.size; ++_i1087) { - _elem1054 = iprot.readString(); - struct.part_vals.add(_elem1054); + _elem1086 = iprot.readString(); + struct.part_vals.add(_elem1086); } } struct.setPart_valsIsSet(true); @@ -97974,13 +99067,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 _list1056 = iprot.readListBegin(); - struct.success = new ArrayList(_list1056.size); - String _elem1057; - for (int _i1058 = 0; _i1058 < _list1056.size; ++_i1058) + org.apache.thrift.protocol.TList _list1088 = iprot.readListBegin(); + struct.success = new ArrayList(_list1088.size); + String _elem1089; + for (int _i1090 = 0; _i1090 < _list1088.size; ++_i1090) { - _elem1057 = iprot.readString(); - struct.success.add(_elem1057); + _elem1089 = iprot.readString(); + struct.success.add(_elem1089); } iprot.readListEnd(); } @@ -98024,9 +99117,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 _iter1059 : struct.success) + for (String _iter1091 : struct.success) { - oprot.writeString(_iter1059); + oprot.writeString(_iter1091); } oprot.writeListEnd(); } @@ -98073,9 +99166,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1060 : struct.success) + for (String _iter1092 : struct.success) { - oprot.writeString(_iter1060); + oprot.writeString(_iter1092); } } } @@ -98093,13 +99186,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 _list1061 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1061.size); - String _elem1062; - for (int _i1063 = 0; _i1063 < _list1061.size; ++_i1063) + org.apache.thrift.protocol.TList _list1093 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1093.size); + String _elem1094; + for (int _i1095 = 0; _i1095 < _list1093.size; ++_i1095) { - _elem1062 = iprot.readString(); - struct.success.add(_elem1062); + _elem1094 = iprot.readString(); + struct.success.add(_elem1094); } } struct.setSuccessIsSet(true); @@ -99266,14 +100359,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 _list1064 = iprot.readListBegin(); - struct.success = new ArrayList(_list1064.size); - Partition _elem1065; - for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) + org.apache.thrift.protocol.TList _list1096 = iprot.readListBegin(); + struct.success = new ArrayList(_list1096.size); + Partition _elem1097; + for (int _i1098 = 0; _i1098 < _list1096.size; ++_i1098) { - _elem1065 = new Partition(); - _elem1065.read(iprot); - struct.success.add(_elem1065); + _elem1097 = new Partition(); + _elem1097.read(iprot); + struct.success.add(_elem1097); } iprot.readListEnd(); } @@ -99317,9 +100410,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 _iter1067 : struct.success) + for (Partition _iter1099 : struct.success) { - _iter1067.write(oprot); + _iter1099.write(oprot); } oprot.writeListEnd(); } @@ -99366,9 +100459,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1068 : struct.success) + for (Partition _iter1100 : struct.success) { - _iter1068.write(oprot); + _iter1100.write(oprot); } } } @@ -99386,14 +100479,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 _list1069 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1069.size); - Partition _elem1070; - for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) + org.apache.thrift.protocol.TList _list1101 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1101.size); + Partition _elem1102; + for (int _i1103 = 0; _i1103 < _list1101.size; ++_i1103) { - _elem1070 = new Partition(); - _elem1070.read(iprot); - struct.success.add(_elem1070); + _elem1102 = new Partition(); + _elem1102.read(iprot); + struct.success.add(_elem1102); } } struct.setSuccessIsSet(true); @@ -100560,14 +101653,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 _list1072 = iprot.readListBegin(); - struct.success = new ArrayList(_list1072.size); - PartitionSpec _elem1073; - for (int _i1074 = 0; _i1074 < _list1072.size; ++_i1074) + org.apache.thrift.protocol.TList _list1104 = iprot.readListBegin(); + struct.success = new ArrayList(_list1104.size); + PartitionSpec _elem1105; + for (int _i1106 = 0; _i1106 < _list1104.size; ++_i1106) { - _elem1073 = new PartitionSpec(); - _elem1073.read(iprot); - struct.success.add(_elem1073); + _elem1105 = new PartitionSpec(); + _elem1105.read(iprot); + struct.success.add(_elem1105); } iprot.readListEnd(); } @@ -100611,9 +101704,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 _iter1075 : struct.success) + for (PartitionSpec _iter1107 : struct.success) { - _iter1075.write(oprot); + _iter1107.write(oprot); } oprot.writeListEnd(); } @@ -100660,9 +101753,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 _iter1076 : struct.success) + for (PartitionSpec _iter1108 : struct.success) { - _iter1076.write(oprot); + _iter1108.write(oprot); } } } @@ -100680,14 +101773,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 _list1077 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1077.size); - PartitionSpec _elem1078; - for (int _i1079 = 0; _i1079 < _list1077.size; ++_i1079) + org.apache.thrift.protocol.TList _list1109 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1109.size); + PartitionSpec _elem1110; + for (int _i1111 = 0; _i1111 < _list1109.size; ++_i1111) { - _elem1078 = new PartitionSpec(); - _elem1078.read(iprot); - struct.success.add(_elem1078); + _elem1110 = new PartitionSpec(); + _elem1110.read(iprot); + struct.success.add(_elem1110); } } struct.setSuccessIsSet(true); @@ -103271,13 +104364,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 _list1080 = iprot.readListBegin(); - struct.names = new ArrayList(_list1080.size); - String _elem1081; - for (int _i1082 = 0; _i1082 < _list1080.size; ++_i1082) + org.apache.thrift.protocol.TList _list1112 = iprot.readListBegin(); + struct.names = new ArrayList(_list1112.size); + String _elem1113; + for (int _i1114 = 0; _i1114 < _list1112.size; ++_i1114) { - _elem1081 = iprot.readString(); - struct.names.add(_elem1081); + _elem1113 = iprot.readString(); + struct.names.add(_elem1113); } iprot.readListEnd(); } @@ -103313,9 +104406,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 _iter1083 : struct.names) + for (String _iter1115 : struct.names) { - oprot.writeString(_iter1083); + oprot.writeString(_iter1115); } oprot.writeListEnd(); } @@ -103358,9 +104451,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1084 : struct.names) + for (String _iter1116 : struct.names) { - oprot.writeString(_iter1084); + oprot.writeString(_iter1116); } } } @@ -103380,13 +104473,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1085 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1085.size); - String _elem1086; - for (int _i1087 = 0; _i1087 < _list1085.size; ++_i1087) + org.apache.thrift.protocol.TList _list1117 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1117.size); + String _elem1118; + for (int _i1119 = 0; _i1119 < _list1117.size; ++_i1119) { - _elem1086 = iprot.readString(); - struct.names.add(_elem1086); + _elem1118 = iprot.readString(); + struct.names.add(_elem1118); } } struct.setNamesIsSet(true); @@ -103873,14 +104966,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 _list1088 = iprot.readListBegin(); - struct.success = new ArrayList(_list1088.size); - Partition _elem1089; - for (int _i1090 = 0; _i1090 < _list1088.size; ++_i1090) + org.apache.thrift.protocol.TList _list1120 = iprot.readListBegin(); + struct.success = new ArrayList(_list1120.size); + Partition _elem1121; + for (int _i1122 = 0; _i1122 < _list1120.size; ++_i1122) { - _elem1089 = new Partition(); - _elem1089.read(iprot); - struct.success.add(_elem1089); + _elem1121 = new Partition(); + _elem1121.read(iprot); + struct.success.add(_elem1121); } iprot.readListEnd(); } @@ -103924,9 +105017,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 _iter1091 : struct.success) + for (Partition _iter1123 : struct.success) { - _iter1091.write(oprot); + _iter1123.write(oprot); } oprot.writeListEnd(); } @@ -103973,9 +105066,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1092 : struct.success) + for (Partition _iter1124 : struct.success) { - _iter1092.write(oprot); + _iter1124.write(oprot); } } } @@ -103993,14 +105086,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 _list1093 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1093.size); - Partition _elem1094; - for (int _i1095 = 0; _i1095 < _list1093.size; ++_i1095) + org.apache.thrift.protocol.TList _list1125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1125.size); + Partition _elem1126; + for (int _i1127 = 0; _i1127 < _list1125.size; ++_i1127) { - _elem1094 = new Partition(); - _elem1094.read(iprot); - struct.success.add(_elem1094); + _elem1126 = new Partition(); + _elem1126.read(iprot); + struct.success.add(_elem1126); } } struct.setSuccessIsSet(true); @@ -105550,14 +106643,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 _list1096 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1096.size); - Partition _elem1097; - for (int _i1098 = 0; _i1098 < _list1096.size; ++_i1098) + org.apache.thrift.protocol.TList _list1128 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1128.size); + Partition _elem1129; + for (int _i1130 = 0; _i1130 < _list1128.size; ++_i1130) { - _elem1097 = new Partition(); - _elem1097.read(iprot); - struct.new_parts.add(_elem1097); + _elem1129 = new Partition(); + _elem1129.read(iprot); + struct.new_parts.add(_elem1129); } iprot.readListEnd(); } @@ -105593,9 +106686,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 _iter1099 : struct.new_parts) + for (Partition _iter1131 : struct.new_parts) { - _iter1099.write(oprot); + _iter1131.write(oprot); } oprot.writeListEnd(); } @@ -105638,9 +106731,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 _iter1100 : struct.new_parts) + for (Partition _iter1132 : struct.new_parts) { - _iter1100.write(oprot); + _iter1132.write(oprot); } } } @@ -105660,14 +106753,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1101 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1101.size); - Partition _elem1102; - for (int _i1103 = 0; _i1103 < _list1101.size; ++_i1103) + org.apache.thrift.protocol.TList _list1133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1133.size); + Partition _elem1134; + for (int _i1135 = 0; _i1135 < _list1133.size; ++_i1135) { - _elem1102 = new Partition(); - _elem1102.read(iprot); - struct.new_parts.add(_elem1102); + _elem1134 = new Partition(); + _elem1134.read(iprot); + struct.new_parts.add(_elem1134); } } struct.setNew_partsIsSet(true); @@ -106720,14 +107813,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 _list1104 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1104.size); - Partition _elem1105; - for (int _i1106 = 0; _i1106 < _list1104.size; ++_i1106) + org.apache.thrift.protocol.TList _list1136 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1136.size); + Partition _elem1137; + for (int _i1138 = 0; _i1138 < _list1136.size; ++_i1138) { - _elem1105 = new Partition(); - _elem1105.read(iprot); - struct.new_parts.add(_elem1105); + _elem1137 = new Partition(); + _elem1137.read(iprot); + struct.new_parts.add(_elem1137); } iprot.readListEnd(); } @@ -106772,9 +107865,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 _iter1107 : struct.new_parts) + for (Partition _iter1139 : struct.new_parts) { - _iter1107.write(oprot); + _iter1139.write(oprot); } oprot.writeListEnd(); } @@ -106825,9 +107918,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 _iter1108 : struct.new_parts) + for (Partition _iter1140 : struct.new_parts) { - _iter1108.write(oprot); + _iter1140.write(oprot); } } } @@ -106850,14 +107943,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1109 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1109.size); - Partition _elem1110; - for (int _i1111 = 0; _i1111 < _list1109.size; ++_i1111) + org.apache.thrift.protocol.TList _list1141 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1141.size); + Partition _elem1142; + for (int _i1143 = 0; _i1143 < _list1141.size; ++_i1143) { - _elem1110 = new Partition(); - _elem1110.read(iprot); - struct.new_parts.add(_elem1110); + _elem1142 = new Partition(); + _elem1142.read(iprot); + struct.new_parts.add(_elem1142); } } struct.setNew_partsIsSet(true); @@ -109058,13 +110151,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 _list1112 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1112.size); - String _elem1113; - for (int _i1114 = 0; _i1114 < _list1112.size; ++_i1114) + org.apache.thrift.protocol.TList _list1144 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1144.size); + String _elem1145; + for (int _i1146 = 0; _i1146 < _list1144.size; ++_i1146) { - _elem1113 = iprot.readString(); - struct.part_vals.add(_elem1113); + _elem1145 = iprot.readString(); + struct.part_vals.add(_elem1145); } iprot.readListEnd(); } @@ -109109,9 +110202,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 _iter1115 : struct.part_vals) + for (String _iter1147 : struct.part_vals) { - oprot.writeString(_iter1115); + oprot.writeString(_iter1147); } oprot.writeListEnd(); } @@ -109162,9 +110255,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 _iter1116 : struct.part_vals) + for (String _iter1148 : struct.part_vals) { - oprot.writeString(_iter1116); + oprot.writeString(_iter1148); } } } @@ -109187,13 +110280,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1117 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1117.size); - String _elem1118; - for (int _i1119 = 0; _i1119 < _list1117.size; ++_i1119) + org.apache.thrift.protocol.TList _list1149 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1149.size); + String _elem1150; + for (int _i1151 = 0; _i1151 < _list1149.size; ++_i1151) { - _elem1118 = iprot.readString(); - struct.part_vals.add(_elem1118); + _elem1150 = iprot.readString(); + struct.part_vals.add(_elem1150); } } struct.setPart_valsIsSet(true); @@ -110067,13 +111160,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 _list1120 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1120.size); - String _elem1121; - for (int _i1122 = 0; _i1122 < _list1120.size; ++_i1122) + org.apache.thrift.protocol.TList _list1152 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1152.size); + String _elem1153; + for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) { - _elem1121 = iprot.readString(); - struct.part_vals.add(_elem1121); + _elem1153 = iprot.readString(); + struct.part_vals.add(_elem1153); } iprot.readListEnd(); } @@ -110107,9 +111200,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 _iter1123 : struct.part_vals) + for (String _iter1155 : struct.part_vals) { - oprot.writeString(_iter1123); + oprot.writeString(_iter1155); } oprot.writeListEnd(); } @@ -110146,9 +111239,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 _iter1124 : struct.part_vals) + for (String _iter1156 : struct.part_vals) { - oprot.writeString(_iter1124); + oprot.writeString(_iter1156); } } } @@ -110163,13 +111256,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 _list1125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1125.size); - String _elem1126; - for (int _i1127 = 0; _i1127 < _list1125.size; ++_i1127) + org.apache.thrift.protocol.TList _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1157.size); + String _elem1158; + for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) { - _elem1126 = iprot.readString(); - struct.part_vals.add(_elem1126); + _elem1158 = iprot.readString(); + struct.part_vals.add(_elem1158); } } struct.setPart_valsIsSet(true); @@ -112324,13 +113417,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 _list1128 = iprot.readListBegin(); - struct.success = new ArrayList(_list1128.size); - String _elem1129; - for (int _i1130 = 0; _i1130 < _list1128.size; ++_i1130) + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.success = new ArrayList(_list1160.size); + String _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) { - _elem1129 = iprot.readString(); - struct.success.add(_elem1129); + _elem1161 = iprot.readString(); + struct.success.add(_elem1161); } iprot.readListEnd(); } @@ -112365,9 +113458,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 _iter1131 : struct.success) + for (String _iter1163 : struct.success) { - oprot.writeString(_iter1131); + oprot.writeString(_iter1163); } oprot.writeListEnd(); } @@ -112406,9 +113499,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1132 : struct.success) + for (String _iter1164 : struct.success) { - oprot.writeString(_iter1132); + oprot.writeString(_iter1164); } } } @@ -112423,13 +113516,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 _list1133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1133.size); - String _elem1134; - for (int _i1135 = 0; _i1135 < _list1133.size; ++_i1135) + 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) { - _elem1134 = iprot.readString(); - struct.success.add(_elem1134); + _elem1166 = iprot.readString(); + struct.success.add(_elem1166); } } struct.setSuccessIsSet(true); @@ -113192,15 +114285,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 _map1136 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1136.size); - String _key1137; - String _val1138; - for (int _i1139 = 0; _i1139 < _map1136.size; ++_i1139) + org.apache.thrift.protocol.TMap _map1168 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1168.size); + String _key1169; + String _val1170; + for (int _i1171 = 0; _i1171 < _map1168.size; ++_i1171) { - _key1137 = iprot.readString(); - _val1138 = iprot.readString(); - struct.success.put(_key1137, _val1138); + _key1169 = iprot.readString(); + _val1170 = iprot.readString(); + struct.success.put(_key1169, _val1170); } iprot.readMapEnd(); } @@ -113235,10 +114328,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 _iter1140 : struct.success.entrySet()) + for (Map.Entry _iter1172 : struct.success.entrySet()) { - oprot.writeString(_iter1140.getKey()); - oprot.writeString(_iter1140.getValue()); + oprot.writeString(_iter1172.getKey()); + oprot.writeString(_iter1172.getValue()); } oprot.writeMapEnd(); } @@ -113277,10 +114370,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 _iter1141 : struct.success.entrySet()) + for (Map.Entry _iter1173 : struct.success.entrySet()) { - oprot.writeString(_iter1141.getKey()); - oprot.writeString(_iter1141.getValue()); + oprot.writeString(_iter1173.getKey()); + oprot.writeString(_iter1173.getValue()); } } } @@ -113295,15 +114388,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 _map1142 = 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*_map1142.size); - String _key1143; - String _val1144; - for (int _i1145 = 0; _i1145 < _map1142.size; ++_i1145) + org.apache.thrift.protocol.TMap _map1174 = 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*_map1174.size); + String _key1175; + String _val1176; + for (int _i1177 = 0; _i1177 < _map1174.size; ++_i1177) { - _key1143 = iprot.readString(); - _val1144 = iprot.readString(); - struct.success.put(_key1143, _val1144); + _key1175 = iprot.readString(); + _val1176 = iprot.readString(); + struct.success.put(_key1175, _val1176); } } struct.setSuccessIsSet(true); @@ -113898,15 +114991,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 _map1146 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1146.size); - String _key1147; - String _val1148; - for (int _i1149 = 0; _i1149 < _map1146.size; ++_i1149) + org.apache.thrift.protocol.TMap _map1178 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1178.size); + String _key1179; + String _val1180; + for (int _i1181 = 0; _i1181 < _map1178.size; ++_i1181) { - _key1147 = iprot.readString(); - _val1148 = iprot.readString(); - struct.part_vals.put(_key1147, _val1148); + _key1179 = iprot.readString(); + _val1180 = iprot.readString(); + struct.part_vals.put(_key1179, _val1180); } iprot.readMapEnd(); } @@ -113950,10 +115043,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 _iter1150 : struct.part_vals.entrySet()) + for (Map.Entry _iter1182 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1150.getKey()); - oprot.writeString(_iter1150.getValue()); + oprot.writeString(_iter1182.getKey()); + oprot.writeString(_iter1182.getValue()); } oprot.writeMapEnd(); } @@ -114004,10 +115097,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1151 : struct.part_vals.entrySet()) + for (Map.Entry _iter1183 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1151.getKey()); - oprot.writeString(_iter1151.getValue()); + oprot.writeString(_iter1183.getKey()); + oprot.writeString(_iter1183.getValue()); } } } @@ -114030,15 +115123,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1152 = 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*_map1152.size); - String _key1153; - String _val1154; - for (int _i1155 = 0; _i1155 < _map1152.size; ++_i1155) + org.apache.thrift.protocol.TMap _map1184 = 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*_map1184.size); + String _key1185; + String _val1186; + for (int _i1187 = 0; _i1187 < _map1184.size; ++_i1187) { - _key1153 = iprot.readString(); - _val1154 = iprot.readString(); - struct.part_vals.put(_key1153, _val1154); + _key1185 = iprot.readString(); + _val1186 = iprot.readString(); + struct.part_vals.put(_key1185, _val1186); } } struct.setPart_valsIsSet(true); @@ -115522,15 +116615,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 _map1156 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1156.size); - String _key1157; - String _val1158; - for (int _i1159 = 0; _i1159 < _map1156.size; ++_i1159) + org.apache.thrift.protocol.TMap _map1188 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1188.size); + String _key1189; + String _val1190; + for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) { - _key1157 = iprot.readString(); - _val1158 = iprot.readString(); - struct.part_vals.put(_key1157, _val1158); + _key1189 = iprot.readString(); + _val1190 = iprot.readString(); + struct.part_vals.put(_key1189, _val1190); } iprot.readMapEnd(); } @@ -115574,10 +116667,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 _iter1160 : struct.part_vals.entrySet()) + for (Map.Entry _iter1192 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1160.getKey()); - oprot.writeString(_iter1160.getValue()); + oprot.writeString(_iter1192.getKey()); + oprot.writeString(_iter1192.getValue()); } oprot.writeMapEnd(); } @@ -115628,10 +116721,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1161 : struct.part_vals.entrySet()) + for (Map.Entry _iter1193 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1161.getKey()); - oprot.writeString(_iter1161.getValue()); + oprot.writeString(_iter1193.getKey()); + oprot.writeString(_iter1193.getValue()); } } } @@ -115654,15 +116747,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1162 = 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*_map1162.size); - String _key1163; - String _val1164; - for (int _i1165 = 0; _i1165 < _map1162.size; ++_i1165) + org.apache.thrift.protocol.TMap _map1194 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1194.size); + String _key1195; + String _val1196; + for (int _i1197 = 0; _i1197 < _map1194.size; ++_i1197) { - _key1163 = iprot.readString(); - _val1164 = iprot.readString(); - struct.part_vals.put(_key1163, _val1164); + _key1195 = iprot.readString(); + _val1196 = iprot.readString(); + struct.part_vals.put(_key1195, _val1196); } } struct.setPart_valsIsSet(true); @@ -122386,14 +123479,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1166 = iprot.readListBegin(); - struct.success = new ArrayList(_list1166.size); - Index _elem1167; - for (int _i1168 = 0; _i1168 < _list1166.size; ++_i1168) + org.apache.thrift.protocol.TList _list1198 = iprot.readListBegin(); + struct.success = new ArrayList(_list1198.size); + Index _elem1199; + for (int _i1200 = 0; _i1200 < _list1198.size; ++_i1200) { - _elem1167 = new Index(); - _elem1167.read(iprot); - struct.success.add(_elem1167); + _elem1199 = new Index(); + _elem1199.read(iprot); + struct.success.add(_elem1199); } iprot.readListEnd(); } @@ -122437,9 +123530,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter1169 : struct.success) + for (Index _iter1201 : struct.success) { - _iter1169.write(oprot); + _iter1201.write(oprot); } oprot.writeListEnd(); } @@ -122486,9 +123579,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1170 : struct.success) + for (Index _iter1202 : struct.success) { - _iter1170.write(oprot); + _iter1202.write(oprot); } } } @@ -122506,14 +123599,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1171 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1171.size); - Index _elem1172; - for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) + org.apache.thrift.protocol.TList _list1203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1203.size); + Index _elem1204; + for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) { - _elem1172 = new Index(); - _elem1172.read(iprot); - struct.success.add(_elem1172); + _elem1204 = new Index(); + _elem1204.read(iprot); + struct.success.add(_elem1204); } } struct.setSuccessIsSet(true); @@ -123492,13 +124585,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1174 = iprot.readListBegin(); - struct.success = new ArrayList(_list1174.size); - String _elem1175; - for (int _i1176 = 0; _i1176 < _list1174.size; ++_i1176) + org.apache.thrift.protocol.TList _list1206 = iprot.readListBegin(); + struct.success = new ArrayList(_list1206.size); + String _elem1207; + for (int _i1208 = 0; _i1208 < _list1206.size; ++_i1208) { - _elem1175 = iprot.readString(); - struct.success.add(_elem1175); + _elem1207 = iprot.readString(); + struct.success.add(_elem1207); } iprot.readListEnd(); } @@ -123533,9 +124626,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1177 : struct.success) + for (String _iter1209 : struct.success) { - oprot.writeString(_iter1177); + oprot.writeString(_iter1209); } oprot.writeListEnd(); } @@ -123574,9 +124667,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1178 : struct.success) + for (String _iter1210 : struct.success) { - oprot.writeString(_iter1178); + oprot.writeString(_iter1210); } } } @@ -123591,13 +124684,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1179 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1179.size); - String _elem1180; - for (int _i1181 = 0; _i1181 < _list1179.size; ++_i1181) + org.apache.thrift.protocol.TList _list1211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1211.size); + String _elem1212; + for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213) { - _elem1180 = iprot.readString(); - struct.success.add(_elem1180); + _elem1212 = iprot.readString(); + struct.success.add(_elem1212); } } struct.setSuccessIsSet(true); @@ -143084,13 +144177,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 _list1182 = iprot.readListBegin(); - struct.success = new ArrayList(_list1182.size); - String _elem1183; - for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) + org.apache.thrift.protocol.TList _list1214 = iprot.readListBegin(); + struct.success = new ArrayList(_list1214.size); + String _elem1215; + for (int _i1216 = 0; _i1216 < _list1214.size; ++_i1216) { - _elem1183 = iprot.readString(); - struct.success.add(_elem1183); + _elem1215 = iprot.readString(); + struct.success.add(_elem1215); } iprot.readListEnd(); } @@ -143125,9 +144218,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 _iter1185 : struct.success) + for (String _iter1217 : struct.success) { - oprot.writeString(_iter1185); + oprot.writeString(_iter1217); } oprot.writeListEnd(); } @@ -143166,9 +144259,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1186 : struct.success) + for (String _iter1218 : struct.success) { - oprot.writeString(_iter1186); + oprot.writeString(_iter1218); } } } @@ -143183,13 +144276,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 _list1187 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1187.size); - String _elem1188; - for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) + org.apache.thrift.protocol.TList _list1219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1219.size); + String _elem1220; + for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) { - _elem1188 = iprot.readString(); - struct.success.add(_elem1188); + _elem1220 = iprot.readString(); + struct.success.add(_elem1220); } } struct.setSuccessIsSet(true); @@ -147244,13 +148337,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 _list1190 = iprot.readListBegin(); - struct.success = new ArrayList(_list1190.size); - String _elem1191; - for (int _i1192 = 0; _i1192 < _list1190.size; ++_i1192) + org.apache.thrift.protocol.TList _list1222 = iprot.readListBegin(); + struct.success = new ArrayList(_list1222.size); + String _elem1223; + for (int _i1224 = 0; _i1224 < _list1222.size; ++_i1224) { - _elem1191 = iprot.readString(); - struct.success.add(_elem1191); + _elem1223 = iprot.readString(); + struct.success.add(_elem1223); } iprot.readListEnd(); } @@ -147285,9 +148378,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 _iter1193 : struct.success) + for (String _iter1225 : struct.success) { - oprot.writeString(_iter1193); + oprot.writeString(_iter1225); } oprot.writeListEnd(); } @@ -147326,9 +148419,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1194 : struct.success) + for (String _iter1226 : struct.success) { - oprot.writeString(_iter1194); + oprot.writeString(_iter1226); } } } @@ -147343,13 +148436,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 _list1195 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1195.size); - String _elem1196; - for (int _i1197 = 0; _i1197 < _list1195.size; ++_i1197) + org.apache.thrift.protocol.TList _list1227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1227.size); + String _elem1228; + for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) { - _elem1196 = iprot.readString(); - struct.success.add(_elem1196); + _elem1228 = iprot.readString(); + struct.success.add(_elem1228); } } struct.setSuccessIsSet(true); @@ -150640,14 +151733,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 _list1198 = iprot.readListBegin(); - struct.success = new ArrayList(_list1198.size); - Role _elem1199; - for (int _i1200 = 0; _i1200 < _list1198.size; ++_i1200) + org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); + struct.success = new ArrayList(_list1230.size); + Role _elem1231; + for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) { - _elem1199 = new Role(); - _elem1199.read(iprot); - struct.success.add(_elem1199); + _elem1231 = new Role(); + _elem1231.read(iprot); + struct.success.add(_elem1231); } iprot.readListEnd(); } @@ -150682,9 +151775,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 _iter1201 : struct.success) + for (Role _iter1233 : struct.success) { - _iter1201.write(oprot); + _iter1233.write(oprot); } oprot.writeListEnd(); } @@ -150723,9 +151816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1202 : struct.success) + for (Role _iter1234 : struct.success) { - _iter1202.write(oprot); + _iter1234.write(oprot); } } } @@ -150740,14 +151833,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 _list1203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1203.size); - Role _elem1204; - for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) + org.apache.thrift.protocol.TList _list1235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1235.size); + Role _elem1236; + for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) { - _elem1204 = new Role(); - _elem1204.read(iprot); - struct.success.add(_elem1204); + _elem1236 = new Role(); + _elem1236.read(iprot); + struct.success.add(_elem1236); } } struct.setSuccessIsSet(true); @@ -153752,13 +154845,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 _list1206 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1206.size); - String _elem1207; - for (int _i1208 = 0; _i1208 < _list1206.size; ++_i1208) + org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1238.size); + String _elem1239; + for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) { - _elem1207 = iprot.readString(); - struct.group_names.add(_elem1207); + _elem1239 = iprot.readString(); + struct.group_names.add(_elem1239); } iprot.readListEnd(); } @@ -153794,9 +154887,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 _iter1209 : struct.group_names) + for (String _iter1241 : struct.group_names) { - oprot.writeString(_iter1209); + oprot.writeString(_iter1241); } oprot.writeListEnd(); } @@ -153839,9 +154932,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 _iter1210 : struct.group_names) + for (String _iter1242 : struct.group_names) { - oprot.writeString(_iter1210); + oprot.writeString(_iter1242); } } } @@ -153862,13 +154955,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1211 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1211.size); - String _elem1212; - for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213) + org.apache.thrift.protocol.TList _list1243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1212 = iprot.readString(); - struct.group_names.add(_elem1212); + _elem1244 = iprot.readString(); + struct.group_names.add(_elem1244); } } struct.setGroup_namesIsSet(true); @@ -155326,14 +156419,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 _list1214 = iprot.readListBegin(); - struct.success = new ArrayList(_list1214.size); - HiveObjectPrivilege _elem1215; - for (int _i1216 = 0; _i1216 < _list1214.size; ++_i1216) + org.apache.thrift.protocol.TList _list1246 = iprot.readListBegin(); + struct.success = new ArrayList(_list1246.size); + HiveObjectPrivilege _elem1247; + for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) { - _elem1215 = new HiveObjectPrivilege(); - _elem1215.read(iprot); - struct.success.add(_elem1215); + _elem1247 = new HiveObjectPrivilege(); + _elem1247.read(iprot); + struct.success.add(_elem1247); } iprot.readListEnd(); } @@ -155368,9 +156461,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 _iter1217 : struct.success) + for (HiveObjectPrivilege _iter1249 : struct.success) { - _iter1217.write(oprot); + _iter1249.write(oprot); } oprot.writeListEnd(); } @@ -155409,9 +156502,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1218 : struct.success) + for (HiveObjectPrivilege _iter1250 : struct.success) { - _iter1218.write(oprot); + _iter1250.write(oprot); } } } @@ -155426,14 +156519,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 _list1219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1219.size); - HiveObjectPrivilege _elem1220; - for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) + org.apache.thrift.protocol.TList _list1251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1251.size); + HiveObjectPrivilege _elem1252; + for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) { - _elem1220 = new HiveObjectPrivilege(); - _elem1220.read(iprot); - struct.success.add(_elem1220); + _elem1252 = new HiveObjectPrivilege(); + _elem1252.read(iprot); + struct.success.add(_elem1252); } } struct.setSuccessIsSet(true); @@ -158335,13 +159428,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 _list1222 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1222.size); - String _elem1223; - for (int _i1224 = 0; _i1224 < _list1222.size; ++_i1224) + org.apache.thrift.protocol.TList _list1254 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1254.size); + String _elem1255; + for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) { - _elem1223 = iprot.readString(); - struct.group_names.add(_elem1223); + _elem1255 = iprot.readString(); + struct.group_names.add(_elem1255); } iprot.readListEnd(); } @@ -158372,9 +159465,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 _iter1225 : struct.group_names) + for (String _iter1257 : struct.group_names) { - oprot.writeString(_iter1225); + oprot.writeString(_iter1257); } oprot.writeListEnd(); } @@ -158411,9 +159504,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 _iter1226 : struct.group_names) + for (String _iter1258 : struct.group_names) { - oprot.writeString(_iter1226); + oprot.writeString(_iter1258); } } } @@ -158429,13 +159522,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1227.size); - String _elem1228; - for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) + org.apache.thrift.protocol.TList _list1259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1259.size); + String _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1228 = iprot.readString(); - struct.group_names.add(_elem1228); + _elem1260 = iprot.readString(); + struct.group_names.add(_elem1260); } } struct.setGroup_namesIsSet(true); @@ -158838,13 +159931,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 _list1230 = iprot.readListBegin(); - struct.success = new ArrayList(_list1230.size); - String _elem1231; - for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) + org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); + struct.success = new ArrayList(_list1262.size); + String _elem1263; + for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) { - _elem1231 = iprot.readString(); - struct.success.add(_elem1231); + _elem1263 = iprot.readString(); + struct.success.add(_elem1263); } iprot.readListEnd(); } @@ -158879,9 +159972,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 _iter1233 : struct.success) + for (String _iter1265 : struct.success) { - oprot.writeString(_iter1233); + oprot.writeString(_iter1265); } oprot.writeListEnd(); } @@ -158920,9 +160013,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1234 : struct.success) + for (String _iter1266 : struct.success) { - oprot.writeString(_iter1234); + oprot.writeString(_iter1266); } } } @@ -158937,13 +160030,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 _list1235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1235.size); - String _elem1236; - for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) + org.apache.thrift.protocol.TList _list1267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1267.size); + String _elem1268; + for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) { - _elem1236 = iprot.readString(); - struct.success.add(_elem1236); + _elem1268 = iprot.readString(); + struct.success.add(_elem1268); } } struct.setSuccessIsSet(true); @@ -164234,13 +165327,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 _list1238 = iprot.readListBegin(); - struct.success = new ArrayList(_list1238.size); - String _elem1239; - for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) + org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); + struct.success = new ArrayList(_list1270.size); + String _elem1271; + for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) { - _elem1239 = iprot.readString(); - struct.success.add(_elem1239); + _elem1271 = iprot.readString(); + struct.success.add(_elem1271); } iprot.readListEnd(); } @@ -164266,9 +165359,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 _iter1241 : struct.success) + for (String _iter1273 : struct.success) { - oprot.writeString(_iter1241); + oprot.writeString(_iter1273); } oprot.writeListEnd(); } @@ -164299,9 +165392,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1242 : struct.success) + for (String _iter1274 : struct.success) { - oprot.writeString(_iter1242); + oprot.writeString(_iter1274); } } } @@ -164313,13 +165406,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 _list1243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1243.size); - String _elem1244; - for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) + org.apache.thrift.protocol.TList _list1275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1275.size); + String _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1244 = iprot.readString(); - struct.success.add(_elem1244); + _elem1276 = iprot.readString(); + struct.success.add(_elem1276); } } struct.setSuccessIsSet(true); @@ -167349,13 +168442,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 _list1246 = iprot.readListBegin(); - struct.success = new ArrayList(_list1246.size); - String _elem1247; - for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) + org.apache.thrift.protocol.TList _list1278 = iprot.readListBegin(); + struct.success = new ArrayList(_list1278.size); + String _elem1279; + for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) { - _elem1247 = iprot.readString(); - struct.success.add(_elem1247); + _elem1279 = iprot.readString(); + struct.success.add(_elem1279); } iprot.readListEnd(); } @@ -167381,9 +168474,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 _iter1249 : struct.success) + for (String _iter1281 : struct.success) { - oprot.writeString(_iter1249); + oprot.writeString(_iter1281); } oprot.writeListEnd(); } @@ -167414,9 +168507,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1250 : struct.success) + for (String _iter1282 : struct.success) { - oprot.writeString(_iter1250); + oprot.writeString(_iter1282); } } } @@ -167428,13 +168521,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 _list1251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1251.size); - String _elem1252; - for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) + org.apache.thrift.protocol.TList _list1283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1283.size); + String _elem1284; + for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) { - _elem1252 = iprot.readString(); - struct.success.add(_elem1252); + _elem1284 = iprot.readString(); + struct.success.add(_elem1284); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 644def0..aad94bb 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -541,6 +541,13 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function get_partition_names($db_name, $tbl_name, $max_parts); /** + * @param \metastore\PartitionValuesRequest $request + * @return \metastore\PartitionValuesResponse + * @throws \metastore\MetaException + * @throws \metastore\NoSuchObjectException + */ + public function get_partition_values(\metastore\PartitionValuesRequest $request); + /** * @param string $db_name * @param string $tbl_name * @param string[] $part_vals @@ -4860,6 +4867,63 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partition_names failed: unknown result"); } + public function get_partition_values(\metastore\PartitionValuesRequest $request) + { + $this->send_get_partition_values($request); + return $this->recv_get_partition_values(); + } + + public function send_get_partition_values(\metastore\PartitionValuesRequest $request) + { + $args = new \metastore\ThriftHiveMetastore_get_partition_values_args(); + $args->request = $request; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_partition_values', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_partition_values', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_partition_values() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_values_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_get_partition_values_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + if ($result->o2 !== null) { + throw $result->o2; + } + throw new \Exception("get_partition_values failed: unknown result"); + } + public function get_partitions_ps($db_name, $tbl_name, array $part_vals, $max_parts) { $this->send_get_partitions_ps($db_name, $tbl_name, $part_vals, $max_parts); @@ -11518,14 +11582,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size624 = 0; - $_etype627 = 0; - $xfer += $input->readListBegin($_etype627, $_size624); - for ($_i628 = 0; $_i628 < $_size624; ++$_i628) + $_size652 = 0; + $_etype655 = 0; + $xfer += $input->readListBegin($_etype655, $_size652); + for ($_i656 = 0; $_i656 < $_size652; ++$_i656) { - $elem629 = null; - $xfer += $input->readString($elem629); - $this->success []= $elem629; + $elem657 = null; + $xfer += $input->readString($elem657); + $this->success []= $elem657; } $xfer += $input->readListEnd(); } else { @@ -11561,9 +11625,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter630) + foreach ($this->success as $iter658) { - $xfer += $output->writeString($iter630); + $xfer += $output->writeString($iter658); } } $output->writeListEnd(); @@ -11694,14 +11758,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size631 = 0; - $_etype634 = 0; - $xfer += $input->readListBegin($_etype634, $_size631); - for ($_i635 = 0; $_i635 < $_size631; ++$_i635) + $_size659 = 0; + $_etype662 = 0; + $xfer += $input->readListBegin($_etype662, $_size659); + for ($_i663 = 0; $_i663 < $_size659; ++$_i663) { - $elem636 = null; - $xfer += $input->readString($elem636); - $this->success []= $elem636; + $elem664 = null; + $xfer += $input->readString($elem664); + $this->success []= $elem664; } $xfer += $input->readListEnd(); } else { @@ -11737,9 +11801,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter637) + foreach ($this->success as $iter665) { - $xfer += $output->writeString($iter637); + $xfer += $output->writeString($iter665); } } $output->writeListEnd(); @@ -12740,18 +12804,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size638 = 0; - $_ktype639 = 0; - $_vtype640 = 0; - $xfer += $input->readMapBegin($_ktype639, $_vtype640, $_size638); - for ($_i642 = 0; $_i642 < $_size638; ++$_i642) + $_size666 = 0; + $_ktype667 = 0; + $_vtype668 = 0; + $xfer += $input->readMapBegin($_ktype667, $_vtype668, $_size666); + for ($_i670 = 0; $_i670 < $_size666; ++$_i670) { - $key643 = ''; - $val644 = new \metastore\Type(); - $xfer += $input->readString($key643); - $val644 = new \metastore\Type(); - $xfer += $val644->read($input); - $this->success[$key643] = $val644; + $key671 = ''; + $val672 = new \metastore\Type(); + $xfer += $input->readString($key671); + $val672 = new \metastore\Type(); + $xfer += $val672->read($input); + $this->success[$key671] = $val672; } $xfer += $input->readMapEnd(); } else { @@ -12787,10 +12851,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter645 => $viter646) + foreach ($this->success as $kiter673 => $viter674) { - $xfer += $output->writeString($kiter645); - $xfer += $viter646->write($output); + $xfer += $output->writeString($kiter673); + $xfer += $viter674->write($output); } } $output->writeMapEnd(); @@ -12994,15 +13058,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size647 = 0; - $_etype650 = 0; - $xfer += $input->readListBegin($_etype650, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size675 = 0; + $_etype678 = 0; + $xfer += $input->readListBegin($_etype678, $_size675); + for ($_i679 = 0; $_i679 < $_size675; ++$_i679) { - $elem652 = null; - $elem652 = new \metastore\FieldSchema(); - $xfer += $elem652->read($input); - $this->success []= $elem652; + $elem680 = null; + $elem680 = new \metastore\FieldSchema(); + $xfer += $elem680->read($input); + $this->success []= $elem680; } $xfer += $input->readListEnd(); } else { @@ -13054,9 +13118,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter653) + foreach ($this->success as $iter681) { - $xfer += $iter653->write($output); + $xfer += $iter681->write($output); } } $output->writeListEnd(); @@ -13298,15 +13362,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size654 = 0; - $_etype657 = 0; - $xfer += $input->readListBegin($_etype657, $_size654); - for ($_i658 = 0; $_i658 < $_size654; ++$_i658) + $_size682 = 0; + $_etype685 = 0; + $xfer += $input->readListBegin($_etype685, $_size682); + for ($_i686 = 0; $_i686 < $_size682; ++$_i686) { - $elem659 = null; - $elem659 = new \metastore\FieldSchema(); - $xfer += $elem659->read($input); - $this->success []= $elem659; + $elem687 = null; + $elem687 = new \metastore\FieldSchema(); + $xfer += $elem687->read($input); + $this->success []= $elem687; } $xfer += $input->readListEnd(); } else { @@ -13358,9 +13422,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter660) + foreach ($this->success as $iter688) { - $xfer += $iter660->write($output); + $xfer += $iter688->write($output); } } $output->writeListEnd(); @@ -13574,15 +13638,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size661 = 0; - $_etype664 = 0; - $xfer += $input->readListBegin($_etype664, $_size661); - for ($_i665 = 0; $_i665 < $_size661; ++$_i665) + $_size689 = 0; + $_etype692 = 0; + $xfer += $input->readListBegin($_etype692, $_size689); + for ($_i693 = 0; $_i693 < $_size689; ++$_i693) { - $elem666 = null; - $elem666 = new \metastore\FieldSchema(); - $xfer += $elem666->read($input); - $this->success []= $elem666; + $elem694 = null; + $elem694 = new \metastore\FieldSchema(); + $xfer += $elem694->read($input); + $this->success []= $elem694; } $xfer += $input->readListEnd(); } else { @@ -13634,9 +13698,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter667) + foreach ($this->success as $iter695) { - $xfer += $iter667->write($output); + $xfer += $iter695->write($output); } } $output->writeListEnd(); @@ -13878,15 +13942,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size668 = 0; - $_etype671 = 0; - $xfer += $input->readListBegin($_etype671, $_size668); - for ($_i672 = 0; $_i672 < $_size668; ++$_i672) + $_size696 = 0; + $_etype699 = 0; + $xfer += $input->readListBegin($_etype699, $_size696); + for ($_i700 = 0; $_i700 < $_size696; ++$_i700) { - $elem673 = null; - $elem673 = new \metastore\FieldSchema(); - $xfer += $elem673->read($input); - $this->success []= $elem673; + $elem701 = null; + $elem701 = new \metastore\FieldSchema(); + $xfer += $elem701->read($input); + $this->success []= $elem701; } $xfer += $input->readListEnd(); } else { @@ -13938,9 +14002,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter674) + foreach ($this->success as $iter702) { - $xfer += $iter674->write($output); + $xfer += $iter702->write($output); } } $output->writeListEnd(); @@ -14580,15 +14644,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size675 = 0; - $_etype678 = 0; - $xfer += $input->readListBegin($_etype678, $_size675); - for ($_i679 = 0; $_i679 < $_size675; ++$_i679) + $_size703 = 0; + $_etype706 = 0; + $xfer += $input->readListBegin($_etype706, $_size703); + for ($_i707 = 0; $_i707 < $_size703; ++$_i707) { - $elem680 = null; - $elem680 = new \metastore\SQLPrimaryKey(); - $xfer += $elem680->read($input); - $this->primaryKeys []= $elem680; + $elem708 = null; + $elem708 = new \metastore\SQLPrimaryKey(); + $xfer += $elem708->read($input); + $this->primaryKeys []= $elem708; } $xfer += $input->readListEnd(); } else { @@ -14598,15 +14662,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size681 = 0; - $_etype684 = 0; - $xfer += $input->readListBegin($_etype684, $_size681); - for ($_i685 = 0; $_i685 < $_size681; ++$_i685) + $_size709 = 0; + $_etype712 = 0; + $xfer += $input->readListBegin($_etype712, $_size709); + for ($_i713 = 0; $_i713 < $_size709; ++$_i713) { - $elem686 = null; - $elem686 = new \metastore\SQLForeignKey(); - $xfer += $elem686->read($input); - $this->foreignKeys []= $elem686; + $elem714 = null; + $elem714 = new \metastore\SQLForeignKey(); + $xfer += $elem714->read($input); + $this->foreignKeys []= $elem714; } $xfer += $input->readListEnd(); } else { @@ -14616,15 +14680,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size687 = 0; - $_etype690 = 0; - $xfer += $input->readListBegin($_etype690, $_size687); - for ($_i691 = 0; $_i691 < $_size687; ++$_i691) + $_size715 = 0; + $_etype718 = 0; + $xfer += $input->readListBegin($_etype718, $_size715); + for ($_i719 = 0; $_i719 < $_size715; ++$_i719) { - $elem692 = null; - $elem692 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem692->read($input); - $this->uniqueConstraints []= $elem692; + $elem720 = null; + $elem720 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem720->read($input); + $this->uniqueConstraints []= $elem720; } $xfer += $input->readListEnd(); } else { @@ -14634,15 +14698,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem698 = null; - $elem698 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem698->read($input); - $this->notNullConstraints []= $elem698; + $elem726 = null; + $elem726 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem726->read($input); + $this->notNullConstraints []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -14678,9 +14742,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter699) + foreach ($this->primaryKeys as $iter727) { - $xfer += $iter699->write($output); + $xfer += $iter727->write($output); } } $output->writeListEnd(); @@ -14695,9 +14759,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter700) + foreach ($this->foreignKeys as $iter728) { - $xfer += $iter700->write($output); + $xfer += $iter728->write($output); } } $output->writeListEnd(); @@ -14712,9 +14776,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter701) + foreach ($this->uniqueConstraints as $iter729) { - $xfer += $iter701->write($output); + $xfer += $iter729->write($output); } } $output->writeListEnd(); @@ -14729,9 +14793,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter702) + foreach ($this->notNullConstraints as $iter730) { - $xfer += $iter702->write($output); + $xfer += $iter730->write($output); } } $output->writeListEnd(); @@ -16367,14 +16431,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size703 = 0; - $_etype706 = 0; - $xfer += $input->readListBegin($_etype706, $_size703); - for ($_i707 = 0; $_i707 < $_size703; ++$_i707) + $_size731 = 0; + $_etype734 = 0; + $xfer += $input->readListBegin($_etype734, $_size731); + for ($_i735 = 0; $_i735 < $_size731; ++$_i735) { - $elem708 = null; - $xfer += $input->readString($elem708); - $this->partNames []= $elem708; + $elem736 = null; + $xfer += $input->readString($elem736); + $this->partNames []= $elem736; } $xfer += $input->readListEnd(); } else { @@ -16412,9 +16476,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter709) + foreach ($this->partNames as $iter737) { - $xfer += $output->writeString($iter709); + $xfer += $output->writeString($iter737); } } $output->writeListEnd(); @@ -16665,14 +16729,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size710 = 0; - $_etype713 = 0; - $xfer += $input->readListBegin($_etype713, $_size710); - for ($_i714 = 0; $_i714 < $_size710; ++$_i714) + $_size738 = 0; + $_etype741 = 0; + $xfer += $input->readListBegin($_etype741, $_size738); + for ($_i742 = 0; $_i742 < $_size738; ++$_i742) { - $elem715 = null; - $xfer += $input->readString($elem715); - $this->success []= $elem715; + $elem743 = null; + $xfer += $input->readString($elem743); + $this->success []= $elem743; } $xfer += $input->readListEnd(); } else { @@ -16708,9 +16772,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter716) + foreach ($this->success as $iter744) { - $xfer += $output->writeString($iter716); + $xfer += $output->writeString($iter744); } } $output->writeListEnd(); @@ -16912,14 +16976,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size717 = 0; - $_etype720 = 0; - $xfer += $input->readListBegin($_etype720, $_size717); - for ($_i721 = 0; $_i721 < $_size717; ++$_i721) + $_size745 = 0; + $_etype748 = 0; + $xfer += $input->readListBegin($_etype748, $_size745); + for ($_i749 = 0; $_i749 < $_size745; ++$_i749) { - $elem722 = null; - $xfer += $input->readString($elem722); - $this->success []= $elem722; + $elem750 = null; + $xfer += $input->readString($elem750); + $this->success []= $elem750; } $xfer += $input->readListEnd(); } else { @@ -16955,9 +17019,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter723) + foreach ($this->success as $iter751) { - $xfer += $output->writeString($iter723); + $xfer += $output->writeString($iter751); } } $output->writeListEnd(); @@ -17062,14 +17126,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size724 = 0; - $_etype727 = 0; - $xfer += $input->readListBegin($_etype727, $_size724); - for ($_i728 = 0; $_i728 < $_size724; ++$_i728) + $_size752 = 0; + $_etype755 = 0; + $xfer += $input->readListBegin($_etype755, $_size752); + for ($_i756 = 0; $_i756 < $_size752; ++$_i756) { - $elem729 = null; - $xfer += $input->readString($elem729); - $this->tbl_types []= $elem729; + $elem757 = null; + $xfer += $input->readString($elem757); + $this->tbl_types []= $elem757; } $xfer += $input->readListEnd(); } else { @@ -17107,9 +17171,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter730) + foreach ($this->tbl_types as $iter758) { - $xfer += $output->writeString($iter730); + $xfer += $output->writeString($iter758); } } $output->writeListEnd(); @@ -17186,15 +17250,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size731 = 0; - $_etype734 = 0; - $xfer += $input->readListBegin($_etype734, $_size731); - for ($_i735 = 0; $_i735 < $_size731; ++$_i735) + $_size759 = 0; + $_etype762 = 0; + $xfer += $input->readListBegin($_etype762, $_size759); + for ($_i763 = 0; $_i763 < $_size759; ++$_i763) { - $elem736 = null; - $elem736 = new \metastore\TableMeta(); - $xfer += $elem736->read($input); - $this->success []= $elem736; + $elem764 = null; + $elem764 = new \metastore\TableMeta(); + $xfer += $elem764->read($input); + $this->success []= $elem764; } $xfer += $input->readListEnd(); } else { @@ -17230,9 +17294,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter737) + foreach ($this->success as $iter765) { - $xfer += $iter737->write($output); + $xfer += $iter765->write($output); } } $output->writeListEnd(); @@ -17388,14 +17452,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size738 = 0; - $_etype741 = 0; - $xfer += $input->readListBegin($_etype741, $_size738); - for ($_i742 = 0; $_i742 < $_size738; ++$_i742) + $_size766 = 0; + $_etype769 = 0; + $xfer += $input->readListBegin($_etype769, $_size766); + for ($_i770 = 0; $_i770 < $_size766; ++$_i770) { - $elem743 = null; - $xfer += $input->readString($elem743); - $this->success []= $elem743; + $elem771 = null; + $xfer += $input->readString($elem771); + $this->success []= $elem771; } $xfer += $input->readListEnd(); } else { @@ -17431,9 +17495,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter744) + foreach ($this->success as $iter772) { - $xfer += $output->writeString($iter744); + $xfer += $output->writeString($iter772); } } $output->writeListEnd(); @@ -17748,14 +17812,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size745 = 0; - $_etype748 = 0; - $xfer += $input->readListBegin($_etype748, $_size745); - for ($_i749 = 0; $_i749 < $_size745; ++$_i749) + $_size773 = 0; + $_etype776 = 0; + $xfer += $input->readListBegin($_etype776, $_size773); + for ($_i777 = 0; $_i777 < $_size773; ++$_i777) { - $elem750 = null; - $xfer += $input->readString($elem750); - $this->tbl_names []= $elem750; + $elem778 = null; + $xfer += $input->readString($elem778); + $this->tbl_names []= $elem778; } $xfer += $input->readListEnd(); } else { @@ -17788,9 +17852,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter751) + foreach ($this->tbl_names as $iter779) { - $xfer += $output->writeString($iter751); + $xfer += $output->writeString($iter779); } } $output->writeListEnd(); @@ -17855,15 +17919,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size752 = 0; - $_etype755 = 0; - $xfer += $input->readListBegin($_etype755, $_size752); - for ($_i756 = 0; $_i756 < $_size752; ++$_i756) + $_size780 = 0; + $_etype783 = 0; + $xfer += $input->readListBegin($_etype783, $_size780); + for ($_i784 = 0; $_i784 < $_size780; ++$_i784) { - $elem757 = null; - $elem757 = new \metastore\Table(); - $xfer += $elem757->read($input); - $this->success []= $elem757; + $elem785 = null; + $elem785 = new \metastore\Table(); + $xfer += $elem785->read($input); + $this->success []= $elem785; } $xfer += $input->readListEnd(); } else { @@ -17891,9 +17955,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter758) + foreach ($this->success as $iter786) { - $xfer += $iter758->write($output); + $xfer += $iter786->write($output); } } $output->writeListEnd(); @@ -18559,14 +18623,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size759 = 0; - $_etype762 = 0; - $xfer += $input->readListBegin($_etype762, $_size759); - for ($_i763 = 0; $_i763 < $_size759; ++$_i763) + $_size787 = 0; + $_etype790 = 0; + $xfer += $input->readListBegin($_etype790, $_size787); + for ($_i791 = 0; $_i791 < $_size787; ++$_i791) { - $elem764 = null; - $xfer += $input->readString($elem764); - $this->success []= $elem764; + $elem792 = null; + $xfer += $input->readString($elem792); + $this->success []= $elem792; } $xfer += $input->readListEnd(); } else { @@ -18618,9 +18682,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter765) + foreach ($this->success as $iter793) { - $xfer += $output->writeString($iter765); + $xfer += $output->writeString($iter793); } } $output->writeListEnd(); @@ -19933,15 +19997,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size766 = 0; - $_etype769 = 0; - $xfer += $input->readListBegin($_etype769, $_size766); - for ($_i770 = 0; $_i770 < $_size766; ++$_i770) + $_size794 = 0; + $_etype797 = 0; + $xfer += $input->readListBegin($_etype797, $_size794); + for ($_i798 = 0; $_i798 < $_size794; ++$_i798) { - $elem771 = null; - $elem771 = new \metastore\Partition(); - $xfer += $elem771->read($input); - $this->new_parts []= $elem771; + $elem799 = null; + $elem799 = new \metastore\Partition(); + $xfer += $elem799->read($input); + $this->new_parts []= $elem799; } $xfer += $input->readListEnd(); } else { @@ -19969,9 +20033,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter772) + foreach ($this->new_parts as $iter800) { - $xfer += $iter772->write($output); + $xfer += $iter800->write($output); } } $output->writeListEnd(); @@ -20186,15 +20250,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size773 = 0; - $_etype776 = 0; - $xfer += $input->readListBegin($_etype776, $_size773); - for ($_i777 = 0; $_i777 < $_size773; ++$_i777) + $_size801 = 0; + $_etype804 = 0; + $xfer += $input->readListBegin($_etype804, $_size801); + for ($_i805 = 0; $_i805 < $_size801; ++$_i805) { - $elem778 = null; - $elem778 = new \metastore\PartitionSpec(); - $xfer += $elem778->read($input); - $this->new_parts []= $elem778; + $elem806 = null; + $elem806 = new \metastore\PartitionSpec(); + $xfer += $elem806->read($input); + $this->new_parts []= $elem806; } $xfer += $input->readListEnd(); } else { @@ -20222,9 +20286,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter779) + foreach ($this->new_parts as $iter807) { - $xfer += $iter779->write($output); + $xfer += $iter807->write($output); } } $output->writeListEnd(); @@ -20474,14 +20538,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size780 = 0; - $_etype783 = 0; - $xfer += $input->readListBegin($_etype783, $_size780); - for ($_i784 = 0; $_i784 < $_size780; ++$_i784) + $_size808 = 0; + $_etype811 = 0; + $xfer += $input->readListBegin($_etype811, $_size808); + for ($_i812 = 0; $_i812 < $_size808; ++$_i812) { - $elem785 = null; - $xfer += $input->readString($elem785); - $this->part_vals []= $elem785; + $elem813 = null; + $xfer += $input->readString($elem813); + $this->part_vals []= $elem813; } $xfer += $input->readListEnd(); } else { @@ -20519,9 +20583,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter786) + foreach ($this->part_vals as $iter814) { - $xfer += $output->writeString($iter786); + $xfer += $output->writeString($iter814); } } $output->writeListEnd(); @@ -21023,14 +21087,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size787 = 0; - $_etype790 = 0; - $xfer += $input->readListBegin($_etype790, $_size787); - for ($_i791 = 0; $_i791 < $_size787; ++$_i791) + $_size815 = 0; + $_etype818 = 0; + $xfer += $input->readListBegin($_etype818, $_size815); + for ($_i819 = 0; $_i819 < $_size815; ++$_i819) { - $elem792 = null; - $xfer += $input->readString($elem792); - $this->part_vals []= $elem792; + $elem820 = null; + $xfer += $input->readString($elem820); + $this->part_vals []= $elem820; } $xfer += $input->readListEnd(); } else { @@ -21076,9 +21140,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter793) + foreach ($this->part_vals as $iter821) { - $xfer += $output->writeString($iter793); + $xfer += $output->writeString($iter821); } } $output->writeListEnd(); @@ -21932,14 +21996,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size794 = 0; - $_etype797 = 0; - $xfer += $input->readListBegin($_etype797, $_size794); - for ($_i798 = 0; $_i798 < $_size794; ++$_i798) + $_size822 = 0; + $_etype825 = 0; + $xfer += $input->readListBegin($_etype825, $_size822); + for ($_i826 = 0; $_i826 < $_size822; ++$_i826) { - $elem799 = null; - $xfer += $input->readString($elem799); - $this->part_vals []= $elem799; + $elem827 = null; + $xfer += $input->readString($elem827); + $this->part_vals []= $elem827; } $xfer += $input->readListEnd(); } else { @@ -21984,9 +22048,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter800) + foreach ($this->part_vals as $iter828) { - $xfer += $output->writeString($iter800); + $xfer += $output->writeString($iter828); } } $output->writeListEnd(); @@ -22239,14 +22303,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size801 = 0; - $_etype804 = 0; - $xfer += $input->readListBegin($_etype804, $_size801); - for ($_i805 = 0; $_i805 < $_size801; ++$_i805) + $_size829 = 0; + $_etype832 = 0; + $xfer += $input->readListBegin($_etype832, $_size829); + for ($_i833 = 0; $_i833 < $_size829; ++$_i833) { - $elem806 = null; - $xfer += $input->readString($elem806); - $this->part_vals []= $elem806; + $elem834 = null; + $xfer += $input->readString($elem834); + $this->part_vals []= $elem834; } $xfer += $input->readListEnd(); } else { @@ -22299,9 +22363,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter807) + foreach ($this->part_vals as $iter835) { - $xfer += $output->writeString($iter807); + $xfer += $output->writeString($iter835); } } $output->writeListEnd(); @@ -23315,14 +23379,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size808 = 0; - $_etype811 = 0; - $xfer += $input->readListBegin($_etype811, $_size808); - for ($_i812 = 0; $_i812 < $_size808; ++$_i812) + $_size836 = 0; + $_etype839 = 0; + $xfer += $input->readListBegin($_etype839, $_size836); + for ($_i840 = 0; $_i840 < $_size836; ++$_i840) { - $elem813 = null; - $xfer += $input->readString($elem813); - $this->part_vals []= $elem813; + $elem841 = null; + $xfer += $input->readString($elem841); + $this->part_vals []= $elem841; } $xfer += $input->readListEnd(); } else { @@ -23360,9 +23424,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter814) + foreach ($this->part_vals as $iter842) { - $xfer += $output->writeString($iter814); + $xfer += $output->writeString($iter842); } } $output->writeListEnd(); @@ -23604,17 +23668,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size815 = 0; - $_ktype816 = 0; - $_vtype817 = 0; - $xfer += $input->readMapBegin($_ktype816, $_vtype817, $_size815); - for ($_i819 = 0; $_i819 < $_size815; ++$_i819) + $_size843 = 0; + $_ktype844 = 0; + $_vtype845 = 0; + $xfer += $input->readMapBegin($_ktype844, $_vtype845, $_size843); + for ($_i847 = 0; $_i847 < $_size843; ++$_i847) { - $key820 = ''; - $val821 = ''; - $xfer += $input->readString($key820); - $xfer += $input->readString($val821); - $this->partitionSpecs[$key820] = $val821; + $key848 = ''; + $val849 = ''; + $xfer += $input->readString($key848); + $xfer += $input->readString($val849); + $this->partitionSpecs[$key848] = $val849; } $xfer += $input->readMapEnd(); } else { @@ -23670,10 +23734,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter822 => $viter823) + foreach ($this->partitionSpecs as $kiter850 => $viter851) { - $xfer += $output->writeString($kiter822); - $xfer += $output->writeString($viter823); + $xfer += $output->writeString($kiter850); + $xfer += $output->writeString($viter851); } } $output->writeMapEnd(); @@ -23985,17 +24049,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size824 = 0; - $_ktype825 = 0; - $_vtype826 = 0; - $xfer += $input->readMapBegin($_ktype825, $_vtype826, $_size824); - for ($_i828 = 0; $_i828 < $_size824; ++$_i828) + $_size852 = 0; + $_ktype853 = 0; + $_vtype854 = 0; + $xfer += $input->readMapBegin($_ktype853, $_vtype854, $_size852); + for ($_i856 = 0; $_i856 < $_size852; ++$_i856) { - $key829 = ''; - $val830 = ''; - $xfer += $input->readString($key829); - $xfer += $input->readString($val830); - $this->partitionSpecs[$key829] = $val830; + $key857 = ''; + $val858 = ''; + $xfer += $input->readString($key857); + $xfer += $input->readString($val858); + $this->partitionSpecs[$key857] = $val858; } $xfer += $input->readMapEnd(); } else { @@ -24051,10 +24115,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter831 => $viter832) + foreach ($this->partitionSpecs as $kiter859 => $viter860) { - $xfer += $output->writeString($kiter831); - $xfer += $output->writeString($viter832); + $xfer += $output->writeString($kiter859); + $xfer += $output->writeString($viter860); } } $output->writeMapEnd(); @@ -24187,15 +24251,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size833 = 0; - $_etype836 = 0; - $xfer += $input->readListBegin($_etype836, $_size833); - for ($_i837 = 0; $_i837 < $_size833; ++$_i837) + $_size861 = 0; + $_etype864 = 0; + $xfer += $input->readListBegin($_etype864, $_size861); + for ($_i865 = 0; $_i865 < $_size861; ++$_i865) { - $elem838 = null; - $elem838 = new \metastore\Partition(); - $xfer += $elem838->read($input); - $this->success []= $elem838; + $elem866 = null; + $elem866 = new \metastore\Partition(); + $xfer += $elem866->read($input); + $this->success []= $elem866; } $xfer += $input->readListEnd(); } else { @@ -24255,9 +24319,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter839) + foreach ($this->success as $iter867) { - $xfer += $iter839->write($output); + $xfer += $iter867->write($output); } } $output->writeListEnd(); @@ -24403,14 +24467,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size840 = 0; - $_etype843 = 0; - $xfer += $input->readListBegin($_etype843, $_size840); - for ($_i844 = 0; $_i844 < $_size840; ++$_i844) + $_size868 = 0; + $_etype871 = 0; + $xfer += $input->readListBegin($_etype871, $_size868); + for ($_i872 = 0; $_i872 < $_size868; ++$_i872) { - $elem845 = null; - $xfer += $input->readString($elem845); - $this->part_vals []= $elem845; + $elem873 = null; + $xfer += $input->readString($elem873); + $this->part_vals []= $elem873; } $xfer += $input->readListEnd(); } else { @@ -24427,14 +24491,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size846 = 0; - $_etype849 = 0; - $xfer += $input->readListBegin($_etype849, $_size846); - for ($_i850 = 0; $_i850 < $_size846; ++$_i850) + $_size874 = 0; + $_etype877 = 0; + $xfer += $input->readListBegin($_etype877, $_size874); + for ($_i878 = 0; $_i878 < $_size874; ++$_i878) { - $elem851 = null; - $xfer += $input->readString($elem851); - $this->group_names []= $elem851; + $elem879 = null; + $xfer += $input->readString($elem879); + $this->group_names []= $elem879; } $xfer += $input->readListEnd(); } else { @@ -24472,9 +24536,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter852) + foreach ($this->part_vals as $iter880) { - $xfer += $output->writeString($iter852); + $xfer += $output->writeString($iter880); } } $output->writeListEnd(); @@ -24494,9 +24558,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter853) + foreach ($this->group_names as $iter881) { - $xfer += $output->writeString($iter853); + $xfer += $output->writeString($iter881); } } $output->writeListEnd(); @@ -25087,15 +25151,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size854 = 0; - $_etype857 = 0; - $xfer += $input->readListBegin($_etype857, $_size854); - for ($_i858 = 0; $_i858 < $_size854; ++$_i858) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem859 = null; - $elem859 = new \metastore\Partition(); - $xfer += $elem859->read($input); - $this->success []= $elem859; + $elem887 = null; + $elem887 = new \metastore\Partition(); + $xfer += $elem887->read($input); + $this->success []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -25139,9 +25203,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter860) + foreach ($this->success as $iter888) { - $xfer += $iter860->write($output); + $xfer += $iter888->write($output); } } $output->writeListEnd(); @@ -25287,14 +25351,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size861 = 0; - $_etype864 = 0; - $xfer += $input->readListBegin($_etype864, $_size861); - for ($_i865 = 0; $_i865 < $_size861; ++$_i865) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem866 = null; - $xfer += $input->readString($elem866); - $this->group_names []= $elem866; + $elem894 = null; + $xfer += $input->readString($elem894); + $this->group_names []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -25342,9 +25406,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter867) + foreach ($this->group_names as $iter895) { - $xfer += $output->writeString($iter867); + $xfer += $output->writeString($iter895); } } $output->writeListEnd(); @@ -25433,15 +25497,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size868 = 0; - $_etype871 = 0; - $xfer += $input->readListBegin($_etype871, $_size868); - for ($_i872 = 0; $_i872 < $_size868; ++$_i872) + $_size896 = 0; + $_etype899 = 0; + $xfer += $input->readListBegin($_etype899, $_size896); + for ($_i900 = 0; $_i900 < $_size896; ++$_i900) { - $elem873 = null; - $elem873 = new \metastore\Partition(); - $xfer += $elem873->read($input); - $this->success []= $elem873; + $elem901 = null; + $elem901 = new \metastore\Partition(); + $xfer += $elem901->read($input); + $this->success []= $elem901; } $xfer += $input->readListEnd(); } else { @@ -25485,9 +25549,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter874) + foreach ($this->success as $iter902) { - $xfer += $iter874->write($output); + $xfer += $iter902->write($output); } } $output->writeListEnd(); @@ -25707,15 +25771,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size903 = 0; + $_etype906 = 0; + $xfer += $input->readListBegin($_etype906, $_size903); + for ($_i907 = 0; $_i907 < $_size903; ++$_i907) { - $elem880 = null; - $elem880 = new \metastore\PartitionSpec(); - $xfer += $elem880->read($input); - $this->success []= $elem880; + $elem908 = null; + $elem908 = new \metastore\PartitionSpec(); + $xfer += $elem908->read($input); + $this->success []= $elem908; } $xfer += $input->readListEnd(); } else { @@ -25759,9 +25823,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter881) + foreach ($this->success as $iter909) { - $xfer += $iter881->write($output); + $xfer += $iter909->write($output); } } $output->writeListEnd(); @@ -25968,14 +26032,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size882 = 0; - $_etype885 = 0; - $xfer += $input->readListBegin($_etype885, $_size882); - for ($_i886 = 0; $_i886 < $_size882; ++$_i886) + $_size910 = 0; + $_etype913 = 0; + $xfer += $input->readListBegin($_etype913, $_size910); + for ($_i914 = 0; $_i914 < $_size910; ++$_i914) { - $elem887 = null; - $xfer += $input->readString($elem887); - $this->success []= $elem887; + $elem915 = null; + $xfer += $input->readString($elem915); + $this->success []= $elem915; } $xfer += $input->readListEnd(); } else { @@ -26011,9 +26075,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter888) + foreach ($this->success as $iter916) { - $xfer += $output->writeString($iter888); + $xfer += $output->writeString($iter916); } } $output->writeListEnd(); @@ -26032,6 +26096,216 @@ class ThriftHiveMetastore_get_partition_names_result { } +class ThriftHiveMetastore_get_partition_values_args { + static $_TSPEC; + + /** + * @var \metastore\PartitionValuesRequest + */ + public $request = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'request', + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionValuesRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['request'])) { + $this->request = $vals['request']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_partition_values_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->request = new \metastore\PartitionValuesRequest(); + $xfer += $this->request->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_partition_values_args'); + if ($this->request !== null) { + if (!is_object($this->request)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('request', TType::STRUCT, 1); + $xfer += $this->request->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_partition_values_result { + static $_TSPEC; + + /** + * @var \metastore\PartitionValuesResponse + */ + public $success = null; + /** + * @var \metastore\MetaException + */ + public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ + public $o2 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionValuesResponse', + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchObjectException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_partition_values_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\PartitionValuesResponse(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\MetaException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\NoSuchObjectException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_partition_values_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_partitions_ps_args { static $_TSPEC; @@ -26129,14 +26403,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size889 = 0; - $_etype892 = 0; - $xfer += $input->readListBegin($_etype892, $_size889); - for ($_i893 = 0; $_i893 < $_size889; ++$_i893) + $_size917 = 0; + $_etype920 = 0; + $xfer += $input->readListBegin($_etype920, $_size917); + for ($_i921 = 0; $_i921 < $_size917; ++$_i921) { - $elem894 = null; - $xfer += $input->readString($elem894); - $this->part_vals []= $elem894; + $elem922 = null; + $xfer += $input->readString($elem922); + $this->part_vals []= $elem922; } $xfer += $input->readListEnd(); } else { @@ -26181,9 +26455,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter895) + foreach ($this->part_vals as $iter923) { - $xfer += $output->writeString($iter895); + $xfer += $output->writeString($iter923); } } $output->writeListEnd(); @@ -26277,15 +26551,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size896 = 0; - $_etype899 = 0; - $xfer += $input->readListBegin($_etype899, $_size896); - for ($_i900 = 0; $_i900 < $_size896; ++$_i900) + $_size924 = 0; + $_etype927 = 0; + $xfer += $input->readListBegin($_etype927, $_size924); + for ($_i928 = 0; $_i928 < $_size924; ++$_i928) { - $elem901 = null; - $elem901 = new \metastore\Partition(); - $xfer += $elem901->read($input); - $this->success []= $elem901; + $elem929 = null; + $elem929 = new \metastore\Partition(); + $xfer += $elem929->read($input); + $this->success []= $elem929; } $xfer += $input->readListEnd(); } else { @@ -26329,9 +26603,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter902) + foreach ($this->success as $iter930) { - $xfer += $iter902->write($output); + $xfer += $iter930->write($output); } } $output->writeListEnd(); @@ -26478,14 +26752,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size903 = 0; - $_etype906 = 0; - $xfer += $input->readListBegin($_etype906, $_size903); - for ($_i907 = 0; $_i907 < $_size903; ++$_i907) + $_size931 = 0; + $_etype934 = 0; + $xfer += $input->readListBegin($_etype934, $_size931); + for ($_i935 = 0; $_i935 < $_size931; ++$_i935) { - $elem908 = null; - $xfer += $input->readString($elem908); - $this->part_vals []= $elem908; + $elem936 = null; + $xfer += $input->readString($elem936); + $this->part_vals []= $elem936; } $xfer += $input->readListEnd(); } else { @@ -26509,14 +26783,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size909 = 0; - $_etype912 = 0; - $xfer += $input->readListBegin($_etype912, $_size909); - for ($_i913 = 0; $_i913 < $_size909; ++$_i913) + $_size937 = 0; + $_etype940 = 0; + $xfer += $input->readListBegin($_etype940, $_size937); + for ($_i941 = 0; $_i941 < $_size937; ++$_i941) { - $elem914 = null; - $xfer += $input->readString($elem914); - $this->group_names []= $elem914; + $elem942 = null; + $xfer += $input->readString($elem942); + $this->group_names []= $elem942; } $xfer += $input->readListEnd(); } else { @@ -26554,9 +26828,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter915) + foreach ($this->part_vals as $iter943) { - $xfer += $output->writeString($iter915); + $xfer += $output->writeString($iter943); } } $output->writeListEnd(); @@ -26581,9 +26855,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter916) + foreach ($this->group_names as $iter944) { - $xfer += $output->writeString($iter916); + $xfer += $output->writeString($iter944); } } $output->writeListEnd(); @@ -26672,15 +26946,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size917 = 0; - $_etype920 = 0; - $xfer += $input->readListBegin($_etype920, $_size917); - for ($_i921 = 0; $_i921 < $_size917; ++$_i921) + $_size945 = 0; + $_etype948 = 0; + $xfer += $input->readListBegin($_etype948, $_size945); + for ($_i949 = 0; $_i949 < $_size945; ++$_i949) { - $elem922 = null; - $elem922 = new \metastore\Partition(); - $xfer += $elem922->read($input); - $this->success []= $elem922; + $elem950 = null; + $elem950 = new \metastore\Partition(); + $xfer += $elem950->read($input); + $this->success []= $elem950; } $xfer += $input->readListEnd(); } else { @@ -26724,9 +26998,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter923) + foreach ($this->success as $iter951) { - $xfer += $iter923->write($output); + $xfer += $iter951->write($output); } } $output->writeListEnd(); @@ -26847,14 +27121,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size924 = 0; - $_etype927 = 0; - $xfer += $input->readListBegin($_etype927, $_size924); - for ($_i928 = 0; $_i928 < $_size924; ++$_i928) + $_size952 = 0; + $_etype955 = 0; + $xfer += $input->readListBegin($_etype955, $_size952); + for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem929 = null; - $xfer += $input->readString($elem929); - $this->part_vals []= $elem929; + $elem957 = null; + $xfer += $input->readString($elem957); + $this->part_vals []= $elem957; } $xfer += $input->readListEnd(); } else { @@ -26899,9 +27173,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter930) + foreach ($this->part_vals as $iter958) { - $xfer += $output->writeString($iter930); + $xfer += $output->writeString($iter958); } } $output->writeListEnd(); @@ -26994,14 +27268,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size931 = 0; - $_etype934 = 0; - $xfer += $input->readListBegin($_etype934, $_size931); - for ($_i935 = 0; $_i935 < $_size931; ++$_i935) + $_size959 = 0; + $_etype962 = 0; + $xfer += $input->readListBegin($_etype962, $_size959); + for ($_i963 = 0; $_i963 < $_size959; ++$_i963) { - $elem936 = null; - $xfer += $input->readString($elem936); - $this->success []= $elem936; + $elem964 = null; + $xfer += $input->readString($elem964); + $this->success []= $elem964; } $xfer += $input->readListEnd(); } else { @@ -27045,9 +27319,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter937) + foreach ($this->success as $iter965) { - $xfer += $output->writeString($iter937); + $xfer += $output->writeString($iter965); } } $output->writeListEnd(); @@ -27290,15 +27564,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size938 = 0; - $_etype941 = 0; - $xfer += $input->readListBegin($_etype941, $_size938); - for ($_i942 = 0; $_i942 < $_size938; ++$_i942) + $_size966 = 0; + $_etype969 = 0; + $xfer += $input->readListBegin($_etype969, $_size966); + for ($_i970 = 0; $_i970 < $_size966; ++$_i970) { - $elem943 = null; - $elem943 = new \metastore\Partition(); - $xfer += $elem943->read($input); - $this->success []= $elem943; + $elem971 = null; + $elem971 = new \metastore\Partition(); + $xfer += $elem971->read($input); + $this->success []= $elem971; } $xfer += $input->readListEnd(); } else { @@ -27342,9 +27616,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter944) + foreach ($this->success as $iter972) { - $xfer += $iter944->write($output); + $xfer += $iter972->write($output); } } $output->writeListEnd(); @@ -27587,15 +27861,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size973 = 0; + $_etype976 = 0; + $xfer += $input->readListBegin($_etype976, $_size973); + for ($_i977 = 0; $_i977 < $_size973; ++$_i977) { - $elem950 = null; - $elem950 = new \metastore\PartitionSpec(); - $xfer += $elem950->read($input); - $this->success []= $elem950; + $elem978 = null; + $elem978 = new \metastore\PartitionSpec(); + $xfer += $elem978->read($input); + $this->success []= $elem978; } $xfer += $input->readListEnd(); } else { @@ -27639,9 +27913,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter951) + foreach ($this->success as $iter979) { - $xfer += $iter951->write($output); + $xfer += $iter979->write($output); } } $output->writeListEnd(); @@ -28207,14 +28481,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) + $_size980 = 0; + $_etype983 = 0; + $xfer += $input->readListBegin($_etype983, $_size980); + for ($_i984 = 0; $_i984 < $_size980; ++$_i984) { - $elem957 = null; - $xfer += $input->readString($elem957); - $this->names []= $elem957; + $elem985 = null; + $xfer += $input->readString($elem985); + $this->names []= $elem985; } $xfer += $input->readListEnd(); } else { @@ -28252,9 +28526,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter958) + foreach ($this->names as $iter986) { - $xfer += $output->writeString($iter958); + $xfer += $output->writeString($iter986); } } $output->writeListEnd(); @@ -28343,15 +28617,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size959 = 0; - $_etype962 = 0; - $xfer += $input->readListBegin($_etype962, $_size959); - for ($_i963 = 0; $_i963 < $_size959; ++$_i963) + $_size987 = 0; + $_etype990 = 0; + $xfer += $input->readListBegin($_etype990, $_size987); + for ($_i991 = 0; $_i991 < $_size987; ++$_i991) { - $elem964 = null; - $elem964 = new \metastore\Partition(); - $xfer += $elem964->read($input); - $this->success []= $elem964; + $elem992 = null; + $elem992 = new \metastore\Partition(); + $xfer += $elem992->read($input); + $this->success []= $elem992; } $xfer += $input->readListEnd(); } else { @@ -28395,9 +28669,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter965) + foreach ($this->success as $iter993) { - $xfer += $iter965->write($output); + $xfer += $iter993->write($output); } } $output->writeListEnd(); @@ -28736,15 +29010,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size966 = 0; - $_etype969 = 0; - $xfer += $input->readListBegin($_etype969, $_size966); - for ($_i970 = 0; $_i970 < $_size966; ++$_i970) + $_size994 = 0; + $_etype997 = 0; + $xfer += $input->readListBegin($_etype997, $_size994); + for ($_i998 = 0; $_i998 < $_size994; ++$_i998) { - $elem971 = null; - $elem971 = new \metastore\Partition(); - $xfer += $elem971->read($input); - $this->new_parts []= $elem971; + $elem999 = null; + $elem999 = new \metastore\Partition(); + $xfer += $elem999->read($input); + $this->new_parts []= $elem999; } $xfer += $input->readListEnd(); } else { @@ -28782,9 +29056,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter972) + foreach ($this->new_parts as $iter1000) { - $xfer += $iter972->write($output); + $xfer += $iter1000->write($output); } } $output->writeListEnd(); @@ -28999,15 +29273,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size973 = 0; - $_etype976 = 0; - $xfer += $input->readListBegin($_etype976, $_size973); - for ($_i977 = 0; $_i977 < $_size973; ++$_i977) + $_size1001 = 0; + $_etype1004 = 0; + $xfer += $input->readListBegin($_etype1004, $_size1001); + for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) { - $elem978 = null; - $elem978 = new \metastore\Partition(); - $xfer += $elem978->read($input); - $this->new_parts []= $elem978; + $elem1006 = null; + $elem1006 = new \metastore\Partition(); + $xfer += $elem1006->read($input); + $this->new_parts []= $elem1006; } $xfer += $input->readListEnd(); } else { @@ -29053,9 +29327,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter979) + foreach ($this->new_parts as $iter1007) { - $xfer += $iter979->write($output); + $xfer += $iter1007->write($output); } } $output->writeListEnd(); @@ -29533,14 +29807,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size980 = 0; - $_etype983 = 0; - $xfer += $input->readListBegin($_etype983, $_size980); - for ($_i984 = 0; $_i984 < $_size980; ++$_i984) + $_size1008 = 0; + $_etype1011 = 0; + $xfer += $input->readListBegin($_etype1011, $_size1008); + for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) { - $elem985 = null; - $xfer += $input->readString($elem985); - $this->part_vals []= $elem985; + $elem1013 = null; + $xfer += $input->readString($elem1013); + $this->part_vals []= $elem1013; } $xfer += $input->readListEnd(); } else { @@ -29586,9 +29860,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter986) + foreach ($this->part_vals as $iter1014) { - $xfer += $output->writeString($iter986); + $xfer += $output->writeString($iter1014); } } $output->writeListEnd(); @@ -29773,14 +30047,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size987 = 0; - $_etype990 = 0; - $xfer += $input->readListBegin($_etype990, $_size987); - for ($_i991 = 0; $_i991 < $_size987; ++$_i991) + $_size1015 = 0; + $_etype1018 = 0; + $xfer += $input->readListBegin($_etype1018, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $elem992 = null; - $xfer += $input->readString($elem992); - $this->part_vals []= $elem992; + $elem1020 = null; + $xfer += $input->readString($elem1020); + $this->part_vals []= $elem1020; } $xfer += $input->readListEnd(); } else { @@ -29815,9 +30089,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter993) + foreach ($this->part_vals as $iter1021) { - $xfer += $output->writeString($iter993); + $xfer += $output->writeString($iter1021); } } $output->writeListEnd(); @@ -30271,14 +30545,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size994 = 0; - $_etype997 = 0; - $xfer += $input->readListBegin($_etype997, $_size994); - for ($_i998 = 0; $_i998 < $_size994; ++$_i998) + $_size1022 = 0; + $_etype1025 = 0; + $xfer += $input->readListBegin($_etype1025, $_size1022); + for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) { - $elem999 = null; - $xfer += $input->readString($elem999); - $this->success []= $elem999; + $elem1027 = null; + $xfer += $input->readString($elem1027); + $this->success []= $elem1027; } $xfer += $input->readListEnd(); } else { @@ -30314,9 +30588,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1000) + foreach ($this->success as $iter1028) { - $xfer += $output->writeString($iter1000); + $xfer += $output->writeString($iter1028); } } $output->writeListEnd(); @@ -30476,17 +30750,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1001 = 0; - $_ktype1002 = 0; - $_vtype1003 = 0; - $xfer += $input->readMapBegin($_ktype1002, $_vtype1003, $_size1001); - for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) + $_size1029 = 0; + $_ktype1030 = 0; + $_vtype1031 = 0; + $xfer += $input->readMapBegin($_ktype1030, $_vtype1031, $_size1029); + for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) { - $key1006 = ''; - $val1007 = ''; - $xfer += $input->readString($key1006); - $xfer += $input->readString($val1007); - $this->success[$key1006] = $val1007; + $key1034 = ''; + $val1035 = ''; + $xfer += $input->readString($key1034); + $xfer += $input->readString($val1035); + $this->success[$key1034] = $val1035; } $xfer += $input->readMapEnd(); } else { @@ -30522,10 +30796,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1008 => $viter1009) + foreach ($this->success as $kiter1036 => $viter1037) { - $xfer += $output->writeString($kiter1008); - $xfer += $output->writeString($viter1009); + $xfer += $output->writeString($kiter1036); + $xfer += $output->writeString($viter1037); } } $output->writeMapEnd(); @@ -30645,17 +30919,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1010 = 0; - $_ktype1011 = 0; - $_vtype1012 = 0; - $xfer += $input->readMapBegin($_ktype1011, $_vtype1012, $_size1010); - for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) + $_size1038 = 0; + $_ktype1039 = 0; + $_vtype1040 = 0; + $xfer += $input->readMapBegin($_ktype1039, $_vtype1040, $_size1038); + for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) { - $key1015 = ''; - $val1016 = ''; - $xfer += $input->readString($key1015); - $xfer += $input->readString($val1016); - $this->part_vals[$key1015] = $val1016; + $key1043 = ''; + $val1044 = ''; + $xfer += $input->readString($key1043); + $xfer += $input->readString($val1044); + $this->part_vals[$key1043] = $val1044; } $xfer += $input->readMapEnd(); } else { @@ -30700,10 +30974,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1017 => $viter1018) + foreach ($this->part_vals as $kiter1045 => $viter1046) { - $xfer += $output->writeString($kiter1017); - $xfer += $output->writeString($viter1018); + $xfer += $output->writeString($kiter1045); + $xfer += $output->writeString($viter1046); } } $output->writeMapEnd(); @@ -31025,17 +31299,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1019 = 0; - $_ktype1020 = 0; - $_vtype1021 = 0; - $xfer += $input->readMapBegin($_ktype1020, $_vtype1021, $_size1019); - for ($_i1023 = 0; $_i1023 < $_size1019; ++$_i1023) + $_size1047 = 0; + $_ktype1048 = 0; + $_vtype1049 = 0; + $xfer += $input->readMapBegin($_ktype1048, $_vtype1049, $_size1047); + for ($_i1051 = 0; $_i1051 < $_size1047; ++$_i1051) { - $key1024 = ''; - $val1025 = ''; - $xfer += $input->readString($key1024); - $xfer += $input->readString($val1025); - $this->part_vals[$key1024] = $val1025; + $key1052 = ''; + $val1053 = ''; + $xfer += $input->readString($key1052); + $xfer += $input->readString($val1053); + $this->part_vals[$key1052] = $val1053; } $xfer += $input->readMapEnd(); } else { @@ -31080,10 +31354,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1026 => $viter1027) + foreach ($this->part_vals as $kiter1054 => $viter1055) { - $xfer += $output->writeString($kiter1026); - $xfer += $output->writeString($viter1027); + $xfer += $output->writeString($kiter1054); + $xfer += $output->writeString($viter1055); } } $output->writeMapEnd(); @@ -32557,15 +32831,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1028 = 0; - $_etype1031 = 0; - $xfer += $input->readListBegin($_etype1031, $_size1028); - for ($_i1032 = 0; $_i1032 < $_size1028; ++$_i1032) + $_size1056 = 0; + $_etype1059 = 0; + $xfer += $input->readListBegin($_etype1059, $_size1056); + for ($_i1060 = 0; $_i1060 < $_size1056; ++$_i1060) { - $elem1033 = null; - $elem1033 = new \metastore\Index(); - $xfer += $elem1033->read($input); - $this->success []= $elem1033; + $elem1061 = null; + $elem1061 = new \metastore\Index(); + $xfer += $elem1061->read($input); + $this->success []= $elem1061; } $xfer += $input->readListEnd(); } else { @@ -32609,9 +32883,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1034) + foreach ($this->success as $iter1062) { - $xfer += $iter1034->write($output); + $xfer += $iter1062->write($output); } } $output->writeListEnd(); @@ -32818,14 +33092,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1035 = 0; - $_etype1038 = 0; - $xfer += $input->readListBegin($_etype1038, $_size1035); - for ($_i1039 = 0; $_i1039 < $_size1035; ++$_i1039) + $_size1063 = 0; + $_etype1066 = 0; + $xfer += $input->readListBegin($_etype1066, $_size1063); + for ($_i1067 = 0; $_i1067 < $_size1063; ++$_i1067) { - $elem1040 = null; - $xfer += $input->readString($elem1040); - $this->success []= $elem1040; + $elem1068 = null; + $xfer += $input->readString($elem1068); + $this->success []= $elem1068; } $xfer += $input->readListEnd(); } else { @@ -32861,9 +33135,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1041) + foreach ($this->success as $iter1069) { - $xfer += $output->writeString($iter1041); + $xfer += $output->writeString($iter1069); } } $output->writeListEnd(); @@ -37177,14 +37451,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1042 = 0; - $_etype1045 = 0; - $xfer += $input->readListBegin($_etype1045, $_size1042); - for ($_i1046 = 0; $_i1046 < $_size1042; ++$_i1046) + $_size1070 = 0; + $_etype1073 = 0; + $xfer += $input->readListBegin($_etype1073, $_size1070); + for ($_i1074 = 0; $_i1074 < $_size1070; ++$_i1074) { - $elem1047 = null; - $xfer += $input->readString($elem1047); - $this->success []= $elem1047; + $elem1075 = null; + $xfer += $input->readString($elem1075); + $this->success []= $elem1075; } $xfer += $input->readListEnd(); } else { @@ -37220,9 +37494,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1048) + foreach ($this->success as $iter1076) { - $xfer += $output->writeString($iter1048); + $xfer += $output->writeString($iter1076); } } $output->writeListEnd(); @@ -38091,14 +38365,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1049 = 0; - $_etype1052 = 0; - $xfer += $input->readListBegin($_etype1052, $_size1049); - for ($_i1053 = 0; $_i1053 < $_size1049; ++$_i1053) + $_size1077 = 0; + $_etype1080 = 0; + $xfer += $input->readListBegin($_etype1080, $_size1077); + for ($_i1081 = 0; $_i1081 < $_size1077; ++$_i1081) { - $elem1054 = null; - $xfer += $input->readString($elem1054); - $this->success []= $elem1054; + $elem1082 = null; + $xfer += $input->readString($elem1082); + $this->success []= $elem1082; } $xfer += $input->readListEnd(); } else { @@ -38134,9 +38408,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1055) + foreach ($this->success as $iter1083) { - $xfer += $output->writeString($iter1055); + $xfer += $output->writeString($iter1083); } } $output->writeListEnd(); @@ -38827,15 +39101,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1056 = 0; - $_etype1059 = 0; - $xfer += $input->readListBegin($_etype1059, $_size1056); - for ($_i1060 = 0; $_i1060 < $_size1056; ++$_i1060) + $_size1084 = 0; + $_etype1087 = 0; + $xfer += $input->readListBegin($_etype1087, $_size1084); + for ($_i1088 = 0; $_i1088 < $_size1084; ++$_i1088) { - $elem1061 = null; - $elem1061 = new \metastore\Role(); - $xfer += $elem1061->read($input); - $this->success []= $elem1061; + $elem1089 = null; + $elem1089 = new \metastore\Role(); + $xfer += $elem1089->read($input); + $this->success []= $elem1089; } $xfer += $input->readListEnd(); } else { @@ -38871,9 +39145,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1062) + foreach ($this->success as $iter1090) { - $xfer += $iter1062->write($output); + $xfer += $iter1090->write($output); } } $output->writeListEnd(); @@ -39535,14 +39809,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1063 = 0; - $_etype1066 = 0; - $xfer += $input->readListBegin($_etype1066, $_size1063); - for ($_i1067 = 0; $_i1067 < $_size1063; ++$_i1067) + $_size1091 = 0; + $_etype1094 = 0; + $xfer += $input->readListBegin($_etype1094, $_size1091); + for ($_i1095 = 0; $_i1095 < $_size1091; ++$_i1095) { - $elem1068 = null; - $xfer += $input->readString($elem1068); - $this->group_names []= $elem1068; + $elem1096 = null; + $xfer += $input->readString($elem1096); + $this->group_names []= $elem1096; } $xfer += $input->readListEnd(); } else { @@ -39583,9 +39857,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1069) + foreach ($this->group_names as $iter1097) { - $xfer += $output->writeString($iter1069); + $xfer += $output->writeString($iter1097); } } $output->writeListEnd(); @@ -39893,15 +40167,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1070 = 0; - $_etype1073 = 0; - $xfer += $input->readListBegin($_etype1073, $_size1070); - for ($_i1074 = 0; $_i1074 < $_size1070; ++$_i1074) + $_size1098 = 0; + $_etype1101 = 0; + $xfer += $input->readListBegin($_etype1101, $_size1098); + for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102) { - $elem1075 = null; - $elem1075 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1075->read($input); - $this->success []= $elem1075; + $elem1103 = null; + $elem1103 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1103->read($input); + $this->success []= $elem1103; } $xfer += $input->readListEnd(); } else { @@ -39937,9 +40211,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1076) + foreach ($this->success as $iter1104) { - $xfer += $iter1076->write($output); + $xfer += $iter1104->write($output); } } $output->writeListEnd(); @@ -40571,14 +40845,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1077 = 0; - $_etype1080 = 0; - $xfer += $input->readListBegin($_etype1080, $_size1077); - for ($_i1081 = 0; $_i1081 < $_size1077; ++$_i1081) + $_size1105 = 0; + $_etype1108 = 0; + $xfer += $input->readListBegin($_etype1108, $_size1105); + for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109) { - $elem1082 = null; - $xfer += $input->readString($elem1082); - $this->group_names []= $elem1082; + $elem1110 = null; + $xfer += $input->readString($elem1110); + $this->group_names []= $elem1110; } $xfer += $input->readListEnd(); } else { @@ -40611,9 +40885,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1083) + foreach ($this->group_names as $iter1111) { - $xfer += $output->writeString($iter1083); + $xfer += $output->writeString($iter1111); } } $output->writeListEnd(); @@ -40689,14 +40963,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1084 = 0; - $_etype1087 = 0; - $xfer += $input->readListBegin($_etype1087, $_size1084); - for ($_i1088 = 0; $_i1088 < $_size1084; ++$_i1088) + $_size1112 = 0; + $_etype1115 = 0; + $xfer += $input->readListBegin($_etype1115, $_size1112); + for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116) { - $elem1089 = null; - $xfer += $input->readString($elem1089); - $this->success []= $elem1089; + $elem1117 = null; + $xfer += $input->readString($elem1117); + $this->success []= $elem1117; } $xfer += $input->readListEnd(); } else { @@ -40732,9 +41006,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1090) + foreach ($this->success as $iter1118) { - $xfer += $output->writeString($iter1090); + $xfer += $output->writeString($iter1118); } } $output->writeListEnd(); @@ -41851,14 +42125,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1091 = 0; - $_etype1094 = 0; - $xfer += $input->readListBegin($_etype1094, $_size1091); - for ($_i1095 = 0; $_i1095 < $_size1091; ++$_i1095) + $_size1119 = 0; + $_etype1122 = 0; + $xfer += $input->readListBegin($_etype1122, $_size1119); + for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123) { - $elem1096 = null; - $xfer += $input->readString($elem1096); - $this->success []= $elem1096; + $elem1124 = null; + $xfer += $input->readString($elem1124); + $this->success []= $elem1124; } $xfer += $input->readListEnd(); } else { @@ -41886,9 +42160,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1097) + foreach ($this->success as $iter1125) { - $xfer += $output->writeString($iter1097); + $xfer += $output->writeString($iter1125); } } $output->writeListEnd(); @@ -42527,14 +42801,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1098 = 0; - $_etype1101 = 0; - $xfer += $input->readListBegin($_etype1101, $_size1098); - for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102) + $_size1126 = 0; + $_etype1129 = 0; + $xfer += $input->readListBegin($_etype1129, $_size1126); + for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) { - $elem1103 = null; - $xfer += $input->readString($elem1103); - $this->success []= $elem1103; + $elem1131 = null; + $xfer += $input->readString($elem1131); + $this->success []= $elem1131; } $xfer += $input->readListEnd(); } else { @@ -42562,9 +42836,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1104) + foreach ($this->success as $iter1132) { - $xfer += $output->writeString($iter1104); + $xfer += $output->writeString($iter1132); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index f0f0a57..8cf9e33 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -12377,6 +12377,502 @@ class DropPartitionsRequest { } +class PartitionValuesRequest { + static $_TSPEC; + + /** + * @var string + */ + public $dbName = null; + /** + * @var string + */ + public $tblName = null; + /** + * @var \metastore\FieldSchema[] + */ + public $partitionKeys = null; + /** + * @var bool + */ + public $applyDistinct = true; + /** + * @var string + */ + public $filter = null; + /** + * @var \metastore\FieldSchema[] + */ + public $partitionOrder = null; + /** + * @var bool + */ + public $ascending = true; + /** + * @var int + */ + public $maxParts = -1; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'dbName', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tblName', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'partitionKeys', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\FieldSchema', + ), + ), + 4 => array( + 'var' => 'applyDistinct', + 'type' => TType::BOOL, + ), + 5 => array( + 'var' => 'filter', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'partitionOrder', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\FieldSchema', + ), + ), + 7 => array( + 'var' => 'ascending', + 'type' => TType::BOOL, + ), + 8 => array( + 'var' => 'maxParts', + 'type' => TType::I64, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['dbName'])) { + $this->dbName = $vals['dbName']; + } + if (isset($vals['tblName'])) { + $this->tblName = $vals['tblName']; + } + if (isset($vals['partitionKeys'])) { + $this->partitionKeys = $vals['partitionKeys']; + } + if (isset($vals['applyDistinct'])) { + $this->applyDistinct = $vals['applyDistinct']; + } + if (isset($vals['filter'])) { + $this->filter = $vals['filter']; + } + if (isset($vals['partitionOrder'])) { + $this->partitionOrder = $vals['partitionOrder']; + } + if (isset($vals['ascending'])) { + $this->ascending = $vals['ascending']; + } + if (isset($vals['maxParts'])) { + $this->maxParts = $vals['maxParts']; + } + } + } + + public function getName() { + return 'PartitionValuesRequest'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tblName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::LST) { + $this->partitionKeys = array(); + $_size427 = 0; + $_etype430 = 0; + $xfer += $input->readListBegin($_etype430, $_size427); + for ($_i431 = 0; $_i431 < $_size427; ++$_i431) + { + $elem432 = null; + $elem432 = new \metastore\FieldSchema(); + $xfer += $elem432->read($input); + $this->partitionKeys []= $elem432; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->applyDistinct); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->filter); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::LST) { + $this->partitionOrder = array(); + $_size433 = 0; + $_etype436 = 0; + $xfer += $input->readListBegin($_etype436, $_size433); + for ($_i437 = 0; $_i437 < $_size433; ++$_i437) + { + $elem438 = null; + $elem438 = new \metastore\FieldSchema(); + $xfer += $elem438->read($input); + $this->partitionOrder []= $elem438; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 7: + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->ascending); + } else { + $xfer += $input->skip($ftype); + } + break; + case 8: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->maxParts); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('PartitionValuesRequest'); + if ($this->dbName !== null) { + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 1); + $xfer += $output->writeString($this->dbName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tblName !== null) { + $xfer += $output->writeFieldBegin('tblName', TType::STRING, 2); + $xfer += $output->writeString($this->tblName); + $xfer += $output->writeFieldEnd(); + } + if ($this->partitionKeys !== null) { + if (!is_array($this->partitionKeys)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitionKeys', TType::LST, 3); + { + $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); + { + foreach ($this->partitionKeys as $iter439) + { + $xfer += $iter439->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->applyDistinct !== null) { + $xfer += $output->writeFieldBegin('applyDistinct', TType::BOOL, 4); + $xfer += $output->writeBool($this->applyDistinct); + $xfer += $output->writeFieldEnd(); + } + if ($this->filter !== null) { + $xfer += $output->writeFieldBegin('filter', TType::STRING, 5); + $xfer += $output->writeString($this->filter); + $xfer += $output->writeFieldEnd(); + } + if ($this->partitionOrder !== null) { + if (!is_array($this->partitionOrder)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitionOrder', TType::LST, 6); + { + $output->writeListBegin(TType::STRUCT, count($this->partitionOrder)); + { + foreach ($this->partitionOrder as $iter440) + { + $xfer += $iter440->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->ascending !== null) { + $xfer += $output->writeFieldBegin('ascending', TType::BOOL, 7); + $xfer += $output->writeBool($this->ascending); + $xfer += $output->writeFieldEnd(); + } + if ($this->maxParts !== null) { + $xfer += $output->writeFieldBegin('maxParts', TType::I64, 8); + $xfer += $output->writeI64($this->maxParts); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class PartitionValuesRow { + static $_TSPEC; + + /** + * @var string[] + */ + public $row = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'row', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['row'])) { + $this->row = $vals['row']; + } + } + } + + public function getName() { + return 'PartitionValuesRow'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->row = array(); + $_size441 = 0; + $_etype444 = 0; + $xfer += $input->readListBegin($_etype444, $_size441); + for ($_i445 = 0; $_i445 < $_size441; ++$_i445) + { + $elem446 = null; + $xfer += $input->readString($elem446); + $this->row []= $elem446; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('PartitionValuesRow'); + if ($this->row !== null) { + if (!is_array($this->row)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('row', TType::LST, 1); + { + $output->writeListBegin(TType::STRING, count($this->row)); + { + foreach ($this->row as $iter447) + { + $xfer += $output->writeString($iter447); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class PartitionValuesResponse { + static $_TSPEC; + + /** + * @var \metastore\PartitionValuesRow[] + */ + public $partitionValues = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'partitionValues', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionValuesRow', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['partitionValues'])) { + $this->partitionValues = $vals['partitionValues']; + } + } + } + + public function getName() { + return 'PartitionValuesResponse'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->partitionValues = array(); + $_size448 = 0; + $_etype451 = 0; + $xfer += $input->readListBegin($_etype451, $_size448); + for ($_i452 = 0; $_i452 < $_size448; ++$_i452) + { + $elem453 = null; + $elem453 = new \metastore\PartitionValuesRow(); + $xfer += $elem453->read($input); + $this->partitionValues []= $elem453; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('PartitionValuesResponse'); + if ($this->partitionValues !== null) { + if (!is_array($this->partitionValues)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitionValues', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->partitionValues)); + { + foreach ($this->partitionValues as $iter454) + { + $xfer += $iter454->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ResourceUri { static $_TSPEC; @@ -12652,15 +13148,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size427 = 0; - $_etype430 = 0; - $xfer += $input->readListBegin($_etype430, $_size427); - for ($_i431 = 0; $_i431 < $_size427; ++$_i431) + $_size455 = 0; + $_etype458 = 0; + $xfer += $input->readListBegin($_etype458, $_size455); + for ($_i459 = 0; $_i459 < $_size455; ++$_i459) { - $elem432 = null; - $elem432 = new \metastore\ResourceUri(); - $xfer += $elem432->read($input); - $this->resourceUris []= $elem432; + $elem460 = null; + $elem460 = new \metastore\ResourceUri(); + $xfer += $elem460->read($input); + $this->resourceUris []= $elem460; } $xfer += $input->readListEnd(); } else { @@ -12723,9 +13219,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter433) + foreach ($this->resourceUris as $iter461) { - $xfer += $iter433->write($output); + $xfer += $iter461->write($output); } } $output->writeListEnd(); @@ -13067,15 +13563,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size434 = 0; - $_etype437 = 0; - $xfer += $input->readListBegin($_etype437, $_size434); - for ($_i438 = 0; $_i438 < $_size434; ++$_i438) + $_size462 = 0; + $_etype465 = 0; + $xfer += $input->readListBegin($_etype465, $_size462); + for ($_i466 = 0; $_i466 < $_size462; ++$_i466) { - $elem439 = null; - $elem439 = new \metastore\TxnInfo(); - $xfer += $elem439->read($input); - $this->open_txns []= $elem439; + $elem467 = null; + $elem467 = new \metastore\TxnInfo(); + $xfer += $elem467->read($input); + $this->open_txns []= $elem467; } $xfer += $input->readListEnd(); } else { @@ -13108,9 +13604,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter440) + foreach ($this->open_txns as $iter468) { - $xfer += $iter440->write($output); + $xfer += $iter468->write($output); } } $output->writeListEnd(); @@ -13214,14 +13710,14 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size441 = 0; - $_etype444 = 0; - $xfer += $input->readListBegin($_etype444, $_size441); - for ($_i445 = 0; $_i445 < $_size441; ++$_i445) + $_size469 = 0; + $_etype472 = 0; + $xfer += $input->readListBegin($_etype472, $_size469); + for ($_i473 = 0; $_i473 < $_size469; ++$_i473) { - $elem446 = null; - $xfer += $input->readI64($elem446); - $this->open_txns []= $elem446; + $elem474 = null; + $xfer += $input->readI64($elem474); + $this->open_txns []= $elem474; } $xfer += $input->readListEnd(); } else { @@ -13268,9 +13764,9 @@ class GetOpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter447) + foreach ($this->open_txns as $iter475) { - $xfer += $output->writeI64($iter447); + $xfer += $output->writeI64($iter475); } } $output->writeListEnd(); @@ -13488,14 +13984,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size448 = 0; - $_etype451 = 0; - $xfer += $input->readListBegin($_etype451, $_size448); - for ($_i452 = 0; $_i452 < $_size448; ++$_i452) + $_size476 = 0; + $_etype479 = 0; + $xfer += $input->readListBegin($_etype479, $_size476); + for ($_i480 = 0; $_i480 < $_size476; ++$_i480) { - $elem453 = null; - $xfer += $input->readI64($elem453); - $this->txn_ids []= $elem453; + $elem481 = null; + $xfer += $input->readI64($elem481); + $this->txn_ids []= $elem481; } $xfer += $input->readListEnd(); } else { @@ -13523,9 +14019,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter454) + foreach ($this->txn_ids as $iter482) { - $xfer += $output->writeI64($iter454); + $xfer += $output->writeI64($iter482); } } $output->writeListEnd(); @@ -13664,14 +14160,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size455 = 0; - $_etype458 = 0; - $xfer += $input->readListBegin($_etype458, $_size455); - for ($_i459 = 0; $_i459 < $_size455; ++$_i459) + $_size483 = 0; + $_etype486 = 0; + $xfer += $input->readListBegin($_etype486, $_size483); + for ($_i487 = 0; $_i487 < $_size483; ++$_i487) { - $elem460 = null; - $xfer += $input->readI64($elem460); - $this->txn_ids []= $elem460; + $elem488 = null; + $xfer += $input->readI64($elem488); + $this->txn_ids []= $elem488; } $xfer += $input->readListEnd(); } else { @@ -13699,9 +14195,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter461) + foreach ($this->txn_ids as $iter489) { - $xfer += $output->writeI64($iter461); + $xfer += $output->writeI64($iter489); } } $output->writeListEnd(); @@ -14121,15 +14617,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size462 = 0; - $_etype465 = 0; - $xfer += $input->readListBegin($_etype465, $_size462); - for ($_i466 = 0; $_i466 < $_size462; ++$_i466) + $_size490 = 0; + $_etype493 = 0; + $xfer += $input->readListBegin($_etype493, $_size490); + for ($_i494 = 0; $_i494 < $_size490; ++$_i494) { - $elem467 = null; - $elem467 = new \metastore\LockComponent(); - $xfer += $elem467->read($input); - $this->component []= $elem467; + $elem495 = null; + $elem495 = new \metastore\LockComponent(); + $xfer += $elem495->read($input); + $this->component []= $elem495; } $xfer += $input->readListEnd(); } else { @@ -14185,9 +14681,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter468) + foreach ($this->component as $iter496) { - $xfer += $iter468->write($output); + $xfer += $iter496->write($output); } } $output->writeListEnd(); @@ -15130,15 +15626,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size469 = 0; - $_etype472 = 0; - $xfer += $input->readListBegin($_etype472, $_size469); - for ($_i473 = 0; $_i473 < $_size469; ++$_i473) + $_size497 = 0; + $_etype500 = 0; + $xfer += $input->readListBegin($_etype500, $_size497); + for ($_i501 = 0; $_i501 < $_size497; ++$_i501) { - $elem474 = null; - $elem474 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem474->read($input); - $this->locks []= $elem474; + $elem502 = null; + $elem502 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem502->read($input); + $this->locks []= $elem502; } $xfer += $input->readListEnd(); } else { @@ -15166,9 +15662,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter475) + foreach ($this->locks as $iter503) { - $xfer += $iter475->write($output); + $xfer += $iter503->write($output); } } $output->writeListEnd(); @@ -15443,17 +15939,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size476 = 0; - $_etype479 = 0; - $xfer += $input->readSetBegin($_etype479, $_size476); - for ($_i480 = 0; $_i480 < $_size476; ++$_i480) + $_size504 = 0; + $_etype507 = 0; + $xfer += $input->readSetBegin($_etype507, $_size504); + for ($_i508 = 0; $_i508 < $_size504; ++$_i508) { - $elem481 = null; - $xfer += $input->readI64($elem481); - if (is_scalar($elem481)) { - $this->aborted[$elem481] = true; + $elem509 = null; + $xfer += $input->readI64($elem509); + if (is_scalar($elem509)) { + $this->aborted[$elem509] = true; } else { - $this->aborted []= $elem481; + $this->aborted []= $elem509; } } $xfer += $input->readSetEnd(); @@ -15464,17 +15960,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size482 = 0; - $_etype485 = 0; - $xfer += $input->readSetBegin($_etype485, $_size482); - for ($_i486 = 0; $_i486 < $_size482; ++$_i486) + $_size510 = 0; + $_etype513 = 0; + $xfer += $input->readSetBegin($_etype513, $_size510); + for ($_i514 = 0; $_i514 < $_size510; ++$_i514) { - $elem487 = null; - $xfer += $input->readI64($elem487); - if (is_scalar($elem487)) { - $this->nosuch[$elem487] = true; + $elem515 = null; + $xfer += $input->readI64($elem515); + if (is_scalar($elem515)) { + $this->nosuch[$elem515] = true; } else { - $this->nosuch []= $elem487; + $this->nosuch []= $elem515; } } $xfer += $input->readSetEnd(); @@ -15503,12 +15999,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter488 => $iter489) + foreach ($this->aborted as $iter516 => $iter517) { - if (is_scalar($iter489)) { - $xfer += $output->writeI64($iter488); + if (is_scalar($iter517)) { + $xfer += $output->writeI64($iter516); } else { - $xfer += $output->writeI64($iter489); + $xfer += $output->writeI64($iter517); } } } @@ -15524,12 +16020,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter490 => $iter491) + foreach ($this->nosuch as $iter518 => $iter519) { - if (is_scalar($iter491)) { - $xfer += $output->writeI64($iter490); + if (is_scalar($iter519)) { + $xfer += $output->writeI64($iter518); } else { - $xfer += $output->writeI64($iter491); + $xfer += $output->writeI64($iter519); } } } @@ -15688,17 +16184,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size492 = 0; - $_ktype493 = 0; - $_vtype494 = 0; - $xfer += $input->readMapBegin($_ktype493, $_vtype494, $_size492); - for ($_i496 = 0; $_i496 < $_size492; ++$_i496) + $_size520 = 0; + $_ktype521 = 0; + $_vtype522 = 0; + $xfer += $input->readMapBegin($_ktype521, $_vtype522, $_size520); + for ($_i524 = 0; $_i524 < $_size520; ++$_i524) { - $key497 = ''; - $val498 = ''; - $xfer += $input->readString($key497); - $xfer += $input->readString($val498); - $this->properties[$key497] = $val498; + $key525 = ''; + $val526 = ''; + $xfer += $input->readString($key525); + $xfer += $input->readString($val526); + $this->properties[$key525] = $val526; } $xfer += $input->readMapEnd(); } else { @@ -15751,10 +16247,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter499 => $viter500) + foreach ($this->properties as $kiter527 => $viter528) { - $xfer += $output->writeString($kiter499); - $xfer += $output->writeString($viter500); + $xfer += $output->writeString($kiter527); + $xfer += $output->writeString($viter528); } } $output->writeMapEnd(); @@ -16341,15 +16837,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size501 = 0; - $_etype504 = 0; - $xfer += $input->readListBegin($_etype504, $_size501); - for ($_i505 = 0; $_i505 < $_size501; ++$_i505) + $_size529 = 0; + $_etype532 = 0; + $xfer += $input->readListBegin($_etype532, $_size529); + for ($_i533 = 0; $_i533 < $_size529; ++$_i533) { - $elem506 = null; - $elem506 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem506->read($input); - $this->compacts []= $elem506; + $elem534 = null; + $elem534 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem534->read($input); + $this->compacts []= $elem534; } $xfer += $input->readListEnd(); } else { @@ -16377,9 +16873,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter507) + foreach ($this->compacts as $iter535) { - $xfer += $iter507->write($output); + $xfer += $iter535->write($output); } } $output->writeListEnd(); @@ -16508,14 +17004,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size508 = 0; - $_etype511 = 0; - $xfer += $input->readListBegin($_etype511, $_size508); - for ($_i512 = 0; $_i512 < $_size508; ++$_i512) + $_size536 = 0; + $_etype539 = 0; + $xfer += $input->readListBegin($_etype539, $_size536); + for ($_i540 = 0; $_i540 < $_size536; ++$_i540) { - $elem513 = null; - $xfer += $input->readString($elem513); - $this->partitionnames []= $elem513; + $elem541 = null; + $xfer += $input->readString($elem541); + $this->partitionnames []= $elem541; } $xfer += $input->readListEnd(); } else { @@ -16565,9 +17061,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter514) + foreach ($this->partitionnames as $iter542) { - $xfer += $output->writeString($iter514); + $xfer += $output->writeString($iter542); } } $output->writeListEnd(); @@ -16948,15 +17444,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size515 = 0; - $_etype518 = 0; - $xfer += $input->readListBegin($_etype518, $_size515); - for ($_i519 = 0; $_i519 < $_size515; ++$_i519) + $_size543 = 0; + $_etype546 = 0; + $xfer += $input->readListBegin($_etype546, $_size543); + for ($_i547 = 0; $_i547 < $_size543; ++$_i547) { - $elem520 = null; - $elem520 = new \metastore\NotificationEvent(); - $xfer += $elem520->read($input); - $this->events []= $elem520; + $elem548 = null; + $elem548 = new \metastore\NotificationEvent(); + $xfer += $elem548->read($input); + $this->events []= $elem548; } $xfer += $input->readListEnd(); } else { @@ -16984,9 +17480,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter521) + foreach ($this->events as $iter549) { - $xfer += $iter521->write($output); + $xfer += $iter549->write($output); } } $output->writeListEnd(); @@ -17331,14 +17827,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size522 = 0; - $_etype525 = 0; - $xfer += $input->readListBegin($_etype525, $_size522); - for ($_i526 = 0; $_i526 < $_size522; ++$_i526) + $_size550 = 0; + $_etype553 = 0; + $xfer += $input->readListBegin($_etype553, $_size550); + for ($_i554 = 0; $_i554 < $_size550; ++$_i554) { - $elem527 = null; - $xfer += $input->readString($elem527); - $this->filesAdded []= $elem527; + $elem555 = null; + $xfer += $input->readString($elem555); + $this->filesAdded []= $elem555; } $xfer += $input->readListEnd(); } else { @@ -17348,14 +17844,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size528 = 0; - $_etype531 = 0; - $xfer += $input->readListBegin($_etype531, $_size528); - for ($_i532 = 0; $_i532 < $_size528; ++$_i532) + $_size556 = 0; + $_etype559 = 0; + $xfer += $input->readListBegin($_etype559, $_size556); + for ($_i560 = 0; $_i560 < $_size556; ++$_i560) { - $elem533 = null; - $xfer += $input->readString($elem533); - $this->filesAddedChecksum []= $elem533; + $elem561 = null; + $xfer += $input->readString($elem561); + $this->filesAddedChecksum []= $elem561; } $xfer += $input->readListEnd(); } else { @@ -17388,9 +17884,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter534) + foreach ($this->filesAdded as $iter562) { - $xfer += $output->writeString($iter534); + $xfer += $output->writeString($iter562); } } $output->writeListEnd(); @@ -17405,9 +17901,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter535) + foreach ($this->filesAddedChecksum as $iter563) { - $xfer += $output->writeString($iter535); + $xfer += $output->writeString($iter563); } } $output->writeListEnd(); @@ -17625,14 +18121,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size536 = 0; - $_etype539 = 0; - $xfer += $input->readListBegin($_etype539, $_size536); - for ($_i540 = 0; $_i540 < $_size536; ++$_i540) + $_size564 = 0; + $_etype567 = 0; + $xfer += $input->readListBegin($_etype567, $_size564); + for ($_i568 = 0; $_i568 < $_size564; ++$_i568) { - $elem541 = null; - $xfer += $input->readString($elem541); - $this->partitionVals []= $elem541; + $elem569 = null; + $xfer += $input->readString($elem569); + $this->partitionVals []= $elem569; } $xfer += $input->readListEnd(); } else { @@ -17683,9 +18179,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter542) + foreach ($this->partitionVals as $iter570) { - $xfer += $output->writeString($iter542); + $xfer += $output->writeString($iter570); } } $output->writeListEnd(); @@ -17913,18 +18409,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size543 = 0; - $_ktype544 = 0; - $_vtype545 = 0; - $xfer += $input->readMapBegin($_ktype544, $_vtype545, $_size543); - for ($_i547 = 0; $_i547 < $_size543; ++$_i547) + $_size571 = 0; + $_ktype572 = 0; + $_vtype573 = 0; + $xfer += $input->readMapBegin($_ktype572, $_vtype573, $_size571); + for ($_i575 = 0; $_i575 < $_size571; ++$_i575) { - $key548 = 0; - $val549 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key548); - $val549 = new \metastore\MetadataPpdResult(); - $xfer += $val549->read($input); - $this->metadata[$key548] = $val549; + $key576 = 0; + $val577 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key576); + $val577 = new \metastore\MetadataPpdResult(); + $xfer += $val577->read($input); + $this->metadata[$key576] = $val577; } $xfer += $input->readMapEnd(); } else { @@ -17959,10 +18455,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter550 => $viter551) + foreach ($this->metadata as $kiter578 => $viter579) { - $xfer += $output->writeI64($kiter550); - $xfer += $viter551->write($output); + $xfer += $output->writeI64($kiter578); + $xfer += $viter579->write($output); } } $output->writeMapEnd(); @@ -18064,14 +18560,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size552 = 0; - $_etype555 = 0; - $xfer += $input->readListBegin($_etype555, $_size552); - for ($_i556 = 0; $_i556 < $_size552; ++$_i556) + $_size580 = 0; + $_etype583 = 0; + $xfer += $input->readListBegin($_etype583, $_size580); + for ($_i584 = 0; $_i584 < $_size580; ++$_i584) { - $elem557 = null; - $xfer += $input->readI64($elem557); - $this->fileIds []= $elem557; + $elem585 = null; + $xfer += $input->readI64($elem585); + $this->fileIds []= $elem585; } $xfer += $input->readListEnd(); } else { @@ -18120,9 +18616,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter558) + foreach ($this->fileIds as $iter586) { - $xfer += $output->writeI64($iter558); + $xfer += $output->writeI64($iter586); } } $output->writeListEnd(); @@ -18216,17 +18712,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size559 = 0; - $_ktype560 = 0; - $_vtype561 = 0; - $xfer += $input->readMapBegin($_ktype560, $_vtype561, $_size559); - for ($_i563 = 0; $_i563 < $_size559; ++$_i563) + $_size587 = 0; + $_ktype588 = 0; + $_vtype589 = 0; + $xfer += $input->readMapBegin($_ktype588, $_vtype589, $_size587); + for ($_i591 = 0; $_i591 < $_size587; ++$_i591) { - $key564 = 0; - $val565 = ''; - $xfer += $input->readI64($key564); - $xfer += $input->readString($val565); - $this->metadata[$key564] = $val565; + $key592 = 0; + $val593 = ''; + $xfer += $input->readI64($key592); + $xfer += $input->readString($val593); + $this->metadata[$key592] = $val593; } $xfer += $input->readMapEnd(); } else { @@ -18261,10 +18757,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter566 => $viter567) + foreach ($this->metadata as $kiter594 => $viter595) { - $xfer += $output->writeI64($kiter566); - $xfer += $output->writeString($viter567); + $xfer += $output->writeI64($kiter594); + $xfer += $output->writeString($viter595); } } $output->writeMapEnd(); @@ -18333,14 +18829,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size568 = 0; - $_etype571 = 0; - $xfer += $input->readListBegin($_etype571, $_size568); - for ($_i572 = 0; $_i572 < $_size568; ++$_i572) + $_size596 = 0; + $_etype599 = 0; + $xfer += $input->readListBegin($_etype599, $_size596); + for ($_i600 = 0; $_i600 < $_size596; ++$_i600) { - $elem573 = null; - $xfer += $input->readI64($elem573); - $this->fileIds []= $elem573; + $elem601 = null; + $xfer += $input->readI64($elem601); + $this->fileIds []= $elem601; } $xfer += $input->readListEnd(); } else { @@ -18368,9 +18864,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter574) + foreach ($this->fileIds as $iter602) { - $xfer += $output->writeI64($iter574); + $xfer += $output->writeI64($iter602); } } $output->writeListEnd(); @@ -18510,14 +19006,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size575 = 0; - $_etype578 = 0; - $xfer += $input->readListBegin($_etype578, $_size575); - for ($_i579 = 0; $_i579 < $_size575; ++$_i579) + $_size603 = 0; + $_etype606 = 0; + $xfer += $input->readListBegin($_etype606, $_size603); + for ($_i607 = 0; $_i607 < $_size603; ++$_i607) { - $elem580 = null; - $xfer += $input->readI64($elem580); - $this->fileIds []= $elem580; + $elem608 = null; + $xfer += $input->readI64($elem608); + $this->fileIds []= $elem608; } $xfer += $input->readListEnd(); } else { @@ -18527,14 +19023,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size581 = 0; - $_etype584 = 0; - $xfer += $input->readListBegin($_etype584, $_size581); - for ($_i585 = 0; $_i585 < $_size581; ++$_i585) + $_size609 = 0; + $_etype612 = 0; + $xfer += $input->readListBegin($_etype612, $_size609); + for ($_i613 = 0; $_i613 < $_size609; ++$_i613) { - $elem586 = null; - $xfer += $input->readString($elem586); - $this->metadata []= $elem586; + $elem614 = null; + $xfer += $input->readString($elem614); + $this->metadata []= $elem614; } $xfer += $input->readListEnd(); } else { @@ -18569,9 +19065,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter587) + foreach ($this->fileIds as $iter615) { - $xfer += $output->writeI64($iter587); + $xfer += $output->writeI64($iter615); } } $output->writeListEnd(); @@ -18586,9 +19082,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter588) + foreach ($this->metadata as $iter616) { - $xfer += $output->writeString($iter588); + $xfer += $output->writeString($iter616); } } $output->writeListEnd(); @@ -18707,14 +19203,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size589 = 0; - $_etype592 = 0; - $xfer += $input->readListBegin($_etype592, $_size589); - for ($_i593 = 0; $_i593 < $_size589; ++$_i593) + $_size617 = 0; + $_etype620 = 0; + $xfer += $input->readListBegin($_etype620, $_size617); + for ($_i621 = 0; $_i621 < $_size617; ++$_i621) { - $elem594 = null; - $xfer += $input->readI64($elem594); - $this->fileIds []= $elem594; + $elem622 = null; + $xfer += $input->readI64($elem622); + $this->fileIds []= $elem622; } $xfer += $input->readListEnd(); } else { @@ -18742,9 +19238,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter595) + foreach ($this->fileIds as $iter623) { - $xfer += $output->writeI64($iter595); + $xfer += $output->writeI64($iter623); } } $output->writeListEnd(); @@ -19028,15 +19524,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size596 = 0; - $_etype599 = 0; - $xfer += $input->readListBegin($_etype599, $_size596); - for ($_i600 = 0; $_i600 < $_size596; ++$_i600) + $_size624 = 0; + $_etype627 = 0; + $xfer += $input->readListBegin($_etype627, $_size624); + for ($_i628 = 0; $_i628 < $_size624; ++$_i628) { - $elem601 = null; - $elem601 = new \metastore\Function(); - $xfer += $elem601->read($input); - $this->functions []= $elem601; + $elem629 = null; + $elem629 = new \metastore\Function(); + $xfer += $elem629->read($input); + $this->functions []= $elem629; } $xfer += $input->readListEnd(); } else { @@ -19064,9 +19560,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter602) + foreach ($this->functions as $iter630) { - $xfer += $iter602->write($output); + $xfer += $iter630->write($output); } } $output->writeListEnd(); @@ -19130,14 +19626,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size603 = 0; - $_etype606 = 0; - $xfer += $input->readListBegin($_etype606, $_size603); - for ($_i607 = 0; $_i607 < $_size603; ++$_i607) + $_size631 = 0; + $_etype634 = 0; + $xfer += $input->readListBegin($_etype634, $_size631); + for ($_i635 = 0; $_i635 < $_size631; ++$_i635) { - $elem608 = null; - $xfer += $input->readI32($elem608); - $this->values []= $elem608; + $elem636 = null; + $xfer += $input->readI32($elem636); + $this->values []= $elem636; } $xfer += $input->readListEnd(); } else { @@ -19165,9 +19661,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter609) + foreach ($this->values as $iter637) { - $xfer += $output->writeI32($iter609); + $xfer += $output->writeI32($iter637); } } $output->writeListEnd(); @@ -19467,14 +19963,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size610 = 0; - $_etype613 = 0; - $xfer += $input->readListBegin($_etype613, $_size610); - for ($_i614 = 0; $_i614 < $_size610; ++$_i614) + $_size638 = 0; + $_etype641 = 0; + $xfer += $input->readListBegin($_etype641, $_size638); + for ($_i642 = 0; $_i642 < $_size638; ++$_i642) { - $elem615 = null; - $xfer += $input->readString($elem615); - $this->tblNames []= $elem615; + $elem643 = null; + $xfer += $input->readString($elem643); + $this->tblNames []= $elem643; } $xfer += $input->readListEnd(); } else { @@ -19515,9 +20011,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter616) + foreach ($this->tblNames as $iter644) { - $xfer += $output->writeString($iter616); + $xfer += $output->writeString($iter644); } } $output->writeListEnd(); @@ -19590,15 +20086,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size617 = 0; - $_etype620 = 0; - $xfer += $input->readListBegin($_etype620, $_size617); - for ($_i621 = 0; $_i621 < $_size617; ++$_i621) + $_size645 = 0; + $_etype648 = 0; + $xfer += $input->readListBegin($_etype648, $_size645); + for ($_i649 = 0; $_i649 < $_size645; ++$_i649) { - $elem622 = null; - $elem622 = new \metastore\Table(); - $xfer += $elem622->read($input); - $this->tables []= $elem622; + $elem650 = null; + $elem650 = new \metastore\Table(); + $xfer += $elem650->read($input); + $this->tables []= $elem650; } $xfer += $input->readListEnd(); } else { @@ -19626,9 +20122,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter623) + foreach ($this->tables as $iter651) { - $xfer += $iter623->write($output); + $xfer += $iter651->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 14527e6..de9ad1b 100755 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -86,6 +86,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' get_partitions_with_auth(string db_name, string tbl_name, i16 max_parts, string user_name, group_names)') print(' get_partitions_pspec(string db_name, string tbl_name, i32 max_parts)') print(' get_partition_names(string db_name, string tbl_name, i16 max_parts)') + print(' PartitionValuesResponse get_partition_values(PartitionValuesRequest request)') print(' get_partitions_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') print(' get_partitions_ps_with_auth(string db_name, string tbl_name, part_vals, i16 max_parts, string user_name, group_names)') print(' get_partition_names_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') @@ -626,6 +627,12 @@ elif cmd == 'get_partition_names': sys.exit(1) pp.pprint(client.get_partition_names(args[0],args[1],eval(args[2]),)) +elif cmd == 'get_partition_values': + if len(args) != 1: + print('get_partition_values requires 1 args') + sys.exit(1) + pp.pprint(client.get_partition_values(eval(args[0]),)) + elif cmd == 'get_partitions_ps': if len(args) != 4: print('get_partitions_ps requires 4 args') diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 4b45c3a..610c63f 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -543,6 +543,13 @@ def get_partition_names(self, db_name, tbl_name, max_parts): """ pass + def get_partition_values(self, request): + """ + Parameters: + - request + """ + pass + def get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts): """ Parameters: @@ -3633,6 +3640,41 @@ def recv_get_partition_names(self): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result") + def get_partition_values(self, request): + """ + Parameters: + - request + """ + self.send_get_partition_values(request) + return self.recv_get_partition_values() + + def send_get_partition_values(self, request): + self._oprot.writeMessageBegin('get_partition_values', TMessageType.CALL, self._seqid) + args = get_partition_values_args() + args.request = request + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_partition_values(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_partition_values_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + if result.o2 is not None: + raise result.o2 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_values failed: unknown result") + def get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts): """ Parameters: @@ -7149,6 +7191,7 @@ def __init__(self, handler): self._processMap["get_partitions_with_auth"] = Processor.process_get_partitions_with_auth self._processMap["get_partitions_pspec"] = Processor.process_get_partitions_pspec self._processMap["get_partition_names"] = Processor.process_get_partition_names + self._processMap["get_partition_values"] = Processor.process_get_partition_values self._processMap["get_partitions_ps"] = Processor.process_get_partitions_ps self._processMap["get_partitions_ps_with_auth"] = Processor.process_get_partitions_ps_with_auth self._processMap["get_partition_names_ps"] = Processor.process_get_partition_names_ps @@ -8859,6 +8902,31 @@ def process_get_partition_names(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_partition_values(self, seqid, iprot, oprot): + args = get_partition_values_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_partition_values_result() + try: + result.success = self._handler.get_partition_values(args.request) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY + result.o2 = o2 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_values", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_partitions_ps(self, seqid, iprot, oprot): args = get_partitions_ps_args() args.read(iprot) @@ -12067,10 +12135,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = iprot.readString() - self.success.append(_elem627) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = iprot.readString() + self.success.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -12093,8 +12161,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 iter628 in self.success: - oprot.writeString(iter628) + for iter656 in self.success: + oprot.writeString(iter656) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12199,10 +12267,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = iprot.readString() - self.success.append(_elem634) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = iprot.readString() + self.success.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -12225,8 +12293,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 iter635 in self.success: - oprot.writeString(iter635) + for iter663 in self.success: + oprot.writeString(iter663) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12996,12 +13064,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype637, _vtype638, _size636 ) = iprot.readMapBegin() - for _i640 in xrange(_size636): - _key641 = iprot.readString() - _val642 = Type() - _val642.read(iprot) - self.success[_key641] = _val642 + (_ktype665, _vtype666, _size664 ) = iprot.readMapBegin() + for _i668 in xrange(_size664): + _key669 = iprot.readString() + _val670 = Type() + _val670.read(iprot) + self.success[_key669] = _val670 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13024,9 +13092,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 kiter643,viter644 in self.success.items(): - oprot.writeString(kiter643) - viter644.write(oprot) + for kiter671,viter672 in self.success.items(): + oprot.writeString(kiter671) + viter672.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -13169,11 +13237,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype648, _size645) = iprot.readListBegin() - for _i649 in xrange(_size645): - _elem650 = FieldSchema() - _elem650.read(iprot) - self.success.append(_elem650) + (_etype676, _size673) = iprot.readListBegin() + for _i677 in xrange(_size673): + _elem678 = FieldSchema() + _elem678.read(iprot) + self.success.append(_elem678) iprot.readListEnd() else: iprot.skip(ftype) @@ -13208,8 +13276,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 iter651 in self.success: - iter651.write(oprot) + for iter679 in self.success: + iter679.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13376,11 +13444,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype655, _size652) = iprot.readListBegin() - for _i656 in xrange(_size652): - _elem657 = FieldSchema() - _elem657.read(iprot) - self.success.append(_elem657) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = FieldSchema() + _elem685.read(iprot) + self.success.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -13415,8 +13483,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 iter658 in self.success: - iter658.write(oprot) + for iter686 in self.success: + iter686.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13569,11 +13637,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype662, _size659) = iprot.readListBegin() - for _i663 in xrange(_size659): - _elem664 = FieldSchema() - _elem664.read(iprot) - self.success.append(_elem664) + (_etype690, _size687) = iprot.readListBegin() + for _i691 in xrange(_size687): + _elem692 = FieldSchema() + _elem692.read(iprot) + self.success.append(_elem692) iprot.readListEnd() else: iprot.skip(ftype) @@ -13608,8 +13676,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 iter665 in self.success: - iter665.write(oprot) + for iter693 in self.success: + iter693.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13776,11 +13844,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = FieldSchema() - _elem671.read(iprot) - self.success.append(_elem671) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = FieldSchema() + _elem699.read(iprot) + self.success.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -13815,8 +13883,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 iter672 in self.success: - iter672.write(oprot) + for iter700 in self.success: + iter700.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14263,44 +14331,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = SQLPrimaryKey() - _elem678.read(iprot) - self.primaryKeys.append(_elem678) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = SQLPrimaryKey() + _elem706.read(iprot) + self.primaryKeys.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype682, _size679) = iprot.readListBegin() - for _i683 in xrange(_size679): - _elem684 = SQLForeignKey() - _elem684.read(iprot) - self.foreignKeys.append(_elem684) + (_etype710, _size707) = iprot.readListBegin() + for _i711 in xrange(_size707): + _elem712 = SQLForeignKey() + _elem712.read(iprot) + self.foreignKeys.append(_elem712) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype688, _size685) = iprot.readListBegin() - for _i689 in xrange(_size685): - _elem690 = SQLUniqueConstraint() - _elem690.read(iprot) - self.uniqueConstraints.append(_elem690) + (_etype716, _size713) = iprot.readListBegin() + for _i717 in xrange(_size713): + _elem718 = SQLUniqueConstraint() + _elem718.read(iprot) + self.uniqueConstraints.append(_elem718) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype694, _size691) = iprot.readListBegin() - for _i695 in xrange(_size691): - _elem696 = SQLNotNullConstraint() - _elem696.read(iprot) - self.notNullConstraints.append(_elem696) + (_etype722, _size719) = iprot.readListBegin() + for _i723 in xrange(_size719): + _elem724 = SQLNotNullConstraint() + _elem724.read(iprot) + self.notNullConstraints.append(_elem724) iprot.readListEnd() else: iprot.skip(ftype) @@ -14321,29 +14389,29 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter697 in self.primaryKeys: - iter697.write(oprot) + for iter725 in self.primaryKeys: + iter725.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 iter698 in self.foreignKeys: - iter698.write(oprot) + for iter726 in self.foreignKeys: + iter726.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 iter699 in self.uniqueConstraints: - iter699.write(oprot) + for iter727 in self.uniqueConstraints: + iter727.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 iter700 in self.notNullConstraints: - iter700.write(oprot) + for iter728 in self.notNullConstraints: + iter728.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15609,10 +15677,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = iprot.readString() - self.partNames.append(_elem706) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString() + self.partNames.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -15637,8 +15705,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 iter707 in self.partNames: - oprot.writeString(iter707) + for iter735 in self.partNames: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15838,10 +15906,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString() - self.success.append(_elem713) + (_etype739, _size736) = iprot.readListBegin() + for _i740 in xrange(_size736): + _elem741 = iprot.readString() + self.success.append(_elem741) iprot.readListEnd() else: iprot.skip(ftype) @@ -15864,8 +15932,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 iter714 in self.success: - oprot.writeString(iter714) + for iter742 in self.success: + oprot.writeString(iter742) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16015,10 +16083,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = iprot.readString() - self.success.append(_elem720) + (_etype746, _size743) = iprot.readListBegin() + for _i747 in xrange(_size743): + _elem748 = iprot.readString() + self.success.append(_elem748) iprot.readListEnd() else: iprot.skip(ftype) @@ -16041,8 +16109,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 iter721 in self.success: - oprot.writeString(iter721) + for iter749 in self.success: + oprot.writeString(iter749) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16115,10 +16183,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = iprot.readString() - self.tbl_types.append(_elem727) + (_etype753, _size750) = iprot.readListBegin() + for _i754 in xrange(_size750): + _elem755 = iprot.readString() + self.tbl_types.append(_elem755) iprot.readListEnd() else: iprot.skip(ftype) @@ -16143,8 +16211,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 iter728 in self.tbl_types: - oprot.writeString(iter728) + for iter756 in self.tbl_types: + oprot.writeString(iter756) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16200,11 +16268,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype732, _size729) = iprot.readListBegin() - for _i733 in xrange(_size729): - _elem734 = TableMeta() - _elem734.read(iprot) - self.success.append(_elem734) + (_etype760, _size757) = iprot.readListBegin() + for _i761 in xrange(_size757): + _elem762 = TableMeta() + _elem762.read(iprot) + self.success.append(_elem762) iprot.readListEnd() else: iprot.skip(ftype) @@ -16227,8 +16295,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 iter735 in self.success: - iter735.write(oprot) + for iter763 in self.success: + iter763.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16352,10 +16420,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype739, _size736) = iprot.readListBegin() - for _i740 in xrange(_size736): - _elem741 = iprot.readString() - self.success.append(_elem741) + (_etype767, _size764) = iprot.readListBegin() + for _i768 in xrange(_size764): + _elem769 = iprot.readString() + self.success.append(_elem769) iprot.readListEnd() else: iprot.skip(ftype) @@ -16378,8 +16446,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 iter742 in self.success: - oprot.writeString(iter742) + for iter770 in self.success: + oprot.writeString(iter770) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16615,10 +16683,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype746, _size743) = iprot.readListBegin() - for _i747 in xrange(_size743): - _elem748 = iprot.readString() - self.tbl_names.append(_elem748) + (_etype774, _size771) = iprot.readListBegin() + for _i775 in xrange(_size771): + _elem776 = iprot.readString() + self.tbl_names.append(_elem776) iprot.readListEnd() else: iprot.skip(ftype) @@ -16639,8 +16707,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 iter749 in self.tbl_names: - oprot.writeString(iter749) + for iter777 in self.tbl_names: + oprot.writeString(iter777) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16692,11 +16760,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype753, _size750) = iprot.readListBegin() - for _i754 in xrange(_size750): - _elem755 = Table() - _elem755.read(iprot) - self.success.append(_elem755) + (_etype781, _size778) = iprot.readListBegin() + for _i782 in xrange(_size778): + _elem783 = Table() + _elem783.read(iprot) + self.success.append(_elem783) iprot.readListEnd() else: iprot.skip(ftype) @@ -16713,8 +16781,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 iter756 in self.success: - iter756.write(oprot) + for iter784 in self.success: + iter784.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17197,10 +17265,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype760, _size757) = iprot.readListBegin() - for _i761 in xrange(_size757): - _elem762 = iprot.readString() - self.success.append(_elem762) + (_etype788, _size785) = iprot.readListBegin() + for _i789 in xrange(_size785): + _elem790 = iprot.readString() + self.success.append(_elem790) iprot.readListEnd() else: iprot.skip(ftype) @@ -17235,8 +17303,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 iter763 in self.success: - oprot.writeString(iter763) + for iter791 in self.success: + oprot.writeString(iter791) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18206,11 +18274,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype767, _size764) = iprot.readListBegin() - for _i768 in xrange(_size764): - _elem769 = Partition() - _elem769.read(iprot) - self.new_parts.append(_elem769) + (_etype795, _size792) = iprot.readListBegin() + for _i796 in xrange(_size792): + _elem797 = Partition() + _elem797.read(iprot) + self.new_parts.append(_elem797) iprot.readListEnd() else: iprot.skip(ftype) @@ -18227,8 +18295,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 iter770 in self.new_parts: - iter770.write(oprot) + for iter798 in self.new_parts: + iter798.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18386,11 +18454,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype774, _size771) = iprot.readListBegin() - for _i775 in xrange(_size771): - _elem776 = PartitionSpec() - _elem776.read(iprot) - self.new_parts.append(_elem776) + (_etype802, _size799) = iprot.readListBegin() + for _i803 in xrange(_size799): + _elem804 = PartitionSpec() + _elem804.read(iprot) + self.new_parts.append(_elem804) iprot.readListEnd() else: iprot.skip(ftype) @@ -18407,8 +18475,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 iter777 in self.new_parts: - iter777.write(oprot) + for iter805 in self.new_parts: + iter805.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18582,10 +18650,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype781, _size778) = iprot.readListBegin() - for _i782 in xrange(_size778): - _elem783 = iprot.readString() - self.part_vals.append(_elem783) + (_etype809, _size806) = iprot.readListBegin() + for _i810 in xrange(_size806): + _elem811 = iprot.readString() + self.part_vals.append(_elem811) iprot.readListEnd() else: iprot.skip(ftype) @@ -18610,8 +18678,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 iter784 in self.part_vals: - oprot.writeString(iter784) + for iter812 in self.part_vals: + oprot.writeString(iter812) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18964,10 +19032,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype788, _size785) = iprot.readListBegin() - for _i789 in xrange(_size785): - _elem790 = iprot.readString() - self.part_vals.append(_elem790) + (_etype816, _size813) = iprot.readListBegin() + for _i817 in xrange(_size813): + _elem818 = iprot.readString() + self.part_vals.append(_elem818) iprot.readListEnd() else: iprot.skip(ftype) @@ -18998,8 +19066,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 iter791 in self.part_vals: - oprot.writeString(iter791) + for iter819 in self.part_vals: + oprot.writeString(iter819) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -19594,10 +19662,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype795, _size792) = iprot.readListBegin() - for _i796 in xrange(_size792): - _elem797 = iprot.readString() - self.part_vals.append(_elem797) + (_etype823, _size820) = iprot.readListBegin() + for _i824 in xrange(_size820): + _elem825 = iprot.readString() + self.part_vals.append(_elem825) iprot.readListEnd() else: iprot.skip(ftype) @@ -19627,8 +19695,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 iter798 in self.part_vals: - oprot.writeString(iter798) + for iter826 in self.part_vals: + oprot.writeString(iter826) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -19801,10 +19869,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype802, _size799) = iprot.readListBegin() - for _i803 in xrange(_size799): - _elem804 = iprot.readString() - self.part_vals.append(_elem804) + (_etype830, _size827) = iprot.readListBegin() + for _i831 in xrange(_size827): + _elem832 = iprot.readString() + self.part_vals.append(_elem832) iprot.readListEnd() else: iprot.skip(ftype) @@ -19840,8 +19908,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 iter805 in self.part_vals: - oprot.writeString(iter805) + for iter833 in self.part_vals: + oprot.writeString(iter833) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -20578,10 +20646,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype809, _size806) = iprot.readListBegin() - for _i810 in xrange(_size806): - _elem811 = iprot.readString() - self.part_vals.append(_elem811) + (_etype837, _size834) = iprot.readListBegin() + for _i838 in xrange(_size834): + _elem839 = iprot.readString() + self.part_vals.append(_elem839) iprot.readListEnd() else: iprot.skip(ftype) @@ -20606,8 +20674,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 iter812 in self.part_vals: - oprot.writeString(iter812) + for iter840 in self.part_vals: + oprot.writeString(iter840) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20766,11 +20834,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype814, _vtype815, _size813 ) = iprot.readMapBegin() - for _i817 in xrange(_size813): - _key818 = iprot.readString() - _val819 = iprot.readString() - self.partitionSpecs[_key818] = _val819 + (_ktype842, _vtype843, _size841 ) = iprot.readMapBegin() + for _i845 in xrange(_size841): + _key846 = iprot.readString() + _val847 = iprot.readString() + self.partitionSpecs[_key846] = _val847 iprot.readMapEnd() else: iprot.skip(ftype) @@ -20807,9 +20875,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 kiter820,viter821 in self.partitionSpecs.items(): - oprot.writeString(kiter820) - oprot.writeString(viter821) + for kiter848,viter849 in self.partitionSpecs.items(): + oprot.writeString(kiter848) + oprot.writeString(viter849) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -21014,11 +21082,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype823, _vtype824, _size822 ) = iprot.readMapBegin() - for _i826 in xrange(_size822): - _key827 = iprot.readString() - _val828 = iprot.readString() - self.partitionSpecs[_key827] = _val828 + (_ktype851, _vtype852, _size850 ) = iprot.readMapBegin() + for _i854 in xrange(_size850): + _key855 = iprot.readString() + _val856 = iprot.readString() + self.partitionSpecs[_key855] = _val856 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21055,9 +21123,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 kiter829,viter830 in self.partitionSpecs.items(): - oprot.writeString(kiter829) - oprot.writeString(viter830) + for kiter857,viter858 in self.partitionSpecs.items(): + oprot.writeString(kiter857) + oprot.writeString(viter858) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -21140,11 +21208,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = Partition() - _elem836.read(iprot) - self.success.append(_elem836) + (_etype862, _size859) = iprot.readListBegin() + for _i863 in xrange(_size859): + _elem864 = Partition() + _elem864.read(iprot) + self.success.append(_elem864) iprot.readListEnd() else: iprot.skip(ftype) @@ -21185,8 +21253,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 iter837 in self.success: - iter837.write(oprot) + for iter865 in self.success: + iter865.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21280,10 +21348,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype841, _size838) = iprot.readListBegin() - for _i842 in xrange(_size838): - _elem843 = iprot.readString() - self.part_vals.append(_elem843) + (_etype869, _size866) = iprot.readListBegin() + for _i870 in xrange(_size866): + _elem871 = iprot.readString() + self.part_vals.append(_elem871) iprot.readListEnd() else: iprot.skip(ftype) @@ -21295,10 +21363,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = iprot.readString() - self.group_names.append(_elem849) + (_etype875, _size872) = iprot.readListBegin() + for _i876 in xrange(_size872): + _elem877 = iprot.readString() + self.group_names.append(_elem877) iprot.readListEnd() else: iprot.skip(ftype) @@ -21323,8 +21391,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 iter850 in self.part_vals: - oprot.writeString(iter850) + for iter878 in self.part_vals: + oprot.writeString(iter878) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -21334,8 +21402,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 iter851 in self.group_names: - oprot.writeString(iter851) + for iter879 in self.group_names: + oprot.writeString(iter879) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21764,11 +21832,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype855, _size852) = iprot.readListBegin() - for _i856 in xrange(_size852): - _elem857 = Partition() - _elem857.read(iprot) - self.success.append(_elem857) + (_etype883, _size880) = iprot.readListBegin() + for _i884 in xrange(_size880): + _elem885 = Partition() + _elem885.read(iprot) + self.success.append(_elem885) iprot.readListEnd() else: iprot.skip(ftype) @@ -21797,8 +21865,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 iter858 in self.success: - iter858.write(oprot) + for iter886 in self.success: + iter886.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21892,10 +21960,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in xrange(_size859): - _elem864 = iprot.readString() - self.group_names.append(_elem864) + (_etype890, _size887) = iprot.readListBegin() + for _i891 in xrange(_size887): + _elem892 = iprot.readString() + self.group_names.append(_elem892) iprot.readListEnd() else: iprot.skip(ftype) @@ -21928,8 +21996,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 iter865 in self.group_names: - oprot.writeString(iter865) + for iter893 in self.group_names: + oprot.writeString(iter893) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21990,11 +22058,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype869, _size866) = iprot.readListBegin() - for _i870 in xrange(_size866): - _elem871 = Partition() - _elem871.read(iprot) - self.success.append(_elem871) + (_etype897, _size894) = iprot.readListBegin() + for _i898 in xrange(_size894): + _elem899 = Partition() + _elem899.read(iprot) + self.success.append(_elem899) iprot.readListEnd() else: iprot.skip(ftype) @@ -22023,8 +22091,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 iter872 in self.success: - iter872.write(oprot) + for iter900 in self.success: + iter900.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22182,11 +22250,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype876, _size873) = iprot.readListBegin() - for _i877 in xrange(_size873): - _elem878 = PartitionSpec() - _elem878.read(iprot) - self.success.append(_elem878) + (_etype904, _size901) = iprot.readListBegin() + for _i905 in xrange(_size901): + _elem906 = PartitionSpec() + _elem906.read(iprot) + self.success.append(_elem906) iprot.readListEnd() else: iprot.skip(ftype) @@ -22215,8 +22283,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 iter879 in self.success: - iter879.write(oprot) + for iter907 in self.success: + iter907.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22371,10 +22439,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype883, _size880) = iprot.readListBegin() - for _i884 in xrange(_size880): - _elem885 = iprot.readString() - self.success.append(_elem885) + (_etype911, _size908) = iprot.readListBegin() + for _i912 in xrange(_size908): + _elem913 = iprot.readString() + self.success.append(_elem913) iprot.readListEnd() else: iprot.skip(ftype) @@ -22397,8 +22465,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 iter886 in self.success: - oprot.writeString(iter886) + for iter914 in self.success: + oprot.writeString(iter914) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -22429,6 +22497,165 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_partition_values_args: + """ + Attributes: + - request + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'request', (PartitionValuesRequest, PartitionValuesRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, request=None,): + self.request = request + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.request = PartitionValuesRequest() + self.request.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_partition_values_args') + if self.request is not None: + oprot.writeFieldBegin('request', TType.STRUCT, 1) + self.request.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class get_partition_values_result: + """ + Attributes: + - success + - o1 + - o2 + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (PartitionValuesResponse, PartitionValuesResponse.thrift_spec), None, ), # 0 + (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2 + ) + + def __init__(self, success=None, o1=None, o2=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.STRUCT: + self.success = PartitionValuesResponse() + self.success.read(iprot) + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = MetaException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = NoSuchObjectException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_partition_values_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class get_partitions_ps_args: """ Attributes: @@ -22474,10 +22701,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype890, _size887) = iprot.readListBegin() - for _i891 in xrange(_size887): - _elem892 = iprot.readString() - self.part_vals.append(_elem892) + (_etype918, _size915) = iprot.readListBegin() + for _i919 in xrange(_size915): + _elem920 = iprot.readString() + self.part_vals.append(_elem920) iprot.readListEnd() else: iprot.skip(ftype) @@ -22507,8 +22734,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 iter893 in self.part_vals: - oprot.writeString(iter893) + for iter921 in self.part_vals: + oprot.writeString(iter921) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -22572,11 +22799,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in xrange(_size894): - _elem899 = Partition() - _elem899.read(iprot) - self.success.append(_elem899) + (_etype925, _size922) = iprot.readListBegin() + for _i926 in xrange(_size922): + _elem927 = Partition() + _elem927.read(iprot) + self.success.append(_elem927) iprot.readListEnd() else: iprot.skip(ftype) @@ -22605,8 +22832,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 iter900 in self.success: - iter900.write(oprot) + for iter928 in self.success: + iter928.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22693,10 +22920,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype904, _size901) = iprot.readListBegin() - for _i905 in xrange(_size901): - _elem906 = iprot.readString() - self.part_vals.append(_elem906) + (_etype932, _size929) = iprot.readListBegin() + for _i933 in xrange(_size929): + _elem934 = iprot.readString() + self.part_vals.append(_elem934) iprot.readListEnd() else: iprot.skip(ftype) @@ -22713,10 +22940,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype910, _size907) = iprot.readListBegin() - for _i911 in xrange(_size907): - _elem912 = iprot.readString() - self.group_names.append(_elem912) + (_etype938, _size935) = iprot.readListBegin() + for _i939 in xrange(_size935): + _elem940 = iprot.readString() + self.group_names.append(_elem940) iprot.readListEnd() else: iprot.skip(ftype) @@ -22741,8 +22968,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 iter913 in self.part_vals: - oprot.writeString(iter913) + for iter941 in self.part_vals: + oprot.writeString(iter941) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -22756,8 +22983,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 iter914 in self.group_names: - oprot.writeString(iter914) + for iter942 in self.group_names: + oprot.writeString(iter942) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22819,11 +23046,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype918, _size915) = iprot.readListBegin() - for _i919 in xrange(_size915): - _elem920 = Partition() - _elem920.read(iprot) - self.success.append(_elem920) + (_etype946, _size943) = iprot.readListBegin() + for _i947 in xrange(_size943): + _elem948 = Partition() + _elem948.read(iprot) + self.success.append(_elem948) iprot.readListEnd() else: iprot.skip(ftype) @@ -22852,8 +23079,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 iter921 in self.success: - iter921.write(oprot) + for iter949 in self.success: + iter949.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22934,10 +23161,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype925, _size922) = iprot.readListBegin() - for _i926 in xrange(_size922): - _elem927 = iprot.readString() - self.part_vals.append(_elem927) + (_etype953, _size950) = iprot.readListBegin() + for _i954 in xrange(_size950): + _elem955 = iprot.readString() + self.part_vals.append(_elem955) iprot.readListEnd() else: iprot.skip(ftype) @@ -22967,8 +23194,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 iter928 in self.part_vals: - oprot.writeString(iter928) + for iter956 in self.part_vals: + oprot.writeString(iter956) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -23032,10 +23259,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype932, _size929) = iprot.readListBegin() - for _i933 in xrange(_size929): - _elem934 = iprot.readString() - self.success.append(_elem934) + (_etype960, _size957) = iprot.readListBegin() + for _i961 in xrange(_size957): + _elem962 = iprot.readString() + self.success.append(_elem962) iprot.readListEnd() else: iprot.skip(ftype) @@ -23064,8 +23291,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 iter935 in self.success: - oprot.writeString(iter935) + for iter963 in self.success: + oprot.writeString(iter963) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23236,11 +23463,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype939, _size936) = iprot.readListBegin() - for _i940 in xrange(_size936): - _elem941 = Partition() - _elem941.read(iprot) - self.success.append(_elem941) + (_etype967, _size964) = iprot.readListBegin() + for _i968 in xrange(_size964): + _elem969 = Partition() + _elem969.read(iprot) + self.success.append(_elem969) iprot.readListEnd() else: iprot.skip(ftype) @@ -23269,8 +23496,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 iter942 in self.success: - iter942.write(oprot) + for iter970 in self.success: + iter970.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23441,11 +23668,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype946, _size943) = iprot.readListBegin() - for _i947 in xrange(_size943): - _elem948 = PartitionSpec() - _elem948.read(iprot) - self.success.append(_elem948) + (_etype974, _size971) = iprot.readListBegin() + for _i975 in xrange(_size971): + _elem976 = PartitionSpec() + _elem976.read(iprot) + self.success.append(_elem976) iprot.readListEnd() else: iprot.skip(ftype) @@ -23474,8 +23701,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 iter949 in self.success: - iter949.write(oprot) + for iter977 in self.success: + iter977.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23895,10 +24122,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype953, _size950) = iprot.readListBegin() - for _i954 in xrange(_size950): - _elem955 = iprot.readString() - self.names.append(_elem955) + (_etype981, _size978) = iprot.readListBegin() + for _i982 in xrange(_size978): + _elem983 = iprot.readString() + self.names.append(_elem983) iprot.readListEnd() else: iprot.skip(ftype) @@ -23923,8 +24150,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 iter956 in self.names: - oprot.writeString(iter956) + for iter984 in self.names: + oprot.writeString(iter984) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23983,11 +24210,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype960, _size957) = iprot.readListBegin() - for _i961 in xrange(_size957): - _elem962 = Partition() - _elem962.read(iprot) - self.success.append(_elem962) + (_etype988, _size985) = iprot.readListBegin() + for _i989 in xrange(_size985): + _elem990 = Partition() + _elem990.read(iprot) + self.success.append(_elem990) iprot.readListEnd() else: iprot.skip(ftype) @@ -24016,8 +24243,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 iter963 in self.success: - iter963.write(oprot) + for iter991 in self.success: + iter991.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24267,11 +24494,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype967, _size964) = iprot.readListBegin() - for _i968 in xrange(_size964): - _elem969 = Partition() - _elem969.read(iprot) - self.new_parts.append(_elem969) + (_etype995, _size992) = iprot.readListBegin() + for _i996 in xrange(_size992): + _elem997 = Partition() + _elem997.read(iprot) + self.new_parts.append(_elem997) iprot.readListEnd() else: iprot.skip(ftype) @@ -24296,8 +24523,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 iter970 in self.new_parts: - iter970.write(oprot) + for iter998 in self.new_parts: + iter998.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24450,11 +24677,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype974, _size971) = iprot.readListBegin() - for _i975 in xrange(_size971): - _elem976 = Partition() - _elem976.read(iprot) - self.new_parts.append(_elem976) + (_etype1002, _size999) = iprot.readListBegin() + for _i1003 in xrange(_size999): + _elem1004 = Partition() + _elem1004.read(iprot) + self.new_parts.append(_elem1004) iprot.readListEnd() else: iprot.skip(ftype) @@ -24485,8 +24712,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 iter977 in self.new_parts: - iter977.write(oprot) + for iter1005 in self.new_parts: + iter1005.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -24830,10 +25057,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype981, _size978) = iprot.readListBegin() - for _i982 in xrange(_size978): - _elem983 = iprot.readString() - self.part_vals.append(_elem983) + (_etype1009, _size1006) = iprot.readListBegin() + for _i1010 in xrange(_size1006): + _elem1011 = iprot.readString() + self.part_vals.append(_elem1011) iprot.readListEnd() else: iprot.skip(ftype) @@ -24864,8 +25091,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 iter984 in self.part_vals: - oprot.writeString(iter984) + for iter1012 in self.part_vals: + oprot.writeString(iter1012) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -25007,10 +25234,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype988, _size985) = iprot.readListBegin() - for _i989 in xrange(_size985): - _elem990 = iprot.readString() - self.part_vals.append(_elem990) + (_etype1016, _size1013) = iprot.readListBegin() + for _i1017 in xrange(_size1013): + _elem1018 = iprot.readString() + self.part_vals.append(_elem1018) iprot.readListEnd() else: iprot.skip(ftype) @@ -25032,8 +25259,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 iter991 in self.part_vals: - oprot.writeString(iter991) + for iter1019 in self.part_vals: + oprot.writeString(iter1019) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -25391,10 +25618,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype995, _size992) = iprot.readListBegin() - for _i996 in xrange(_size992): - _elem997 = iprot.readString() - self.success.append(_elem997) + (_etype1023, _size1020) = iprot.readListBegin() + for _i1024 in xrange(_size1020): + _elem1025 = iprot.readString() + self.success.append(_elem1025) iprot.readListEnd() else: iprot.skip(ftype) @@ -25417,8 +25644,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 iter998 in self.success: - oprot.writeString(iter998) + for iter1026 in self.success: + oprot.writeString(iter1026) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25542,11 +25769,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1000, _vtype1001, _size999 ) = iprot.readMapBegin() - for _i1003 in xrange(_size999): - _key1004 = iprot.readString() - _val1005 = iprot.readString() - self.success[_key1004] = _val1005 + (_ktype1028, _vtype1029, _size1027 ) = iprot.readMapBegin() + for _i1031 in xrange(_size1027): + _key1032 = iprot.readString() + _val1033 = iprot.readString() + self.success[_key1032] = _val1033 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25569,9 +25796,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 kiter1006,viter1007 in self.success.items(): - oprot.writeString(kiter1006) - oprot.writeString(viter1007) + for kiter1034,viter1035 in self.success.items(): + oprot.writeString(kiter1034) + oprot.writeString(viter1035) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25647,11 +25874,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1009, _vtype1010, _size1008 ) = iprot.readMapBegin() - for _i1012 in xrange(_size1008): - _key1013 = iprot.readString() - _val1014 = iprot.readString() - self.part_vals[_key1013] = _val1014 + (_ktype1037, _vtype1038, _size1036 ) = iprot.readMapBegin() + for _i1040 in xrange(_size1036): + _key1041 = iprot.readString() + _val1042 = iprot.readString() + self.part_vals[_key1041] = _val1042 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25681,9 +25908,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 kiter1015,viter1016 in self.part_vals.items(): - oprot.writeString(kiter1015) - oprot.writeString(viter1016) + for kiter1043,viter1044 in self.part_vals.items(): + oprot.writeString(kiter1043) + oprot.writeString(viter1044) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -25897,11 +26124,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1018, _vtype1019, _size1017 ) = iprot.readMapBegin() - for _i1021 in xrange(_size1017): - _key1022 = iprot.readString() - _val1023 = iprot.readString() - self.part_vals[_key1022] = _val1023 + (_ktype1046, _vtype1047, _size1045 ) = iprot.readMapBegin() + for _i1049 in xrange(_size1045): + _key1050 = iprot.readString() + _val1051 = iprot.readString() + self.part_vals[_key1050] = _val1051 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25931,9 +26158,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 kiter1024,viter1025 in self.part_vals.items(): - oprot.writeString(kiter1024) - oprot.writeString(viter1025) + for kiter1052,viter1053 in self.part_vals.items(): + oprot.writeString(kiter1052) + oprot.writeString(viter1053) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -26988,11 +27215,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = Index() - _elem1031.read(iprot) - self.success.append(_elem1031) + (_etype1057, _size1054) = iprot.readListBegin() + for _i1058 in xrange(_size1054): + _elem1059 = Index() + _elem1059.read(iprot) + self.success.append(_elem1059) iprot.readListEnd() else: iprot.skip(ftype) @@ -27021,8 +27248,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 iter1032 in self.success: - iter1032.write(oprot) + for iter1060 in self.success: + iter1060.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27177,10 +27404,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1036, _size1033) = iprot.readListBegin() - for _i1037 in xrange(_size1033): - _elem1038 = iprot.readString() - self.success.append(_elem1038) + (_etype1064, _size1061) = iprot.readListBegin() + for _i1065 in xrange(_size1061): + _elem1066 = iprot.readString() + self.success.append(_elem1066) iprot.readListEnd() else: iprot.skip(ftype) @@ -27203,8 +27430,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 iter1039 in self.success: - oprot.writeString(iter1039) + for iter1067 in self.success: + oprot.writeString(iter1067) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -30388,10 +30615,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1043, _size1040) = iprot.readListBegin() - for _i1044 in xrange(_size1040): - _elem1045 = iprot.readString() - self.success.append(_elem1045) + (_etype1071, _size1068) = iprot.readListBegin() + for _i1072 in xrange(_size1068): + _elem1073 = iprot.readString() + self.success.append(_elem1073) iprot.readListEnd() else: iprot.skip(ftype) @@ -30414,8 +30641,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 iter1046 in self.success: - oprot.writeString(iter1046) + for iter1074 in self.success: + oprot.writeString(iter1074) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31103,10 +31330,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1050, _size1047) = iprot.readListBegin() - for _i1051 in xrange(_size1047): - _elem1052 = iprot.readString() - self.success.append(_elem1052) + (_etype1078, _size1075) = iprot.readListBegin() + for _i1079 in xrange(_size1075): + _elem1080 = iprot.readString() + self.success.append(_elem1080) iprot.readListEnd() else: iprot.skip(ftype) @@ -31129,8 +31356,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 iter1053 in self.success: - oprot.writeString(iter1053) + for iter1081 in self.success: + oprot.writeString(iter1081) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31644,11 +31871,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1057, _size1054) = iprot.readListBegin() - for _i1058 in xrange(_size1054): - _elem1059 = Role() - _elem1059.read(iprot) - self.success.append(_elem1059) + (_etype1085, _size1082) = iprot.readListBegin() + for _i1086 in xrange(_size1082): + _elem1087 = Role() + _elem1087.read(iprot) + self.success.append(_elem1087) iprot.readListEnd() else: iprot.skip(ftype) @@ -31671,8 +31898,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 iter1060 in self.success: - iter1060.write(oprot) + for iter1088 in self.success: + iter1088.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32181,10 +32408,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1064, _size1061) = iprot.readListBegin() - for _i1065 in xrange(_size1061): - _elem1066 = iprot.readString() - self.group_names.append(_elem1066) + (_etype1092, _size1089) = iprot.readListBegin() + for _i1093 in xrange(_size1089): + _elem1094 = iprot.readString() + self.group_names.append(_elem1094) iprot.readListEnd() else: iprot.skip(ftype) @@ -32209,8 +32436,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 iter1067 in self.group_names: - oprot.writeString(iter1067) + for iter1095 in self.group_names: + oprot.writeString(iter1095) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32437,11 +32664,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1071, _size1068) = iprot.readListBegin() - for _i1072 in xrange(_size1068): - _elem1073 = HiveObjectPrivilege() - _elem1073.read(iprot) - self.success.append(_elem1073) + (_etype1099, _size1096) = iprot.readListBegin() + for _i1100 in xrange(_size1096): + _elem1101 = HiveObjectPrivilege() + _elem1101.read(iprot) + self.success.append(_elem1101) iprot.readListEnd() else: iprot.skip(ftype) @@ -32464,8 +32691,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 iter1074 in self.success: - iter1074.write(oprot) + for iter1102 in self.success: + iter1102.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32963,10 +33190,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1078, _size1075) = iprot.readListBegin() - for _i1079 in xrange(_size1075): - _elem1080 = iprot.readString() - self.group_names.append(_elem1080) + (_etype1106, _size1103) = iprot.readListBegin() + for _i1107 in xrange(_size1103): + _elem1108 = iprot.readString() + self.group_names.append(_elem1108) iprot.readListEnd() else: iprot.skip(ftype) @@ -32987,8 +33214,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 iter1081 in self.group_names: - oprot.writeString(iter1081) + for iter1109 in self.group_names: + oprot.writeString(iter1109) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -33043,10 +33270,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1085, _size1082) = iprot.readListBegin() - for _i1086 in xrange(_size1082): - _elem1087 = iprot.readString() - self.success.append(_elem1087) + (_etype1113, _size1110) = iprot.readListBegin() + for _i1114 in xrange(_size1110): + _elem1115 = iprot.readString() + self.success.append(_elem1115) iprot.readListEnd() else: iprot.skip(ftype) @@ -33069,8 +33296,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 iter1088 in self.success: - oprot.writeString(iter1088) + for iter1116 in self.success: + oprot.writeString(iter1116) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34002,10 +34229,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1092, _size1089) = iprot.readListBegin() - for _i1093 in xrange(_size1089): - _elem1094 = iprot.readString() - self.success.append(_elem1094) + (_etype1120, _size1117) = iprot.readListBegin() + for _i1121 in xrange(_size1117): + _elem1122 = iprot.readString() + self.success.append(_elem1122) iprot.readListEnd() else: iprot.skip(ftype) @@ -34022,8 +34249,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 iter1095 in self.success: - oprot.writeString(iter1095) + for iter1123 in self.success: + oprot.writeString(iter1123) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34550,10 +34777,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1099, _size1096) = iprot.readListBegin() - for _i1100 in xrange(_size1096): - _elem1101 = iprot.readString() - self.success.append(_elem1101) + (_etype1127, _size1124) = iprot.readListBegin() + for _i1128 in xrange(_size1124): + _elem1129 = iprot.readString() + self.success.append(_elem1129) iprot.readListEnd() else: iprot.skip(ftype) @@ -34570,8 +34797,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 iter1102 in self.success: - oprot.writeString(iter1102) + for iter1130 in self.success: + oprot.writeString(iter1130) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 7570895..c67a781 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -8565,6 +8565,337 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class PartitionValuesRequest: + """ + Attributes: + - dbName + - tblName + - partitionKeys + - applyDistinct + - filter + - partitionOrder + - ascending + - maxParts + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'dbName', None, None, ), # 1 + (2, TType.STRING, 'tblName', None, None, ), # 2 + (3, TType.LIST, 'partitionKeys', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 3 + (4, TType.BOOL, 'applyDistinct', None, True, ), # 4 + (5, TType.STRING, 'filter', None, None, ), # 5 + (6, TType.LIST, 'partitionOrder', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 6 + (7, TType.BOOL, 'ascending', None, True, ), # 7 + (8, TType.I64, 'maxParts', None, -1, ), # 8 + ) + + def __init__(self, dbName=None, tblName=None, partitionKeys=None, applyDistinct=thrift_spec[4][4], filter=None, partitionOrder=None, ascending=thrift_spec[7][4], maxParts=thrift_spec[8][4],): + self.dbName = dbName + self.tblName = tblName + self.partitionKeys = partitionKeys + self.applyDistinct = applyDistinct + self.filter = filter + self.partitionOrder = partitionOrder + self.ascending = ascending + self.maxParts = maxParts + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRING: + self.dbName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.tblName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.partitionKeys = [] + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = FieldSchema() + _elem432.read(iprot) + self.partitionKeys.append(_elem432) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.BOOL: + self.applyDistinct = iprot.readBool() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.filter = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.LIST: + self.partitionOrder = [] + (_etype436, _size433) = iprot.readListBegin() + for _i437 in xrange(_size433): + _elem438 = FieldSchema() + _elem438.read(iprot) + self.partitionOrder.append(_elem438) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 7: + if ftype == TType.BOOL: + self.ascending = iprot.readBool() + else: + iprot.skip(ftype) + elif fid == 8: + if ftype == TType.I64: + self.maxParts = iprot.readI64() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('PartitionValuesRequest') + if self.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 1) + oprot.writeString(self.dbName) + oprot.writeFieldEnd() + if self.tblName is not None: + oprot.writeFieldBegin('tblName', TType.STRING, 2) + oprot.writeString(self.tblName) + oprot.writeFieldEnd() + if self.partitionKeys is not None: + oprot.writeFieldBegin('partitionKeys', TType.LIST, 3) + oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) + for iter439 in self.partitionKeys: + iter439.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.applyDistinct is not None: + oprot.writeFieldBegin('applyDistinct', TType.BOOL, 4) + oprot.writeBool(self.applyDistinct) + oprot.writeFieldEnd() + if self.filter is not None: + oprot.writeFieldBegin('filter', TType.STRING, 5) + oprot.writeString(self.filter) + oprot.writeFieldEnd() + if self.partitionOrder is not None: + oprot.writeFieldBegin('partitionOrder', TType.LIST, 6) + oprot.writeListBegin(TType.STRUCT, len(self.partitionOrder)) + for iter440 in self.partitionOrder: + iter440.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.ascending is not None: + oprot.writeFieldBegin('ascending', TType.BOOL, 7) + oprot.writeBool(self.ascending) + oprot.writeFieldEnd() + if self.maxParts is not None: + oprot.writeFieldBegin('maxParts', TType.I64, 8) + oprot.writeI64(self.maxParts) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.dbName is None: + raise TProtocol.TProtocolException(message='Required field dbName is unset!') + if self.tblName is None: + raise TProtocol.TProtocolException(message='Required field tblName is unset!') + if self.partitionKeys is None: + raise TProtocol.TProtocolException(message='Required field partitionKeys is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.partitionKeys) + value = (value * 31) ^ hash(self.applyDistinct) + value = (value * 31) ^ hash(self.filter) + value = (value * 31) ^ hash(self.partitionOrder) + value = (value * 31) ^ hash(self.ascending) + value = (value * 31) ^ hash(self.maxParts) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class PartitionValuesRow: + """ + Attributes: + - row + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'row', (TType.STRING,None), None, ), # 1 + ) + + def __init__(self, row=None,): + self.row = row + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.LIST: + self.row = [] + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString() + self.row.append(_elem446) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('PartitionValuesRow') + if self.row is not None: + oprot.writeFieldBegin('row', TType.LIST, 1) + oprot.writeListBegin(TType.STRING, len(self.row)) + for iter447 in self.row: + oprot.writeString(iter447) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.row is None: + raise TProtocol.TProtocolException(message='Required field row is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.row) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class PartitionValuesResponse: + """ + Attributes: + - partitionValues + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'partitionValues', (TType.STRUCT,(PartitionValuesRow, PartitionValuesRow.thrift_spec)), None, ), # 1 + ) + + def __init__(self, partitionValues=None,): + self.partitionValues = partitionValues + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.LIST: + self.partitionValues = [] + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = PartitionValuesRow() + _elem453.read(iprot) + self.partitionValues.append(_elem453) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('PartitionValuesResponse') + if self.partitionValues is not None: + oprot.writeFieldBegin('partitionValues', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.partitionValues)) + for iter454 in self.partitionValues: + iter454.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.partitionValues is None: + raise TProtocol.TProtocolException(message='Required field partitionValues is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitionValues) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class ResourceUri: """ Attributes: @@ -8725,11 +9056,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = ResourceUri() - _elem432.read(iprot) - self.resourceUris.append(_elem432) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = ResourceUri() + _elem460.read(iprot) + self.resourceUris.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -8774,8 +9105,8 @@ def write(self, oprot): if self.resourceUris is not None: oprot.writeFieldBegin('resourceUris', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.resourceUris)) - for iter433 in self.resourceUris: - iter433.write(oprot) + for iter461 in self.resourceUris: + iter461.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9019,11 +9350,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = TxnInfo() - _elem439.read(iprot) - self.open_txns.append(_elem439) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = TxnInfo() + _elem467.read(iprot) + self.open_txns.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -9044,8 +9375,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.open_txns)) - for iter440 in self.open_txns: - iter440.write(oprot) + for iter468 in self.open_txns: + iter468.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9116,10 +9447,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = iprot.readI64() - self.open_txns.append(_elem446) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readI64() + self.open_txns.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -9150,8 +9481,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.I64, len(self.open_txns)) - for iter447 in self.open_txns: - oprot.writeI64(iter447) + for iter475 in self.open_txns: + oprot.writeI64(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.min_open_txn is not None: @@ -9330,10 +9661,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readI64() - self.txn_ids.append(_elem453) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readI64() + self.txn_ids.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -9350,8 +9681,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter454 in self.txn_ids: - oprot.writeI64(iter454) + for iter482 in self.txn_ids: + oprot.writeI64(iter482) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9472,10 +9803,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readI64() - self.txn_ids.append(_elem460) + (_etype486, _size483) = iprot.readListBegin() + for _i487 in xrange(_size483): + _elem488 = iprot.readI64() + self.txn_ids.append(_elem488) iprot.readListEnd() else: iprot.skip(ftype) @@ -9492,8 +9823,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter461 in self.txn_ids: - oprot.writeI64(iter461) + for iter489 in self.txn_ids: + oprot.writeI64(iter489) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9788,11 +10119,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = LockComponent() - _elem467.read(iprot) - self.component.append(_elem467) + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = LockComponent() + _elem495.read(iprot) + self.component.append(_elem495) iprot.readListEnd() else: iprot.skip(ftype) @@ -9829,8 +10160,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter468 in self.component: - iter468.write(oprot) + for iter496 in self.component: + iter496.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -10528,11 +10859,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype472, _size469) = iprot.readListBegin() - for _i473 in xrange(_size469): - _elem474 = ShowLocksResponseElement() - _elem474.read(iprot) - self.locks.append(_elem474) + (_etype500, _size497) = iprot.readListBegin() + for _i501 in xrange(_size497): + _elem502 = ShowLocksResponseElement() + _elem502.read(iprot) + self.locks.append(_elem502) iprot.readListEnd() else: iprot.skip(ftype) @@ -10549,8 +10880,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter475 in self.locks: - iter475.write(oprot) + for iter503 in self.locks: + iter503.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10765,20 +11096,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype479, _size476) = iprot.readSetBegin() - for _i480 in xrange(_size476): - _elem481 = iprot.readI64() - self.aborted.add(_elem481) + (_etype507, _size504) = iprot.readSetBegin() + for _i508 in xrange(_size504): + _elem509 = iprot.readI64() + self.aborted.add(_elem509) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype485, _size482) = iprot.readSetBegin() - for _i486 in xrange(_size482): - _elem487 = iprot.readI64() - self.nosuch.add(_elem487) + (_etype513, _size510) = iprot.readSetBegin() + for _i514 in xrange(_size510): + _elem515 = iprot.readI64() + self.nosuch.add(_elem515) iprot.readSetEnd() else: iprot.skip(ftype) @@ -10795,15 +11126,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter488 in self.aborted: - oprot.writeI64(iter488) + for iter516 in self.aborted: + oprot.writeI64(iter516) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter489 in self.nosuch: - oprot.writeI64(iter489) + for iter517 in self.nosuch: + oprot.writeI64(iter517) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10900,11 +11231,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype491, _vtype492, _size490 ) = iprot.readMapBegin() - for _i494 in xrange(_size490): - _key495 = iprot.readString() - _val496 = iprot.readString() - self.properties[_key495] = _val496 + (_ktype519, _vtype520, _size518 ) = iprot.readMapBegin() + for _i522 in xrange(_size518): + _key523 = iprot.readString() + _val524 = iprot.readString() + self.properties[_key523] = _val524 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10941,9 +11272,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter497,viter498 in self.properties.items(): - oprot.writeString(kiter497) - oprot.writeString(viter498) + for kiter525,viter526 in self.properties.items(): + oprot.writeString(kiter525) + oprot.writeString(viter526) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11378,11 +11709,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = ShowCompactResponseElement() - _elem504.read(iprot) - self.compacts.append(_elem504) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = ShowCompactResponseElement() + _elem532.read(iprot) + self.compacts.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -11399,8 +11730,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter505 in self.compacts: - iter505.write(oprot) + for iter533 in self.compacts: + iter533.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11481,10 +11812,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = iprot.readString() - self.partitionnames.append(_elem511) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = iprot.readString() + self.partitionnames.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -11518,8 +11849,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter512 in self.partitionnames: - oprot.writeString(iter512) + for iter540 in self.partitionnames: + oprot.writeString(iter540) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -11818,11 +12149,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = NotificationEvent() - _elem518.read(iprot) - self.events.append(_elem518) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = NotificationEvent() + _elem546.read(iprot) + self.events.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -11839,8 +12170,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter519 in self.events: - iter519.write(oprot) + for iter547 in self.events: + iter547.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12121,20 +12452,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = iprot.readString() - self.filesAdded.append(_elem525) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString() + self.filesAdded.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype529, _size526) = iprot.readListBegin() - for _i530 in xrange(_size526): - _elem531 = iprot.readString() - self.filesAddedChecksum.append(_elem531) + (_etype557, _size554) = iprot.readListBegin() + for _i558 in xrange(_size554): + _elem559 = iprot.readString() + self.filesAddedChecksum.append(_elem559) iprot.readListEnd() else: iprot.skip(ftype) @@ -12155,15 +12486,15 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter532 in self.filesAdded: - oprot.writeString(iter532) + for iter560 in self.filesAdded: + oprot.writeString(iter560) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter533 in self.filesAddedChecksum: - oprot.writeString(iter533) + for iter561 in self.filesAddedChecksum: + oprot.writeString(iter561) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12318,10 +12649,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = iprot.readString() - self.partitionVals.append(_elem539) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = iprot.readString() + self.partitionVals.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -12354,8 +12685,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter540 in self.partitionVals: - oprot.writeString(iter540) + for iter568 in self.partitionVals: + oprot.writeString(iter568) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12542,12 +12873,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype542, _vtype543, _size541 ) = iprot.readMapBegin() - for _i545 in xrange(_size541): - _key546 = iprot.readI64() - _val547 = MetadataPpdResult() - _val547.read(iprot) - self.metadata[_key546] = _val547 + (_ktype570, _vtype571, _size569 ) = iprot.readMapBegin() + for _i573 in xrange(_size569): + _key574 = iprot.readI64() + _val575 = MetadataPpdResult() + _val575.read(iprot) + self.metadata[_key574] = _val575 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12569,9 +12900,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter548,viter549 in self.metadata.items(): - oprot.writeI64(kiter548) - viter549.write(oprot) + for kiter576,viter577 in self.metadata.items(): + oprot.writeI64(kiter576) + viter577.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -12641,10 +12972,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype553, _size550) = iprot.readListBegin() - for _i554 in xrange(_size550): - _elem555 = iprot.readI64() - self.fileIds.append(_elem555) + (_etype581, _size578) = iprot.readListBegin() + for _i582 in xrange(_size578): + _elem583 = iprot.readI64() + self.fileIds.append(_elem583) iprot.readListEnd() else: iprot.skip(ftype) @@ -12676,8 +13007,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter556 in self.fileIds: - oprot.writeI64(iter556) + for iter584 in self.fileIds: + oprot.writeI64(iter584) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -12751,11 +13082,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype558, _vtype559, _size557 ) = iprot.readMapBegin() - for _i561 in xrange(_size557): - _key562 = iprot.readI64() - _val563 = iprot.readString() - self.metadata[_key562] = _val563 + (_ktype586, _vtype587, _size585 ) = iprot.readMapBegin() + for _i589 in xrange(_size585): + _key590 = iprot.readI64() + _val591 = iprot.readString() + self.metadata[_key590] = _val591 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12777,9 +13108,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter564,viter565 in self.metadata.items(): - oprot.writeI64(kiter564) - oprot.writeString(viter565) + for kiter592,viter593 in self.metadata.items(): + oprot.writeI64(kiter592) + oprot.writeString(viter593) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -12840,10 +13171,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype569, _size566) = iprot.readListBegin() - for _i570 in xrange(_size566): - _elem571 = iprot.readI64() - self.fileIds.append(_elem571) + (_etype597, _size594) = iprot.readListBegin() + for _i598 in xrange(_size594): + _elem599 = iprot.readI64() + self.fileIds.append(_elem599) iprot.readListEnd() else: iprot.skip(ftype) @@ -12860,8 +13191,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter572 in self.fileIds: - oprot.writeI64(iter572) + for iter600 in self.fileIds: + oprot.writeI64(iter600) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12967,20 +13298,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype576, _size573) = iprot.readListBegin() - for _i577 in xrange(_size573): - _elem578 = iprot.readI64() - self.fileIds.append(_elem578) + (_etype604, _size601) = iprot.readListBegin() + for _i605 in xrange(_size601): + _elem606 = iprot.readI64() + self.fileIds.append(_elem606) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype582, _size579) = iprot.readListBegin() - for _i583 in xrange(_size579): - _elem584 = iprot.readString() - self.metadata.append(_elem584) + (_etype610, _size607) = iprot.readListBegin() + for _i611 in xrange(_size607): + _elem612 = iprot.readString() + self.metadata.append(_elem612) iprot.readListEnd() else: iprot.skip(ftype) @@ -13002,15 +13333,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter585 in self.fileIds: - oprot.writeI64(iter585) + for iter613 in self.fileIds: + oprot.writeI64(iter613) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter586 in self.metadata: - oprot.writeString(iter586) + for iter614 in self.metadata: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -13118,10 +13449,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype590, _size587) = iprot.readListBegin() - for _i591 in xrange(_size587): - _elem592 = iprot.readI64() - self.fileIds.append(_elem592) + (_etype618, _size615) = iprot.readListBegin() + for _i619 in xrange(_size615): + _elem620 = iprot.readI64() + self.fileIds.append(_elem620) iprot.readListEnd() else: iprot.skip(ftype) @@ -13138,8 +13469,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter593 in self.fileIds: - oprot.writeI64(iter593) + for iter621 in self.fileIds: + oprot.writeI64(iter621) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13368,11 +13699,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype597, _size594) = iprot.readListBegin() - for _i598 in xrange(_size594): - _elem599 = Function() - _elem599.read(iprot) - self.functions.append(_elem599) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = Function() + _elem627.read(iprot) + self.functions.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -13389,8 +13720,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter600 in self.functions: - iter600.write(oprot) + for iter628 in self.functions: + iter628.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13442,10 +13773,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readI32() - self.values.append(_elem606) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = iprot.readI32() + self.values.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -13462,8 +13793,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter607 in self.values: - oprot.writeI32(iter607) + for iter635 in self.values: + oprot.writeI32(iter635) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13692,10 +14023,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype611, _size608) = iprot.readListBegin() - for _i612 in xrange(_size608): - _elem613 = iprot.readString() - self.tblNames.append(_elem613) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = iprot.readString() + self.tblNames.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -13722,8 +14053,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter614 in self.tblNames: - oprot.writeString(iter614) + for iter642 in self.tblNames: + oprot.writeString(iter642) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -13783,11 +14114,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = Table() - _elem620.read(iprot) - self.tables.append(_elem620) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = Table() + _elem648.read(iprot) + self.tables.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -13804,8 +14135,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter621 in self.tables: - iter621.write(oprot) + for iter649 in self.tables: + iter649.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index ea73b34..ddb7e18 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1901,6 +1901,73 @@ class DropPartitionsRequest ::Thrift::Struct.generate_accessors self end +class PartitionValuesRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + DBNAME = 1 + TBLNAME = 2 + PARTITIONKEYS = 3 + APPLYDISTINCT = 4 + FILTER = 5 + PARTITIONORDER = 6 + ASCENDING = 7 + MAXPARTS = 8 + + FIELDS = { + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, + PARTITIONKEYS => {:type => ::Thrift::Types::LIST, :name => 'partitionKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::FieldSchema}}, + APPLYDISTINCT => {:type => ::Thrift::Types::BOOL, :name => 'applyDistinct', :default => true, :optional => true}, + FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter', :optional => true}, + PARTITIONORDER => {:type => ::Thrift::Types::LIST, :name => 'partitionOrder', :element => {:type => ::Thrift::Types::STRUCT, :class => ::FieldSchema}, :optional => true}, + ASCENDING => {:type => ::Thrift::Types::BOOL, :name => 'ascending', :default => true, :optional => true}, + MAXPARTS => {:type => ::Thrift::Types::I64, :name => 'maxParts', :default => -1, :optional => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tblName is unset!') unless @tblName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partitionKeys is unset!') unless @partitionKeys + end + + ::Thrift::Struct.generate_accessors self +end + +class PartitionValuesRow + include ::Thrift::Struct, ::Thrift::Struct_Union + ROW = 1 + + FIELDS = { + ROW => {:type => ::Thrift::Types::LIST, :name => 'row', :element => {:type => ::Thrift::Types::STRING}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field row is unset!') unless @row + end + + ::Thrift::Struct.generate_accessors self +end + +class PartitionValuesResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + PARTITIONVALUES = 1 + + FIELDS = { + PARTITIONVALUES => {:type => ::Thrift::Types::LIST, :name => 'partitionValues', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PartitionValuesRow}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partitionValues is unset!') unless @partitionValues + end + + ::Thrift::Struct.generate_accessors self +end + class ResourceUri include ::Thrift::Struct, ::Thrift::Struct_Union RESOURCETYPE = 1 diff --git a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 54b3dfb..c89512d 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1063,6 +1063,23 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_names failed: unknown result') end + def get_partition_values(request) + send_get_partition_values(request) + return recv_get_partition_values() + end + + def send_get_partition_values(request) + send_message('get_partition_values', Get_partition_values_args, :request => request) + end + + def recv_get_partition_values() + result = receive_message(Get_partition_values_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_partition_values failed: unknown result') + end + def get_partitions_ps(db_name, tbl_name, part_vals, max_parts) send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts) return recv_get_partitions_ps() @@ -3514,6 +3531,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_partition_names', seqid) end + def process_get_partition_values(seqid, iprot, oprot) + args = read_args(iprot, Get_partition_values_args) + result = Get_partition_values_result.new() + begin + result.success = @handler.get_partition_values(args.request) + rescue ::MetaException => o1 + result.o1 = o1 + rescue ::NoSuchObjectException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'get_partition_values', seqid) + end + def process_get_partitions_ps(seqid, iprot, oprot) args = read_args(iprot, Get_partitions_ps_args) result = Get_partitions_ps_result.new() @@ -7060,6 +7090,42 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_partition_values_args + include ::Thrift::Struct, ::Thrift::Struct_Union + REQUEST = 1 + + FIELDS = { + REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::PartitionValuesRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_partition_values_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PartitionValuesResponse}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::NoSuchObjectException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_partitions_ps_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_NAME = 1 diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 7268d53..fb5ea35 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -636,6 +636,25 @@ struct DropPartitionsRequest { 8: optional bool needResult=true } +struct PartitionValuesRequest { + 1: required string dbName, + 2: required string tblName, + 3: required list partitionKeys; + 4: optional bool applyDistinct = true; + 5: optional string filter; + 6: optional list partitionOrder; + 7: optional bool ascending = true; + 8: optional i64 maxParts = -1; +} + +struct PartitionValuesRow { + 1: required list row; +} + +struct PartitionValuesResponse { + 1: required list partitionValues; +} + enum FunctionType { JAVA = 1, } @@ -1274,6 +1293,9 @@ service ThriftHiveMetastore extends fb303.FacebookService list get_partition_names(1:string db_name, 2:string tbl_name, 3:i16 max_parts=-1) throws(1:MetaException o2) + PartitionValuesResponse get_partition_values(1:PartitionValuesRequest request) + throws(1:MetaException o1, 2:NoSuchObjectException o2); + // get_partition*_ps methods allow filtering by a partial partition specification, // as needed for dynamic partitions. The values that are not restricted should // be empty strings. Nulls were considered (instead of "") but caused errors in