diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java index fcf206044e..535c24519c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java @@ -2243,6 +2243,9 @@ public static String formatBinaryString(byte[] array, int start, int length) { } public static List getColumnNamesFromSortCols(List sortCols) { + if(sortCols == null) { + return Collections.emptyList(); + } List names = new ArrayList(); for (Order o : sortCols) { names.add(o.getCol()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 1f9fb3b897..4cde7cacdb 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -147,6 +147,8 @@ import org.apache.hadoop.hive.metastore.api.MetadataPpdResult; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.NotNullConstraintsRequest; +import org.apache.hadoop.hive.metastore.api.PartitionSpec; +import org.apache.hadoop.hive.metastore.api.PartitionWithoutSD; import org.apache.hadoop.hive.metastore.api.PrimaryKeysRequest; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrincipalType; @@ -3835,6 +3837,62 @@ public boolean dropPartition(String dbName, String tableName, List parti return results; } + private List convertFromPartSpec(Iterator iterator, Table tbl) + throws HiveException, TException { + if(!iterator.hasNext()) { + return Collections.emptyList(); + } + List results = new ArrayList<>(); + + while (iterator.hasNext()) { + PartitionSpec partitionSpec = iterator.next(); + if (partitionSpec.getPartitionList() != null) { + // partitions outside table location + Iterator externalPartItr = + partitionSpec.getPartitionList().getPartitions().iterator(); + while(externalPartItr.hasNext()) { + org.apache.hadoop.hive.metastore.api.Partition msPart = + externalPartItr.next(); + results.add(new Partition(tbl, msPart)); + } + } else { + // partitions within table location + for(PartitionWithoutSD partitionWithoutSD:partitionSpec.getSharedSDPartitionSpec().getPartitions()) { + org.apache.hadoop.hive.metastore.api.Partition part = new org.apache.hadoop.hive.metastore.api.Partition(); + part.setTableName(partitionSpec.getTableName()); + part.setDbName(partitionSpec.getDbName()); + part.setCatName(partitionSpec.getCatName()); + part.setCreateTime(partitionWithoutSD.getCreateTime()); + part.setLastAccessTime(partitionWithoutSD.getLastAccessTime()); + part.setParameters(partitionWithoutSD.getParameters()); + part.setPrivileges(partitionWithoutSD.getPrivileges()); + part.setSd(partitionSpec.getSharedSDPartitionSpec().getSd().deepCopy()); + String partitionLocation = null; + if(partitionWithoutSD.getRelativePath() == null + || partitionWithoutSD.getRelativePath().isEmpty()) { + if (tbl.getDataLocation() != null) { + Path partPath = new Path(tbl.getDataLocation(), + Warehouse.makePartName(tbl.getPartCols(), + partitionWithoutSD.getValues())); + partitionLocation = partPath.toString(); + } + } else { + partitionLocation = tbl.getSd().getLocation(); + partitionLocation += partitionWithoutSD.getRelativePath(); + } + part.getSd().setLocation(partitionLocation); + part.setValues(partitionWithoutSD.getValues()); + part.setWriteId(partitionSpec.getWriteId()); + Partition hivePart = new Partition(tbl,part); + //assert(partitionWithoutSD.getRelativePath() != null); + //hivePart.setRelativePath(partitionWithoutSD.getRelativePath()); + results.add(hivePart); + } + } + } + return results; + } + /** * Get a list of Partitions by expr. * @param tbl The table containing the partitions. @@ -3848,11 +3906,11 @@ public boolean getPartitionsByExpr(Table tbl, ExprNodeGenericFuncDesc expr, Hive assert result != null; byte[] exprBytes = SerializationUtilities.serializeExpressionToKryo(expr); String defaultPartitionName = HiveConf.getVar(conf, ConfVars.DEFAULTPARTITIONNAME); - List msParts = - new ArrayList(); - boolean hasUnknownParts = getMSC().listPartitionsByExpr(tbl.getDbName(), + List msParts = + new ArrayList<>(); + boolean hasUnknownParts = getMSC().listPartitionsSpecByExpr(tbl.getDbName(), tbl.getTableName(), exprBytes, defaultPartitionName, (short)-1, msParts); - result.addAll(convertFromMetastore(tbl, msParts)); + result.addAll(convertFromPartSpec(msParts.iterator(), tbl)); return hasUnknownParts; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index 3dcf876af3..bc9e80c718 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -77,6 +77,7 @@ import org.apache.hadoop.hive.metastore.parser.ExpressionTree; import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; import org.apache.hadoop.hive.ql.parse.SemanticAnalyzer; +import org.apache.hadoop.hive.metastore.utils.MetaStoreServerUtils; import org.apache.hadoop.hive.metastore.utils.SecurityUtils; import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hadoop.hive.shims.HadoopShims; @@ -1178,6 +1179,22 @@ public boolean listPartitionsByExpr(String catName, String dbName, String tblNam return result.isEmpty(); } + @Override + public boolean listPartitionsSpecByExpr(String catName, String dbName, String tblName, byte[] expr, + String defaultPartitionName, short maxParts, List result) throws TException { + org.apache.hadoop.hive.metastore.api.Table table = getTempTable(dbName, tblName); + if (table == null) { + return super.listPartitionsSpecByExpr(catName, dbName, tblName, expr, defaultPartitionName, maxParts, result); + } + assert result != null; + + result.addAll( + MetaStoreServerUtils.getPartitionspecsGroupedByStorageDescriptor(table, + getPartitionsForMaxParts(tblName, getPartitionedTempTable(table).listPartitionsByFilter( + generateJDOFilter(table, expr, defaultPartitionName)), maxParts))); + return result.isEmpty(); + } + @Override public List getPartitionsByNames(String catName, String dbName, String tblName, List partNames, boolean getColStats, String engine) throws TException { diff --git a/ql/src/test/org/apache/hadoop/hive/metastore/TestMetastoreExpr.java b/ql/src/test/org/apache/hadoop/hive/metastore/TestMetastoreExpr.java index 6b1092029a..ebbbfa6590 100644 --- a/ql/src/test/org/apache/hadoop/hive/metastore/TestMetastoreExpr.java +++ b/ql/src/test/org/apache/hadoop/hive/metastore/TestMetastoreExpr.java @@ -30,6 +30,7 @@ import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.metastore.api.Partition; +import org.apache.hadoop.hive.metastore.api.PartitionSpec; import org.apache.hadoop.hive.metastore.api.SerDeInfo; import org.apache.hadoop.hive.metastore.api.StorageDescriptor; import org.apache.hadoop.hive.metastore.api.Table; @@ -181,8 +182,19 @@ public void checkExpr(int numParts, client.listPartitionsByExpr(dbName, tblName, SerializationUtilities.serializeExpressionToKryo(expr), null, (short)-1, parts); assertEquals("Partition check failed: " + expr.getExprString(), numParts, parts.size()); + + // check with partition spec as well + List partSpec = new ArrayList<>(); + client.listPartitionsSpecByExpr(dbName, tblName, + SerializationUtilities.serializeExpressionToKryo(expr), null, (short)-1, partSpec); + int partSpecSize = 0; + if(!partSpec.isEmpty()) { + partSpecSize = partSpec.iterator().next().getSharedSDPartitionSpec().getPartitionsSize(); + } + assertEquals("Partition Spec check failed: " + expr.getExprString(), numParts, partSpecSize); } + /** * Helper class for building an expression. */ diff --git a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java index 42d1af7d07..3ecab82965 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestSessionHiveMetastoreClientListPartitionsTempTable.java @@ -25,6 +25,7 @@ import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; import org.apache.hadoop.hive.metastore.api.Partition; +import org.apache.hadoop.hive.metastore.api.PartitionSpec; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; import org.apache.hadoop.hive.metastore.api.PrivilegeGrantInfo; import org.apache.hadoop.hive.metastore.api.Table; @@ -243,7 +244,7 @@ public void testListPartitionsByExpr() throws Exception { public void testListPartitionsByExprNullResult() throws Exception { createTable4PartColsParts(getClient()); TestMetastoreExpr.ExprBuilder e = new TestMetastoreExpr.ExprBuilder(TABLE_NAME); - getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( e.strCol("yyyy").val("2017").pred("=", 2).build()), null, (short)-1, null); } @@ -251,57 +252,57 @@ public void testListPartitionsByExprNullResult() throws Exception { public void testListPartitionsByExprDefMaxParts() throws Exception { createTable4PartColsParts(getClient()); TestMetastoreExpr.ExprBuilder e = new TestMetastoreExpr.ExprBuilder(TABLE_NAME); - List result = new ArrayList<>(); - getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( + List result = new ArrayList<>(); + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( e.strCol("yyyy").val("2017").pred(">=", 2).build()), null, (short)3, result); - assertEquals(3, result.size()); + assertEquals(3, result.iterator().next().getSharedSDPartitionSpec().getPartitionsSize()); } @Test public void testListPartitionsByExprHighMaxParts() throws Exception { createTable4PartColsParts(getClient()); TestMetastoreExpr.ExprBuilder e = new TestMetastoreExpr.ExprBuilder(TABLE_NAME); - List result = new ArrayList<>(); - getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( + List result = new ArrayList<>(); + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo( e.strCol("yyyy").val("2017").pred(">=", 2).build()), null, (short)100, result); - assertEquals(4, result.size()); + assertEquals(4, result.iterator().next().getSharedSDPartitionSpec().getPartitionsSize()); } @Test(expected = NoSuchObjectException.class) public void testListPartitionsByExprNoDb() throws Exception { getClient().dropDatabase(DB_NAME); - getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, new byte[] {'f', 'o', 'o'}, + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, new byte[] {'f', 'o', 'o'}, null, (short)-1, new ArrayList<>()); } @Test(expected = MetaException.class) public void testListPartitionsByExprNoTbl() throws Exception { - getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, new byte[] {'f', 'o', 'o'}, + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, new byte[] {'f', 'o', 'o'}, null, (short)-1, new ArrayList<>()); } @Test(expected = MetaException.class) public void testListPartitionsByExprEmptyDbName() throws Exception { - getClient().listPartitionsByExpr("", TABLE_NAME, new byte[] {'f', 'o', 'o'}, + getClient().listPartitionsSpecByExpr("", TABLE_NAME, new byte[] {'f', 'o', 'o'}, null, (short)-1, new ArrayList<>()); } @Test(expected = MetaException.class) - public void testListPartitionsByExprEmptyTblName() throws Exception { + public void testlistPartitionsSpecByExprEmptyTblName() throws Exception { createTable3PartCols1Part(getClient()); - getClient().listPartitionsByExpr(DB_NAME, "", new byte[] {'f', 'o', 'o'}, + getClient().listPartitionsSpecByExpr(DB_NAME, "", new byte[] {'f', 'o', 'o'}, null, (short)-1, new ArrayList<>()); } @Test(expected = MetaException.class) public void testListPartitionsByExprNullDbName() throws Exception { - getClient().listPartitionsByExpr(null, TABLE_NAME, new byte[] {'f', 'o', 'o'}, + getClient().listPartitionsSpecByExpr(null, TABLE_NAME, new byte[] {'f', 'o', 'o'}, null, (short)-1, new ArrayList<>()); } @Test(expected = MetaException.class) public void testListPartitionsByExprNullTblName() throws Exception { - getClient().listPartitionsByExpr(DB_NAME, null, new byte[] {'f', 'o', 'o' }, + getClient().listPartitionsSpecByExpr(DB_NAME, null, new byte[] {'f', 'o', 'o' }, null, (short)-1, new ArrayList<>()); } @@ -310,6 +311,15 @@ private void checkExpr(int numParts, ExprNodeGenericFuncDesc expr) throws Except getClient().listPartitionsByExpr(DB_NAME, TABLE_NAME, SerializationUtilities.serializeExpressionToKryo(expr), null, (short) -1, parts); assertEquals("Partition check failed: " + expr.getExprString(), numParts, parts.size()); + // check with partition spec as well + List partSpec = new ArrayList<>(); + getClient().listPartitionsSpecByExpr(DB_NAME, TABLE_NAME, + SerializationUtilities.serializeExpressionToKryo(expr), null, (short)-1, partSpec); + int partSpecSize = 0; + if(!partSpec.isEmpty()) { + partSpecSize = partSpec.iterator().next().getSharedSDPartitionSpec().getPartitionsSize(); + } + assertEquals("Partition Spec check failed: " + expr.getExprString(), numParts, partSpecSize); } } diff --git a/ql/src/test/results/clientpositive/llap/partition_wise_fileformat12.q.out b/ql/src/test/results/clientpositive/llap/partition_wise_fileformat12.q.out index c91e2b77b6..78cb9b0fb2 100644 --- a/ql/src/test/results/clientpositive/llap/partition_wise_fileformat12.q.out +++ b/ql/src/test/results/clientpositive/llap/partition_wise_fileformat12.q.out @@ -110,10 +110,10 @@ POSTHOOK: Input: default@partition_test_partitioned_n9 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=1 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=2 #### A masked pattern was here #### -476 val_238 -476 val_238 194 val_97 194 val_97 +476 val_238 +476 val_238 PREHOOK: query: select * from partition_test_partitioned_n9 where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned_n9 @@ -126,10 +126,10 @@ POSTHOOK: Input: default@partition_test_partitioned_n9 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=1 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=2 #### A masked pattern was here #### -238 val_238 NULL 1 -238 val_238 NULL 1 97 val_97 NULL 2 97 val_97 NULL 2 +238 val_238 NULL 1 +238 val_238 NULL 1 PREHOOK: query: insert overwrite table partition_test_partitioned_n9 partition(dt='3') select key, value, value from src where key = 200 PREHOOK: type: QUERY PREHOOK: Input: default@src @@ -155,12 +155,12 @@ POSTHOOK: Input: default@partition_test_partitioned_n9@dt=1 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=2 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=3 #### A masked pattern was here #### -476 val_238 NULL -476 val_238 NULL -194 val_97 NULL -194 val_97 NULL 400 val_200 val_200 400 val_200 val_200 +194 val_97 NULL +194 val_97 NULL +476 val_238 NULL +476 val_238 NULL PREHOOK: query: select * from partition_test_partitioned_n9 where dt is not null PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned_n9 @@ -175,9 +175,9 @@ POSTHOOK: Input: default@partition_test_partitioned_n9@dt=1 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=2 POSTHOOK: Input: default@partition_test_partitioned_n9@dt=3 #### A masked pattern was here #### -238 val_238 NULL 1 -238 val_238 NULL 1 -97 val_97 NULL 2 -97 val_97 NULL 2 200 val_200 val_200 3 200 val_200 val_200 3 +97 val_97 NULL 2 +97 val_97 NULL 2 +238 val_238 NULL 1 +238 val_238 NULL 1 diff --git a/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out b/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out index 4421f83e7d..6d1d25a8cb 100644 --- a/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out +++ b/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out @@ -101,56 +101,6 @@ POSTHOOK: Input: default@partition_test_partitioned@dt=100 POSTHOOK: Input: default@partition_test_partitioned@dt=101 POSTHOOK: Input: default@partition_test_partitioned@dt=102 #### A masked pattern was here #### -238 val_238 100 - 100 -311 val_311 100 - val_27 100 - val_165 100 - val_409 100 -255 val_255 100 -278 val_278 100 -98 val_98 100 - val_484 100 - val_265 100 - val_193 100 -401 val_401 100 -150 val_150 100 -273 val_273 100 -224 100 -369 100 -66 val_66 100 -128 100 -213 val_213 100 -146 val_146 100 -406 val_406 100 - 100 - 100 - 100 -238 val_238 101 - 101 -311 val_311 101 - val_27 101 - val_165 101 - val_409 101 -255 val_255 101 -278 val_278 101 -98 val_98 101 - val_484 101 - val_265 101 - val_193 101 -401 val_401 101 -150 val_150 101 -273 val_273 101 -224 101 -369 101 -66 val_66 101 -128 101 -213 val_213 101 -146 val_146 101 -406 val_406 101 - 101 - 101 - 101 238 val_238 102 102 311 val_311 102 @@ -176,6 +126,56 @@ POSTHOOK: Input: default@partition_test_partitioned@dt=102 102 102 102 +238 val_238 101 + 101 +311 val_311 101 + val_27 101 + val_165 101 + val_409 101 +255 val_255 101 +278 val_278 101 +98 val_98 101 + val_484 101 + val_265 101 + val_193 101 +401 val_401 101 +150 val_150 101 +273 val_273 101 +224 101 +369 101 +66 val_66 101 +128 101 +213 val_213 101 +146 val_146 101 +406 val_406 101 + 101 + 101 + 101 +238 val_238 100 + 100 +311 val_311 100 + val_27 100 + val_165 100 + val_409 100 +255 val_255 100 +278 val_278 100 +98 val_98 100 + val_484 100 + val_265 100 + val_193 100 +401 val_401 100 +150 val_150 100 +273 val_273 100 +224 100 +369 100 +66 val_66 100 +128 100 +213 val_213 100 +146 val_146 100 +406 val_406 100 + 100 + 100 + 100 PREHOOK: query: explain select *, BLOCK__OFFSET__INSIDE__FILE from partition_test_partitioned where dt >=100 and dt <= 102 PREHOOK: type: QUERY PREHOOK: Input: default@partition_test_partitioned @@ -225,56 +225,6 @@ POSTHOOK: Input: default@partition_test_partitioned@dt=100 POSTHOOK: Input: default@partition_test_partitioned@dt=101 POSTHOOK: Input: default@partition_test_partitioned@dt=102 #### A masked pattern was here #### -238 val_238 100 - 100 -311 val_311 100 - val_27 100 - val_165 100 - val_409 100 -255 val_255 100 -278 val_278 100 -98 val_98 100 - val_484 100 - val_265 100 - val_193 100 -401 val_401 100 -150 val_150 100 -273 val_273 100 -224 100 -369 100 -66 val_66 100 -128 100 -213 val_213 100 -146 val_146 100 -406 val_406 100 - 100 - 100 - 100 -238 val_238 101 - 101 -311 val_311 101 - val_27 101 - val_165 101 - val_409 101 -255 val_255 101 -278 val_278 101 -98 val_98 101 - val_484 101 - val_265 101 - val_193 101 -401 val_401 101 -150 val_150 101 -273 val_273 101 -224 101 -369 101 -66 val_66 101 -128 101 -213 val_213 101 -146 val_146 101 -406 val_406 101 - 101 - 101 - 101 238 val_238 102 102 311 val_311 102 @@ -300,3 +250,53 @@ POSTHOOK: Input: default@partition_test_partitioned@dt=102 102 102 102 +238 val_238 101 + 101 +311 val_311 101 + val_27 101 + val_165 101 + val_409 101 +255 val_255 101 +278 val_278 101 +98 val_98 101 + val_484 101 + val_265 101 + val_193 101 +401 val_401 101 +150 val_150 101 +273 val_273 101 +224 101 +369 101 +66 val_66 101 +128 101 +213 val_213 101 +146 val_146 101 +406 val_406 101 + 101 + 101 + 101 +238 val_238 100 + 100 +311 val_311 100 + val_27 100 + val_165 100 + val_409 100 +255 val_255 100 +278 val_278 100 +98 val_98 100 + val_484 100 + val_265 100 + val_193 100 +401 val_401 100 +150 val_150 100 +273 val_273 100 +224 100 +369 100 +66 val_66 100 +128 100 +213 val_213 100 +146 val_146 100 +406 val_406 100 + 100 + 100 + 100 diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index b2477c080d..c266f0d1a5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/metastore-common/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 _list642 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list642.size); - long _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list650.size); + long _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem643 = iprot.readI64(); - struct.txn_ids.add(_elem643); + _elem651 = iprot.readI64(); + struct.txn_ids.add(_elem651); } 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 _iter645 : struct.txn_ids) + for (long _iter653 : struct.txn_ids) { - oprot.writeI64(_iter645); + oprot.writeI64(_iter653); } 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 _iter646 : struct.txn_ids) + for (long _iter654 : struct.txn_ids) { - oprot.writeI64(_iter646); + oprot.writeI64(_iter654); } } } @@ -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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list647.size); - long _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list655.size); + long _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem648 = iprot.readI64(); - struct.txn_ids.add(_elem648); + _elem656 = iprot.readI64(); + struct.txn_ids.add(_elem656); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 60a2b47b56..d21f1baf50 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list772.size); - String _elem773; - for (int _i774 = 0; _i774 < _list772.size; ++_i774) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list780.size); + String _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem773 = iprot.readString(); - struct.partitionnames.add(_elem773); + _elem781 = iprot.readString(); + struct.partitionnames.add(_elem781); } iprot.readListEnd(); } @@ -872,9 +872,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter775 : struct.partitionnames) + for (String _iter783 : struct.partitionnames) { - oprot.writeString(_iter775); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter776 : struct.partitionnames) + for (String _iter784 : struct.partitionnames) { - oprot.writeString(_iter776); + oprot.writeString(_iter784); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list777.size); - String _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem778 = iprot.readString(); - struct.partitionnames.add(_elem778); + _elem786 = iprot.readString(); + struct.partitionnames.add(_elem786); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index b167d3ea25..74ecb53395 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -866,14 +866,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques case 3: // PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list514 = iprot.readListBegin(); - struct.parts = new ArrayList(_list514.size); - Partition _elem515; - for (int _i516 = 0; _i516 < _list514.size; ++_i516) + org.apache.thrift.protocol.TList _list522 = iprot.readListBegin(); + struct.parts = new ArrayList(_list522.size); + Partition _elem523; + for (int _i524 = 0; _i524 < _list522.size; ++_i524) { - _elem515 = new Partition(); - _elem515.read(iprot); - struct.parts.add(_elem515); + _elem523 = new Partition(); + _elem523.read(iprot); + struct.parts.add(_elem523); } iprot.readListEnd(); } @@ -941,9 +941,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsReque oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.parts.size())); - for (Partition _iter517 : struct.parts) + for (Partition _iter525 : struct.parts) { - _iter517.write(oprot); + _iter525.write(oprot); } oprot.writeListEnd(); } @@ -992,9 +992,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsReques oprot.writeString(struct.tblName); { oprot.writeI32(struct.parts.size()); - for (Partition _iter518 : struct.parts) + for (Partition _iter526 : struct.parts) { - _iter518.write(oprot); + _iter526.write(oprot); } } oprot.writeBool(struct.ifNotExists); @@ -1028,14 +1028,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list519 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list519.size); - Partition _elem520; - for (int _i521 = 0; _i521 < _list519.size; ++_i521) + org.apache.thrift.protocol.TList _list527 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list527.size); + Partition _elem528; + for (int _i529 = 0; _i529 < _list527.size; ++_i529) { - _elem520 = new Partition(); - _elem520.read(iprot); - struct.parts.add(_elem520); + _elem528 = new Partition(); + _elem528.read(iprot); + struct.parts.add(_elem528); } } struct.setPartsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 3b8bc4cc06..63d37acc3f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -426,14 +426,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list506 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list506.size); - Partition _elem507; - for (int _i508 = 0; _i508 < _list506.size; ++_i508) + org.apache.thrift.protocol.TList _list514 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list514.size); + Partition _elem515; + for (int _i516 = 0; _i516 < _list514.size; ++_i516) { - _elem507 = new Partition(); - _elem507.read(iprot); - struct.partitions.add(_elem507); + _elem515 = new Partition(); + _elem515.read(iprot); + struct.partitions.add(_elem515); } iprot.readListEnd(); } @@ -468,9 +468,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsResul oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter509 : struct.partitions) + for (Partition _iter517 : struct.partitions) { - _iter509.write(oprot); + _iter517.write(oprot); } oprot.writeListEnd(); } @@ -510,9 +510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter510 : struct.partitions) + for (Partition _iter518 : struct.partitions) { - _iter510.write(oprot); + _iter518.write(oprot); } } } @@ -527,14 +527,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list511 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list511.size); - Partition _elem512; - for (int _i513 = 0; _i513 < _list511.size; ++_i513) + org.apache.thrift.protocol.TList _list519 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list519.size); + Partition _elem520; + for (int _i521 = 0; _i521 < _list519.size; ++_i521) { - _elem512 = new Partition(); - _elem512.read(iprot); - struct.partitions.add(_elem512); + _elem520 = new Partition(); + _elem520.read(iprot); + struct.partitions.add(_elem520); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index 747dfad577..9e18831203 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -716,13 +716,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 3: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list698.size); - long _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list706.size); + long _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem699 = iprot.readI64(); - struct.txnIds.add(_elem699); + _elem707 = iprot.readI64(); + struct.txnIds.add(_elem707); } iprot.readListEnd(); } @@ -742,14 +742,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 5: // SRC_TXN_TO_WRITE_ID_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list701 = iprot.readListBegin(); - struct.srcTxnToWriteIdList = new ArrayList(_list701.size); - TxnToWriteId _elem702; - for (int _i703 = 0; _i703 < _list701.size; ++_i703) + org.apache.thrift.protocol.TList _list709 = iprot.readListBegin(); + struct.srcTxnToWriteIdList = new ArrayList(_list709.size); + TxnToWriteId _elem710; + for (int _i711 = 0; _i711 < _list709.size; ++_i711) { - _elem702 = new TxnToWriteId(); - _elem702.read(iprot); - struct.srcTxnToWriteIdList.add(_elem702); + _elem710 = new TxnToWriteId(); + _elem710.read(iprot); + struct.srcTxnToWriteIdList.add(_elem710); } iprot.readListEnd(); } @@ -786,9 +786,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txnIds.size())); - for (long _iter704 : struct.txnIds) + for (long _iter712 : struct.txnIds) { - oprot.writeI64(_iter704); + oprot.writeI64(_iter712); } oprot.writeListEnd(); } @@ -807,9 +807,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(SRC_TXN_TO_WRITE_ID_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.srcTxnToWriteIdList.size())); - for (TxnToWriteId _iter705 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter713 : struct.srcTxnToWriteIdList) { - _iter705.write(oprot); + _iter713.write(oprot); } oprot.writeListEnd(); } @@ -849,9 +849,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetTxnIds()) { { oprot.writeI32(struct.txnIds.size()); - for (long _iter706 : struct.txnIds) + for (long _iter714 : struct.txnIds) { - oprot.writeI64(_iter706); + oprot.writeI64(_iter714); } } } @@ -861,9 +861,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetSrcTxnToWriteIdList()) { { oprot.writeI32(struct.srcTxnToWriteIdList.size()); - for (TxnToWriteId _iter707 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter715 : struct.srcTxnToWriteIdList) { - _iter707.write(oprot); + _iter715.write(oprot); } } } @@ -879,13 +879,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list708 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list708.size); - long _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list716 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list716.size); + long _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem709 = iprot.readI64(); - struct.txnIds.add(_elem709); + _elem717 = iprot.readI64(); + struct.txnIds.add(_elem717); } } struct.setTxnIdsIsSet(true); @@ -896,14 +896,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.srcTxnToWriteIdList = new ArrayList(_list711.size); - TxnToWriteId _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.srcTxnToWriteIdList = new ArrayList(_list719.size); + TxnToWriteId _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem712 = new TxnToWriteId(); - _elem712.read(iprot); - struct.srcTxnToWriteIdList.add(_elem712); + _elem720 = new TxnToWriteId(); + _elem720.read(iprot); + struct.srcTxnToWriteIdList.add(_elem720); } } struct.setSrcTxnToWriteIdListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java index e5349e82c5..877bcad3e7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_TO_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list714.size); - TxnToWriteId _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list722.size); + TxnToWriteId _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem715 = new TxnToWriteId(); - _elem715.read(iprot); - struct.txnToWriteIds.add(_elem715); + _elem723 = new TxnToWriteId(); + _elem723.read(iprot); + struct.txnToWriteIds.add(_elem723); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_TO_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.txnToWriteIds.size())); - for (TxnToWriteId _iter717 : struct.txnToWriteIds) + for (TxnToWriteId _iter725 : struct.txnToWriteIds) { - _iter717.write(oprot); + _iter725.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnToWriteIds.size()); - for (TxnToWriteId _iter718 : struct.txnToWriteIds) + for (TxnToWriteId _iter726 : struct.txnToWriteIds) { - _iter718.write(oprot); + _iter726.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list719.size); - TxnToWriteId _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list727.size); + TxnToWriteId _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem720 = new TxnToWriteId(); - _elem720.read(iprot); - struct.txnToWriteIds.add(_elem720); + _elem728 = new TxnToWriteId(); + _elem728.read(iprot); + struct.txnToWriteIds.add(_elem728); } } struct.setTxnToWriteIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java index 8c8b8ce67c..043ec8053c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java @@ -877,14 +877,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterPartitionsRequ case 4: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1136 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list1136.size); - Partition _elem1137; - for (int _i1138 = 0; _i1138 < _list1136.size; ++_i1138) + org.apache.thrift.protocol.TList _list1144 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list1144.size); + Partition _elem1145; + for (int _i1146 = 0; _i1146 < _list1144.size; ++_i1146) { - _elem1137 = new Partition(); - _elem1137.read(iprot); - struct.partitions.add(_elem1137); + _elem1145 = new Partition(); + _elem1145.read(iprot); + struct.partitions.add(_elem1145); } iprot.readListEnd(); } @@ -952,9 +952,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterPartitionsReq oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter1139 : struct.partitions) + for (Partition _iter1147 : struct.partitions) { - _iter1139.write(oprot); + _iter1147.write(oprot); } oprot.writeListEnd(); } @@ -1000,9 +1000,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partitions.size()); - for (Partition _iter1140 : struct.partitions) + for (Partition _iter1148 : struct.partitions) { - _iter1140.write(oprot); + _iter1148.write(oprot); } } BitSet optionals = new BitSet(); @@ -1041,14 +1041,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list1141 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list1141.size); - Partition _elem1142; - for (int _i1143 = 0; _i1143 < _list1141.size; ++_i1143) + org.apache.thrift.protocol.TList _list1149 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list1149.size); + Partition _elem1150; + for (int _i1151 = 0; _i1151 < _list1149.size; ++_i1151) { - _elem1142 = new Partition(); - _elem1142.read(iprot); - struct.partitions.add(_elem1142); + _elem1150 = new Partition(); + _elem1150.read(iprot); + struct.partitions.add(_elem1150); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java index 8ec42337fa..fb64c999c2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterTableRequest.java @@ -1073,13 +1073,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterTableRequest s case 8: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1152 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list1152.size); - String _elem1153; - for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list1160.size); + String _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) { - _elem1153 = iprot.readString(); - struct.processorCapabilities.add(_elem1153); + _elem1161 = iprot.readString(); + struct.processorCapabilities.add(_elem1161); } iprot.readListEnd(); } @@ -1155,9 +1155,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterTableRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter1155 : struct.processorCapabilities) + for (String _iter1163 : struct.processorCapabilities) { - oprot.writeString(_iter1155); + oprot.writeString(_iter1163); } oprot.writeListEnd(); } @@ -1226,9 +1226,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterTableRequest s if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter1156 : struct.processorCapabilities) + for (String _iter1164 : struct.processorCapabilities) { - oprot.writeString(_iter1156); + oprot.writeString(_iter1164); } } } @@ -1267,13 +1267,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterTableRequest st } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list1157.size); - String _elem1158; - for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) + org.apache.thrift.protocol.TList _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list1165.size); + String _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1158 = iprot.readString(); - struct.processorCapabilities.add(_elem1158); + _elem1166 = iprot.readString(); + struct.processorCapabilities.add(_elem1166); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index fce5e31ffc..cc758f6fd5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/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 _list912 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list912.size); - long _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list920.size); + long _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem913 = iprot.readI64(); - struct.fileIds.add(_elem913); + _elem921 = iprot.readI64(); + struct.fileIds.add(_elem921); } 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 _iter915 : struct.fileIds) + for (long _iter923 : struct.fileIds) { - oprot.writeI64(_iter915); + oprot.writeI64(_iter923); } 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 _iter916 : struct.fileIds) + for (long _iter924 : struct.fileIds) { - oprot.writeI64(_iter916); + oprot.writeI64(_iter924); } } } @@ -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 _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list917.size); - long _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list925.size); + long _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem918 = iprot.readI64(); - struct.fileIds.add(_elem918); + _elem926 = iprot.readI64(); + struct.fileIds.add(_elem926); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index 18773477ba..fdd1422e48 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/metastore-common/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 _list928 = iprot.readListBegin(); - struct.values = new ArrayList(_list928.size); - ClientCapability _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.values = new ArrayList(_list936.size); + ClientCapability _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem929 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem929); + _elem937 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem937); } 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 _iter931 : struct.values) + for (ClientCapability _iter939 : struct.values) { - oprot.writeI32(_iter931.getValue()); + oprot.writeI32(_iter939.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 _iter932 : struct.values) + for (ClientCapability _iter940 : struct.values) { - oprot.writeI32(_iter932.getValue()); + oprot.writeI32(_iter940.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 _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list933.size); - ClientCapability _elem934; - for (int _i935 = 0; _i935 < _list933.size; ++_i935) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list941.size); + ClientCapability _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem934 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem934); + _elem942 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem942); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index 7854e15dc4..957b5075f9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -701,14 +701,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CommitTxnRequest st case 3: // WRITE_EVENT_INFOS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); - struct.writeEventInfos = new ArrayList(_list658.size); - WriteEventInfo _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.writeEventInfos = new ArrayList(_list666.size); + WriteEventInfo _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem659 = new WriteEventInfo(); - _elem659.read(iprot); - struct.writeEventInfos.add(_elem659); + _elem667 = new WriteEventInfo(); + _elem667.read(iprot); + struct.writeEventInfos.add(_elem667); } iprot.readListEnd(); } @@ -763,9 +763,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CommitTxnRequest s oprot.writeFieldBegin(WRITE_EVENT_INFOS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.writeEventInfos.size())); - for (WriteEventInfo _iter661 : struct.writeEventInfos) + for (WriteEventInfo _iter669 : struct.writeEventInfos) { - _iter661.write(oprot); + _iter669.write(oprot); } oprot.writeListEnd(); } @@ -824,9 +824,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest st if (struct.isSetWriteEventInfos()) { { oprot.writeI32(struct.writeEventInfos.size()); - for (WriteEventInfo _iter662 : struct.writeEventInfos) + for (WriteEventInfo _iter670 : struct.writeEventInfos) { - _iter662.write(oprot); + _iter670.write(oprot); } } } @@ -850,14 +850,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest str } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.writeEventInfos = new ArrayList(_list663.size); - WriteEventInfo _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.writeEventInfos = new ArrayList(_list671.size); + WriteEventInfo _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem664 = new WriteEventInfo(); - _elem664.read(iprot); - struct.writeEventInfos.add(_elem664); + _elem672 = new WriteEventInfo(); + _elem672.read(iprot); + struct.writeEventInfos.add(_elem672); } } struct.setWriteEventInfosIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 133004e5e5..0e60d279f3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/metastore-common/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 _map754 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map754.size); - String _key755; - String _val756; - for (int _i757 = 0; _i757 < _map754.size; ++_i757) + org.apache.thrift.protocol.TMap _map762 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map762.size); + String _key763; + String _val764; + for (int _i765 = 0; _i765 < _map762.size; ++_i765) { - _key755 = iprot.readString(); - _val756 = iprot.readString(); - struct.properties.put(_key755, _val756); + _key763 = iprot.readString(); + _val764 = iprot.readString(); + struct.properties.put(_key763, _val764); } 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 _iter758 : struct.properties.entrySet()) + for (Map.Entry _iter766 : struct.properties.entrySet()) { - oprot.writeString(_iter758.getKey()); - oprot.writeString(_iter758.getValue()); + oprot.writeString(_iter766.getKey()); + oprot.writeString(_iter766.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 _iter759 : struct.properties.entrySet()) + for (Map.Entry _iter767 : struct.properties.entrySet()) { - oprot.writeString(_iter759.getKey()); - oprot.writeString(_iter759.getValue()); + oprot.writeString(_iter767.getKey()); + oprot.writeString(_iter767.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 _map760 = 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*_map760.size); - String _key761; - String _val762; - for (int _i763 = 0; _i763 < _map760.size; ++_i763) + org.apache.thrift.protocol.TMap _map768 = 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*_map768.size); + String _key769; + String _val770; + for (int _i771 = 0; _i771 < _map768.size; ++_i771) { - _key761 = iprot.readString(); - _val762 = iprot.readString(); - struct.properties.put(_key761, _val762); + _key769 = iprot.readString(); + _val770 = iprot.readString(); + struct.properties.put(_key769, _val770); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java index 9d9c429efb..d8675a208a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreateTableRequest.java @@ -1225,14 +1225,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 3: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1080 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1080.size); - SQLPrimaryKey _elem1081; - for (int _i1082 = 0; _i1082 < _list1080.size; ++_i1082) + org.apache.thrift.protocol.TList _list1088 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1088.size); + SQLPrimaryKey _elem1089; + for (int _i1090 = 0; _i1090 < _list1088.size; ++_i1090) { - _elem1081 = new SQLPrimaryKey(); - _elem1081.read(iprot); - struct.primaryKeys.add(_elem1081); + _elem1089 = new SQLPrimaryKey(); + _elem1089.read(iprot); + struct.primaryKeys.add(_elem1089); } iprot.readListEnd(); } @@ -1244,14 +1244,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 4: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1083 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1083.size); - SQLForeignKey _elem1084; - for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) + org.apache.thrift.protocol.TList _list1091 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1091.size); + SQLForeignKey _elem1092; + for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) { - _elem1084 = new SQLForeignKey(); - _elem1084.read(iprot); - struct.foreignKeys.add(_elem1084); + _elem1092 = new SQLForeignKey(); + _elem1092.read(iprot); + struct.foreignKeys.add(_elem1092); } iprot.readListEnd(); } @@ -1263,14 +1263,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 5: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1086 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1086.size); - SQLUniqueConstraint _elem1087; - for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) + org.apache.thrift.protocol.TList _list1094 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1094.size); + SQLUniqueConstraint _elem1095; + for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1087 = new SQLUniqueConstraint(); - _elem1087.read(iprot); - struct.uniqueConstraints.add(_elem1087); + _elem1095 = new SQLUniqueConstraint(); + _elem1095.read(iprot); + struct.uniqueConstraints.add(_elem1095); } iprot.readListEnd(); } @@ -1282,14 +1282,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 6: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1089 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1089.size); - SQLNotNullConstraint _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1097 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1097.size); + SQLNotNullConstraint _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1090 = new SQLNotNullConstraint(); - _elem1090.read(iprot); - struct.notNullConstraints.add(_elem1090); + _elem1098 = new SQLNotNullConstraint(); + _elem1098.read(iprot); + struct.notNullConstraints.add(_elem1098); } iprot.readListEnd(); } @@ -1301,14 +1301,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 7: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1092.size); - SQLDefaultConstraint _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1100.size); + SQLDefaultConstraint _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1093 = new SQLDefaultConstraint(); - _elem1093.read(iprot); - struct.defaultConstraints.add(_elem1093); + _elem1101 = new SQLDefaultConstraint(); + _elem1101.read(iprot); + struct.defaultConstraints.add(_elem1101); } iprot.readListEnd(); } @@ -1320,14 +1320,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 8: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1095 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1095.size); - SQLCheckConstraint _elem1096; - for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) + org.apache.thrift.protocol.TList _list1103 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1103.size); + SQLCheckConstraint _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1096 = new SQLCheckConstraint(); - _elem1096.read(iprot); - struct.checkConstraints.add(_elem1096); + _elem1104 = new SQLCheckConstraint(); + _elem1104.read(iprot); + struct.checkConstraints.add(_elem1104); } iprot.readListEnd(); } @@ -1339,13 +1339,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest case 9: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list1098.size); - String _elem1099; - for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) + org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list1106.size); + String _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { - _elem1099 = iprot.readString(); - struct.processorCapabilities.add(_elem1099); + _elem1107 = iprot.readString(); + struct.processorCapabilities.add(_elem1107); } iprot.readListEnd(); } @@ -1392,9 +1392,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest 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 _iter1101 : struct.primaryKeys) + for (SQLPrimaryKey _iter1109 : struct.primaryKeys) { - _iter1101.write(oprot); + _iter1109.write(oprot); } oprot.writeListEnd(); } @@ -1406,9 +1406,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest 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 _iter1102 : struct.foreignKeys) + for (SQLForeignKey _iter1110 : struct.foreignKeys) { - _iter1102.write(oprot); + _iter1110.write(oprot); } oprot.writeListEnd(); } @@ -1420,9 +1420,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest 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 _iter1103 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1111 : struct.uniqueConstraints) { - _iter1103.write(oprot); + _iter1111.write(oprot); } oprot.writeListEnd(); } @@ -1434,9 +1434,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest 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 _iter1104 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1112 : struct.notNullConstraints) { - _iter1104.write(oprot); + _iter1112.write(oprot); } oprot.writeListEnd(); } @@ -1448,9 +1448,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1105 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1113 : struct.defaultConstraints) { - _iter1105.write(oprot); + _iter1113.write(oprot); } oprot.writeListEnd(); } @@ -1462,9 +1462,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1106 : struct.checkConstraints) + for (SQLCheckConstraint _iter1114 : struct.checkConstraints) { - _iter1106.write(oprot); + _iter1114.write(oprot); } oprot.writeListEnd(); } @@ -1476,9 +1476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreateTableRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter1107 : struct.processorCapabilities) + for (String _iter1115 : struct.processorCapabilities) { - oprot.writeString(_iter1107); + oprot.writeString(_iter1115); } oprot.writeListEnd(); } @@ -1545,63 +1545,63 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreateTableRequest if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1108 : struct.primaryKeys) + for (SQLPrimaryKey _iter1116 : struct.primaryKeys) { - _iter1108.write(oprot); + _iter1116.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1109 : struct.foreignKeys) + for (SQLForeignKey _iter1117 : struct.foreignKeys) { - _iter1109.write(oprot); + _iter1117.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1110 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1118 : struct.uniqueConstraints) { - _iter1110.write(oprot); + _iter1118.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1111 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1119 : struct.notNullConstraints) { - _iter1111.write(oprot); + _iter1119.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1112 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1120 : struct.defaultConstraints) { - _iter1112.write(oprot); + _iter1120.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1113 : struct.checkConstraints) + for (SQLCheckConstraint _iter1121 : struct.checkConstraints) { - _iter1113.write(oprot); + _iter1121.write(oprot); } } } if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter1114 : struct.processorCapabilities) + for (String _iter1122 : struct.processorCapabilities) { - oprot.writeString(_iter1114); + oprot.writeString(_iter1122); } } } @@ -1624,97 +1624,97 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreateTableRequest s } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1115.size); - SQLPrimaryKey _elem1116; - for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) + org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1123.size); + SQLPrimaryKey _elem1124; + for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) { - _elem1116 = new SQLPrimaryKey(); - _elem1116.read(iprot); - struct.primaryKeys.add(_elem1116); + _elem1124 = new SQLPrimaryKey(); + _elem1124.read(iprot); + struct.primaryKeys.add(_elem1124); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1118 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1118.size); - SQLForeignKey _elem1119; - for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) + org.apache.thrift.protocol.TList _list1126 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1126.size); + SQLForeignKey _elem1127; + for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) { - _elem1119 = new SQLForeignKey(); - _elem1119.read(iprot); - struct.foreignKeys.add(_elem1119); + _elem1127 = new SQLForeignKey(); + _elem1127.read(iprot); + struct.foreignKeys.add(_elem1127); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1121.size); - SQLUniqueConstraint _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1129.size); + SQLUniqueConstraint _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = new SQLUniqueConstraint(); - _elem1122.read(iprot); - struct.uniqueConstraints.add(_elem1122); + _elem1130 = new SQLUniqueConstraint(); + _elem1130.read(iprot); + struct.uniqueConstraints.add(_elem1130); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1124 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1124.size); - SQLNotNullConstraint _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1132 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1132.size); + SQLNotNullConstraint _elem1133; + for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) { - _elem1125 = new SQLNotNullConstraint(); - _elem1125.read(iprot); - struct.notNullConstraints.add(_elem1125); + _elem1133 = new SQLNotNullConstraint(); + _elem1133.read(iprot); + struct.notNullConstraints.add(_elem1133); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1127.size); - SQLDefaultConstraint _elem1128; - for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) + org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1135.size); + SQLDefaultConstraint _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1128 = new SQLDefaultConstraint(); - _elem1128.read(iprot); - struct.defaultConstraints.add(_elem1128); + _elem1136 = new SQLDefaultConstraint(); + _elem1136.read(iprot); + struct.defaultConstraints.add(_elem1136); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1130 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1130.size); - SQLCheckConstraint _elem1131; - for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) + org.apache.thrift.protocol.TList _list1138 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1138.size); + SQLCheckConstraint _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1131 = new SQLCheckConstraint(); - _elem1131.read(iprot); - struct.checkConstraints.add(_elem1131); + _elem1139 = new SQLCheckConstraint(); + _elem1139.read(iprot); + struct.checkConstraints.add(_elem1139); } } struct.setCheckConstraintsIsSet(true); } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list1133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list1133.size); - String _elem1134; - for (int _i1135 = 0; _i1135 < _list1133.size; ++_i1135) + org.apache.thrift.protocol.TList _list1141 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list1141.size); + String _elem1142; + for (int _i1143 = 0; _i1143 < _list1141.size; ++_i1143) { - _elem1134 = iprot.readString(); - struct.processorCapabilities.add(_elem1134); + _elem1142 = iprot.readString(); + struct.processorCapabilities.add(_elem1142); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index 3249ef06fa..b30ea90aef 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list522 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list522.size); - Partition _elem523; - for (int _i524 = 0; _i524 < _list522.size; ++_i524) + org.apache.thrift.protocol.TList _list530 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list530.size); + Partition _elem531; + for (int _i532 = 0; _i532 < _list530.size; ++_i532) { - _elem523 = new Partition(); - _elem523.read(iprot); - struct.partitions.add(_elem523); + _elem531 = new Partition(); + _elem531.read(iprot); + struct.partitions.add(_elem531); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DropPartitionsResu oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter525 : struct.partitions) + for (Partition _iter533 : struct.partitions) { - _iter525.write(oprot); + _iter533.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResul if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter526 : struct.partitions) + for (Partition _iter534 : struct.partitions) { - _iter526.write(oprot); + _iter534.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list527 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list527.size); - Partition _elem528; - for (int _i529 = 0; _i529 < _list527.size; ++_i529) + org.apache.thrift.protocol.TList _list535 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list535.size); + Partition _elem536; + for (int _i537 = 0; _i537 < _list535.size; ++_i537) { - _elem528 = new Partition(); - _elem528.read(iprot); - struct.partitions.add(_elem528); + _elem536 = new Partition(); + _elem536.read(iprot); + struct.partitions.add(_elem536); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java index ac3a9ab8c6..d46c58940a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ExtendedTableInfo.java @@ -627,13 +627,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ExtendedTableInfo s case 3: // REQUIRED_READ_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); - struct.requiredReadCapabilities = new ArrayList(_list976.size); - String _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.requiredReadCapabilities = new ArrayList(_list984.size); + String _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem977 = iprot.readString(); - struct.requiredReadCapabilities.add(_elem977); + _elem985 = iprot.readString(); + struct.requiredReadCapabilities.add(_elem985); } iprot.readListEnd(); } @@ -645,13 +645,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ExtendedTableInfo s case 4: // REQUIRED_WRITE_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list979 = iprot.readListBegin(); - struct.requiredWriteCapabilities = new ArrayList(_list979.size); - String _elem980; - for (int _i981 = 0; _i981 < _list979.size; ++_i981) + org.apache.thrift.protocol.TList _list987 = iprot.readListBegin(); + struct.requiredWriteCapabilities = new ArrayList(_list987.size); + String _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) { - _elem980 = iprot.readString(); - struct.requiredWriteCapabilities.add(_elem980); + _elem988 = iprot.readString(); + struct.requiredWriteCapabilities.add(_elem988); } iprot.readListEnd(); } @@ -688,9 +688,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ExtendedTableInfo oprot.writeFieldBegin(REQUIRED_READ_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.requiredReadCapabilities.size())); - for (String _iter982 : struct.requiredReadCapabilities) + for (String _iter990 : struct.requiredReadCapabilities) { - oprot.writeString(_iter982); + oprot.writeString(_iter990); } oprot.writeListEnd(); } @@ -702,9 +702,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ExtendedTableInfo oprot.writeFieldBegin(REQUIRED_WRITE_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.requiredWriteCapabilities.size())); - for (String _iter983 : struct.requiredWriteCapabilities) + for (String _iter991 : struct.requiredWriteCapabilities) { - oprot.writeString(_iter983); + oprot.writeString(_iter991); } oprot.writeListEnd(); } @@ -746,18 +746,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ExtendedTableInfo s if (struct.isSetRequiredReadCapabilities()) { { oprot.writeI32(struct.requiredReadCapabilities.size()); - for (String _iter984 : struct.requiredReadCapabilities) + for (String _iter992 : struct.requiredReadCapabilities) { - oprot.writeString(_iter984); + oprot.writeString(_iter992); } } } if (struct.isSetRequiredWriteCapabilities()) { { oprot.writeI32(struct.requiredWriteCapabilities.size()); - for (String _iter985 : struct.requiredWriteCapabilities) + for (String _iter993 : struct.requiredWriteCapabilities) { - oprot.writeString(_iter985); + oprot.writeString(_iter993); } } } @@ -775,26 +775,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ExtendedTableInfo st } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list986 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.requiredReadCapabilities = new ArrayList(_list986.size); - String _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list994 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.requiredReadCapabilities = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem987 = iprot.readString(); - struct.requiredReadCapabilities.add(_elem987); + _elem995 = iprot.readString(); + struct.requiredReadCapabilities.add(_elem995); } } struct.setRequiredReadCapabilitiesIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.requiredWriteCapabilities = new ArrayList(_list989.size); - String _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.requiredWriteCapabilities = new ArrayList(_list997.size); + String _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem990 = iprot.readString(); - struct.requiredWriteCapabilities.add(_elem990); + _elem998 = iprot.readString(); + struct.requiredWriteCapabilities.add(_elem998); } } struct.setRequiredWriteCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 7713026d52..561bf56aa9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1072 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list1072.size); - SchemaVersionDescriptor _elem1073; - for (int _i1074 = 0; _i1074 < _list1072.size; ++_i1074) + org.apache.thrift.protocol.TList _list1080 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list1080.size); + SchemaVersionDescriptor _elem1081; + for (int _i1082 = 0; _i1082 < _list1080.size; ++_i1082) { - _elem1073 = new SchemaVersionDescriptor(); - _elem1073.read(iprot); - struct.schemaVersions.add(_elem1073); + _elem1081 = new SchemaVersionDescriptor(); + _elem1081.read(iprot); + struct.schemaVersions.add(_elem1081); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter1075 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter1083 : struct.schemaVersions) { - _iter1075.write(oprot); + _iter1083.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter1076 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter1084 : struct.schemaVersions) { - _iter1076.write(oprot); + _iter1084.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1077 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list1077.size); - SchemaVersionDescriptor _elem1078; - for (int _i1079 = 0; _i1079 < _list1077.size; ++_i1079) + org.apache.thrift.protocol.TList _list1085 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list1085.size); + SchemaVersionDescriptor _elem1086; + for (int _i1087 = 0; _i1087 < _list1085.size; ++_i1087) { - _elem1078 = new SchemaVersionDescriptor(); - _elem1078.read(iprot); - struct.schemaVersions.add(_elem1078); + _elem1086 = new SchemaVersionDescriptor(); + _elem1086.read(iprot); + struct.schemaVersions.add(_elem1086); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 5c6b6e22b1..2b03cb5018 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -794,13 +794,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list836.size); - String _elem837; - for (int _i838 = 0; _i838 < _list836.size; ++_i838) + org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list844.size); + String _elem845; + for (int _i846 = 0; _i846 < _list844.size; ++_i846) { - _elem837 = iprot.readString(); - struct.partitionVals.add(_elem837); + _elem845 = iprot.readString(); + struct.partitionVals.add(_elem845); } iprot.readListEnd(); } @@ -857,9 +857,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter839 : struct.partitionVals) + for (String _iter847 : struct.partitionVals) { - oprot.writeString(_iter839); + oprot.writeString(_iter847); } oprot.writeListEnd(); } @@ -915,9 +915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter840 : struct.partitionVals) + for (String _iter848 : struct.partitionVals) { - oprot.writeString(_iter840); + oprot.writeString(_iter848); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list841.size); - String _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list849.size); + String _elem850; + for (int _i851 = 0; _i851 < _list849.size; ++_i851) { - _elem842 = iprot.readString(); - struct.partitionVals.add(_elem842); + _elem850 = iprot.readString(); + struct.partitionVals.add(_elem850); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java index 6271ac419f..267e00a1af 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java @@ -177,14 +177,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == INSERT_DATAS_FIELD_DESC.type) { List insertDatas; { - org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); - insertDatas = new ArrayList(_list828.size); - InsertEventRequestData _elem829; - for (int _i830 = 0; _i830 < _list828.size; ++_i830) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + insertDatas = new ArrayList(_list836.size); + InsertEventRequestData _elem837; + for (int _i838 = 0; _i838 < _list836.size; ++_i838) { - _elem829 = new InsertEventRequestData(); - _elem829.read(iprot); - insertDatas.add(_elem829); + _elem837 = new InsertEventRequestData(); + _elem837.read(iprot); + insertDatas.add(_elem837); } iprot.readListEnd(); } @@ -213,9 +213,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List insertDatas = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, insertDatas.size())); - for (InsertEventRequestData _iter831 : insertDatas) + for (InsertEventRequestData _iter839 : insertDatas) { - _iter831.write(oprot); + _iter839.write(oprot); } oprot.writeListEnd(); } @@ -238,14 +238,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case INSERT_DATAS: List insertDatas; { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - insertDatas = new ArrayList(_list832.size); - InsertEventRequestData _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + insertDatas = new ArrayList(_list840.size); + InsertEventRequestData _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = new InsertEventRequestData(); - _elem833.read(iprot); - insertDatas.add(_elem833); + _elem841 = new InsertEventRequestData(); + _elem841.read(iprot); + insertDatas.add(_elem841); } iprot.readListEnd(); } @@ -269,9 +269,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List insertDatas = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, insertDatas.size())); - for (InsertEventRequestData _iter835 : insertDatas) + for (InsertEventRequestData _iter843 : insertDatas) { - _iter835.write(oprot); + _iter843.write(oprot); } oprot.writeListEnd(); } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java index 293545f34c..e816076f0e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java @@ -347,13 +347,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventResponse s case 1: // EVENT_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); - struct.eventIds = new ArrayList(_list844.size); - long _elem845; - for (int _i846 = 0; _i846 < _list844.size; ++_i846) + org.apache.thrift.protocol.TList _list852 = iprot.readListBegin(); + struct.eventIds = new ArrayList(_list852.size); + long _elem853; + for (int _i854 = 0; _i854 < _list852.size; ++_i854) { - _elem845 = iprot.readI64(); - struct.eventIds.add(_elem845); + _elem853 = iprot.readI64(); + struct.eventIds.add(_elem853); } iprot.readListEnd(); } @@ -379,9 +379,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventResponse oprot.writeFieldBegin(EVENT_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.eventIds.size())); - for (long _iter847 : struct.eventIds) + for (long _iter855 : struct.eventIds) { - oprot.writeI64(_iter847); + oprot.writeI64(_iter855); } oprot.writeListEnd(); } @@ -412,9 +412,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventResponse s if (struct.isSetEventIds()) { { oprot.writeI32(struct.eventIds.size()); - for (long _iter848 : struct.eventIds) + for (long _iter856 : struct.eventIds) { - oprot.writeI64(_iter848); + oprot.writeI64(_iter856); } } } @@ -426,13 +426,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.eventIds = new ArrayList(_list849.size); - long _elem850; - for (int _i851 = 0; _i851 < _list849.size; ++_i851) + org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.eventIds = new ArrayList(_list857.size); + long _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem850 = iprot.readI64(); - struct.eventIds.add(_elem850); + _elem858 = iprot.readI64(); + struct.eventIds.add(_elem858); } } struct.setEventIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index 38e0891a8d..0761ba691f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -1079,14 +1079,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 _list602 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list602.size); - ResourceUri _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list610.size); + ResourceUri _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = new ResourceUri(); - _elem603.read(iprot); - struct.resourceUris.add(_elem603); + _elem611 = new ResourceUri(); + _elem611.read(iprot); + struct.resourceUris.add(_elem611); } iprot.readListEnd(); } @@ -1153,9 +1153,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 _iter605 : struct.resourceUris) + for (ResourceUri _iter613 : struct.resourceUris) { - _iter605.write(oprot); + _iter613.write(oprot); } oprot.writeListEnd(); } @@ -1238,9 +1238,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter606 : struct.resourceUris) + for (ResourceUri _iter614 : struct.resourceUris) { - _iter606.write(oprot); + _iter614.write(oprot); } } } @@ -1283,14 +1283,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list607.size); - ResourceUri _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list615.size); + ResourceUri _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = new ResourceUri(); - _elem608.read(iprot); - struct.resourceUris.add(_elem608); + _elem616 = new ResourceUri(); + _elem616.read(iprot); + struct.resourceUris.add(_elem616); } } struct.setResourceUrisIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index 5c7715c145..b579e70c23 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/metastore-common/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 _list920 = iprot.readListBegin(); - struct.functions = new ArrayList(_list920.size); - Function _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.functions = new ArrayList(_list928.size); + Function _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem921 = new Function(); - _elem921.read(iprot); - struct.functions.add(_elem921); + _elem929 = new Function(); + _elem929.read(iprot); + struct.functions.add(_elem929); } 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 _iter923 : struct.functions) + for (Function _iter931 : struct.functions) { - _iter923.write(oprot); + _iter931.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 _iter924 : struct.functions) + for (Function _iter932 : struct.functions) { - _iter924.write(oprot); + _iter932.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 _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list925.size); - Function _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list933.size); + Function _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem926 = new Function(); - _elem926.read(iprot); - struct.functions.add(_elem926); + _elem934 = new Function(); + _elem934.read(iprot); + struct.functions.add(_elem934); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java index 8c23fccd16..aaf8e726d1 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetDatabaseRequest.java @@ -602,13 +602,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetDatabaseRequest case 3: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list992.size); - String _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list1000.size); + String _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem993 = iprot.readString(); - struct.processorCapabilities.add(_elem993); + _elem1001 = iprot.readString(); + struct.processorCapabilities.add(_elem1001); } iprot.readListEnd(); } @@ -657,9 +657,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetDatabaseRequest oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter995 : struct.processorCapabilities) + for (String _iter1003 : struct.processorCapabilities) { - oprot.writeString(_iter995); + oprot.writeString(_iter1003); } oprot.writeListEnd(); } @@ -713,9 +713,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetDatabaseRequest if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter996 : struct.processorCapabilities) + for (String _iter1004 : struct.processorCapabilities) { - oprot.writeString(_iter996); + oprot.writeString(_iter1004); } } } @@ -738,13 +738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetDatabaseRequest s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list997.size); - String _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list1005.size); + String _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem998 = iprot.readString(); - struct.processorCapabilities.add(_elem998); + _elem1006 = iprot.readString(); + struct.processorCapabilities.add(_elem1006); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index eaeb7a6ca8..b074f8a09c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/metastore-common/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 _list870 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list870.size); - long _elem871; - for (int _i872 = 0; _i872 < _list870.size; ++_i872) + org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list878.size); + long _elem879; + for (int _i880 = 0; _i880 < _list878.size; ++_i880) { - _elem871 = iprot.readI64(); - struct.fileIds.add(_elem871); + _elem879 = iprot.readI64(); + struct.fileIds.add(_elem879); } 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 _iter873 : struct.fileIds) + for (long _iter881 : struct.fileIds) { - oprot.writeI64(_iter873); + oprot.writeI64(_iter881); } 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 _iter874 : struct.fileIds) + for (long _iter882 : struct.fileIds) { - oprot.writeI64(_iter874); + oprot.writeI64(_iter882); } } 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 _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list875.size); - long _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list883.size); + long _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem876 = iprot.readI64(); - struct.fileIds.add(_elem876); + _elem884 = iprot.readI64(); + struct.fileIds.add(_elem884); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 190f9672f2..ece1f519da 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/metastore-common/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 _map860 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map860.size); - long _key861; - MetadataPpdResult _val862; - for (int _i863 = 0; _i863 < _map860.size; ++_i863) + org.apache.thrift.protocol.TMap _map868 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map868.size); + long _key869; + MetadataPpdResult _val870; + for (int _i871 = 0; _i871 < _map868.size; ++_i871) { - _key861 = iprot.readI64(); - _val862 = new MetadataPpdResult(); - _val862.read(iprot); - struct.metadata.put(_key861, _val862); + _key869 = iprot.readI64(); + _val870 = new MetadataPpdResult(); + _val870.read(iprot); + struct.metadata.put(_key869, _val870); } 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 _iter864 : struct.metadata.entrySet()) + for (Map.Entry _iter872 : struct.metadata.entrySet()) { - oprot.writeI64(_iter864.getKey()); - _iter864.getValue().write(oprot); + oprot.writeI64(_iter872.getKey()); + _iter872.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 _iter865 : struct.metadata.entrySet()) + for (Map.Entry _iter873 : struct.metadata.entrySet()) { - oprot.writeI64(_iter865.getKey()); - _iter865.getValue().write(oprot); + oprot.writeI64(_iter873.getKey()); + _iter873.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 _map866 = 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*_map866.size); - long _key867; - MetadataPpdResult _val868; - for (int _i869 = 0; _i869 < _map866.size; ++_i869) + org.apache.thrift.protocol.TMap _map874 = 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*_map874.size); + long _key875; + MetadataPpdResult _val876; + for (int _i877 = 0; _i877 < _map874.size; ++_i877) { - _key867 = iprot.readI64(); - _val868 = new MetadataPpdResult(); - _val868.read(iprot); - struct.metadata.put(_key867, _val868); + _key875 = iprot.readI64(); + _val876 = new MetadataPpdResult(); + _val876.read(iprot); + struct.metadata.put(_key875, _val876); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 797376fac8..33bb390ff4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/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 _list888 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list888.size); - long _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list896.size); + long _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = iprot.readI64(); - struct.fileIds.add(_elem889); + _elem897 = iprot.readI64(); + struct.fileIds.add(_elem897); } 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 _iter891 : struct.fileIds) + for (long _iter899 : struct.fileIds) { - oprot.writeI64(_iter891); + oprot.writeI64(_iter899); } 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 _iter892 : struct.fileIds) + for (long _iter900 : struct.fileIds) { - oprot.writeI64(_iter892); + oprot.writeI64(_iter900); } } } @@ -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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list893.size); - long _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list901.size); + long _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = iprot.readI64(); - struct.fileIds.add(_elem894); + _elem902 = iprot.readI64(); + struct.fileIds.add(_elem902); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index c87bc47490..e335d88221 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/metastore-common/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 _map878 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map878.size); - long _key879; - ByteBuffer _val880; - for (int _i881 = 0; _i881 < _map878.size; ++_i881) + org.apache.thrift.protocol.TMap _map886 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map886.size); + long _key887; + ByteBuffer _val888; + for (int _i889 = 0; _i889 < _map886.size; ++_i889) { - _key879 = iprot.readI64(); - _val880 = iprot.readBinary(); - struct.metadata.put(_key879, _val880); + _key887 = iprot.readI64(); + _val888 = iprot.readBinary(); + struct.metadata.put(_key887, _val888); } 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 _iter882 : struct.metadata.entrySet()) + for (Map.Entry _iter890 : struct.metadata.entrySet()) { - oprot.writeI64(_iter882.getKey()); - oprot.writeBinary(_iter882.getValue()); + oprot.writeI64(_iter890.getKey()); + oprot.writeBinary(_iter890.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 _iter883 : struct.metadata.entrySet()) + for (Map.Entry _iter891 : struct.metadata.entrySet()) { - oprot.writeI64(_iter883.getKey()); - oprot.writeBinary(_iter883.getValue()); + oprot.writeI64(_iter891.getKey()); + oprot.writeBinary(_iter891.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 _map884 = 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*_map884.size); - long _key885; - ByteBuffer _val886; - for (int _i887 = 0; _i887 < _map884.size; ++_i887) + org.apache.thrift.protocol.TMap _map892 = 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*_map892.size); + long _key893; + ByteBuffer _val894; + for (int _i895 = 0; _i895 < _map892.size; ++_i895) { - _key885 = iprot.readI64(); - _val886 = iprot.readBinary(); - struct.metadata.put(_key885, _val886); + _key893 = iprot.readI64(); + _val894 = iprot.readBinary(); + struct.metadata.put(_key893, _val894); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 9f7d1502f3..2a3350c371 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/standalone-metastore/metastore-common/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 _list610 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list610.size); - TxnInfo _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list618.size); + TxnInfo _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = new TxnInfo(); - _elem611.read(iprot); - struct.open_txns.add(_elem611); + _elem619 = new TxnInfo(); + _elem619.read(iprot); + struct.open_txns.add(_elem619); } 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 _iter613 : struct.open_txns) + for (TxnInfo _iter621 : struct.open_txns) { - _iter613.write(oprot); + _iter621.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 _iter614 : struct.open_txns) + for (TxnInfo _iter622 : struct.open_txns) { - _iter614.write(oprot); + _iter622.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 _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list615.size); - TxnInfo _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list623.size); + TxnInfo _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = new TxnInfo(); - _elem616.read(iprot); - struct.open_txns.add(_elem616); + _elem624 = new TxnInfo(); + _elem624.read(iprot); + struct.open_txns.add(_elem624); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index f9596f1d15..65683d44b2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/standalone-metastore/metastore-common/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 _list618 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list618.size); - long _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list626.size); + long _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = iprot.readI64(); - struct.open_txns.add(_elem619); + _elem627 = iprot.readI64(); + struct.open_txns.add(_elem627); } 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 _iter621 : struct.open_txns) + for (long _iter629 : struct.open_txns) { - oprot.writeI64(_iter621); + oprot.writeI64(_iter629); } 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 _iter622 : struct.open_txns) + for (long _iter630 : struct.open_txns) { - oprot.writeI64(_iter622); + oprot.writeI64(_iter630); } } 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 _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new ArrayList(_list623.size); - long _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new ArrayList(_list631.size); + long _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = iprot.readI64(); - struct.open_txns.add(_elem624); + _elem632 = iprot.readI64(); + struct.open_txns.add(_elem632); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesRequest.java index a2d06effaf..c93a052a01 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesRequest.java @@ -874,13 +874,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsByName case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); - struct.names = new ArrayList(_list578.size); - String _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.names = new ArrayList(_list586.size); + String _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = iprot.readString(); - struct.names.add(_elem579); + _elem587 = iprot.readString(); + struct.names.add(_elem587); } iprot.readListEnd(); } @@ -900,13 +900,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsByName case 5: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list581 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list581.size); - String _elem582; - for (int _i583 = 0; _i583 < _list581.size; ++_i583) + org.apache.thrift.protocol.TList _list589 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list589.size); + String _elem590; + for (int _i591 = 0; _i591 < _list589.size; ++_i591) { - _elem582 = iprot.readString(); - struct.processorCapabilities.add(_elem582); + _elem590 = iprot.readString(); + struct.processorCapabilities.add(_elem590); } iprot.readListEnd(); } @@ -959,9 +959,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsByNam oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter584 : struct.names) + for (String _iter592 : struct.names) { - oprot.writeString(_iter584); + oprot.writeString(_iter592); } oprot.writeListEnd(); } @@ -978,9 +978,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsByNam oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter585 : struct.processorCapabilities) + for (String _iter593 : struct.processorCapabilities) { - oprot.writeString(_iter585); + oprot.writeString(_iter593); } oprot.writeListEnd(); } @@ -1040,9 +1040,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByName if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter586 : struct.names) + for (String _iter594 : struct.names) { - oprot.writeString(_iter586); + oprot.writeString(_iter594); } } } @@ -1052,9 +1052,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByName if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter587 : struct.processorCapabilities) + for (String _iter595 : struct.processorCapabilities) { - oprot.writeString(_iter587); + oprot.writeString(_iter595); } } } @@ -1076,13 +1076,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByNames BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list588 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list588.size); - String _elem589; - for (int _i590 = 0; _i590 < _list588.size; ++_i590) + org.apache.thrift.protocol.TList _list596 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list596.size); + String _elem597; + for (int _i598 = 0; _i598 < _list596.size; ++_i598) { - _elem589 = iprot.readString(); - struct.names.add(_elem589); + _elem597 = iprot.readString(); + struct.names.add(_elem597); } } struct.setNamesIsSet(true); @@ -1093,13 +1093,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByNames } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list591.size); - String _elem592; - for (int _i593 = 0; _i593 < _list591.size; ++_i593) + org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list599.size); + String _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) { - _elem592 = iprot.readString(); - struct.processorCapabilities.add(_elem592); + _elem600 = iprot.readString(); + struct.processorCapabilities.add(_elem600); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesResult.java index da69e3a2f3..58f45aba4d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsByNamesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsByName case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list594.size); - Partition _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list602.size); + Partition _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = new Partition(); - _elem595.read(iprot); - struct.partitions.add(_elem595); + _elem603 = new Partition(); + _elem603.read(iprot); + struct.partitions.add(_elem603); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsByNam oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter597 : struct.partitions) + for (Partition _iter605 : struct.partitions) { - _iter597.write(oprot); + _iter605.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByName TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter598 : struct.partitions) + for (Partition _iter606 : struct.partitions) { - _iter598.write(oprot); + _iter606.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByName public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByNamesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list599.size); - Partition _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list607.size); + Partition _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = new Partition(); - _elem600.read(iprot); - struct.partitions.add(_elem600); + _elem608 = new Partition(); + _elem608.read(iprot); + struct.partitions.add(_elem608); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java index a96741f887..061247f01a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java @@ -444,13 +444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsFilter case 8: // FILTERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); - struct.filters = new ArrayList(_list1168.size); - String _elem1169; - for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) + org.apache.thrift.protocol.TList _list1176 = iprot.readListBegin(); + struct.filters = new ArrayList(_list1176.size); + String _elem1177; + for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) { - _elem1169 = iprot.readString(); - struct.filters.add(_elem1169); + _elem1177 = iprot.readString(); + struct.filters.add(_elem1177); } iprot.readListEnd(); } @@ -484,9 +484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsFilte oprot.writeFieldBegin(FILTERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filters.size())); - for (String _iter1171 : struct.filters) + for (String _iter1179 : struct.filters) { - oprot.writeString(_iter1171); + oprot.writeString(_iter1179); } oprot.writeListEnd(); } @@ -524,9 +524,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilter if (struct.isSetFilters()) { { oprot.writeI32(struct.filters.size()); - for (String _iter1172 : struct.filters) + for (String _iter1180 : struct.filters) { - oprot.writeString(_iter1172); + oprot.writeString(_iter1180); } } } @@ -542,13 +542,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilterS } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filters = new ArrayList(_list1173.size); - String _elem1174; - for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) + org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filters = new ArrayList(_list1181.size); + String _elem1182; + for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) { - _elem1174 = iprot.readString(); - struct.filters.add(_elem1174); + _elem1182 = iprot.readString(); + struct.filters.add(_elem1182); } } struct.setFiltersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java index 26f6e8a9d5..cf2f1c290c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java @@ -509,13 +509,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsProjec case 1: // FIELD_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); - struct.fieldList = new ArrayList(_list1160.size); - String _elem1161; - for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); + struct.fieldList = new ArrayList(_list1168.size); + String _elem1169; + for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) { - _elem1161 = iprot.readString(); - struct.fieldList.add(_elem1161); + _elem1169 = iprot.readString(); + struct.fieldList.add(_elem1169); } iprot.readListEnd(); } @@ -557,9 +557,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsProje oprot.writeFieldBegin(FIELD_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fieldList.size())); - for (String _iter1163 : struct.fieldList) + for (String _iter1171 : struct.fieldList) { - oprot.writeString(_iter1163); + oprot.writeString(_iter1171); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProjec if (struct.isSetFieldList()) { { oprot.writeI32(struct.fieldList.size()); - for (String _iter1164 : struct.fieldList) + for (String _iter1172 : struct.fieldList) { - oprot.writeString(_iter1164); + oprot.writeString(_iter1172); } } } @@ -626,13 +626,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProject BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fieldList = new ArrayList(_list1165.size); - String _elem1166; - for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) + org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fieldList = new ArrayList(_list1173.size); + String _elem1174; + for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) { - _elem1166 = iprot.readString(); - struct.fieldList.add(_elem1166); + _elem1174 = iprot.readString(); + struct.fieldList.add(_elem1174); } } struct.setFieldListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java index bb3743cd0e..c927bbca17 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java @@ -1139,13 +1139,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); - struct.groupNames = new ArrayList(_list1184.size); - String _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); + struct.groupNames = new ArrayList(_list1192.size); + String _elem1193; + for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) { - _elem1185 = iprot.readString(); - struct.groupNames.add(_elem1185); + _elem1193 = iprot.readString(); + struct.groupNames.add(_elem1193); } iprot.readListEnd(); } @@ -1175,13 +1175,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 9: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1187 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list1187.size); - String _elem1188; - for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) + org.apache.thrift.protocol.TList _list1195 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list1195.size); + String _elem1196; + for (int _i1197 = 0; _i1197 < _list1195.size; ++_i1197) { - _elem1188 = iprot.readString(); - struct.processorCapabilities.add(_elem1188); + _elem1196 = iprot.readString(); + struct.processorCapabilities.add(_elem1196); } iprot.readListEnd(); } @@ -1245,9 +1245,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.groupNames.size())); - for (String _iter1190 : struct.groupNames) + for (String _iter1198 : struct.groupNames) { - oprot.writeString(_iter1190); + oprot.writeString(_iter1198); } oprot.writeListEnd(); } @@ -1269,9 +1269,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter1191 : struct.processorCapabilities) + for (String _iter1199 : struct.processorCapabilities) { - oprot.writeString(_iter1191); + oprot.writeString(_iter1199); } oprot.writeListEnd(); } @@ -1352,9 +1352,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetGroupNames()) { { oprot.writeI32(struct.groupNames.size()); - for (String _iter1192 : struct.groupNames) + for (String _iter1200 : struct.groupNames) { - oprot.writeString(_iter1192); + oprot.writeString(_iter1200); } } } @@ -1367,9 +1367,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter1193 : struct.processorCapabilities) + for (String _iter1201 : struct.processorCapabilities) { - oprot.writeString(_iter1193); + oprot.writeString(_iter1201); } } } @@ -1404,13 +1404,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1194 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.groupNames = new ArrayList(_list1194.size); - String _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.groupNames = new ArrayList(_list1202.size); + String _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = iprot.readString(); - struct.groupNames.add(_elem1195); + _elem1203 = iprot.readString(); + struct.groupNames.add(_elem1203); } } struct.setGroupNamesIsSet(true); @@ -1427,13 +1427,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(8)) { { - org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list1197.size); - String _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list1205.size); + String _elem1206; + for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) { - _elem1198 = iprot.readString(); - struct.processorCapabilities.add(_elem1198); + _elem1206 = iprot.readString(); + struct.processorCapabilities.add(_elem1206); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java index 42f78a6199..342f05e5c3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsRespon case 1: // PARTITION_SPEC if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1176 = iprot.readListBegin(); - struct.partitionSpec = new ArrayList(_list1176.size); - PartitionSpec _elem1177; - for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) + org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); + struct.partitionSpec = new ArrayList(_list1184.size); + PartitionSpec _elem1185; + for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) { - _elem1177 = new PartitionSpec(); - _elem1177.read(iprot); - struct.partitionSpec.add(_elem1177); + _elem1185 = new PartitionSpec(); + _elem1185.read(iprot); + struct.partitionSpec.add(_elem1185); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsRespo oprot.writeFieldBegin(PARTITION_SPEC_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionSpec.size())); - for (PartitionSpec _iter1179 : struct.partitionSpec) + for (PartitionSpec _iter1187 : struct.partitionSpec) { - _iter1179.write(oprot); + _iter1187.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespon if (struct.isSetPartitionSpec()) { { oprot.writeI32(struct.partitionSpec.size()); - for (PartitionSpec _iter1180 : struct.partitionSpec) + for (PartitionSpec _iter1188 : struct.partitionSpec) { - _iter1180.write(oprot); + _iter1188.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespons BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionSpec = new ArrayList(_list1181.size); - PartitionSpec _elem1182; - for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) + org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionSpec = new ArrayList(_list1189.size); + PartitionSpec _elem1190; + for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) { - _elem1182 = new PartitionSpec(); - _elem1182.read(iprot); - struct.partitionSpec.add(_elem1182); + _elem1190 = new PartitionSpec(); + _elem1190.read(iprot); + struct.partitionSpec.add(_elem1190); } } struct.setPartitionSpecIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java index d8dc0c3143..4e66f0717c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java @@ -1055,13 +1055,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTableRequest str case 8: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list936.size); - String _elem937; - for (int _i938 = 0; _i938 < _list936.size; ++_i938) + org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list944.size); + String _elem945; + for (int _i946 = 0; _i946 < _list944.size; ++_i946) { - _elem937 = iprot.readString(); - struct.processorCapabilities.add(_elem937); + _elem945 = iprot.readString(); + struct.processorCapabilities.add(_elem945); } iprot.readListEnd(); } @@ -1140,9 +1140,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTableRequest st oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter939 : struct.processorCapabilities) + for (String _iter947 : struct.processorCapabilities) { - oprot.writeString(_iter939); + oprot.writeString(_iter947); } oprot.writeListEnd(); } @@ -1220,9 +1220,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTableRequest str if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter940 : struct.processorCapabilities) + for (String _iter948 : struct.processorCapabilities) { - oprot.writeString(_iter940); + oprot.writeString(_iter948); } } } @@ -1261,13 +1261,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableRequest stru } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list941.size); - String _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list949.size); + String _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = iprot.readString(); - struct.processorCapabilities.add(_elem942); + _elem950 = iprot.readString(); + struct.processorCapabilities.add(_elem950); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java index b9136bddd1..2386d95736 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesExtRequest.java @@ -885,13 +885,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesExtRequest case 6: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list968.size); - String _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list976.size); + String _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem969 = iprot.readString(); - struct.processorCapabilities.add(_elem969); + _elem977 = iprot.readString(); + struct.processorCapabilities.add(_elem977); } iprot.readListEnd(); } @@ -949,9 +949,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesExtReques oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter971 : struct.processorCapabilities) + for (String _iter979 : struct.processorCapabilities) { - oprot.writeString(_iter971); + oprot.writeString(_iter979); } oprot.writeListEnd(); } @@ -1003,9 +1003,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesExtRequest if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter972 : struct.processorCapabilities) + for (String _iter980 : struct.processorCapabilities) { - oprot.writeString(_iter972); + oprot.writeString(_iter980); } } } @@ -1032,13 +1032,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesExtRequest } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list973.size); - String _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list981.size); + String _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem974 = iprot.readString(); - struct.processorCapabilities.add(_elem974); + _elem982 = iprot.readString(); + struct.processorCapabilities.add(_elem982); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index f475c02c2c..95ccde9a27 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -785,13 +785,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 _list944 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list944.size); - String _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list952.size); + String _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = iprot.readString(); - struct.tblNames.add(_elem945); + _elem953 = iprot.readString(); + struct.tblNames.add(_elem953); } iprot.readListEnd(); } @@ -820,13 +820,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 5: // PROCESSOR_CAPABILITIES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list947 = iprot.readListBegin(); - struct.processorCapabilities = new ArrayList(_list947.size); - String _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list955 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list955.size); + String _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem948 = iprot.readString(); - struct.processorCapabilities.add(_elem948); + _elem956 = iprot.readString(); + struct.processorCapabilities.add(_elem956); } iprot.readListEnd(); } @@ -866,9 +866,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 _iter950 : struct.tblNames) + for (String _iter958 : struct.tblNames) { - oprot.writeString(_iter950); + oprot.writeString(_iter958); } oprot.writeListEnd(); } @@ -894,9 +894,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); - for (String _iter951 : struct.processorCapabilities) + for (String _iter959 : struct.processorCapabilities) { - oprot.writeString(_iter951); + oprot.writeString(_iter959); } oprot.writeListEnd(); } @@ -948,9 +948,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter952 : struct.tblNames) + for (String _iter960 : struct.tblNames) { - oprot.writeString(_iter952); + oprot.writeString(_iter960); } } } @@ -963,9 +963,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetProcessorCapabilities()) { { oprot.writeI32(struct.processorCapabilities.size()); - for (String _iter953 : struct.processorCapabilities) + for (String _iter961 : struct.processorCapabilities) { - oprot.writeString(_iter953); + oprot.writeString(_iter961); } } } @@ -982,13 +982,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list954 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list954.size); - String _elem955; - for (int _i956 = 0; _i956 < _list954.size; ++_i956) + org.apache.thrift.protocol.TList _list962 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list962.size); + String _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { - _elem955 = iprot.readString(); - struct.tblNames.add(_elem955); + _elem963 = iprot.readString(); + struct.tblNames.add(_elem963); } } struct.setTblNamesIsSet(true); @@ -1004,13 +1004,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.processorCapabilities = new ArrayList(_list957.size); - String _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list965.size); + String _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = iprot.readString(); - struct.processorCapabilities.add(_elem958); + _elem966 = iprot.readString(); + struct.processorCapabilities.add(_elem966); } } struct.setProcessorCapabilitiesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index 935d902aef..d7b11e225e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/metastore-common/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 _list960 = iprot.readListBegin(); - struct.tables = new ArrayList(_list960.size); - Table _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list968.size); + Table _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = new Table(); - _elem961.read(iprot); - struct.tables.add(_elem961); + _elem969 = new Table(); + _elem969.read(iprot); + struct.tables.add(_elem969); } 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 _iter963 : struct.tables) + for (Table _iter971 : struct.tables) { - _iter963.write(oprot); + _iter971.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 _iter964 : struct.tables) + for (Table _iter972 : struct.tables) { - _iter964.write(oprot); + _iter972.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 _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list965.size); - Table _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list973.size); + Table _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem966 = new Table(); - _elem966.read(iprot); - struct.tables.add(_elem966); + _elem974 = new Table(); + _elem974.read(iprot); + struct.tables.add(_elem974); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java index e9e9a9028c..6a00b5741a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java @@ -513,13 +513,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsReq case 1: // FULL_TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list674.size); - String _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list682.size); + String _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem675 = iprot.readString(); - struct.fullTableNames.add(_elem675); + _elem683 = iprot.readString(); + struct.fullTableNames.add(_elem683); } iprot.readListEnd(); } @@ -561,9 +561,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(FULL_TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fullTableNames.size())); - for (String _iter677 : struct.fullTableNames) + for (String _iter685 : struct.fullTableNames) { - oprot.writeString(_iter677); + oprot.writeString(_iter685); } oprot.writeListEnd(); } @@ -600,9 +600,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fullTableNames.size()); - for (String _iter678 : struct.fullTableNames) + for (String _iter686 : struct.fullTableNames) { - oprot.writeString(_iter678); + oprot.writeString(_iter686); } } BitSet optionals = new BitSet(); @@ -625,13 +625,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list679.size); - String _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem680 = iprot.readString(); - struct.fullTableNames.add(_elem680); + _elem688 = iprot.readString(); + struct.fullTableNames.add(_elem688); } } struct.setFullTableNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java index 4e4a36fa57..7c6120aa13 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsRes case 1: // TBL_VALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list690.size); - TableValidWriteIds _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list698.size); + TableValidWriteIds _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem691 = new TableValidWriteIds(); - _elem691.read(iprot); - struct.tblValidWriteIds.add(_elem691); + _elem699 = new TableValidWriteIds(); + _elem699.read(iprot); + struct.tblValidWriteIds.add(_elem699); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(TBL_VALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tblValidWriteIds.size())); - for (TableValidWriteIds _iter693 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter701 : struct.tblValidWriteIds) { - _iter693.write(oprot); + _iter701.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tblValidWriteIds.size()); - for (TableValidWriteIds _iter694 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter702 : struct.tblValidWriteIds) { - _iter694.write(oprot); + _iter702.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list695.size); - TableValidWriteIds _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list703.size); + TableValidWriteIds _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem696 = new TableValidWriteIds(); - _elem696.read(iprot); - struct.tblValidWriteIds.add(_elem696); + _elem704 = new TableValidWriteIds(); + _elem704.read(iprot); + struct.tblValidWriteIds.add(_elem704); } } struct.setTblValidWriteIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index c00facefd9..84498992a0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/metastore-common/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 _set738 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set738.size); - long _elem739; - for (int _i740 = 0; _i740 < _set738.size; ++_i740) + org.apache.thrift.protocol.TSet _set746 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set746.size); + long _elem747; + for (int _i748 = 0; _i748 < _set746.size; ++_i748) { - _elem739 = iprot.readI64(); - struct.aborted.add(_elem739); + _elem747 = iprot.readI64(); + struct.aborted.add(_elem747); } 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 _set741 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set741.size); - long _elem742; - for (int _i743 = 0; _i743 < _set741.size; ++_i743) + org.apache.thrift.protocol.TSet _set749 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set749.size); + long _elem750; + for (int _i751 = 0; _i751 < _set749.size; ++_i751) { - _elem742 = iprot.readI64(); - struct.nosuch.add(_elem742); + _elem750 = iprot.readI64(); + struct.nosuch.add(_elem750); } 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 _iter744 : struct.aborted) + for (long _iter752 : struct.aborted) { - oprot.writeI64(_iter744); + oprot.writeI64(_iter752); } 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 _iter745 : struct.nosuch) + for (long _iter753 : struct.nosuch) { - oprot.writeI64(_iter745); + oprot.writeI64(_iter753); } 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 _iter746 : struct.aborted) + for (long _iter754 : struct.aborted) { - oprot.writeI64(_iter746); + oprot.writeI64(_iter754); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter747 : struct.nosuch) + for (long _iter755 : struct.nosuch) { - oprot.writeI64(_iter747); + oprot.writeI64(_iter755); } } } @@ -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 _set748 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set748.size); - long _elem749; - for (int _i750 = 0; _i750 < _set748.size; ++_i750) + org.apache.thrift.protocol.TSet _set756 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set756.size); + long _elem757; + for (int _i758 = 0; _i758 < _set756.size; ++_i758) { - _elem749 = iprot.readI64(); - struct.aborted.add(_elem749); + _elem757 = iprot.readI64(); + struct.aborted.add(_elem757); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set751 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set751.size); - long _elem752; - for (int _i753 = 0; _i753 < _set751.size; ++_i753) + org.apache.thrift.protocol.TSet _set759 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set759.size); + long _elem760; + for (int _i761 = 0; _i761 < _set759.size; ++_i761) { - _elem752 = iprot.readI64(); - struct.nosuch.add(_elem752); + _elem760 = iprot.readI64(); + struct.nosuch.add(_elem760); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index e6a664310f..744ab15e33 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -734,13 +734,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 _list796 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list796.size); - String _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list804.size); + String _elem805; + for (int _i806 = 0; _i806 < _list804.size; ++_i806) { - _elem797 = iprot.readString(); - struct.filesAdded.add(_elem797); + _elem805 = iprot.readString(); + struct.filesAdded.add(_elem805); } iprot.readListEnd(); } @@ -752,13 +752,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 _list799 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list799.size); - String _elem800; - for (int _i801 = 0; _i801 < _list799.size; ++_i801) + org.apache.thrift.protocol.TList _list807 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list807.size); + String _elem808; + for (int _i809 = 0; _i809 < _list807.size; ++_i809) { - _elem800 = iprot.readString(); - struct.filesAddedChecksum.add(_elem800); + _elem808 = iprot.readString(); + struct.filesAddedChecksum.add(_elem808); } iprot.readListEnd(); } @@ -770,13 +770,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 4: // SUB_DIRECTORY_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list802 = iprot.readListBegin(); - struct.subDirectoryList = new ArrayList(_list802.size); - String _elem803; - for (int _i804 = 0; _i804 < _list802.size; ++_i804) + org.apache.thrift.protocol.TList _list810 = iprot.readListBegin(); + struct.subDirectoryList = new ArrayList(_list810.size); + String _elem811; + for (int _i812 = 0; _i812 < _list810.size; ++_i812) { - _elem803 = iprot.readString(); - struct.subDirectoryList.add(_elem803); + _elem811 = iprot.readString(); + struct.subDirectoryList.add(_elem811); } iprot.readListEnd(); } @@ -788,13 +788,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 5: // PARTITION_VAL if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list805 = iprot.readListBegin(); - struct.partitionVal = new ArrayList(_list805.size); - String _elem806; - for (int _i807 = 0; _i807 < _list805.size; ++_i807) + org.apache.thrift.protocol.TList _list813 = iprot.readListBegin(); + struct.partitionVal = new ArrayList(_list813.size); + String _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem806 = iprot.readString(); - struct.partitionVal.add(_elem806); + _elem814 = iprot.readString(); + struct.partitionVal.add(_elem814); } iprot.readListEnd(); } @@ -825,9 +825,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 _iter808 : struct.filesAdded) + for (String _iter816 : struct.filesAdded) { - oprot.writeString(_iter808); + oprot.writeString(_iter816); } oprot.writeListEnd(); } @@ -838,9 +838,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 _iter809 : struct.filesAddedChecksum) + for (String _iter817 : struct.filesAddedChecksum) { - oprot.writeString(_iter809); + oprot.writeString(_iter817); } oprot.writeListEnd(); } @@ -852,9 +852,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(SUB_DIRECTORY_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.subDirectoryList.size())); - for (String _iter810 : struct.subDirectoryList) + for (String _iter818 : struct.subDirectoryList) { - oprot.writeString(_iter810); + oprot.writeString(_iter818); } oprot.writeListEnd(); } @@ -866,9 +866,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(PARTITION_VAL_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVal.size())); - for (String _iter811 : struct.partitionVal) + for (String _iter819 : struct.partitionVal) { - oprot.writeString(_iter811); + oprot.writeString(_iter819); } oprot.writeListEnd(); } @@ -894,9 +894,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter812 : struct.filesAdded) + for (String _iter820 : struct.filesAdded) { - oprot.writeString(_iter812); + oprot.writeString(_iter820); } } BitSet optionals = new BitSet(); @@ -919,27 +919,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter813 : struct.filesAddedChecksum) + for (String _iter821 : struct.filesAddedChecksum) { - oprot.writeString(_iter813); + oprot.writeString(_iter821); } } } if (struct.isSetSubDirectoryList()) { { oprot.writeI32(struct.subDirectoryList.size()); - for (String _iter814 : struct.subDirectoryList) + for (String _iter822 : struct.subDirectoryList) { - oprot.writeString(_iter814); + oprot.writeString(_iter822); } } } if (struct.isSetPartitionVal()) { { oprot.writeI32(struct.partitionVal.size()); - for (String _iter815 : struct.partitionVal) + for (String _iter823 : struct.partitionVal) { - oprot.writeString(_iter815); + oprot.writeString(_iter823); } } } @@ -949,13 +949,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 _list816 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list816.size); - String _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list824.size); + String _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = iprot.readString(); - struct.filesAdded.add(_elem817); + _elem825 = iprot.readString(); + struct.filesAdded.add(_elem825); } } struct.setFilesAddedIsSet(true); @@ -966,39 +966,39 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list819.size); - String _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list827 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list827.size); + String _elem828; + for (int _i829 = 0; _i829 < _list827.size; ++_i829) { - _elem820 = iprot.readString(); - struct.filesAddedChecksum.add(_elem820); + _elem828 = iprot.readString(); + struct.filesAddedChecksum.add(_elem828); } } struct.setFilesAddedChecksumIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list822 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.subDirectoryList = new ArrayList(_list822.size); - String _elem823; - for (int _i824 = 0; _i824 < _list822.size; ++_i824) + org.apache.thrift.protocol.TList _list830 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.subDirectoryList = new ArrayList(_list830.size); + String _elem831; + for (int _i832 = 0; _i832 < _list830.size; ++_i832) { - _elem823 = iprot.readString(); - struct.subDirectoryList.add(_elem823); + _elem831 = iprot.readString(); + struct.subDirectoryList.add(_elem831); } } struct.setSubDirectoryListIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVal = new ArrayList(_list825.size); - String _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVal = new ArrayList(_list833.size); + String _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem826 = iprot.readString(); - struct.partitionVal.add(_elem826); + _elem834 = iprot.readString(); + struct.partitionVal.add(_elem834); } } struct.setPartitionValIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 7402fb30eb..ad6cc0482d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/metastore-common/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 _list722 = iprot.readListBegin(); - struct.component = new ArrayList(_list722.size); - LockComponent _elem723; - for (int _i724 = 0; _i724 < _list722.size; ++_i724) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.component = new ArrayList(_list730.size); + LockComponent _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem723 = new LockComponent(); - _elem723.read(iprot); - struct.component.add(_elem723); + _elem731 = new LockComponent(); + _elem731.read(iprot); + struct.component.add(_elem731); } 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 _iter725 : struct.component) + for (LockComponent _iter733 : struct.component) { - _iter725.write(oprot); + _iter733.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 _iter726 : struct.component) + for (LockComponent _iter734 : struct.component) { - _iter726.write(oprot); + _iter734.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 _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list727.size); - LockComponent _elem728; - for (int _i729 = 0; _i729 < _list727.size; ++_i729) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list735.size); + LockComponent _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem728 = new LockComponent(); - _elem728.read(iprot); - struct.component.add(_elem728); + _elem736 = new LockComponent(); + _elem736.read(iprot); + struct.component.add(_elem736); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index c2207eb654..127b84f9d6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 3: // EVENT_TYPE_SKIP_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); - struct.eventTypeSkipList = new ArrayList(_list780.size); - String _elem781; - for (int _i782 = 0; _i782 < _list780.size; ++_i782) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.eventTypeSkipList = new ArrayList(_list788.size); + String _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem781 = iprot.readString(); - struct.eventTypeSkipList.add(_elem781); + _elem789 = iprot.readString(); + struct.eventTypeSkipList.add(_elem789); } iprot.readListEnd(); } @@ -566,9 +566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENT_TYPE_SKIP_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.eventTypeSkipList.size())); - for (String _iter783 : struct.eventTypeSkipList) + for (String _iter791 : struct.eventTypeSkipList) { - oprot.writeString(_iter783); + oprot.writeString(_iter791); } oprot.writeListEnd(); } @@ -607,9 +607,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe if (struct.isSetEventTypeSkipList()) { { oprot.writeI32(struct.eventTypeSkipList.size()); - for (String _iter784 : struct.eventTypeSkipList) + for (String _iter792 : struct.eventTypeSkipList) { - oprot.writeString(_iter784); + oprot.writeString(_iter792); } } } @@ -627,13 +627,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventReq } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.eventTypeSkipList = new ArrayList(_list785.size); - String _elem786; - for (int _i787 = 0; _i787 < _list785.size; ++_i787) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.eventTypeSkipList = new ArrayList(_list793.size); + String _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem786 = iprot.readString(); - struct.eventTypeSkipList.add(_elem786); + _elem794 = iprot.readString(); + struct.eventTypeSkipList.add(_elem794); } } struct.setEventTypeSkipListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index b1595a7d32..87f6b1fad2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/metastore-common/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 _list788 = iprot.readListBegin(); - struct.events = new ArrayList(_list788.size); - NotificationEvent _elem789; - for (int _i790 = 0; _i790 < _list788.size; ++_i790) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.events = new ArrayList(_list796.size); + NotificationEvent _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem789 = new NotificationEvent(); - _elem789.read(iprot); - struct.events.add(_elem789); + _elem797 = new NotificationEvent(); + _elem797.read(iprot); + struct.events.add(_elem797); } 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 _iter791 : struct.events) + for (NotificationEvent _iter799 : struct.events) { - _iter791.write(oprot); + _iter799.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 _iter792 : struct.events) + for (NotificationEvent _iter800 : struct.events) { - _iter792.write(oprot); + _iter800.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 _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list793.size); - NotificationEvent _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list801.size); + NotificationEvent _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem794 = new NotificationEvent(); - _elem794.read(iprot); - struct.events.add(_elem794); + _elem802 = new NotificationEvent(); + _elem802.read(iprot); + struct.events.add(_elem802); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index e6bff8d533..b8df6b94a7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -904,13 +904,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnRequest stru case 6: // REPL_SRC_TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); - struct.replSrcTxnIds = new ArrayList(_list626.size); - long _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list634.size); + long _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = iprot.readI64(); - struct.replSrcTxnIds.add(_elem627); + _elem635 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem635); } iprot.readListEnd(); } @@ -972,9 +972,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnRequest str oprot.writeFieldBegin(REPL_SRC_TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.replSrcTxnIds.size())); - for (long _iter629 : struct.replSrcTxnIds) + for (long _iter637 : struct.replSrcTxnIds) { - oprot.writeI64(_iter629); + oprot.writeI64(_iter637); } oprot.writeListEnd(); } @@ -1031,9 +1031,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest stru if (struct.isSetReplSrcTxnIds()) { { oprot.writeI32(struct.replSrcTxnIds.size()); - for (long _iter630 : struct.replSrcTxnIds) + for (long _iter638 : struct.replSrcTxnIds) { - oprot.writeI64(_iter630); + oprot.writeI64(_iter638); } } } @@ -1062,13 +1062,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest struc } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.replSrcTxnIds = new ArrayList(_list631.size); - long _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list639.size); + long _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = iprot.readI64(); - struct.replSrcTxnIds.add(_elem632); + _elem640 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem640); } } struct.setReplSrcTxnIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index 77c9fc1b15..2843c0234f 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-metastore/metastore-common/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 _list634 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list634.size); - long _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list642.size); + long _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = iprot.readI64(); - struct.txn_ids.add(_elem635); + _elem643 = iprot.readI64(); + struct.txn_ids.add(_elem643); } 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 _iter637 : struct.txn_ids) + for (long _iter645 : struct.txn_ids) { - oprot.writeI64(_iter637); + oprot.writeI64(_iter645); } 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 _iter638 : struct.txn_ids) + for (long _iter646 : struct.txn_ids) { - oprot.writeI64(_iter638); + oprot.writeI64(_iter646); } } } @@ -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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list639.size); - long _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list647.size); + long _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem640 = iprot.readI64(); - struct.txn_ids.add(_elem640); + _elem648 = iprot.readI64(); + struct.txn_ids.add(_elem648); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java index 92fb2218f2..783f28c111 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java @@ -1042,14 +1042,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 3: // PARTITION_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); - struct.partitionKeys = new ArrayList(_list546.size); - FieldSchema _elem547; - for (int _i548 = 0; _i548 < _list546.size; ++_i548) + org.apache.thrift.protocol.TList _list554 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list554.size); + FieldSchema _elem555; + for (int _i556 = 0; _i556 < _list554.size; ++_i556) { - _elem547 = new FieldSchema(); - _elem547.read(iprot); - struct.partitionKeys.add(_elem547); + _elem555 = new FieldSchema(); + _elem555.read(iprot); + struct.partitionKeys.add(_elem555); } iprot.readListEnd(); } @@ -1077,14 +1077,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 6: // PARTITION_ORDER if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list549 = iprot.readListBegin(); - struct.partitionOrder = new ArrayList(_list549.size); - FieldSchema _elem550; - for (int _i551 = 0; _i551 < _list549.size; ++_i551) + org.apache.thrift.protocol.TList _list557 = iprot.readListBegin(); + struct.partitionOrder = new ArrayList(_list557.size); + FieldSchema _elem558; + for (int _i559 = 0; _i559 < _list557.size; ++_i559) { - _elem550 = new FieldSchema(); - _elem550.read(iprot); - struct.partitionOrder.add(_elem550); + _elem558 = new FieldSchema(); + _elem558.read(iprot); + struct.partitionOrder.add(_elem558); } iprot.readListEnd(); } @@ -1144,9 +1144,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq 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 _iter552 : struct.partitionKeys) + for (FieldSchema _iter560 : struct.partitionKeys) { - _iter552.write(oprot); + _iter560.write(oprot); } oprot.writeListEnd(); } @@ -1169,9 +1169,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq 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 _iter553 : struct.partitionOrder) + for (FieldSchema _iter561 : struct.partitionOrder) { - _iter553.write(oprot); + _iter561.write(oprot); } oprot.writeListEnd(); } @@ -1216,9 +1216,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter554 : struct.partitionKeys) + for (FieldSchema _iter562 : struct.partitionKeys) { - _iter554.write(oprot); + _iter562.write(oprot); } } BitSet optionals = new BitSet(); @@ -1250,9 +1250,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ if (struct.isSetPartitionOrder()) { { oprot.writeI32(struct.partitionOrder.size()); - for (FieldSchema _iter555 : struct.partitionOrder) + for (FieldSchema _iter563 : struct.partitionOrder) { - _iter555.write(oprot); + _iter563.write(oprot); } } } @@ -1275,14 +1275,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list556 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list556.size); - FieldSchema _elem557; - for (int _i558 = 0; _i558 < _list556.size; ++_i558) + org.apache.thrift.protocol.TList _list564 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list564.size); + FieldSchema _elem565; + for (int _i566 = 0; _i566 < _list564.size; ++_i566) { - _elem557 = new FieldSchema(); - _elem557.read(iprot); - struct.partitionKeys.add(_elem557); + _elem565 = new FieldSchema(); + _elem565.read(iprot); + struct.partitionKeys.add(_elem565); } } struct.setPartitionKeysIsSet(true); @@ -1297,14 +1297,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionOrder = new ArrayList(_list559.size); - FieldSchema _elem560; - for (int _i561 = 0; _i561 < _list559.size; ++_i561) + org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionOrder = new ArrayList(_list567.size); + FieldSchema _elem568; + for (int _i569 = 0; _i569 < _list567.size; ++_i569) { - _elem560 = new FieldSchema(); - _elem560.read(iprot); - struct.partitionOrder.add(_elem560); + _elem568 = new FieldSchema(); + _elem568.read(iprot); + struct.partitionOrder.add(_elem568); } } struct.setPartitionOrderIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java index bd56d872ef..90cae6e386 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesResp case 1: // PARTITION_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); - struct.partitionValues = new ArrayList(_list570.size); - PartitionValuesRow _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); + struct.partitionValues = new ArrayList(_list578.size); + PartitionValuesRow _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = new PartitionValuesRow(); - _elem571.read(iprot); - struct.partitionValues.add(_elem571); + _elem579 = new PartitionValuesRow(); + _elem579.read(iprot); + struct.partitionValues.add(_elem579); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRes 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 _iter573 : struct.partitionValues) + for (PartitionValuesRow _iter581 : struct.partitionValues) { - _iter573.write(oprot); + _iter581.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitionValues.size()); - for (PartitionValuesRow _iter574 : struct.partitionValues) + for (PartitionValuesRow _iter582 : struct.partitionValues) { - _iter574.write(oprot); + _iter582.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp 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 _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionValues = new ArrayList(_list575.size); - PartitionValuesRow _elem576; - for (int _i577 = 0; _i577 < _list575.size; ++_i577) + org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionValues = new ArrayList(_list583.size); + PartitionValuesRow _elem584; + for (int _i585 = 0; _i585 < _list583.size; ++_i585) { - _elem576 = new PartitionValuesRow(); - _elem576.read(iprot); - struct.partitionValues.add(_elem576); + _elem584 = new PartitionValuesRow(); + _elem584.read(iprot); + struct.partitionValues.add(_elem584); } } struct.setPartitionValuesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java index 2f571974cd..00919344c3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRow case 1: // ROW if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); - struct.row = new ArrayList(_list562.size); - String _elem563; - for (int _i564 = 0; _i564 < _list562.size; ++_i564) + org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); + struct.row = new ArrayList(_list570.size); + String _elem571; + for (int _i572 = 0; _i572 < _list570.size; ++_i572) { - _elem563 = iprot.readString(); - struct.row.add(_elem563); + _elem571 = iprot.readString(); + struct.row.add(_elem571); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRow oprot.writeFieldBegin(ROW_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.row.size())); - for (String _iter565 : struct.row) + for (String _iter573 : struct.row) { - oprot.writeString(_iter565); + oprot.writeString(_iter573); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.row.size()); - for (String _iter566 : struct.row) + for (String _iter574 : struct.row) { - oprot.writeString(_iter566); + oprot.writeString(_iter574); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow 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 _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.row = new ArrayList(_list567.size); - String _elem568; - for (int _i569 = 0; _i569 < _list567.size; ++_i569) + org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.row = new ArrayList(_list575.size); + String _elem576; + for (int _i577 = 0; _i577 < _list575.size; ++_i577) { - _elem568 = iprot.readString(); - struct.row.add(_elem568); + _elem576 = iprot.readString(); + struct.row.add(_elem576); } } struct.setRowIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsSpecByExprResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsSpecByExprResult.java new file mode 100644 index 0000000000..f7104a0874 --- /dev/null +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsSpecByExprResult.java @@ -0,0 +1,542 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class PartitionsSpecByExprResult 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("PartitionsSpecByExprResult"); + + private static final org.apache.thrift.protocol.TField PARTITIONS_SPEC_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionsSpec", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.thrift.protocol.TField HAS_UNKNOWN_PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("hasUnknownPartitions", org.apache.thrift.protocol.TType.BOOL, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new PartitionsSpecByExprResultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new PartitionsSpecByExprResultTupleSchemeFactory()); + } + + private List partitionsSpec; // required + private boolean hasUnknownPartitions; // 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 { + PARTITIONS_SPEC((short)1, "partitionsSpec"), + HAS_UNKNOWN_PARTITIONS((short)2, "hasUnknownPartitions"); + + 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: // PARTITIONS_SPEC + return PARTITIONS_SPEC; + case 2: // HAS_UNKNOWN_PARTITIONS + return HAS_UNKNOWN_PARTITIONS; + 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 __HASUNKNOWNPARTITIONS_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.PARTITIONS_SPEC, new org.apache.thrift.meta_data.FieldMetaData("partitionsSpec", 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, PartitionSpec.class)))); + tmpMap.put(_Fields.HAS_UNKNOWN_PARTITIONS, new org.apache.thrift.meta_data.FieldMetaData("hasUnknownPartitions", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionsSpecByExprResult.class, metaDataMap); + } + + public PartitionsSpecByExprResult() { + } + + public PartitionsSpecByExprResult( + List partitionsSpec, + boolean hasUnknownPartitions) + { + this(); + this.partitionsSpec = partitionsSpec; + this.hasUnknownPartitions = hasUnknownPartitions; + setHasUnknownPartitionsIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public PartitionsSpecByExprResult(PartitionsSpecByExprResult other) { + __isset_bitfield = other.__isset_bitfield; + if (other.isSetPartitionsSpec()) { + List __this__partitionsSpec = new ArrayList(other.partitionsSpec.size()); + for (PartitionSpec other_element : other.partitionsSpec) { + __this__partitionsSpec.add(new PartitionSpec(other_element)); + } + this.partitionsSpec = __this__partitionsSpec; + } + this.hasUnknownPartitions = other.hasUnknownPartitions; + } + + public PartitionsSpecByExprResult deepCopy() { + return new PartitionsSpecByExprResult(this); + } + + @Override + public void clear() { + this.partitionsSpec = null; + setHasUnknownPartitionsIsSet(false); + this.hasUnknownPartitions = false; + } + + public int getPartitionsSpecSize() { + return (this.partitionsSpec == null) ? 0 : this.partitionsSpec.size(); + } + + public java.util.Iterator getPartitionsSpecIterator() { + return (this.partitionsSpec == null) ? null : this.partitionsSpec.iterator(); + } + + public void addToPartitionsSpec(PartitionSpec elem) { + if (this.partitionsSpec == null) { + this.partitionsSpec = new ArrayList(); + } + this.partitionsSpec.add(elem); + } + + public List getPartitionsSpec() { + return this.partitionsSpec; + } + + public void setPartitionsSpec(List partitionsSpec) { + this.partitionsSpec = partitionsSpec; + } + + public void unsetPartitionsSpec() { + this.partitionsSpec = null; + } + + /** Returns true if field partitionsSpec is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitionsSpec() { + return this.partitionsSpec != null; + } + + public void setPartitionsSpecIsSet(boolean value) { + if (!value) { + this.partitionsSpec = null; + } + } + + public boolean isHasUnknownPartitions() { + return this.hasUnknownPartitions; + } + + public void setHasUnknownPartitions(boolean hasUnknownPartitions) { + this.hasUnknownPartitions = hasUnknownPartitions; + setHasUnknownPartitionsIsSet(true); + } + + public void unsetHasUnknownPartitions() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __HASUNKNOWNPARTITIONS_ISSET_ID); + } + + /** Returns true if field hasUnknownPartitions is set (has been assigned a value) and false otherwise */ + public boolean isSetHasUnknownPartitions() { + return EncodingUtils.testBit(__isset_bitfield, __HASUNKNOWNPARTITIONS_ISSET_ID); + } + + public void setHasUnknownPartitionsIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HASUNKNOWNPARTITIONS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case PARTITIONS_SPEC: + if (value == null) { + unsetPartitionsSpec(); + } else { + setPartitionsSpec((List)value); + } + break; + + case HAS_UNKNOWN_PARTITIONS: + if (value == null) { + unsetHasUnknownPartitions(); + } else { + setHasUnknownPartitions((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case PARTITIONS_SPEC: + return getPartitionsSpec(); + + case HAS_UNKNOWN_PARTITIONS: + return isHasUnknownPartitions(); + + } + 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 PARTITIONS_SPEC: + return isSetPartitionsSpec(); + case HAS_UNKNOWN_PARTITIONS: + return isSetHasUnknownPartitions(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof PartitionsSpecByExprResult) + return this.equals((PartitionsSpecByExprResult)that); + return false; + } + + public boolean equals(PartitionsSpecByExprResult that) { + if (that == null) + return false; + + boolean this_present_partitionsSpec = true && this.isSetPartitionsSpec(); + boolean that_present_partitionsSpec = true && that.isSetPartitionsSpec(); + if (this_present_partitionsSpec || that_present_partitionsSpec) { + if (!(this_present_partitionsSpec && that_present_partitionsSpec)) + return false; + if (!this.partitionsSpec.equals(that.partitionsSpec)) + return false; + } + + boolean this_present_hasUnknownPartitions = true; + boolean that_present_hasUnknownPartitions = true; + if (this_present_hasUnknownPartitions || that_present_hasUnknownPartitions) { + if (!(this_present_hasUnknownPartitions && that_present_hasUnknownPartitions)) + return false; + if (this.hasUnknownPartitions != that.hasUnknownPartitions) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_partitionsSpec = true && (isSetPartitionsSpec()); + list.add(present_partitionsSpec); + if (present_partitionsSpec) + list.add(partitionsSpec); + + boolean present_hasUnknownPartitions = true; + list.add(present_hasUnknownPartitions); + if (present_hasUnknownPartitions) + list.add(hasUnknownPartitions); + + return list.hashCode(); + } + + @Override + public int compareTo(PartitionsSpecByExprResult other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetPartitionsSpec()).compareTo(other.isSetPartitionsSpec()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitionsSpec()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionsSpec, other.partitionsSpec); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetHasUnknownPartitions()).compareTo(other.isSetHasUnknownPartitions()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHasUnknownPartitions()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasUnknownPartitions, other.hasUnknownPartitions); + 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("PartitionsSpecByExprResult("); + boolean first = true; + + sb.append("partitionsSpec:"); + if (this.partitionsSpec == null) { + sb.append("null"); + } else { + sb.append(this.partitionsSpec); + } + first = false; + if (!first) sb.append(", "); + sb.append("hasUnknownPartitions:"); + sb.append(this.hasUnknownPartitions); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetPartitionsSpec()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'partitionsSpec' is unset! Struct:" + toString()); + } + + if (!isSetHasUnknownPartitions()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'hasUnknownPartitions' 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 PartitionsSpecByExprResultStandardSchemeFactory implements SchemeFactory { + public PartitionsSpecByExprResultStandardScheme getScheme() { + return new PartitionsSpecByExprResultStandardScheme(); + } + } + + private static class PartitionsSpecByExprResultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsSpecByExprResult 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: // PARTITIONS_SPEC + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list456 = iprot.readListBegin(); + struct.partitionsSpec = new ArrayList(_list456.size); + PartitionSpec _elem457; + for (int _i458 = 0; _i458 < _list456.size; ++_i458) + { + _elem457 = new PartitionSpec(); + _elem457.read(iprot); + struct.partitionsSpec.add(_elem457); + } + iprot.readListEnd(); + } + struct.setPartitionsSpecIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // HAS_UNKNOWN_PARTITIONS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.hasUnknownPartitions = iprot.readBool(); + struct.setHasUnknownPartitionsIsSet(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, PartitionsSpecByExprResult struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.partitionsSpec != null) { + oprot.writeFieldBegin(PARTITIONS_SPEC_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionsSpec.size())); + for (PartitionSpec _iter459 : struct.partitionsSpec) + { + _iter459.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(HAS_UNKNOWN_PARTITIONS_FIELD_DESC); + oprot.writeBool(struct.hasUnknownPartitions); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class PartitionsSpecByExprResultTupleSchemeFactory implements SchemeFactory { + public PartitionsSpecByExprResultTupleScheme getScheme() { + return new PartitionsSpecByExprResultTupleScheme(); + } + } + + private static class PartitionsSpecByExprResultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsSpecByExprResult struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.partitionsSpec.size()); + for (PartitionSpec _iter460 : struct.partitionsSpec) + { + _iter460.write(oprot); + } + } + oprot.writeBool(struct.hasUnknownPartitions); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsSpecByExprResult struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list461 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionsSpec = new ArrayList(_list461.size); + PartitionSpec _elem462; + for (int _i463 = 0; _i463 < _list461.size; ++_i463) + { + _elem462 = new PartitionSpec(); + _elem462.read(iprot); + struct.partitionsSpec.add(_elem462); + } + } + struct.setPartitionsSpecIsSet(true); + struct.hasUnknownPartitions = iprot.readBool(); + struct.setHasUnknownPartitionsIsSet(true); + } + } + +} + diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 9e438b2bc5..871c7b1150 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -887,13 +887,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list490 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list490.size); - String _elem491; - for (int _i492 = 0; _i492 < _list490.size; ++_i492) + org.apache.thrift.protocol.TList _list498 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list498.size); + String _elem499; + for (int _i500 = 0; _i500 < _list498.size; ++_i500) { - _elem491 = iprot.readString(); - struct.colNames.add(_elem491); + _elem499 = iprot.readString(); + struct.colNames.add(_elem499); } iprot.readListEnd(); } @@ -905,13 +905,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 4: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list493 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list493.size); - String _elem494; - for (int _i495 = 0; _i495 < _list493.size; ++_i495) + org.apache.thrift.protocol.TList _list501 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list501.size); + String _elem502; + for (int _i503 = 0; _i503 < _list501.size; ++_i503) { - _elem494 = iprot.readString(); - struct.partNames.add(_elem494); + _elem502 = iprot.readString(); + struct.partNames.add(_elem502); } iprot.readListEnd(); } @@ -971,9 +971,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter496 : struct.colNames) + for (String _iter504 : struct.colNames) { - oprot.writeString(_iter496); + oprot.writeString(_iter504); } oprot.writeListEnd(); } @@ -983,9 +983,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq 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 _iter497 : struct.partNames) + for (String _iter505 : struct.partNames) { - oprot.writeString(_iter497); + oprot.writeString(_iter505); } oprot.writeListEnd(); } @@ -1031,16 +1031,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter498 : struct.colNames) + for (String _iter506 : struct.colNames) { - oprot.writeString(_iter498); + oprot.writeString(_iter506); } } { oprot.writeI32(struct.partNames.size()); - for (String _iter499 : struct.partNames) + for (String _iter507 : struct.partNames) { - oprot.writeString(_iter499); + oprot.writeString(_iter507); } } oprot.writeString(struct.engine); @@ -1068,24 +1068,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list500 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list500.size); - String _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list508 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list508.size); + String _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - _elem501 = iprot.readString(); - struct.colNames.add(_elem501); + _elem509 = iprot.readString(); + struct.colNames.add(_elem509); } } struct.setColNamesIsSet(true); { - org.apache.thrift.protocol.TList _list503 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list503.size); - String _elem504; - for (int _i505 = 0; _i505 < _list503.size; ++_i505) + org.apache.thrift.protocol.TList _list511 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list511.size); + String _elem512; + for (int _i513 = 0; _i513 < _list511.size; ++_i513) { - _elem504 = iprot.readString(); - struct.partNames.add(_elem504); + _elem512 = iprot.readString(); + struct.partNames.add(_elem512); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 056018796a..4b361a7778 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -444,26 +444,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu case 1: // PART_STATS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map464 = iprot.readMapBegin(); - struct.partStats = new HashMap>(2*_map464.size); - String _key465; - List _val466; - for (int _i467 = 0; _i467 < _map464.size; ++_i467) + org.apache.thrift.protocol.TMap _map472 = iprot.readMapBegin(); + struct.partStats = new HashMap>(2*_map472.size); + String _key473; + List _val474; + for (int _i475 = 0; _i475 < _map472.size; ++_i475) { - _key465 = iprot.readString(); + _key473 = iprot.readString(); { - org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); - _val466 = new ArrayList(_list468.size); - ColumnStatisticsObj _elem469; - for (int _i470 = 0; _i470 < _list468.size; ++_i470) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + _val474 = new ArrayList(_list476.size); + ColumnStatisticsObj _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem469 = new ColumnStatisticsObj(); - _elem469.read(iprot); - _val466.add(_elem469); + _elem477 = new ColumnStatisticsObj(); + _elem477.read(iprot); + _val474.add(_elem477); } iprot.readListEnd(); } - struct.partStats.put(_key465, _val466); + struct.partStats.put(_key473, _val474); } iprot.readMapEnd(); } @@ -497,14 +497,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsRes oprot.writeFieldBegin(PART_STATS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.partStats.size())); - for (Map.Entry> _iter471 : struct.partStats.entrySet()) + for (Map.Entry> _iter479 : struct.partStats.entrySet()) { - oprot.writeString(_iter471.getKey()); + oprot.writeString(_iter479.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter471.getValue().size())); - for (ColumnStatisticsObj _iter472 : _iter471.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter479.getValue().size())); + for (ColumnStatisticsObj _iter480 : _iter479.getValue()) { - _iter472.write(oprot); + _iter480.write(oprot); } oprot.writeListEnd(); } @@ -537,14 +537,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partStats.size()); - for (Map.Entry> _iter473 : struct.partStats.entrySet()) + for (Map.Entry> _iter481 : struct.partStats.entrySet()) { - oprot.writeString(_iter473.getKey()); + oprot.writeString(_iter481.getKey()); { - oprot.writeI32(_iter473.getValue().size()); - for (ColumnStatisticsObj _iter474 : _iter473.getValue()) + oprot.writeI32(_iter481.getValue().size()); + for (ColumnStatisticsObj _iter482 : _iter481.getValue()) { - _iter474.write(oprot); + _iter482.write(oprot); } } } @@ -563,25 +563,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map475 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.partStats = new HashMap>(2*_map475.size); - String _key476; - List _val477; - for (int _i478 = 0; _i478 < _map475.size; ++_i478) + org.apache.thrift.protocol.TMap _map483 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.partStats = new HashMap>(2*_map483.size); + String _key484; + List _val485; + for (int _i486 = 0; _i486 < _map483.size; ++_i486) { - _key476 = iprot.readString(); + _key484 = iprot.readString(); { - org.apache.thrift.protocol.TList _list479 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val477 = new ArrayList(_list479.size); - ColumnStatisticsObj _elem480; - for (int _i481 = 0; _i481 < _list479.size; ++_i481) + org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val485 = new ArrayList(_list487.size); + ColumnStatisticsObj _elem488; + for (int _i489 = 0; _i489 < _list487.size; ++_i489) { - _elem480 = new ColumnStatisticsObj(); - _elem480.read(iprot); - _val477.add(_elem480); + _elem488 = new ColumnStatisticsObj(); + _elem488.read(iprot); + _val485.add(_elem488); } } - struct.partStats.put(_key476, _val477); + struct.partStats.put(_key484, _val485); } } struct.setPartStatsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 4727876509..b658d6eac7 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/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 _list896 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list896.size); - long _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list904.size); + long _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = iprot.readI64(); - struct.fileIds.add(_elem897); + _elem905 = iprot.readI64(); + struct.fileIds.add(_elem905); } 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 _list899 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list899.size); - ByteBuffer _elem900; - for (int _i901 = 0; _i901 < _list899.size; ++_i901) + org.apache.thrift.protocol.TList _list907 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list907.size); + ByteBuffer _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) { - _elem900 = iprot.readBinary(); - struct.metadata.add(_elem900); + _elem908 = iprot.readBinary(); + struct.metadata.add(_elem908); } 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 _iter902 : struct.fileIds) + for (long _iter910 : struct.fileIds) { - oprot.writeI64(_iter902); + oprot.writeI64(_iter910); } 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 _iter903 : struct.metadata) + for (ByteBuffer _iter911 : struct.metadata) { - oprot.writeBinary(_iter903); + oprot.writeBinary(_iter911); } 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 _iter904 : struct.fileIds) + for (long _iter912 : struct.fileIds) { - oprot.writeI64(_iter904); + oprot.writeI64(_iter912); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter905 : struct.metadata) + for (ByteBuffer _iter913 : struct.metadata) { - oprot.writeBinary(_iter905); + oprot.writeBinary(_iter913); } } 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 _list906 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list906.size); - long _elem907; - for (int _i908 = 0; _i908 < _list906.size; ++_i908) + org.apache.thrift.protocol.TList _list914 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list914.size); + long _elem915; + for (int _i916 = 0; _i916 < _list914.size; ++_i916) { - _elem907 = iprot.readI64(); - struct.fileIds.add(_elem907); + _elem915 = iprot.readI64(); + struct.fileIds.add(_elem915); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list909.size); - ByteBuffer _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list917.size); + ByteBuffer _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = iprot.readBinary(); - struct.metadata.add(_elem910); + _elem918 = iprot.readBinary(); + struct.metadata.add(_elem918); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java index 8a65bb144f..e54191ae1c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java @@ -796,13 +796,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RenamePartitionRequ case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1144 = iprot.readListBegin(); - struct.partVals = new ArrayList(_list1144.size); - String _elem1145; - for (int _i1146 = 0; _i1146 < _list1144.size; ++_i1146) + org.apache.thrift.protocol.TList _list1152 = iprot.readListBegin(); + struct.partVals = new ArrayList(_list1152.size); + String _elem1153; + for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) { - _elem1145 = iprot.readString(); - struct.partVals.add(_elem1145); + _elem1153 = iprot.readString(); + struct.partVals.add(_elem1153); } iprot.readListEnd(); } @@ -862,9 +862,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, RenamePartitionReq oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (String _iter1147 : struct.partVals) + for (String _iter1155 : struct.partVals) { - oprot.writeString(_iter1147); + oprot.writeString(_iter1155); } oprot.writeListEnd(); } @@ -903,9 +903,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, RenamePartitionRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partVals.size()); - for (String _iter1148 : struct.partVals) + for (String _iter1156 : struct.partVals) { - oprot.writeString(_iter1148); + oprot.writeString(_iter1156); } } struct.newPart.write(oprot); @@ -933,13 +933,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RenamePartitionReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list1149 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partVals = new ArrayList(_list1149.size); - String _elem1150; - for (int _i1151 = 0; _i1151 < _list1149.size; ++_i1151) + org.apache.thrift.protocol.TList _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partVals = new ArrayList(_list1157.size); + String _elem1158; + for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) { - _elem1150 = iprot.readString(); - struct.partVals.add(_elem1150); + _elem1158 = iprot.readString(); + struct.partVals.add(_elem1158); } } struct.setPartValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplLastIdInfo.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplLastIdInfo.java index 4a00dbbfa8..53b4d627de 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplLastIdInfo.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplLastIdInfo.java @@ -712,13 +712,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ReplLastIdInfo stru case 5: // PARTITION_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.partitionList = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.partitionList = new ArrayList(_list658.size); + String _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem651 = iprot.readString(); - struct.partitionList.add(_elem651); + _elem659 = iprot.readString(); + struct.partitionList.add(_elem659); } iprot.readListEnd(); } @@ -767,9 +767,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ReplLastIdInfo str oprot.writeFieldBegin(PARTITION_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionList.size())); - for (String _iter653 : struct.partitionList) + for (String _iter661 : struct.partitionList) { - oprot.writeString(_iter653); + oprot.writeString(_iter661); } oprot.writeListEnd(); } @@ -815,9 +815,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplLastIdInfo stru if (struct.isSetPartitionList()) { { oprot.writeI32(struct.partitionList.size()); - for (String _iter654 : struct.partitionList) + for (String _iter662 : struct.partitionList) { - oprot.writeString(_iter654); + oprot.writeString(_iter662); } } } @@ -841,13 +841,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ReplLastIdInfo struc } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionList = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionList = new ArrayList(_list663.size); + String _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem656 = iprot.readString(); - struct.partitionList.add(_elem656); + _elem664 = iprot.readString(); + struct.partitionList.add(_elem664); } } struct.setPartitionListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java index e884ad3316..ea5aeaa47d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java @@ -813,13 +813,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ReplTblWriteIdState case 6: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list666.size); - String _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list674.size); + String _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem667 = iprot.readString(); - struct.partNames.add(_elem667); + _elem675 = iprot.readString(); + struct.partNames.add(_elem675); } iprot.readListEnd(); } @@ -871,9 +871,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ReplTblWriteIdStat 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 _iter669 : struct.partNames) + for (String _iter677 : struct.partNames) { - oprot.writeString(_iter669); + oprot.writeString(_iter677); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdState if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter670 : struct.partNames) + for (String _iter678 : struct.partNames) { - oprot.writeString(_iter670); + oprot.writeString(_iter678); } } } @@ -934,13 +934,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdStateR BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list671.size); - String _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list679.size); + String _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem672 = iprot.readString(); - struct.partNames.add(_elem672); + _elem680 = iprot.readString(); + struct.partNames.add(_elem680); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index e2c70a9ed1..82ee11d169 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -168,13 +168,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == NAMES_FIELD_DESC.type) { List names; { - org.apache.thrift.protocol.TList _list530 = iprot.readListBegin(); - names = new ArrayList(_list530.size); - String _elem531; - for (int _i532 = 0; _i532 < _list530.size; ++_i532) + org.apache.thrift.protocol.TList _list538 = iprot.readListBegin(); + names = new ArrayList(_list538.size); + String _elem539; + for (int _i540 = 0; _i540 < _list538.size; ++_i540) { - _elem531 = iprot.readString(); - names.add(_elem531); + _elem539 = iprot.readString(); + names.add(_elem539); } iprot.readListEnd(); } @@ -187,14 +187,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == EXPRS_FIELD_DESC.type) { List exprs; { - org.apache.thrift.protocol.TList _list533 = iprot.readListBegin(); - exprs = new ArrayList(_list533.size); - DropPartitionsExpr _elem534; - for (int _i535 = 0; _i535 < _list533.size; ++_i535) + org.apache.thrift.protocol.TList _list541 = iprot.readListBegin(); + exprs = new ArrayList(_list541.size); + DropPartitionsExpr _elem542; + for (int _i543 = 0; _i543 < _list541.size; ++_i543) { - _elem534 = new DropPartitionsExpr(); - _elem534.read(iprot); - exprs.add(_elem534); + _elem542 = new DropPartitionsExpr(); + _elem542.read(iprot); + exprs.add(_elem542); } iprot.readListEnd(); } @@ -219,9 +219,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter536 : names) + for (String _iter544 : names) { - oprot.writeString(_iter536); + oprot.writeString(_iter544); } oprot.writeListEnd(); } @@ -230,9 +230,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter537 : exprs) + for (DropPartitionsExpr _iter545 : exprs) { - _iter537.write(oprot); + _iter545.write(oprot); } oprot.writeListEnd(); } @@ -250,13 +250,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case NAMES: List names; { - org.apache.thrift.protocol.TList _list538 = iprot.readListBegin(); - names = new ArrayList(_list538.size); - String _elem539; - for (int _i540 = 0; _i540 < _list538.size; ++_i540) + org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); + names = new ArrayList(_list546.size); + String _elem547; + for (int _i548 = 0; _i548 < _list546.size; ++_i548) { - _elem539 = iprot.readString(); - names.add(_elem539); + _elem547 = iprot.readString(); + names.add(_elem547); } iprot.readListEnd(); } @@ -264,14 +264,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list541 = iprot.readListBegin(); - exprs = new ArrayList(_list541.size); - DropPartitionsExpr _elem542; - for (int _i543 = 0; _i543 < _list541.size; ++_i543) + org.apache.thrift.protocol.TList _list549 = iprot.readListBegin(); + exprs = new ArrayList(_list549.size); + DropPartitionsExpr _elem550; + for (int _i551 = 0; _i551 < _list549.size; ++_i551) { - _elem542 = new DropPartitionsExpr(); - _elem542.read(iprot); - exprs.add(_elem542); + _elem550 = new DropPartitionsExpr(); + _elem550.read(iprot); + exprs.add(_elem550); } iprot.readListEnd(); } @@ -291,9 +291,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter544 : names) + for (String _iter552 : names) { - oprot.writeString(_iter544); + oprot.writeString(_iter552); } oprot.writeListEnd(); } @@ -302,9 +302,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter545 : exprs) + for (DropPartitionsExpr _iter553 : exprs) { - _iter545.write(oprot); + _iter553.write(oprot); } oprot.writeListEnd(); } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index 40486c415e..d50c83fa97 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1064 = iprot.readListBegin(); - struct.cols = new ArrayList(_list1064.size); - FieldSchema _elem1065; - for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) + org.apache.thrift.protocol.TList _list1072 = iprot.readListBegin(); + struct.cols = new ArrayList(_list1072.size); + FieldSchema _elem1073; + for (int _i1074 = 0; _i1074 < _list1072.size; ++_i1074) { - _elem1065 = new FieldSchema(); - _elem1065.read(iprot); - struct.cols.add(_elem1065); + _elem1073 = new FieldSchema(); + _elem1073.read(iprot); + struct.cols.add(_elem1073); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter1067 : struct.cols) + for (FieldSchema _iter1075 : struct.cols) { - _iter1067.write(oprot); + _iter1075.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter1068 : struct.cols) + for (FieldSchema _iter1076 : struct.cols) { - _iter1068.write(oprot); + _iter1076.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1069 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list1069.size); - FieldSchema _elem1070; - for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) + org.apache.thrift.protocol.TList _list1077 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list1077.size); + FieldSchema _elem1078; + for (int _i1079 = 0; _i1079 < _list1077.size; ++_i1079) { - _elem1070 = new FieldSchema(); - _elem1070.read(iprot); - struct.cols.add(_elem1070); + _elem1078 = new FieldSchema(); + _elem1078.read(iprot); + struct.cols.add(_elem1078); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index ef76095eda..8fae376808 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/metastore-common/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 _list764 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list764.size); - ShowCompactResponseElement _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list772.size); + ShowCompactResponseElement _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem765 = new ShowCompactResponseElement(); - _elem765.read(iprot); - struct.compacts.add(_elem765); + _elem773 = new ShowCompactResponseElement(); + _elem773.read(iprot); + struct.compacts.add(_elem773); } 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 _iter767 : struct.compacts) + for (ShowCompactResponseElement _iter775 : struct.compacts) { - _iter767.write(oprot); + _iter775.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 _iter768 : struct.compacts) + for (ShowCompactResponseElement _iter776 : struct.compacts) { - _iter768.write(oprot); + _iter776.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 _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list769.size); - ShowCompactResponseElement _elem770; - for (int _i771 = 0; _i771 < _list769.size; ++_i771) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list777.size); + ShowCompactResponseElement _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem770 = new ShowCompactResponseElement(); - _elem770.read(iprot); - struct.compacts.add(_elem770); + _elem778 = new ShowCompactResponseElement(); + _elem778.read(iprot); + struct.compacts.add(_elem778); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index af3afc2087..025219365c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/metastore-common/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 _list730 = iprot.readListBegin(); - struct.locks = new ArrayList(_list730.size); - ShowLocksResponseElement _elem731; - for (int _i732 = 0; _i732 < _list730.size; ++_i732) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.locks = new ArrayList(_list738.size); + ShowLocksResponseElement _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem731 = new ShowLocksResponseElement(); - _elem731.read(iprot); - struct.locks.add(_elem731); + _elem739 = new ShowLocksResponseElement(); + _elem739.read(iprot); + struct.locks.add(_elem739); } 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 _iter733 : struct.locks) + for (ShowLocksResponseElement _iter741 : struct.locks) { - _iter733.write(oprot); + _iter741.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 _iter734 : struct.locks) + for (ShowLocksResponseElement _iter742 : struct.locks) { - _iter734.write(oprot); + _iter742.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 _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list735.size); - ShowLocksResponseElement _elem736; - for (int _i737 = 0; _i737 < _list735.size; ++_i737) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list743.size); + ShowLocksResponseElement _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem736 = new ShowLocksResponseElement(); - _elem736.read(iprot); - struct.locks.add(_elem736); + _elem744 = new ShowLocksResponseElement(); + _elem744.read(iprot); + struct.locks.add(_elem744); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index fdfb8dec6f..1eafee5d15 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -785,13 +785,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list482 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list482.size); - String _elem483; - for (int _i484 = 0; _i484 < _list482.size; ++_i484) + org.apache.thrift.protocol.TList _list490 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list490.size); + String _elem491; + for (int _i492 = 0; _i492 < _list490.size; ++_i492) { - _elem483 = iprot.readString(); - struct.colNames.add(_elem483); + _elem491 = iprot.readString(); + struct.colNames.add(_elem491); } iprot.readListEnd(); } @@ -851,9 +851,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsRequest oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter485 : struct.colNames) + for (String _iter493 : struct.colNames) { - oprot.writeString(_iter485); + oprot.writeString(_iter493); } oprot.writeListEnd(); } @@ -899,9 +899,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest s oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter486 : struct.colNames) + for (String _iter494 : struct.colNames) { - oprot.writeString(_iter486); + oprot.writeString(_iter494); } } oprot.writeString(struct.engine); @@ -929,13 +929,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list487.size); - String _elem488; - for (int _i489 = 0; _i489 < _list487.size; ++_i489) + org.apache.thrift.protocol.TList _list495 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list495.size); + String _elem496; + for (int _i497 = 0; _i497 < _list495.size; ++_i497) { - _elem488 = iprot.readString(); - struct.colNames.add(_elem488); + _elem496 = iprot.readString(); + struct.colNames.add(_elem496); } } struct.setColNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index cc951d319d..2d9a5c1d11 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -435,14 +435,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st case 1: // TABLE_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list456 = iprot.readListBegin(); - struct.tableStats = new ArrayList(_list456.size); - ColumnStatisticsObj _elem457; - for (int _i458 = 0; _i458 < _list456.size; ++_i458) + org.apache.thrift.protocol.TList _list464 = iprot.readListBegin(); + struct.tableStats = new ArrayList(_list464.size); + ColumnStatisticsObj _elem465; + for (int _i466 = 0; _i466 < _list464.size; ++_i466) { - _elem457 = new ColumnStatisticsObj(); - _elem457.read(iprot); - struct.tableStats.add(_elem457); + _elem465 = new ColumnStatisticsObj(); + _elem465.read(iprot); + struct.tableStats.add(_elem465); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsResult s oprot.writeFieldBegin(TABLE_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tableStats.size())); - for (ColumnStatisticsObj _iter459 : struct.tableStats) + for (ColumnStatisticsObj _iter467 : struct.tableStats) { - _iter459.write(oprot); + _iter467.write(oprot); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tableStats.size()); - for (ColumnStatisticsObj _iter460 : struct.tableStats) + for (ColumnStatisticsObj _iter468 : struct.tableStats) { - _iter460.write(oprot); + _iter468.write(oprot); } } BitSet optionals = new BitSet(); @@ -527,14 +527,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list461 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tableStats = new ArrayList(_list461.size); - ColumnStatisticsObj _elem462; - for (int _i463 = 0; _i463 < _list461.size; ++_i463) + org.apache.thrift.protocol.TList _list469 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tableStats = new ArrayList(_list469.size); + ColumnStatisticsObj _elem470; + for (int _i471 = 0; _i471 < _list469.size; ++_i471) { - _elem462 = new ColumnStatisticsObj(); - _elem462.read(iprot); - struct.tableStats.add(_elem462); + _elem470 = new ColumnStatisticsObj(); + _elem470.read(iprot); + struct.tableStats.add(_elem470); } } struct.setTableStatsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java index 187f40220a..0be1dad5b4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java @@ -708,13 +708,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableValidWriteIds case 3: // INVALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list682.size); - long _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list690.size); + long _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem683 = iprot.readI64(); - struct.invalidWriteIds.add(_elem683); + _elem691 = iprot.readI64(); + struct.invalidWriteIds.add(_elem691); } iprot.readListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableValidWriteIds oprot.writeFieldBegin(INVALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidWriteIds.size())); - for (long _iter685 : struct.invalidWriteIds) + for (long _iter693 : struct.invalidWriteIds) { - oprot.writeI64(_iter685); + oprot.writeI64(_iter693); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds oprot.writeI64(struct.writeIdHighWaterMark); { oprot.writeI32(struct.invalidWriteIds.size()); - for (long _iter686 : struct.invalidWriteIds) + for (long _iter694 : struct.invalidWriteIds) { - oprot.writeI64(_iter686); + oprot.writeI64(_iter694); } } oprot.writeBinary(struct.abortedBits); @@ -827,13 +827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds s struct.writeIdHighWaterMark = iprot.readI64(); struct.setWriteIdHighWaterMarkIsSet(true); { - org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list687.size); - long _elem688; - for (int _i689 = 0; _i689 < _list687.size; ++_i689) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list695.size); + long _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem688 = iprot.readI64(); - struct.invalidWriteIds.add(_elem688); + _elem696 = iprot.readI64(); + struct.invalidWriteIds.add(_elem696); } } struct.setInvalidWriteIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 26cc9dd137..4c49f133c3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -212,6 +212,8 @@ public PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; + public PartitionsSpecByExprResult get_partitions_spec_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; + public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; public List get_partitions_by_names(String db_name, String tbl_name, List names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; @@ -678,6 +680,8 @@ public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_spec_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -3546,6 +3550,35 @@ public PartitionsByExprResult recv_get_partitions_by_expr() throws MetaException throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result"); } + public PartitionsSpecByExprResult get_partitions_spec_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + send_get_partitions_spec_by_expr(req); + return recv_get_partitions_spec_by_expr(); + } + + public void send_get_partitions_spec_by_expr(PartitionsByExprRequest req) throws org.apache.thrift.TException + { + get_partitions_spec_by_expr_args args = new get_partitions_spec_by_expr_args(); + args.setReq(req); + sendBase("get_partitions_spec_by_expr", args); + } + + public PartitionsSpecByExprResult recv_get_partitions_spec_by_expr() throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); + receiveBase(result, "get_partitions_spec_by_expr"); + 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_partitions_spec_by_expr failed: unknown result"); + } + public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException { send_get_num_partitions_by_filter(db_name, tbl_name, filter); @@ -10650,6 +10683,38 @@ public PartitionsByExprResult getResult() throws MetaException, NoSuchObjectExce } } + public void get_partitions_spec_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_partitions_spec_by_expr_call method_call = new get_partitions_spec_by_expr_call(req, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_spec_by_expr_call extends org.apache.thrift.async.TAsyncMethodCall { + private PartitionsByExprRequest req; + public get_partitions_spec_by_expr_call(PartitionsByExprRequest req, 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.req = req; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_partitions_spec_by_expr", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_partitions_spec_by_expr_args args = new get_partitions_spec_by_expr_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public PartitionsSpecByExprResult 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_partitions_spec_by_expr(); + } + } + public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_num_partitions_by_filter_call method_call = new get_num_partitions_by_filter_call(db_name, tbl_name, filter, resultHandler, this, ___protocolFactory, ___transport); @@ -15591,6 +15656,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_partitions_spec_by_expr() { + super("get_partitions_spec_by_expr"); + } + + public get_partitions_spec_by_expr_args getEmptyArgsInstance() { + return new get_partitions_spec_by_expr_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_partitions_spec_by_expr_result getResult(I iface, get_partitions_spec_by_expr_args args) throws org.apache.thrift.TException { + get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); + try { + result.success = iface.get_partitions_spec_by_expr(args.req); + } catch (MetaException o1) { + result.o1 = o1; + } catch (NoSuchObjectException o2) { + result.o2 = o2; + } + return result; + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_num_partitions_by_filter extends org.apache.thrift.ProcessFunction { public get_num_partitions_by_filter() { super("get_num_partitions_by_filter"); @@ -21746,6 +21838,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_spec_by_expr() { + super("get_partitions_spec_by_expr"); + } + + public get_partitions_spec_by_expr_args getEmptyArgsInstance() { + return new get_partitions_spec_by_expr_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(PartitionsSpecByExprResult o) { + get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_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_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_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_partitions_spec_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partitions_spec_by_expr(args.req,resultHandler); + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_num_partitions_by_filter extends org.apache.thrift.AsyncProcessFunction { public get_num_partitions_by_filter() { super("get_num_partitions_by_filter"); @@ -46788,13 +46943,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 _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - String _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + String _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1201 = iprot.readString(); - struct.success.add(_elem1201); + _elem1209 = iprot.readString(); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -46829,9 +46984,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 _iter1203 : struct.success) + for (String _iter1211 : struct.success) { - oprot.writeString(_iter1203); + oprot.writeString(_iter1211); } oprot.writeListEnd(); } @@ -46870,9 +47025,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1204 : struct.success) + for (String _iter1212 : struct.success) { - oprot.writeString(_iter1204); + oprot.writeString(_iter1212); } } } @@ -46887,13 +47042,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 _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - String _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + String _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = iprot.readString(); - struct.success.add(_elem1206); + _elem1214 = iprot.readString(); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -47547,13 +47702,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 _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.success = new ArrayList(_list1216.size); + String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1209 = iprot.readString(); - struct.success.add(_elem1209); + _elem1217 = iprot.readString(); + struct.success.add(_elem1217); } iprot.readListEnd(); } @@ -47588,9 +47743,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 _iter1211 : struct.success) + for (String _iter1219 : struct.success) { - oprot.writeString(_iter1211); + oprot.writeString(_iter1219); } oprot.writeListEnd(); } @@ -47629,9 +47784,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1212 : struct.success) + for (String _iter1220 : struct.success) { - oprot.writeString(_iter1212); + oprot.writeString(_iter1220); } } } @@ -47646,13 +47801,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 _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1221.size); + String _elem1222; + for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1214 = iprot.readString(); - struct.success.add(_elem1214); + _elem1222 = iprot.readString(); + struct.success.add(_elem1222); } } struct.setSuccessIsSet(true); @@ -52259,16 +52414,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 _map1216 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1216.size); - String _key1217; - Type _val1218; - for (int _i1219 = 0; _i1219 < _map1216.size; ++_i1219) + org.apache.thrift.protocol.TMap _map1224 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1224.size); + String _key1225; + Type _val1226; + for (int _i1227 = 0; _i1227 < _map1224.size; ++_i1227) { - _key1217 = iprot.readString(); - _val1218 = new Type(); - _val1218.read(iprot); - struct.success.put(_key1217, _val1218); + _key1225 = iprot.readString(); + _val1226 = new Type(); + _val1226.read(iprot); + struct.success.put(_key1225, _val1226); } iprot.readMapEnd(); } @@ -52303,10 +52458,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 _iter1220 : struct.success.entrySet()) + for (Map.Entry _iter1228 : struct.success.entrySet()) { - oprot.writeString(_iter1220.getKey()); - _iter1220.getValue().write(oprot); + oprot.writeString(_iter1228.getKey()); + _iter1228.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -52345,10 +52500,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 _iter1221 : struct.success.entrySet()) + for (Map.Entry _iter1229 : struct.success.entrySet()) { - oprot.writeString(_iter1221.getKey()); - _iter1221.getValue().write(oprot); + oprot.writeString(_iter1229.getKey()); + _iter1229.getValue().write(oprot); } } } @@ -52363,16 +52518,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 _map1222 = 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*_map1222.size); - String _key1223; - Type _val1224; - for (int _i1225 = 0; _i1225 < _map1222.size; ++_i1225) + org.apache.thrift.protocol.TMap _map1230 = 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*_map1230.size); + String _key1231; + Type _val1232; + for (int _i1233 = 0; _i1233 < _map1230.size; ++_i1233) { - _key1223 = iprot.readString(); - _val1224 = new Type(); - _val1224.read(iprot); - struct.success.put(_key1223, _val1224); + _key1231 = iprot.readString(); + _val1232 = new Type(); + _val1232.read(iprot); + struct.success.put(_key1231, _val1232); } } struct.setSuccessIsSet(true); @@ -53407,14 +53562,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 _list1226 = iprot.readListBegin(); - struct.success = new ArrayList(_list1226.size); - FieldSchema _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.success = new ArrayList(_list1234.size); + FieldSchema _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1227 = new FieldSchema(); - _elem1227.read(iprot); - struct.success.add(_elem1227); + _elem1235 = new FieldSchema(); + _elem1235.read(iprot); + struct.success.add(_elem1235); } iprot.readListEnd(); } @@ -53467,9 +53622,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 _iter1229 : struct.success) + for (FieldSchema _iter1237 : struct.success) { - _iter1229.write(oprot); + _iter1237.write(oprot); } oprot.writeListEnd(); } @@ -53524,9 +53679,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1230 : struct.success) + for (FieldSchema _iter1238 : struct.success) { - _iter1230.write(oprot); + _iter1238.write(oprot); } } } @@ -53547,14 +53702,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 _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1231.size); - FieldSchema _elem1232; - for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) + org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1239.size); + FieldSchema _elem1240; + for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) { - _elem1232 = new FieldSchema(); - _elem1232.read(iprot); - struct.success.add(_elem1232); + _elem1240 = new FieldSchema(); + _elem1240.read(iprot); + struct.success.add(_elem1240); } } struct.setSuccessIsSet(true); @@ -54708,14 +54863,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 _list1234 = iprot.readListBegin(); - struct.success = new ArrayList(_list1234.size); - FieldSchema _elem1235; - for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) + org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); + struct.success = new ArrayList(_list1242.size); + FieldSchema _elem1243; + for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1235 = new FieldSchema(); - _elem1235.read(iprot); - struct.success.add(_elem1235); + _elem1243 = new FieldSchema(); + _elem1243.read(iprot); + struct.success.add(_elem1243); } iprot.readListEnd(); } @@ -54768,9 +54923,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 _iter1237 : struct.success) + for (FieldSchema _iter1245 : struct.success) { - _iter1237.write(oprot); + _iter1245.write(oprot); } oprot.writeListEnd(); } @@ -54825,9 +54980,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1238 : struct.success) + for (FieldSchema _iter1246 : struct.success) { - _iter1238.write(oprot); + _iter1246.write(oprot); } } } @@ -54848,14 +55003,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 _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1239.size); - FieldSchema _elem1240; - for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1247.size); + FieldSchema _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1240 = new FieldSchema(); - _elem1240.read(iprot); - struct.success.add(_elem1240); + _elem1248 = new FieldSchema(); + _elem1248.read(iprot); + struct.success.add(_elem1248); } } struct.setSuccessIsSet(true); @@ -55900,14 +56055,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 _list1242 = iprot.readListBegin(); - struct.success = new ArrayList(_list1242.size); - FieldSchema _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); + struct.success = new ArrayList(_list1250.size); + FieldSchema _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = new FieldSchema(); - _elem1243.read(iprot); - struct.success.add(_elem1243); + _elem1251 = new FieldSchema(); + _elem1251.read(iprot); + struct.success.add(_elem1251); } iprot.readListEnd(); } @@ -55960,9 +56115,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 _iter1245 : struct.success) + for (FieldSchema _iter1253 : struct.success) { - _iter1245.write(oprot); + _iter1253.write(oprot); } oprot.writeListEnd(); } @@ -56017,9 +56172,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1246 : struct.success) + for (FieldSchema _iter1254 : struct.success) { - _iter1246.write(oprot); + _iter1254.write(oprot); } } } @@ -56040,14 +56195,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 _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1247.size); - FieldSchema _elem1248; - for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) + org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1255.size); + FieldSchema _elem1256; + for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) { - _elem1248 = new FieldSchema(); - _elem1248.read(iprot); - struct.success.add(_elem1248); + _elem1256 = new FieldSchema(); + _elem1256.read(iprot); + struct.success.add(_elem1256); } } struct.setSuccessIsSet(true); @@ -57201,14 +57356,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 _list1250 = iprot.readListBegin(); - struct.success = new ArrayList(_list1250.size); - FieldSchema _elem1251; - for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) + org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); + struct.success = new ArrayList(_list1258.size); + FieldSchema _elem1259; + for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) { - _elem1251 = new FieldSchema(); - _elem1251.read(iprot); - struct.success.add(_elem1251); + _elem1259 = new FieldSchema(); + _elem1259.read(iprot); + struct.success.add(_elem1259); } iprot.readListEnd(); } @@ -57261,9 +57416,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 _iter1253 : struct.success) + for (FieldSchema _iter1261 : struct.success) { - _iter1253.write(oprot); + _iter1261.write(oprot); } oprot.writeListEnd(); } @@ -57318,9 +57473,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1254 : struct.success) + for (FieldSchema _iter1262 : struct.success) { - _iter1254.write(oprot); + _iter1262.write(oprot); } } } @@ -57341,14 +57496,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 _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1255.size); - FieldSchema _elem1256; - for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) + org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1263.size); + FieldSchema _elem1264; + for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) { - _elem1256 = new FieldSchema(); - _elem1256.read(iprot); - struct.success.add(_elem1256); + _elem1264 = new FieldSchema(); + _elem1264.read(iprot); + struct.success.add(_elem1264); } } struct.setSuccessIsSet(true); @@ -60477,14 +60632,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 _list1258 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1258.size); - SQLPrimaryKey _elem1259; - for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) + org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1266.size); + SQLPrimaryKey _elem1267; + for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) { - _elem1259 = new SQLPrimaryKey(); - _elem1259.read(iprot); - struct.primaryKeys.add(_elem1259); + _elem1267 = new SQLPrimaryKey(); + _elem1267.read(iprot); + struct.primaryKeys.add(_elem1267); } iprot.readListEnd(); } @@ -60496,14 +60651,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 _list1261 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1261.size); - SQLForeignKey _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1269 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1269.size); + SQLForeignKey _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = new SQLForeignKey(); - _elem1262.read(iprot); - struct.foreignKeys.add(_elem1262); + _elem1270 = new SQLForeignKey(); + _elem1270.read(iprot); + struct.foreignKeys.add(_elem1270); } iprot.readListEnd(); } @@ -60515,14 +60670,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 _list1264 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1264.size); - SQLUniqueConstraint _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1272.size); + SQLUniqueConstraint _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = new SQLUniqueConstraint(); - _elem1265.read(iprot); - struct.uniqueConstraints.add(_elem1265); + _elem1273 = new SQLUniqueConstraint(); + _elem1273.read(iprot); + struct.uniqueConstraints.add(_elem1273); } iprot.readListEnd(); } @@ -60534,14 +60689,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 _list1267 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1267.size); - SQLNotNullConstraint _elem1268; - for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) + org.apache.thrift.protocol.TList _list1275 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1275.size); + SQLNotNullConstraint _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1268 = new SQLNotNullConstraint(); - _elem1268.read(iprot); - struct.notNullConstraints.add(_elem1268); + _elem1276 = new SQLNotNullConstraint(); + _elem1276.read(iprot); + struct.notNullConstraints.add(_elem1276); } iprot.readListEnd(); } @@ -60553,14 +60708,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1270.size); - SQLDefaultConstraint _elem1271; - for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) + org.apache.thrift.protocol.TList _list1278 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1278.size); + SQLDefaultConstraint _elem1279; + for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) { - _elem1271 = new SQLDefaultConstraint(); - _elem1271.read(iprot); - struct.defaultConstraints.add(_elem1271); + _elem1279 = new SQLDefaultConstraint(); + _elem1279.read(iprot); + struct.defaultConstraints.add(_elem1279); } iprot.readListEnd(); } @@ -60572,14 +60727,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1273 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1273.size); - SQLCheckConstraint _elem1274; - for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275) + org.apache.thrift.protocol.TList _list1281 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1281.size); + SQLCheckConstraint _elem1282; + for (int _i1283 = 0; _i1283 < _list1281.size; ++_i1283) { - _elem1274 = new SQLCheckConstraint(); - _elem1274.read(iprot); - struct.checkConstraints.add(_elem1274); + _elem1282 = new SQLCheckConstraint(); + _elem1282.read(iprot); + struct.checkConstraints.add(_elem1282); } iprot.readListEnd(); } @@ -60610,9 +60765,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 _iter1276 : struct.primaryKeys) + for (SQLPrimaryKey _iter1284 : struct.primaryKeys) { - _iter1276.write(oprot); + _iter1284.write(oprot); } oprot.writeListEnd(); } @@ -60622,9 +60777,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 _iter1277 : struct.foreignKeys) + for (SQLForeignKey _iter1285 : struct.foreignKeys) { - _iter1277.write(oprot); + _iter1285.write(oprot); } oprot.writeListEnd(); } @@ -60634,9 +60789,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 _iter1278 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1286 : struct.uniqueConstraints) { - _iter1278.write(oprot); + _iter1286.write(oprot); } oprot.writeListEnd(); } @@ -60646,9 +60801,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 _iter1279 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1287 : struct.notNullConstraints) { - _iter1279.write(oprot); + _iter1287.write(oprot); } oprot.writeListEnd(); } @@ -60658,9 +60813,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1280 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1288 : struct.defaultConstraints) { - _iter1280.write(oprot); + _iter1288.write(oprot); } oprot.writeListEnd(); } @@ -60670,9 +60825,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1281 : struct.checkConstraints) + for (SQLCheckConstraint _iter1289 : struct.checkConstraints) { - _iter1281.write(oprot); + _iter1289.write(oprot); } oprot.writeListEnd(); } @@ -60724,54 +60879,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1282 : struct.primaryKeys) + for (SQLPrimaryKey _iter1290 : struct.primaryKeys) { - _iter1282.write(oprot); + _iter1290.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1283 : struct.foreignKeys) + for (SQLForeignKey _iter1291 : struct.foreignKeys) { - _iter1283.write(oprot); + _iter1291.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1284 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1292 : struct.uniqueConstraints) { - _iter1284.write(oprot); + _iter1292.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1285 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1293 : struct.notNullConstraints) { - _iter1285.write(oprot); + _iter1293.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1286 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1294 : struct.defaultConstraints) { - _iter1286.write(oprot); + _iter1294.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1287 : struct.checkConstraints) + for (SQLCheckConstraint _iter1295 : struct.checkConstraints) { - _iter1287.write(oprot); + _iter1295.write(oprot); } } } @@ -60788,84 +60943,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1288 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1288.size); - SQLPrimaryKey _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1296 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1296.size); + SQLPrimaryKey _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1289 = new SQLPrimaryKey(); - _elem1289.read(iprot); - struct.primaryKeys.add(_elem1289); + _elem1297 = new SQLPrimaryKey(); + _elem1297.read(iprot); + struct.primaryKeys.add(_elem1297); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1291.size); - SQLForeignKey _elem1292; - for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) + org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1299.size); + SQLForeignKey _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1292 = new SQLForeignKey(); - _elem1292.read(iprot); - struct.foreignKeys.add(_elem1292); + _elem1300 = new SQLForeignKey(); + _elem1300.read(iprot); + struct.foreignKeys.add(_elem1300); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1294 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1294.size); - SQLUniqueConstraint _elem1295; - for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) + org.apache.thrift.protocol.TList _list1302 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1302.size); + SQLUniqueConstraint _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1295 = new SQLUniqueConstraint(); - _elem1295.read(iprot); - struct.uniqueConstraints.add(_elem1295); + _elem1303 = new SQLUniqueConstraint(); + _elem1303.read(iprot); + struct.uniqueConstraints.add(_elem1303); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1297 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1297.size); - SQLNotNullConstraint _elem1298; - for (int _i1299 = 0; _i1299 < _list1297.size; ++_i1299) + org.apache.thrift.protocol.TList _list1305 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1305.size); + SQLNotNullConstraint _elem1306; + for (int _i1307 = 0; _i1307 < _list1305.size; ++_i1307) { - _elem1298 = new SQLNotNullConstraint(); - _elem1298.read(iprot); - struct.notNullConstraints.add(_elem1298); + _elem1306 = new SQLNotNullConstraint(); + _elem1306.read(iprot); + struct.notNullConstraints.add(_elem1306); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1300 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1300.size); - SQLDefaultConstraint _elem1301; - for (int _i1302 = 0; _i1302 < _list1300.size; ++_i1302) + org.apache.thrift.protocol.TList _list1308 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1308.size); + SQLDefaultConstraint _elem1309; + for (int _i1310 = 0; _i1310 < _list1308.size; ++_i1310) { - _elem1301 = new SQLDefaultConstraint(); - _elem1301.read(iprot); - struct.defaultConstraints.add(_elem1301); + _elem1309 = new SQLDefaultConstraint(); + _elem1309.read(iprot); + struct.defaultConstraints.add(_elem1309); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1303.size); - SQLCheckConstraint _elem1304; - for (int _i1305 = 0; _i1305 < _list1303.size; ++_i1305) + org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1311.size); + SQLCheckConstraint _elem1312; + for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) { - _elem1304 = new SQLCheckConstraint(); - _elem1304.read(iprot); - struct.checkConstraints.add(_elem1304); + _elem1312 = new SQLCheckConstraint(); + _elem1312.read(iprot); + struct.checkConstraints.add(_elem1312); } } struct.setCheckConstraintsIsSet(true); @@ -71056,13 +71211,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 _list1306 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1306.size); - String _elem1307; - for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) + org.apache.thrift.protocol.TList _list1314 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1314.size); + String _elem1315; + for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) { - _elem1307 = iprot.readString(); - struct.partNames.add(_elem1307); + _elem1315 = iprot.readString(); + struct.partNames.add(_elem1315); } iprot.readListEnd(); } @@ -71098,9 +71253,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 _iter1309 : struct.partNames) + for (String _iter1317 : struct.partNames) { - oprot.writeString(_iter1309); + oprot.writeString(_iter1317); } oprot.writeListEnd(); } @@ -71143,9 +71298,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1310 : struct.partNames) + for (String _iter1318 : struct.partNames) { - oprot.writeString(_iter1310); + oprot.writeString(_iter1318); } } } @@ -71165,13 +71320,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1311.size); - String _elem1312; - for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) + org.apache.thrift.protocol.TList _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1319.size); + String _elem1320; + for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) { - _elem1312 = iprot.readString(); - struct.partNames.add(_elem1312); + _elem1320 = iprot.readString(); + struct.partNames.add(_elem1320); } } struct.setPartNamesIsSet(true); @@ -73228,13 +73383,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 _list1314 = iprot.readListBegin(); - struct.success = new ArrayList(_list1314.size); - String _elem1315; - for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) + org.apache.thrift.protocol.TList _list1322 = iprot.readListBegin(); + struct.success = new ArrayList(_list1322.size); + String _elem1323; + for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) { - _elem1315 = iprot.readString(); - struct.success.add(_elem1315); + _elem1323 = iprot.readString(); + struct.success.add(_elem1323); } iprot.readListEnd(); } @@ -73269,9 +73424,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 _iter1317 : struct.success) + for (String _iter1325 : struct.success) { - oprot.writeString(_iter1317); + oprot.writeString(_iter1325); } oprot.writeListEnd(); } @@ -73310,9 +73465,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1318 : struct.success) + for (String _iter1326 : struct.success) { - oprot.writeString(_iter1318); + oprot.writeString(_iter1326); } } } @@ -73327,13 +73482,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 _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1319.size); - String _elem1320; - for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) + org.apache.thrift.protocol.TList _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1327.size); + String _elem1328; + for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) { - _elem1320 = iprot.readString(); - struct.success.add(_elem1320); + _elem1328 = iprot.readString(); + struct.success.add(_elem1328); } } struct.setSuccessIsSet(true); @@ -74307,13 +74462,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 _list1322 = iprot.readListBegin(); - struct.success = new ArrayList(_list1322.size); - String _elem1323; - for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) + org.apache.thrift.protocol.TList _list1330 = iprot.readListBegin(); + struct.success = new ArrayList(_list1330.size); + String _elem1331; + for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) { - _elem1323 = iprot.readString(); - struct.success.add(_elem1323); + _elem1331 = iprot.readString(); + struct.success.add(_elem1331); } iprot.readListEnd(); } @@ -74348,9 +74503,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 _iter1325 : struct.success) + for (String _iter1333 : struct.success) { - oprot.writeString(_iter1325); + oprot.writeString(_iter1333); } oprot.writeListEnd(); } @@ -74389,9 +74544,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1326 : struct.success) + for (String _iter1334 : struct.success) { - oprot.writeString(_iter1326); + oprot.writeString(_iter1334); } } } @@ -74406,13 +74561,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 _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1327.size); - String _elem1328; - for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) + org.apache.thrift.protocol.TList _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1335.size); + String _elem1336; + for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) { - _elem1328 = iprot.readString(); - struct.success.add(_elem1328); + _elem1336 = iprot.readString(); + struct.success.add(_elem1336); } } struct.setSuccessIsSet(true); @@ -75069,14 +75224,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_materialize case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1330 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1330.size); - Table _elem1331; - for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) + org.apache.thrift.protocol.TList _list1338 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1338.size); + Table _elem1339; + for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) { - _elem1331 = new Table(); - _elem1331.read(iprot); - struct.success.add(_elem1331); + _elem1339 = new Table(); + _elem1339.read(iprot); + struct.success.add(_elem1339); } iprot.readListEnd(); } @@ -75111,9 +75266,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_materializ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1333 : struct.success) + for (Table _iter1341 : struct.success) { - _iter1333.write(oprot); + _iter1341.write(oprot); } oprot.writeListEnd(); } @@ -75152,9 +75307,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_materialize if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1334 : struct.success) + for (Table _iter1342 : struct.success) { - _iter1334.write(oprot); + _iter1342.write(oprot); } } } @@ -75169,14 +75324,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_materialized BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1335.size); - Table _elem1336; - for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) + org.apache.thrift.protocol.TList _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1343.size); + Table _elem1344; + for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) { - _elem1336 = new Table(); - _elem1336.read(iprot); - struct.success.add(_elem1336); + _elem1344 = new Table(); + _elem1344.read(iprot); + struct.success.add(_elem1344); } } struct.setSuccessIsSet(true); @@ -75942,13 +76097,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1338 = iprot.readListBegin(); - struct.success = new ArrayList(_list1338.size); - String _elem1339; - for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) + org.apache.thrift.protocol.TList _list1346 = iprot.readListBegin(); + struct.success = new ArrayList(_list1346.size); + String _elem1347; + for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) { - _elem1339 = iprot.readString(); - struct.success.add(_elem1339); + _elem1347 = iprot.readString(); + struct.success.add(_elem1347); } iprot.readListEnd(); } @@ -75983,9 +76138,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1341 : struct.success) + for (String _iter1349 : struct.success) { - oprot.writeString(_iter1341); + oprot.writeString(_iter1349); } oprot.writeListEnd(); } @@ -76024,9 +76179,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1342 : struct.success) + for (String _iter1350 : struct.success) { - oprot.writeString(_iter1342); + oprot.writeString(_iter1350); } } } @@ -76041,13 +76196,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1343.size); - String _elem1344; - for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) + org.apache.thrift.protocol.TList _list1351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1351.size); + String _elem1352; + for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) { - _elem1344 = iprot.readString(); - struct.success.add(_elem1344); + _elem1352 = iprot.readString(); + struct.success.add(_elem1352); } } struct.setSuccessIsSet(true); @@ -76552,13 +76707,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 _list1346 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1346.size); - String _elem1347; - for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) + org.apache.thrift.protocol.TList _list1354 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1354.size); + String _elem1355; + for (int _i1356 = 0; _i1356 < _list1354.size; ++_i1356) { - _elem1347 = iprot.readString(); - struct.tbl_types.add(_elem1347); + _elem1355 = iprot.readString(); + struct.tbl_types.add(_elem1355); } iprot.readListEnd(); } @@ -76594,9 +76749,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 _iter1349 : struct.tbl_types) + for (String _iter1357 : struct.tbl_types) { - oprot.writeString(_iter1349); + oprot.writeString(_iter1357); } oprot.writeListEnd(); } @@ -76639,9 +76794,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 _iter1350 : struct.tbl_types) + for (String _iter1358 : struct.tbl_types) { - oprot.writeString(_iter1350); + oprot.writeString(_iter1358); } } } @@ -76661,13 +76816,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1351.size); - String _elem1352; - for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) + org.apache.thrift.protocol.TList _list1359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1359.size); + String _elem1360; + for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361) { - _elem1352 = iprot.readString(); - struct.tbl_types.add(_elem1352); + _elem1360 = iprot.readString(); + struct.tbl_types.add(_elem1360); } } struct.setTbl_typesIsSet(true); @@ -77073,14 +77228,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 _list1354 = iprot.readListBegin(); - struct.success = new ArrayList(_list1354.size); - TableMeta _elem1355; - for (int _i1356 = 0; _i1356 < _list1354.size; ++_i1356) + org.apache.thrift.protocol.TList _list1362 = iprot.readListBegin(); + struct.success = new ArrayList(_list1362.size); + TableMeta _elem1363; + for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364) { - _elem1355 = new TableMeta(); - _elem1355.read(iprot); - struct.success.add(_elem1355); + _elem1363 = new TableMeta(); + _elem1363.read(iprot); + struct.success.add(_elem1363); } iprot.readListEnd(); } @@ -77115,9 +77270,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 _iter1357 : struct.success) + for (TableMeta _iter1365 : struct.success) { - _iter1357.write(oprot); + _iter1365.write(oprot); } oprot.writeListEnd(); } @@ -77156,9 +77311,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1358 : struct.success) + for (TableMeta _iter1366 : struct.success) { - _iter1358.write(oprot); + _iter1366.write(oprot); } } } @@ -77173,14 +77328,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 _list1359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1359.size); - TableMeta _elem1360; - for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361) + org.apache.thrift.protocol.TList _list1367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1367.size); + TableMeta _elem1368; + for (int _i1369 = 0; _i1369 < _list1367.size; ++_i1369) { - _elem1360 = new TableMeta(); - _elem1360.read(iprot); - struct.success.add(_elem1360); + _elem1368 = new TableMeta(); + _elem1368.read(iprot); + struct.success.add(_elem1368); } } struct.setSuccessIsSet(true); @@ -77946,13 +78101,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 _list1362 = iprot.readListBegin(); - struct.success = new ArrayList(_list1362.size); - String _elem1363; - for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364) + org.apache.thrift.protocol.TList _list1370 = iprot.readListBegin(); + struct.success = new ArrayList(_list1370.size); + String _elem1371; + for (int _i1372 = 0; _i1372 < _list1370.size; ++_i1372) { - _elem1363 = iprot.readString(); - struct.success.add(_elem1363); + _elem1371 = iprot.readString(); + struct.success.add(_elem1371); } iprot.readListEnd(); } @@ -77987,9 +78142,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 _iter1365 : struct.success) + for (String _iter1373 : struct.success) { - oprot.writeString(_iter1365); + oprot.writeString(_iter1373); } oprot.writeListEnd(); } @@ -78028,9 +78183,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1366 : struct.success) + for (String _iter1374 : struct.success) { - oprot.writeString(_iter1366); + oprot.writeString(_iter1374); } } } @@ -78045,13 +78200,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 _list1367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1367.size); - String _elem1368; - for (int _i1369 = 0; _i1369 < _list1367.size; ++_i1369) + org.apache.thrift.protocol.TList _list1375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1375.size); + String _elem1376; + for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) { - _elem1368 = iprot.readString(); - struct.success.add(_elem1368); + _elem1376 = iprot.readString(); + struct.success.add(_elem1376); } } struct.setSuccessIsSet(true); @@ -79504,13 +79659,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 _list1370 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1370.size); - String _elem1371; - for (int _i1372 = 0; _i1372 < _list1370.size; ++_i1372) + org.apache.thrift.protocol.TList _list1378 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1378.size); + String _elem1379; + for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) { - _elem1371 = iprot.readString(); - struct.tbl_names.add(_elem1371); + _elem1379 = iprot.readString(); + struct.tbl_names.add(_elem1379); } iprot.readListEnd(); } @@ -79541,9 +79696,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 _iter1373 : struct.tbl_names) + for (String _iter1381 : struct.tbl_names) { - oprot.writeString(_iter1373); + oprot.writeString(_iter1381); } oprot.writeListEnd(); } @@ -79580,9 +79735,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 _iter1374 : struct.tbl_names) + for (String _iter1382 : struct.tbl_names) { - oprot.writeString(_iter1374); + oprot.writeString(_iter1382); } } } @@ -79598,13 +79753,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1375.size); - String _elem1376; - for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) + org.apache.thrift.protocol.TList _list1383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1383.size); + String _elem1384; + for (int _i1385 = 0; _i1385 < _list1383.size; ++_i1385) { - _elem1376 = iprot.readString(); - struct.tbl_names.add(_elem1376); + _elem1384 = iprot.readString(); + struct.tbl_names.add(_elem1384); } } struct.setTbl_namesIsSet(true); @@ -79929,14 +80084,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 _list1378 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1378.size); - Table _elem1379; - for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) + org.apache.thrift.protocol.TList _list1386 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1386.size); + Table _elem1387; + for (int _i1388 = 0; _i1388 < _list1386.size; ++_i1388) { - _elem1379 = new Table(); - _elem1379.read(iprot); - struct.success.add(_elem1379); + _elem1387 = new Table(); + _elem1387.read(iprot); + struct.success.add(_elem1387); } iprot.readListEnd(); } @@ -79962,9 +80117,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 _iter1381 : struct.success) + for (Table _iter1389 : struct.success) { - _iter1381.write(oprot); + _iter1389.write(oprot); } oprot.writeListEnd(); } @@ -79995,9 +80150,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1382 : struct.success) + for (Table _iter1390 : struct.success) { - _iter1382.write(oprot); + _iter1390.write(oprot); } } } @@ -80009,14 +80164,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 _list1383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1383.size); - Table _elem1384; - for (int _i1385 = 0; _i1385 < _list1383.size; ++_i1385) + org.apache.thrift.protocol.TList _list1391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1391.size); + Table _elem1392; + for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) { - _elem1384 = new Table(); - _elem1384.read(iprot); - struct.success.add(_elem1384); + _elem1392 = new Table(); + _elem1392.read(iprot); + struct.success.add(_elem1392); } } struct.setSuccessIsSet(true); @@ -80785,14 +80940,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_ext_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1386 = iprot.readListBegin(); - struct.success = new ArrayList(_list1386.size); - ExtendedTableInfo _elem1387; - for (int _i1388 = 0; _i1388 < _list1386.size; ++_i1388) + org.apache.thrift.protocol.TList _list1394 = iprot.readListBegin(); + struct.success = new ArrayList(_list1394.size); + ExtendedTableInfo _elem1395; + for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) { - _elem1387 = new ExtendedTableInfo(); - _elem1387.read(iprot); - struct.success.add(_elem1387); + _elem1395 = new ExtendedTableInfo(); + _elem1395.read(iprot); + struct.success.add(_elem1395); } iprot.readListEnd(); } @@ -80827,9 +80982,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_ext_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (ExtendedTableInfo _iter1389 : struct.success) + for (ExtendedTableInfo _iter1397 : struct.success) { - _iter1389.write(oprot); + _iter1397.write(oprot); } oprot.writeListEnd(); } @@ -80868,9 +81023,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (ExtendedTableInfo _iter1390 : struct.success) + for (ExtendedTableInfo _iter1398 : struct.success) { - _iter1390.write(oprot); + _iter1398.write(oprot); } } } @@ -80885,14 +81040,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1391.size); - ExtendedTableInfo _elem1392; - for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) + org.apache.thrift.protocol.TList _list1399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1399.size); + ExtendedTableInfo _elem1400; + for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) { - _elem1392 = new ExtendedTableInfo(); - _elem1392.read(iprot); - struct.success.add(_elem1392); + _elem1400 = new ExtendedTableInfo(); + _elem1400.read(iprot); + struct.success.add(_elem1400); } } struct.setSuccessIsSet(true); @@ -86405,13 +86560,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 _list1394 = iprot.readListBegin(); - struct.success = new ArrayList(_list1394.size); - String _elem1395; - for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) + org.apache.thrift.protocol.TList _list1402 = iprot.readListBegin(); + struct.success = new ArrayList(_list1402.size); + String _elem1403; + for (int _i1404 = 0; _i1404 < _list1402.size; ++_i1404) { - _elem1395 = iprot.readString(); - struct.success.add(_elem1395); + _elem1403 = iprot.readString(); + struct.success.add(_elem1403); } iprot.readListEnd(); } @@ -86464,9 +86619,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 _iter1397 : struct.success) + for (String _iter1405 : struct.success) { - oprot.writeString(_iter1397); + oprot.writeString(_iter1405); } oprot.writeListEnd(); } @@ -86521,9 +86676,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1398 : struct.success) + for (String _iter1406 : struct.success) { - oprot.writeString(_iter1398); + oprot.writeString(_iter1406); } } } @@ -86544,13 +86699,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 _list1399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1399.size); - String _elem1400; - for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) + org.apache.thrift.protocol.TList _list1407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1407.size); + String _elem1408; + for (int _i1409 = 0; _i1409 < _list1407.size; ++_i1409) { - _elem1400 = iprot.readString(); - struct.success.add(_elem1400); + _elem1408 = iprot.readString(); + struct.success.add(_elem1408); } } struct.setSuccessIsSet(true); @@ -93347,14 +93502,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 _list1402 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1402.size); - Partition _elem1403; - for (int _i1404 = 0; _i1404 < _list1402.size; ++_i1404) + org.apache.thrift.protocol.TList _list1410 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1410.size); + Partition _elem1411; + for (int _i1412 = 0; _i1412 < _list1410.size; ++_i1412) { - _elem1403 = new Partition(); - _elem1403.read(iprot); - struct.new_parts.add(_elem1403); + _elem1411 = new Partition(); + _elem1411.read(iprot); + struct.new_parts.add(_elem1411); } iprot.readListEnd(); } @@ -93380,9 +93535,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 _iter1405 : struct.new_parts) + for (Partition _iter1413 : struct.new_parts) { - _iter1405.write(oprot); + _iter1413.write(oprot); } oprot.writeListEnd(); } @@ -93413,9 +93568,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 _iter1406 : struct.new_parts) + for (Partition _iter1414 : struct.new_parts) { - _iter1406.write(oprot); + _iter1414.write(oprot); } } } @@ -93427,14 +93582,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 _list1407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1407.size); - Partition _elem1408; - for (int _i1409 = 0; _i1409 < _list1407.size; ++_i1409) + org.apache.thrift.protocol.TList _list1415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1415.size); + Partition _elem1416; + for (int _i1417 = 0; _i1417 < _list1415.size; ++_i1417) { - _elem1408 = new Partition(); - _elem1408.read(iprot); - struct.new_parts.add(_elem1408); + _elem1416 = new Partition(); + _elem1416.read(iprot); + struct.new_parts.add(_elem1416); } } struct.setNew_partsIsSet(true); @@ -94435,14 +94590,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 _list1410 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1410.size); - PartitionSpec _elem1411; - for (int _i1412 = 0; _i1412 < _list1410.size; ++_i1412) + org.apache.thrift.protocol.TList _list1418 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1418.size); + PartitionSpec _elem1419; + for (int _i1420 = 0; _i1420 < _list1418.size; ++_i1420) { - _elem1411 = new PartitionSpec(); - _elem1411.read(iprot); - struct.new_parts.add(_elem1411); + _elem1419 = new PartitionSpec(); + _elem1419.read(iprot); + struct.new_parts.add(_elem1419); } iprot.readListEnd(); } @@ -94468,9 +94623,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 _iter1413 : struct.new_parts) + for (PartitionSpec _iter1421 : struct.new_parts) { - _iter1413.write(oprot); + _iter1421.write(oprot); } oprot.writeListEnd(); } @@ -94501,9 +94656,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 _iter1414 : struct.new_parts) + for (PartitionSpec _iter1422 : struct.new_parts) { - _iter1414.write(oprot); + _iter1422.write(oprot); } } } @@ -94515,14 +94670,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 _list1415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1415.size); - PartitionSpec _elem1416; - for (int _i1417 = 0; _i1417 < _list1415.size; ++_i1417) + org.apache.thrift.protocol.TList _list1423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1423.size); + PartitionSpec _elem1424; + for (int _i1425 = 0; _i1425 < _list1423.size; ++_i1425) { - _elem1416 = new PartitionSpec(); - _elem1416.read(iprot); - struct.new_parts.add(_elem1416); + _elem1424 = new PartitionSpec(); + _elem1424.read(iprot); + struct.new_parts.add(_elem1424); } } struct.setNew_partsIsSet(true); @@ -95698,13 +95853,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 _list1418 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1418.size); - String _elem1419; - for (int _i1420 = 0; _i1420 < _list1418.size; ++_i1420) + org.apache.thrift.protocol.TList _list1426 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1426.size); + String _elem1427; + for (int _i1428 = 0; _i1428 < _list1426.size; ++_i1428) { - _elem1419 = iprot.readString(); - struct.part_vals.add(_elem1419); + _elem1427 = iprot.readString(); + struct.part_vals.add(_elem1427); } iprot.readListEnd(); } @@ -95740,9 +95895,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 _iter1421 : struct.part_vals) + for (String _iter1429 : struct.part_vals) { - oprot.writeString(_iter1421); + oprot.writeString(_iter1429); } oprot.writeListEnd(); } @@ -95785,9 +95940,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 _iter1422 : struct.part_vals) + for (String _iter1430 : struct.part_vals) { - oprot.writeString(_iter1422); + oprot.writeString(_iter1430); } } } @@ -95807,13 +95962,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1423.size); - String _elem1424; - for (int _i1425 = 0; _i1425 < _list1423.size; ++_i1425) + org.apache.thrift.protocol.TList _list1431 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1431.size); + String _elem1432; + for (int _i1433 = 0; _i1433 < _list1431.size; ++_i1433) { - _elem1424 = iprot.readString(); - struct.part_vals.add(_elem1424); + _elem1432 = iprot.readString(); + struct.part_vals.add(_elem1432); } } struct.setPart_valsIsSet(true); @@ -98122,13 +98277,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 _list1426 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1426.size); - String _elem1427; - for (int _i1428 = 0; _i1428 < _list1426.size; ++_i1428) + org.apache.thrift.protocol.TList _list1434 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1434.size); + String _elem1435; + for (int _i1436 = 0; _i1436 < _list1434.size; ++_i1436) { - _elem1427 = iprot.readString(); - struct.part_vals.add(_elem1427); + _elem1435 = iprot.readString(); + struct.part_vals.add(_elem1435); } iprot.readListEnd(); } @@ -98173,9 +98328,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 _iter1429 : struct.part_vals) + for (String _iter1437 : struct.part_vals) { - oprot.writeString(_iter1429); + oprot.writeString(_iter1437); } oprot.writeListEnd(); } @@ -98226,9 +98381,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 _iter1430 : struct.part_vals) + for (String _iter1438 : struct.part_vals) { - oprot.writeString(_iter1430); + oprot.writeString(_iter1438); } } } @@ -98251,13 +98406,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1431 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1431.size); - String _elem1432; - for (int _i1433 = 0; _i1433 < _list1431.size; ++_i1433) + org.apache.thrift.protocol.TList _list1439 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1439.size); + String _elem1440; + for (int _i1441 = 0; _i1441 < _list1439.size; ++_i1441) { - _elem1432 = iprot.readString(); - struct.part_vals.add(_elem1432); + _elem1440 = iprot.readString(); + struct.part_vals.add(_elem1440); } } struct.setPart_valsIsSet(true); @@ -102127,13 +102282,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 _list1434 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1434.size); - String _elem1435; - for (int _i1436 = 0; _i1436 < _list1434.size; ++_i1436) + org.apache.thrift.protocol.TList _list1442 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1442.size); + String _elem1443; + for (int _i1444 = 0; _i1444 < _list1442.size; ++_i1444) { - _elem1435 = iprot.readString(); - struct.part_vals.add(_elem1435); + _elem1443 = iprot.readString(); + struct.part_vals.add(_elem1443); } iprot.readListEnd(); } @@ -102177,9 +102332,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 _iter1437 : struct.part_vals) + for (String _iter1445 : struct.part_vals) { - oprot.writeString(_iter1437); + oprot.writeString(_iter1445); } oprot.writeListEnd(); } @@ -102228,9 +102383,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 _iter1438 : struct.part_vals) + for (String _iter1446 : struct.part_vals) { - oprot.writeString(_iter1438); + oprot.writeString(_iter1446); } } } @@ -102253,13 +102408,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1439 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1439.size); - String _elem1440; - for (int _i1441 = 0; _i1441 < _list1439.size; ++_i1441) + org.apache.thrift.protocol.TList _list1447 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1447.size); + String _elem1448; + for (int _i1449 = 0; _i1449 < _list1447.size; ++_i1449) { - _elem1440 = iprot.readString(); - struct.part_vals.add(_elem1440); + _elem1448 = iprot.readString(); + struct.part_vals.add(_elem1448); } } struct.setPart_valsIsSet(true); @@ -103498,13 +103653,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 _list1442 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1442.size); - String _elem1443; - for (int _i1444 = 0; _i1444 < _list1442.size; ++_i1444) + org.apache.thrift.protocol.TList _list1450 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1450.size); + String _elem1451; + for (int _i1452 = 0; _i1452 < _list1450.size; ++_i1452) { - _elem1443 = iprot.readString(); - struct.part_vals.add(_elem1443); + _elem1451 = iprot.readString(); + struct.part_vals.add(_elem1451); } iprot.readListEnd(); } @@ -103557,9 +103712,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 _iter1445 : struct.part_vals) + for (String _iter1453 : struct.part_vals) { - oprot.writeString(_iter1445); + oprot.writeString(_iter1453); } oprot.writeListEnd(); } @@ -103616,9 +103771,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 _iter1446 : struct.part_vals) + for (String _iter1454 : struct.part_vals) { - oprot.writeString(_iter1446); + oprot.writeString(_iter1454); } } } @@ -103644,13 +103799,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1447 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1447.size); - String _elem1448; - for (int _i1449 = 0; _i1449 < _list1447.size; ++_i1449) + org.apache.thrift.protocol.TList _list1455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1455.size); + String _elem1456; + for (int _i1457 = 0; _i1457 < _list1455.size; ++_i1457) { - _elem1448 = iprot.readString(); - struct.part_vals.add(_elem1448); + _elem1456 = iprot.readString(); + struct.part_vals.add(_elem1456); } } struct.setPart_valsIsSet(true); @@ -108252,13 +108407,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 _list1450 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1450.size); - String _elem1451; - for (int _i1452 = 0; _i1452 < _list1450.size; ++_i1452) + org.apache.thrift.protocol.TList _list1458 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1458.size); + String _elem1459; + for (int _i1460 = 0; _i1460 < _list1458.size; ++_i1460) { - _elem1451 = iprot.readString(); - struct.part_vals.add(_elem1451); + _elem1459 = iprot.readString(); + struct.part_vals.add(_elem1459); } iprot.readListEnd(); } @@ -108294,9 +108449,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 _iter1453 : struct.part_vals) + for (String _iter1461 : struct.part_vals) { - oprot.writeString(_iter1453); + oprot.writeString(_iter1461); } oprot.writeListEnd(); } @@ -108339,9 +108494,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 _iter1454 : struct.part_vals) + for (String _iter1462 : struct.part_vals) { - oprot.writeString(_iter1454); + oprot.writeString(_iter1462); } } } @@ -108361,13 +108516,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1455.size); - String _elem1456; - for (int _i1457 = 0; _i1457 < _list1455.size; ++_i1457) + org.apache.thrift.protocol.TList _list1463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1463.size); + String _elem1464; + for (int _i1465 = 0; _i1465 < _list1463.size; ++_i1465) { - _elem1456 = iprot.readString(); - struct.part_vals.add(_elem1456); + _elem1464 = iprot.readString(); + struct.part_vals.add(_elem1464); } } struct.setPart_valsIsSet(true); @@ -109585,15 +109740,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 _map1458 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1458.size); - String _key1459; - String _val1460; - for (int _i1461 = 0; _i1461 < _map1458.size; ++_i1461) + org.apache.thrift.protocol.TMap _map1466 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1466.size); + String _key1467; + String _val1468; + for (int _i1469 = 0; _i1469 < _map1466.size; ++_i1469) { - _key1459 = iprot.readString(); - _val1460 = iprot.readString(); - struct.partitionSpecs.put(_key1459, _val1460); + _key1467 = iprot.readString(); + _val1468 = iprot.readString(); + struct.partitionSpecs.put(_key1467, _val1468); } iprot.readMapEnd(); } @@ -109651,10 +109806,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 _iter1462 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1470 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1462.getKey()); - oprot.writeString(_iter1462.getValue()); + oprot.writeString(_iter1470.getKey()); + oprot.writeString(_iter1470.getValue()); } oprot.writeMapEnd(); } @@ -109717,10 +109872,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1463 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1471 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1463.getKey()); - oprot.writeString(_iter1463.getValue()); + oprot.writeString(_iter1471.getKey()); + oprot.writeString(_iter1471.getValue()); } } } @@ -109744,15 +109899,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 _map1464 = 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*_map1464.size); - String _key1465; - String _val1466; - for (int _i1467 = 0; _i1467 < _map1464.size; ++_i1467) + org.apache.thrift.protocol.TMap _map1472 = 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*_map1472.size); + String _key1473; + String _val1474; + for (int _i1475 = 0; _i1475 < _map1472.size; ++_i1475) { - _key1465 = iprot.readString(); - _val1466 = iprot.readString(); - struct.partitionSpecs.put(_key1465, _val1466); + _key1473 = iprot.readString(); + _val1474 = iprot.readString(); + struct.partitionSpecs.put(_key1473, _val1474); } } struct.setPartitionSpecsIsSet(true); @@ -111198,15 +111353,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 _map1468 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1468.size); - String _key1469; - String _val1470; - for (int _i1471 = 0; _i1471 < _map1468.size; ++_i1471) + org.apache.thrift.protocol.TMap _map1476 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1476.size); + String _key1477; + String _val1478; + for (int _i1479 = 0; _i1479 < _map1476.size; ++_i1479) { - _key1469 = iprot.readString(); - _val1470 = iprot.readString(); - struct.partitionSpecs.put(_key1469, _val1470); + _key1477 = iprot.readString(); + _val1478 = iprot.readString(); + struct.partitionSpecs.put(_key1477, _val1478); } iprot.readMapEnd(); } @@ -111264,10 +111419,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 _iter1472 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1480 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1472.getKey()); - oprot.writeString(_iter1472.getValue()); + oprot.writeString(_iter1480.getKey()); + oprot.writeString(_iter1480.getValue()); } oprot.writeMapEnd(); } @@ -111330,10 +111485,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1473 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1481 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1473.getKey()); - oprot.writeString(_iter1473.getValue()); + oprot.writeString(_iter1481.getKey()); + oprot.writeString(_iter1481.getValue()); } } } @@ -111357,15 +111512,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 _map1474 = 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*_map1474.size); - String _key1475; - String _val1476; - for (int _i1477 = 0; _i1477 < _map1474.size; ++_i1477) + org.apache.thrift.protocol.TMap _map1482 = 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*_map1482.size); + String _key1483; + String _val1484; + for (int _i1485 = 0; _i1485 < _map1482.size; ++_i1485) { - _key1475 = iprot.readString(); - _val1476 = iprot.readString(); - struct.partitionSpecs.put(_key1475, _val1476); + _key1483 = iprot.readString(); + _val1484 = iprot.readString(); + struct.partitionSpecs.put(_key1483, _val1484); } } struct.setPartitionSpecsIsSet(true); @@ -112030,14 +112185,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - Partition _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + Partition _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1479 = new Partition(); - _elem1479.read(iprot); - struct.success.add(_elem1479); + _elem1487 = new Partition(); + _elem1487.read(iprot); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -112099,9 +112254,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 _iter1481 : struct.success) + for (Partition _iter1489 : struct.success) { - _iter1481.write(oprot); + _iter1489.write(oprot); } oprot.writeListEnd(); } @@ -112164,9 +112319,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1482 : struct.success) + for (Partition _iter1490 : struct.success) { - _iter1482.write(oprot); + _iter1490.write(oprot); } } } @@ -112190,14 +112345,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 _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - Partition _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + Partition _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1484 = new Partition(); - _elem1484.read(iprot); - struct.success.add(_elem1484); + _elem1492 = new Partition(); + _elem1492.read(iprot); + struct.success.add(_elem1492); } } struct.setSuccessIsSet(true); @@ -112896,13 +113051,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1486.size); - String _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1494.size); + String _elem1495; + for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) { - _elem1487 = iprot.readString(); - struct.part_vals.add(_elem1487); + _elem1495 = iprot.readString(); + struct.part_vals.add(_elem1495); } iprot.readListEnd(); } @@ -112922,13 +113077,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1489 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1489.size); - String _elem1490; - for (int _i1491 = 0; _i1491 < _list1489.size; ++_i1491) + org.apache.thrift.protocol.TList _list1497 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1497.size); + String _elem1498; + for (int _i1499 = 0; _i1499 < _list1497.size; ++_i1499) { - _elem1490 = iprot.readString(); - struct.group_names.add(_elem1490); + _elem1498 = iprot.readString(); + struct.group_names.add(_elem1498); } iprot.readListEnd(); } @@ -112964,9 +113119,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1492 : struct.part_vals) + for (String _iter1500 : struct.part_vals) { - oprot.writeString(_iter1492); + oprot.writeString(_iter1500); } oprot.writeListEnd(); } @@ -112981,9 +113136,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1493 : struct.group_names) + for (String _iter1501 : struct.group_names) { - oprot.writeString(_iter1493); + oprot.writeString(_iter1501); } oprot.writeListEnd(); } @@ -113032,9 +113187,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1494 : struct.part_vals) + for (String _iter1502 : struct.part_vals) { - oprot.writeString(_iter1494); + oprot.writeString(_iter1502); } } } @@ -113044,9 +113199,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1495 : struct.group_names) + for (String _iter1503 : struct.group_names) { - oprot.writeString(_iter1495); + oprot.writeString(_iter1503); } } } @@ -113066,13 +113221,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1496 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1496.size); - String _elem1497; - for (int _i1498 = 0; _i1498 < _list1496.size; ++_i1498) + org.apache.thrift.protocol.TList _list1504 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1504.size); + String _elem1505; + for (int _i1506 = 0; _i1506 < _list1504.size; ++_i1506) { - _elem1497 = iprot.readString(); - struct.part_vals.add(_elem1497); + _elem1505 = iprot.readString(); + struct.part_vals.add(_elem1505); } } struct.setPart_valsIsSet(true); @@ -113083,13 +113238,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1499.size); - String _elem1500; - for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1507.size); + String _elem1508; + for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) { - _elem1500 = iprot.readString(); - struct.group_names.add(_elem1500); + _elem1508 = iprot.readString(); + struct.group_names.add(_elem1508); } } struct.setGroup_namesIsSet(true); @@ -115858,14 +116013,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 _list1502 = iprot.readListBegin(); - struct.success = new ArrayList(_list1502.size); - Partition _elem1503; - for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) + org.apache.thrift.protocol.TList _list1510 = iprot.readListBegin(); + struct.success = new ArrayList(_list1510.size); + Partition _elem1511; + for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) { - _elem1503 = new Partition(); - _elem1503.read(iprot); - struct.success.add(_elem1503); + _elem1511 = new Partition(); + _elem1511.read(iprot); + struct.success.add(_elem1511); } iprot.readListEnd(); } @@ -115909,9 +116064,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 _iter1505 : struct.success) + for (Partition _iter1513 : struct.success) { - _iter1505.write(oprot); + _iter1513.write(oprot); } oprot.writeListEnd(); } @@ -115958,9 +116113,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1506 : struct.success) + for (Partition _iter1514 : struct.success) { - _iter1506.write(oprot); + _iter1514.write(oprot); } } } @@ -115978,14 +116133,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1507.size); - Partition _elem1508; - for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) + org.apache.thrift.protocol.TList _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1515.size); + Partition _elem1516; + for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) { - _elem1508 = new Partition(); - _elem1508.read(iprot); - struct.success.add(_elem1508); + _elem1516 = new Partition(); + _elem1516.read(iprot); + struct.success.add(_elem1516); } } struct.setSuccessIsSet(true); @@ -116675,13 +116830,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1510 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1510.size); - String _elem1511; - for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) + org.apache.thrift.protocol.TList _list1518 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1518.size); + String _elem1519; + for (int _i1520 = 0; _i1520 < _list1518.size; ++_i1520) { - _elem1511 = iprot.readString(); - struct.group_names.add(_elem1511); + _elem1519 = iprot.readString(); + struct.group_names.add(_elem1519); } iprot.readListEnd(); } @@ -116725,9 +116880,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1513 : struct.group_names) + for (String _iter1521 : struct.group_names) { - oprot.writeString(_iter1513); + oprot.writeString(_iter1521); } oprot.writeListEnd(); } @@ -116782,9 +116937,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1514 : struct.group_names) + for (String _iter1522 : struct.group_names) { - oprot.writeString(_iter1514); + oprot.writeString(_iter1522); } } } @@ -116812,13 +116967,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1515.size); - String _elem1516; - for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) + org.apache.thrift.protocol.TList _list1523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1523.size); + String _elem1524; + for (int _i1525 = 0; _i1525 < _list1523.size; ++_i1525) { - _elem1516 = iprot.readString(); - struct.group_names.add(_elem1516); + _elem1524 = iprot.readString(); + struct.group_names.add(_elem1524); } } struct.setGroup_namesIsSet(true); @@ -117305,14 +117460,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 _list1518 = iprot.readListBegin(); - struct.success = new ArrayList(_list1518.size); - Partition _elem1519; - for (int _i1520 = 0; _i1520 < _list1518.size; ++_i1520) + org.apache.thrift.protocol.TList _list1526 = iprot.readListBegin(); + struct.success = new ArrayList(_list1526.size); + Partition _elem1527; + for (int _i1528 = 0; _i1528 < _list1526.size; ++_i1528) { - _elem1519 = new Partition(); - _elem1519.read(iprot); - struct.success.add(_elem1519); + _elem1527 = new Partition(); + _elem1527.read(iprot); + struct.success.add(_elem1527); } iprot.readListEnd(); } @@ -117356,9 +117511,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 _iter1521 : struct.success) + for (Partition _iter1529 : struct.success) { - _iter1521.write(oprot); + _iter1529.write(oprot); } oprot.writeListEnd(); } @@ -117405,9 +117560,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1522 : struct.success) + for (Partition _iter1530 : struct.success) { - _iter1522.write(oprot); + _iter1530.write(oprot); } } } @@ -117425,14 +117580,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1523.size); - Partition _elem1524; - for (int _i1525 = 0; _i1525 < _list1523.size; ++_i1525) + org.apache.thrift.protocol.TList _list1531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1531.size); + Partition _elem1532; + for (int _i1533 = 0; _i1533 < _list1531.size; ++_i1533) { - _elem1524 = new Partition(); - _elem1524.read(iprot); - struct.success.add(_elem1524); + _elem1532 = new Partition(); + _elem1532.read(iprot); + struct.success.add(_elem1532); } } struct.setSuccessIsSet(true); @@ -118495,14 +118650,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1526 = iprot.readListBegin(); - struct.success = new ArrayList(_list1526.size); - PartitionSpec _elem1527; - for (int _i1528 = 0; _i1528 < _list1526.size; ++_i1528) + org.apache.thrift.protocol.TList _list1534 = iprot.readListBegin(); + struct.success = new ArrayList(_list1534.size); + PartitionSpec _elem1535; + for (int _i1536 = 0; _i1536 < _list1534.size; ++_i1536) { - _elem1527 = new PartitionSpec(); - _elem1527.read(iprot); - struct.success.add(_elem1527); + _elem1535 = new PartitionSpec(); + _elem1535.read(iprot); + struct.success.add(_elem1535); } iprot.readListEnd(); } @@ -118546,9 +118701,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1529 : struct.success) + for (PartitionSpec _iter1537 : struct.success) { - _iter1529.write(oprot); + _iter1537.write(oprot); } oprot.writeListEnd(); } @@ -118595,9 +118750,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1530 : struct.success) + for (PartitionSpec _iter1538 : struct.success) { - _iter1530.write(oprot); + _iter1538.write(oprot); } } } @@ -118615,14 +118770,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1531.size); - PartitionSpec _elem1532; - for (int _i1533 = 0; _i1533 < _list1531.size; ++_i1533) + org.apache.thrift.protocol.TList _list1539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1539.size); + PartitionSpec _elem1540; + for (int _i1541 = 0; _i1541 < _list1539.size; ++_i1541) { - _elem1532 = new PartitionSpec(); - _elem1532.read(iprot); - struct.success.add(_elem1532); + _elem1540 = new PartitionSpec(); + _elem1540.read(iprot); + struct.success.add(_elem1540); } } struct.setSuccessIsSet(true); @@ -119682,13 +119837,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 _list1534 = iprot.readListBegin(); - struct.success = new ArrayList(_list1534.size); - String _elem1535; - for (int _i1536 = 0; _i1536 < _list1534.size; ++_i1536) + org.apache.thrift.protocol.TList _list1542 = iprot.readListBegin(); + struct.success = new ArrayList(_list1542.size); + String _elem1543; + for (int _i1544 = 0; _i1544 < _list1542.size; ++_i1544) { - _elem1535 = iprot.readString(); - struct.success.add(_elem1535); + _elem1543 = iprot.readString(); + struct.success.add(_elem1543); } iprot.readListEnd(); } @@ -119732,9 +119887,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 _iter1537 : struct.success) + for (String _iter1545 : struct.success) { - oprot.writeString(_iter1537); + oprot.writeString(_iter1545); } oprot.writeListEnd(); } @@ -119781,9 +119936,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1538 : struct.success) + for (String _iter1546 : struct.success) { - oprot.writeString(_iter1538); + oprot.writeString(_iter1546); } } } @@ -119801,13 +119956,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 _list1539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1539.size); - String _elem1540; - for (int _i1541 = 0; _i1541 < _list1539.size; ++_i1541) + org.apache.thrift.protocol.TList _list1547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1547.size); + String _elem1548; + for (int _i1549 = 0; _i1549 < _list1547.size; ++_i1549) { - _elem1540 = iprot.readString(); - struct.success.add(_elem1540); + _elem1548 = iprot.readString(); + struct.success.add(_elem1548); } } struct.setSuccessIsSet(true); @@ -120066,16 +120221,1214 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_values_args("); + StringBuilder sb = new StringBuilder("get_partition_values_args("); + boolean first = true; + + sb.append("request:"); + if (this.request == null) { + sb.append("null"); + } else { + sb.append(this.request); + } + 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 (request != null) { + request.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_values_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_values_argsStandardScheme getScheme() { + return new get_partition_values_argsStandardScheme(); + } + } + + private static class get_partition_values_argsStandardScheme extends StandardScheme { + + 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) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + 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); + } + 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_values_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.request != null) { + oprot.writeFieldBegin(REQUEST_FIELD_DESC); + struct.request.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + 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_values_argsTupleScheme extends TupleScheme { + + @Override + 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.isSetRequest()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRequest()) { + struct.request.write(oprot); + } + } + + @Override + 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(1); + if (incoming.get(0)) { + struct.request = new PartitionValuesRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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.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_values_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_values_resultTupleSchemeFactory()); + } + + 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"), + 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, 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_values_result.class, metaDataMap); + } + + public get_partition_values_result() { + } + + 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_values_result(get_partition_values_result other) { + if (other.isSetSuccess()) { + this.success = new PartitionValuesResponse(other.success); + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new NoSuchObjectException(other.o2); + } + } + + 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 PartitionValuesResponse getSuccess() { + return this.success; + } + + public void setSuccess(PartitionValuesResponse 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((PartitionValuesResponse)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_values_result) + return this.equals((get_partition_values_result)that); + return false; + } + + public boolean equals(get_partition_values_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_values_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_values_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_values_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_values_resultStandardScheme getScheme() { + return new get_partition_values_resultStandardScheme(); + } + } + + private static class get_partition_values_resultStandardScheme extends StandardScheme { + + 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) + { + 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 PartitionValuesResponse(); + 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_values_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_values_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_values_resultTupleScheme getScheme() { + return new get_partition_values_resultTupleScheme(); + } + } + + private static class get_partition_values_resultTupleScheme extends TupleScheme { + + @Override + 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.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_values_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = new PartitionValuesResponse(); + 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); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_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_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.LIST, (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)4); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_partitions_ps_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_ps_argsTupleSchemeFactory()); + } + + private String db_name; // required + private String tbl_name; // required + private List part_vals; // 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_VALS((short)3, "part_vals"), + MAX_PARTS((short)4, "max_parts"); + + 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_VALS + return PART_VALS; + case 4: // 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 __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.PART_VALS, new org.apache.thrift.meta_data.FieldMetaData("part_vals", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.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_partitions_ps_args.class, metaDataMap); + } + + public get_partitions_ps_args() { + this.max_parts = (short)-1; + + } + + public get_partitions_ps_args( + String db_name, + String tbl_name, + List part_vals, + short max_parts) + { + this(); + this.db_name = db_name; + this.tbl_name = tbl_name; + this.part_vals = part_vals; + this.max_parts = max_parts; + setMax_partsIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public get_partitions_ps_args(get_partitions_ps_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_vals()) { + List __this__part_vals = new ArrayList(other.part_vals); + this.part_vals = __this__part_vals; + } + this.max_parts = other.max_parts; + } + + public get_partitions_ps_args deepCopy() { + return new get_partitions_ps_args(this); + } + + @Override + public void clear() { + this.db_name = null; + this.tbl_name = null; + this.part_vals = 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; + } + } + + 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 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 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 PART_VALS: + if (value == null) { + unsetPart_vals(); + } else { + setPart_vals((List)value); + } + break; + + case MAX_PARTS: + if (value == null) { + unsetMax_parts(); + } else { + setMax_parts((Short)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 MAX_PARTS: + return getMax_parts(); + + } + 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 MAX_PARTS: + return isSetMax_parts(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_partitions_ps_args) + return this.equals((get_partitions_ps_args)that); + return false; + } + + public boolean equals(get_partitions_ps_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_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.max_parts != that.max_parts) + 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_max_parts = true; + list.add(present_max_parts); + if (present_max_parts) + list.add(max_parts); + + return list.hashCode(); + } + + @Override + public int compareTo(get_partitions_ps_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(isSetMax_parts()).compareTo(other.isSetMax_parts()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMax_parts()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); + 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_partitions_ps_args("); boolean first = true; - sb.append("request:"); - if (this.request == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.request); + 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("max_parts:"); + sb.append(this.max_parts); + first = false; sb.append(")"); return sb.toString(); } @@ -120083,9 +121436,6 @@ 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 { @@ -120098,21 +121448,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_values_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_values_argsStandardScheme getScheme() { - return new get_partition_values_argsStandardScheme(); + private static class get_partitions_ps_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_ps_argsStandardScheme getScheme() { + return new get_partitions_ps_argsStandardScheme(); } } - private static class get_partition_values_argsStandardScheme extends StandardScheme { + private static class get_partitions_ps_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_values_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -120122,11 +121474,44 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_value break; } switch (schemeField.id) { - case 1: // REQUEST - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new PartitionValuesRequest(); - struct.request.read(iprot); - struct.setRequestIsSet(true); + 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 _list1550 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1550.size); + String _elem1551; + for (int _i1552 = 0; _i1552 < _list1550.size; ++_i1552) + { + _elem1551 = iprot.readString(); + struct.part_vals.add(_elem1551); + } + iprot.readListEnd(); + } + struct.setPart_valsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // 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); } @@ -120140,70 +121525,134 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_value struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_values_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.request != null) { - oprot.writeFieldBegin(REQUEST_FIELD_DESC); - struct.request.write(oprot); + 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 _iter1553 : struct.part_vals) + { + oprot.writeString(_iter1553); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } + oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); + oprot.writeI16(struct.max_parts); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - 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_partitions_ps_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_ps_argsTupleScheme getScheme() { + return new get_partitions_ps_argsTupleScheme(); } } - private static class get_partition_values_argsTupleScheme extends TupleScheme { + private static class get_partitions_ps_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_values_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetRequest()) { + if (struct.isSetDb_name()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetRequest()) { - struct.request.write(oprot); + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetPart_vals()) { + optionals.set(2); + } + if (struct.isSetMax_parts()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + 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 _iter1554 : struct.part_vals) + { + oprot.writeString(_iter1554); + } + } + } + if (struct.isSetMax_parts()) { + oprot.writeI16(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_values_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.request = new PartitionValuesRequest(); - struct.request.read(iprot); - struct.setRequestIsSet(true); + 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 _list1555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1555.size); + String _elem1556; + for (int _i1557 = 0; _i1557 < _list1555.size; ++_i1557) + { + _elem1556 = iprot.readString(); + struct.part_vals.add(_elem1556); + } + } + struct.setPart_valsIsSet(true); + } + if (incoming.get(3)) { + struct.max_parts = iprot.readI16(); + struct.setMax_partsIsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_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_values_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_values_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_ps_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_ps_resultTupleSchemeFactory()); } - private PartitionValuesResponse success; // required + private List success; // required private MetaException o1; // required private NoSuchObjectException o2; // required @@ -120276,20 +121725,21 @@ 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, PartitionValuesResponse.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_values_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_ps_result.class, metaDataMap); } - public get_partition_values_result() { + public get_partitions_ps_result() { } - public get_partition_values_result( - PartitionValuesResponse success, + public get_partitions_ps_result( + List success, MetaException o1, NoSuchObjectException o2) { @@ -120302,9 +121752,13 @@ public get_partition_values_result( /** * Performs a deep copy on other. */ - public get_partition_values_result(get_partition_values_result other) { + public get_partitions_ps_result(get_partitions_ps_result other) { if (other.isSetSuccess()) { - this.success = new PartitionValuesResponse(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); @@ -120314,8 +121768,8 @@ public get_partition_values_result(get_partition_values_result other) { } } - public get_partition_values_result deepCopy() { - return new get_partition_values_result(this); + public get_partitions_ps_result deepCopy() { + return new get_partitions_ps_result(this); } @Override @@ -120325,11 +121779,26 @@ public void clear() { this.o2 = null; } - public PartitionValuesResponse 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(PartitionValuesResponse success) { + public void setSuccess(List success) { this.success = success; } @@ -120400,7 +121869,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((PartitionValuesResponse)value); + setSuccess((List)value); } break; @@ -120459,12 +121928,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_values_result) - return this.equals((get_partition_values_result)that); + if (that instanceof get_partitions_ps_result) + return this.equals((get_partitions_ps_result)that); return false; } - public boolean equals(get_partition_values_result that) { + public boolean equals(get_partitions_ps_result that) { if (that == null) return false; @@ -120521,7 +121990,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_values_result other) { + public int compareTo(get_partitions_ps_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -120575,7 +122044,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_values_result("); + StringBuilder sb = new StringBuilder("get_partitions_ps_result("); boolean first = true; sb.append("success:"); @@ -120608,9 +122077,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 { @@ -120629,15 +122095,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - 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_partitions_ps_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_ps_resultStandardScheme getScheme() { + return new get_partitions_ps_resultStandardScheme(); } } - private static class get_partition_values_resultStandardScheme extends StandardScheme { + private static class get_partitions_ps_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_values_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -120648,9 +122114,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_value } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new PartitionValuesResponse(); - struct.success.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1558 = iprot.readListBegin(); + struct.success = new ArrayList(_list1558.size); + Partition _elem1559; + for (int _i1560 = 0; _i1560 < _list1558.size; ++_i1560) + { + _elem1559 = new Partition(); + _elem1559.read(iprot); + struct.success.add(_elem1559); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -120683,13 +122159,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_value struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_values_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_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 _iter1561 : struct.success) + { + _iter1561.write(oprot); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -120708,16 +122191,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_valu } - 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_partitions_ps_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_ps_resultTupleScheme getScheme() { + return new get_partitions_ps_resultTupleScheme(); } } - private static class get_partition_values_resultTupleScheme extends TupleScheme { + private static class get_partitions_ps_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_values_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -120731,7 +122214,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_value } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Partition _iter1562 : struct.success) + { + _iter1562.write(oprot); + } + } } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -120742,12 +122231,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_value } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_values_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new PartitionValuesResponse(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TList _list1563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1563.size); + Partition _elem1564; + for (int _i1565 = 0; _i1565 < _list1563.size; ++_i1565) + { + _elem1564 = new Partition(); + _elem1564.read(iprot); + struct.success.add(_elem1564); + } + } struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -120765,31 +122263,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_values } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_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 PART_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.LIST, (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)4); + 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)5); + 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)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_ps_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_ps_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_ps_with_auth_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_ps_with_auth_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required private List part_vals; // 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"), PART_VALS((short)3, "part_vals"), - MAX_PARTS((short)4, "max_parts"); + MAX_PARTS((short)4, "max_parts"), + USER_NAME((short)5, "user_name"), + GROUP_NAMES((short)6, "group_names"); private static final Map byName = new HashMap(); @@ -120812,6 +122316,10 @@ public static _Fields findByThriftId(int fieldId) { return PART_VALS; case 4: // MAX_PARTS return MAX_PARTS; + case 5: // USER_NAME + return USER_NAME; + case 6: // GROUP_NAMES + return GROUP_NAMES; default: return null; } @@ -120866,20 +122374,27 @@ 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_ps_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_ps_with_auth_args.class, metaDataMap); } - public get_partitions_ps_args() { + public get_partitions_ps_with_auth_args() { this.max_parts = (short)-1; } - public get_partitions_ps_args( + public get_partitions_ps_with_auth_args( String db_name, String tbl_name, List part_vals, - short max_parts) + short max_parts, + String user_name, + List group_names) { this(); this.db_name = db_name; @@ -120887,12 +122402,14 @@ public get_partitions_ps_args( this.part_vals = part_vals; 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_ps_args(get_partitions_ps_args other) { + public get_partitions_ps_with_auth_args(get_partitions_ps_with_auth_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -120905,10 +122422,17 @@ public get_partitions_ps_args(get_partitions_ps_args other) { this.part_vals = __this__part_vals; } 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_ps_args deepCopy() { - return new get_partitions_ps_args(this); + public get_partitions_ps_with_auth_args deepCopy() { + return new get_partitions_ps_with_auth_args(this); } @Override @@ -120918,6 +122442,8 @@ public void clear() { this.part_vals = null; this.max_parts = (short)-1; + this.user_name = null; + this.group_names = null; } public String getDb_name() { @@ -121026,6 +122552,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: @@ -121060,6 +122647,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; + } } @@ -121077,6 +122680,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(); } @@ -121096,6 +122705,10 @@ public boolean isSet(_Fields field) { return isSetPart_vals(); case MAX_PARTS: return isSetMax_parts(); + case USER_NAME: + return isSetUser_name(); + case GROUP_NAMES: + return isSetGroup_names(); } throw new IllegalStateException(); } @@ -121104,12 +122717,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_ps_args) - return this.equals((get_partitions_ps_args)that); + if (that instanceof get_partitions_ps_with_auth_args) + return this.equals((get_partitions_ps_with_auth_args)that); return false; } - public boolean equals(get_partitions_ps_args that) { + public boolean equals(get_partitions_ps_with_auth_args that) { if (that == null) return false; @@ -121149,6 +122762,24 @@ public boolean equals(get_partitions_ps_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; } @@ -121176,11 +122807,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_ps_args other) { + public int compareTo(get_partitions_ps_with_auth_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -121227,6 +122868,26 @@ public int compareTo(get_partitions_ps_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; } @@ -121244,7 +122905,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_ps_args("); + StringBuilder sb = new StringBuilder("get_partitions_ps_with_auth_args("); boolean first = true; sb.append("db_name:"); @@ -121274,6 +122935,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(); } @@ -121301,15 +122978,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_ps_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_ps_argsStandardScheme getScheme() { - return new get_partitions_ps_argsStandardScheme(); + private static class get_partitions_ps_with_auth_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_ps_with_auth_argsStandardScheme getScheme() { + return new get_partitions_ps_with_auth_argsStandardScheme(); } } - private static class get_partitions_ps_argsStandardScheme extends StandardScheme { + private static class get_partitions_ps_with_auth_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -121338,13 +123015,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 _list1542 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1542.size); - String _elem1543; - for (int _i1544 = 0; _i1544 < _list1542.size; ++_i1544) + org.apache.thrift.protocol.TList _list1566 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1566.size); + String _elem1567; + for (int _i1568 = 0; _i1568 < _list1566.size; ++_i1568) { - _elem1543 = iprot.readString(); - struct.part_vals.add(_elem1543); + _elem1567 = iprot.readString(); + struct.part_vals.add(_elem1567); } iprot.readListEnd(); } @@ -121361,6 +123038,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // 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 6: // GROUP_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1569 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1569.size); + String _elem1570; + for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) + { + _elem1570 = iprot.readString(); + struct.group_names.add(_elem1570); + } + 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); } @@ -121370,7 +123073,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -121388,9 +123091,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 _iter1545 : struct.part_vals) + for (String _iter1572 : struct.part_vals) { - oprot.writeString(_iter1545); + oprot.writeString(_iter1572); } oprot.writeListEnd(); } @@ -121399,22 +123102,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ 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 _iter1573 : struct.group_names) + { + oprot.writeString(_iter1573); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partitions_ps_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_ps_argsTupleScheme getScheme() { - return new get_partitions_ps_argsTupleScheme(); + private static class get_partitions_ps_with_auth_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_ps_with_auth_argsTupleScheme getScheme() { + return new get_partitions_ps_with_auth_argsTupleScheme(); } } - private static class get_partitions_ps_argsTupleScheme extends TupleScheme { + private static class get_partitions_ps_with_auth_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -121429,7 +123149,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetMax_parts()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if (struct.isSetUser_name()) { + optionals.set(4); + } + if (struct.isSetGroup_names()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -121439,21 +123165,33 @@ 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 _iter1546 : struct.part_vals) + for (String _iter1574 : struct.part_vals) { - oprot.writeString(_iter1546); + oprot.writeString(_iter1574); } } } 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 _iter1575 : struct.group_names) + { + oprot.writeString(_iter1575); + } + } + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -121464,13 +123202,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1547.size); - String _elem1548; - for (int _i1549 = 0; _i1549 < _list1547.size; ++_i1549) + org.apache.thrift.protocol.TList _list1576 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1576.size); + String _elem1577; + for (int _i1578 = 0; _i1578 < _list1576.size; ++_i1578) { - _elem1548 = iprot.readString(); - struct.part_vals.add(_elem1548); + _elem1577 = iprot.readString(); + struct.part_vals.add(_elem1577); } } struct.setPart_valsIsSet(true); @@ -121479,13 +123217,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } + if (incoming.get(4)) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } + if (incoming.get(5)) { + { + org.apache.thrift.protocol.TList _list1579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1579.size); + String _elem1580; + for (int _i1581 = 0; _i1581 < _list1579.size; ++_i1581) + { + _elem1580 = iprot.readString(); + struct.group_names.add(_elem1580); + } + } + struct.setGroup_namesIsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_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); @@ -121493,13 +123248,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_ps_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_ps_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_ps_with_auth_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_ps_with_auth_resultTupleSchemeFactory()); } private List success; // required - private MetaException o1; // required - private NoSuchObjectException o2; // 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 { @@ -121577,16 +123332,16 @@ 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_ps_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_ps_with_auth_result.class, metaDataMap); } - public get_partitions_ps_result() { + public get_partitions_ps_with_auth_result() { } - public get_partitions_ps_result( + public get_partitions_ps_with_auth_result( List success, - MetaException o1, - NoSuchObjectException o2) + NoSuchObjectException o1, + MetaException o2) { this(); this.success = success; @@ -121597,7 +123352,7 @@ public get_partitions_ps_result( /** * Performs a deep copy on other. */ - public get_partitions_ps_result(get_partitions_ps_result other) { + public get_partitions_ps_with_auth_result(get_partitions_ps_with_auth_result other) { if (other.isSetSuccess()) { List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { @@ -121606,15 +123361,15 @@ public get_partitions_ps_result(get_partitions_ps_result other) { 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_partitions_ps_result deepCopy() { - return new get_partitions_ps_result(this); + public get_partitions_ps_with_auth_result deepCopy() { + return new get_partitions_ps_with_auth_result(this); } @Override @@ -121662,11 +123417,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; } @@ -121685,11 +123440,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; } @@ -121722,7 +123477,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((MetaException)value); + setO1((NoSuchObjectException)value); } break; @@ -121730,7 +123485,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((NoSuchObjectException)value); + setO2((MetaException)value); } break; @@ -121773,12 +123528,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_ps_result) - return this.equals((get_partitions_ps_result)that); + if (that instanceof get_partitions_ps_with_auth_result) + return this.equals((get_partitions_ps_with_auth_result)that); return false; } - public boolean equals(get_partitions_ps_result that) { + public boolean equals(get_partitions_ps_with_auth_result that) { if (that == null) return false; @@ -121835,7 +123590,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_ps_result other) { + public int compareTo(get_partitions_ps_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -121889,7 +123644,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_ps_result("); + StringBuilder sb = new StringBuilder("get_partitions_ps_with_auth_result("); boolean first = true; sb.append("success:"); @@ -121940,15 +123695,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_ps_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_ps_resultStandardScheme getScheme() { - return new get_partitions_ps_resultStandardScheme(); + private static class get_partitions_ps_with_auth_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_ps_with_auth_resultStandardScheme getScheme() { + return new get_partitions_ps_with_auth_resultStandardScheme(); } } - private static class get_partitions_ps_resultStandardScheme extends StandardScheme { + private static class get_partitions_ps_with_auth_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -121961,14 +123716,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 _list1550 = iprot.readListBegin(); - struct.success = new ArrayList(_list1550.size); - Partition _elem1551; - for (int _i1552 = 0; _i1552 < _list1550.size; ++_i1552) + org.apache.thrift.protocol.TList _list1582 = iprot.readListBegin(); + struct.success = new ArrayList(_list1582.size); + Partition _elem1583; + for (int _i1584 = 0; _i1584 < _list1582.size; ++_i1584) { - _elem1551 = new Partition(); - _elem1551.read(iprot); - struct.success.add(_elem1551); + _elem1583 = new Partition(); + _elem1583.read(iprot); + struct.success.add(_elem1583); } iprot.readListEnd(); } @@ -121979,7 +123734,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r 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 { @@ -121988,7 +123743,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r 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 { @@ -122004,7 +123759,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -122012,9 +123767,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 _iter1553 : struct.success) + for (Partition _iter1585 : struct.success) { - _iter1553.write(oprot); + _iter1585.write(oprot); } oprot.writeListEnd(); } @@ -122036,16 +123791,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ } - private static class get_partitions_ps_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_ps_resultTupleScheme getScheme() { - return new get_partitions_ps_resultTupleScheme(); + private static class get_partitions_ps_with_auth_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_ps_with_auth_resultTupleScheme getScheme() { + return new get_partitions_ps_with_auth_resultTupleScheme(); } } - private static class get_partitions_ps_resultTupleScheme extends TupleScheme { + private static class get_partitions_ps_with_auth_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -122061,9 +123816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1554 : struct.success) + for (Partition _iter1586 : struct.success) { - _iter1554.write(oprot); + _iter1586.write(oprot); } } } @@ -122076,30 +123831,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_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 _list1555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1555.size); - Partition _elem1556; - for (int _i1557 = 0; _i1557 < _list1555.size; ++_i1557) + org.apache.thrift.protocol.TList _list1587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1587.size); + Partition _elem1588; + for (int _i1589 = 0; _i1589 < _list1587.size; ++_i1589) { - _elem1556 = new Partition(); - _elem1556.read(iprot); - struct.success.add(_elem1556); + _elem1588 = new Partition(); + _elem1588.read(iprot); + struct.success.add(_elem1588); } } 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); } @@ -122108,37 +123863,31 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_with_auth_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_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_ps_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_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.LIST, (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)4); - 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)5); - 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)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_ps_with_auth_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_ps_with_auth_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_names_ps_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_names_ps_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required private List part_vals; // 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"), PART_VALS((short)3, "part_vals"), - MAX_PARTS((short)4, "max_parts"), - USER_NAME((short)5, "user_name"), - GROUP_NAMES((short)6, "group_names"); + MAX_PARTS((short)4, "max_parts"); private static final Map byName = new HashMap(); @@ -122161,10 +123910,6 @@ public static _Fields findByThriftId(int fieldId) { return PART_VALS; case 4: // MAX_PARTS return MAX_PARTS; - case 5: // USER_NAME - return USER_NAME; - case 6: // GROUP_NAMES - return GROUP_NAMES; default: return null; } @@ -122219,27 +123964,20 @@ 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_ps_with_auth_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_ps_args.class, metaDataMap); } - public get_partitions_ps_with_auth_args() { + public get_partition_names_ps_args() { this.max_parts = (short)-1; } - public get_partitions_ps_with_auth_args( + public get_partition_names_ps_args( String db_name, String tbl_name, List part_vals, - short max_parts, - String user_name, - List group_names) + short max_parts) { this(); this.db_name = db_name; @@ -122247,14 +123985,12 @@ public get_partitions_ps_with_auth_args( this.part_vals = part_vals; 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_ps_with_auth_args(get_partitions_ps_with_auth_args other) { + public get_partition_names_ps_args(get_partition_names_ps_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -122267,17 +124003,10 @@ public get_partitions_ps_with_auth_args(get_partitions_ps_with_auth_args other) this.part_vals = __this__part_vals; } 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_ps_with_auth_args deepCopy() { - return new get_partitions_ps_with_auth_args(this); + public get_partition_names_ps_args deepCopy() { + return new get_partition_names_ps_args(this); } @Override @@ -122287,8 +124016,6 @@ public void clear() { this.part_vals = null; this.max_parts = (short)-1; - this.user_name = null; - this.group_names = null; } public String getDb_name() { @@ -122397,67 +124124,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: @@ -122492,22 +124158,6 @@ 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; - } } @@ -122525,12 +124175,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(); } @@ -122550,10 +124194,6 @@ public boolean isSet(_Fields field) { return isSetPart_vals(); case MAX_PARTS: return isSetMax_parts(); - case USER_NAME: - return isSetUser_name(); - case GROUP_NAMES: - return isSetGroup_names(); } throw new IllegalStateException(); } @@ -122562,12 +124202,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_ps_with_auth_args) - return this.equals((get_partitions_ps_with_auth_args)that); + if (that instanceof get_partition_names_ps_args) + return this.equals((get_partition_names_ps_args)that); return false; } - public boolean equals(get_partitions_ps_with_auth_args that) { + public boolean equals(get_partition_names_ps_args that) { if (that == null) return false; @@ -122607,24 +124247,6 @@ public boolean equals(get_partitions_ps_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; } @@ -122652,21 +124274,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_ps_with_auth_args other) { + public int compareTo(get_partition_names_ps_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -122713,26 +124325,6 @@ public int compareTo(get_partitions_ps_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; } @@ -122750,7 +124342,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_ps_with_auth_args("); + StringBuilder sb = new StringBuilder("get_partition_names_ps_args("); boolean first = true; sb.append("db_name:"); @@ -122780,22 +124372,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(); } @@ -122823,15 +124399,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_ps_with_auth_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_ps_with_auth_argsStandardScheme getScheme() { - return new get_partitions_ps_with_auth_argsStandardScheme(); + private static class get_partition_names_ps_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_names_ps_argsStandardScheme getScheme() { + return new get_partition_names_ps_argsStandardScheme(); } } - private static class get_partitions_ps_with_auth_argsStandardScheme extends StandardScheme { + private static class get_partition_names_ps_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -122860,13 +124436,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 _list1558 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1558.size); - String _elem1559; - for (int _i1560 = 0; _i1560 < _list1558.size; ++_i1560) + org.apache.thrift.protocol.TList _list1590 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1590.size); + String _elem1591; + for (int _i1592 = 0; _i1592 < _list1590.size; ++_i1592) { - _elem1559 = iprot.readString(); - struct.part_vals.add(_elem1559); + _elem1591 = iprot.readString(); + struct.part_vals.add(_elem1591); } iprot.readListEnd(); } @@ -122883,32 +124459,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // 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 6: // GROUP_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1561 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1561.size); - String _elem1562; - for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) - { - _elem1562 = iprot.readString(); - struct.group_names.add(_elem1562); - } - 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); } @@ -122918,7 +124468,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -122936,9 +124486,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 _iter1564 : struct.part_vals) + for (String _iter1593 : struct.part_vals) { - oprot.writeString(_iter1564); + oprot.writeString(_iter1593); } oprot.writeListEnd(); } @@ -122947,39 +124497,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ 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 _iter1565 : struct.group_names) - { - oprot.writeString(_iter1565); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partitions_ps_with_auth_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_ps_with_auth_argsTupleScheme getScheme() { - return new get_partitions_ps_with_auth_argsTupleScheme(); + private static class get_partition_names_ps_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_names_ps_argsTupleScheme getScheme() { + return new get_partition_names_ps_argsTupleScheme(); } } - private static class get_partitions_ps_with_auth_argsTupleScheme extends TupleScheme { + private static class get_partition_names_ps_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -122994,13 +124527,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetMax_parts()) { optionals.set(3); } - if (struct.isSetUser_name()) { - optionals.set(4); - } - if (struct.isSetGroup_names()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 4); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -123010,33 +124537,21 @@ 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 _iter1566 : struct.part_vals) + for (String _iter1594 : struct.part_vals) { - oprot.writeString(_iter1566); + oprot.writeString(_iter1594); } } } 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 _iter1567 : struct.group_names) - { - oprot.writeString(_iter1567); - } - } - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -123047,13 +124562,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1568 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1568.size); - String _elem1569; - for (int _i1570 = 0; _i1570 < _list1568.size; ++_i1570) + org.apache.thrift.protocol.TList _list1595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1595.size); + String _elem1596; + for (int _i1597 = 0; _i1597 < _list1595.size; ++_i1597) { - _elem1569 = iprot.readString(); - struct.part_vals.add(_elem1569); + _elem1596 = iprot.readString(); + struct.part_vals.add(_elem1596); } } struct.setPart_valsIsSet(true); @@ -123062,30 +124577,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } - if (incoming.get(4)) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } - if (incoming.get(5)) { - { - org.apache.thrift.protocol.TList _list1571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1571.size); - String _elem1572; - for (int _i1573 = 0; _i1573 < _list1571.size; ++_i1573) - { - _elem1572 = iprot.readString(); - struct.group_names.add(_elem1572); - } - } - struct.setGroup_namesIsSet(true); - } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_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_ps_with_auth_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_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_ps_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); @@ -123093,13 +124591,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_ps_with_auth_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_ps_with_auth_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_names_ps_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_names_ps_resultTupleSchemeFactory()); } - private List success; // required - private NoSuchObjectException o1; // required - private MetaException o2; // required + private List 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 { @@ -123171,22 +124669,22 @@ 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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_ps_with_auth_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_ps_result.class, metaDataMap); } - public get_partitions_ps_with_auth_result() { + public get_partition_names_ps_result() { } - public get_partitions_ps_with_auth_result( - List success, - NoSuchObjectException o1, - MetaException o2) + public get_partition_names_ps_result( + List success, + MetaException o1, + NoSuchObjectException o2) { this(); this.success = success; @@ -123197,24 +124695,21 @@ public get_partitions_ps_with_auth_result( /** * Performs a deep copy on other. */ - public get_partitions_ps_with_auth_result(get_partitions_ps_with_auth_result other) { + public get_partition_names_ps_result(get_partition_names_ps_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); this.success = __this__success; } if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); + this.o1 = new MetaException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new NoSuchObjectException(other.o2); } } - public get_partitions_ps_with_auth_result deepCopy() { - return new get_partitions_ps_with_auth_result(this); + public get_partition_names_ps_result deepCopy() { + return new get_partition_names_ps_result(this); } @Override @@ -123228,22 +124723,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(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; } @@ -123262,11 +124757,11 @@ public void setSuccessIsSet(boolean value) { } } - public NoSuchObjectException getO1() { + public MetaException getO1() { return this.o1; } - public void setO1(NoSuchObjectException o1) { + public void setO1(MetaException o1) { this.o1 = o1; } @@ -123285,11 +124780,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public NoSuchObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(NoSuchObjectException o2) { this.o2 = o2; } @@ -123314,7 +124809,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -123322,7 +124817,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((NoSuchObjectException)value); + setO1((MetaException)value); } break; @@ -123330,7 +124825,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((NoSuchObjectException)value); } break; @@ -123373,12 +124868,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_ps_with_auth_result) - return this.equals((get_partitions_ps_with_auth_result)that); + if (that instanceof get_partition_names_ps_result) + return this.equals((get_partition_names_ps_result)that); return false; } - public boolean equals(get_partitions_ps_with_auth_result that) { + public boolean equals(get_partition_names_ps_result that) { if (that == null) return false; @@ -123435,7 +124930,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_ps_with_auth_result other) { + public int compareTo(get_partition_names_ps_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -123489,7 +124984,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_ps_with_auth_result("); + StringBuilder sb = new StringBuilder("get_partition_names_ps_result("); boolean first = true; sb.append("success:"); @@ -123540,15 +125035,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_ps_with_auth_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_ps_with_auth_resultStandardScheme getScheme() { - return new get_partitions_ps_with_auth_resultStandardScheme(); + private static class get_partition_names_ps_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_names_ps_resultStandardScheme getScheme() { + return new get_partition_names_ps_resultStandardScheme(); } } - private static class get_partitions_ps_with_auth_resultStandardScheme extends StandardScheme { + private static class get_partition_names_ps_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_ps_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -123561,14 +125056,13 @@ 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 _list1574 = iprot.readListBegin(); - struct.success = new ArrayList(_list1574.size); - Partition _elem1575; - for (int _i1576 = 0; _i1576 < _list1574.size; ++_i1576) + org.apache.thrift.protocol.TList _list1598 = iprot.readListBegin(); + struct.success = new ArrayList(_list1598.size); + String _elem1599; + for (int _i1600 = 0; _i1600 < _list1598.size; ++_i1600) { - _elem1575 = new Partition(); - _elem1575.read(iprot); - struct.success.add(_elem1575); + _elem1599 = iprot.readString(); + struct.success.add(_elem1599); } iprot.readListEnd(); } @@ -123579,7 +125073,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -123588,7 +125082,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -123604,17 +125098,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_ps_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 (Partition _iter1577 : struct.success) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1601 : struct.success) { - _iter1577.write(oprot); + oprot.writeString(_iter1601); } oprot.writeListEnd(); } @@ -123636,16 +125130,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ } - private static class get_partitions_ps_with_auth_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_ps_with_auth_resultTupleScheme getScheme() { - return new get_partitions_ps_with_auth_resultTupleScheme(); + private static class get_partition_names_ps_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_names_ps_resultTupleScheme getScheme() { + return new get_partition_names_ps_resultTupleScheme(); } } - private static class get_partitions_ps_with_auth_resultTupleScheme extends TupleScheme { + private static class get_partition_names_ps_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -123661,9 +125155,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1578 : struct.success) + for (String _iter1602 : struct.success) { - _iter1578.write(oprot); + oprot.writeString(_iter1602); } } } @@ -123676,30 +125170,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_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 _list1579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1579.size); - Partition _elem1580; - for (int _i1581 = 0; _i1581 < _list1579.size; ++_i1581) + org.apache.thrift.protocol.TList _list1603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1603.size); + String _elem1604; + for (int _i1605 = 0; _i1605 < _list1603.size; ++_i1605) { - _elem1580 = new Partition(); - _elem1580.read(iprot); - struct.success.add(_elem1580); + _elem1604 = iprot.readString(); + struct.success.add(_elem1604); } } struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new MetaException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -123708,30 +125201,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_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_ps_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_filter_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_by_filter_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_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.LIST, (short)3); + 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)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)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_names_ps_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_names_ps_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_by_filter_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_by_filter_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private List part_vals; // required + private String filter; // 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_VALS((short)3, "part_vals"), + FILTER((short)3, "filter"), MAX_PARTS((short)4, "max_parts"); private static final Map byName = new HashMap(); @@ -123751,8 +125244,8 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // TBL_NAME return TBL_NAME; - case 3: // PART_VALS - return PART_VALS; + case 3: // FILTER + return FILTER; case 4: // MAX_PARTS return MAX_PARTS; default: @@ -123804,30 +125297,29 @@ 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_VALS, new org.apache.thrift.meta_data.FieldMetaData("part_vals", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", 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_names_ps_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_filter_args.class, metaDataMap); } - public get_partition_names_ps_args() { + public get_partitions_by_filter_args() { this.max_parts = (short)-1; } - public get_partition_names_ps_args( + public get_partitions_by_filter_args( String db_name, String tbl_name, - List part_vals, + String filter, short max_parts) { this(); this.db_name = db_name; this.tbl_name = tbl_name; - this.part_vals = part_vals; + this.filter = filter; this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -123835,7 +125327,7 @@ public get_partition_names_ps_args( /** * Performs a deep copy on other. */ - public get_partition_names_ps_args(get_partition_names_ps_args other) { + public get_partitions_by_filter_args(get_partitions_by_filter_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -123843,22 +125335,21 @@ public get_partition_names_ps_args(get_partition_names_ps_args other) { if (other.isSetTbl_name()) { this.tbl_name = other.tbl_name; } - if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(other.part_vals); - this.part_vals = __this__part_vals; + if (other.isSetFilter()) { + this.filter = other.filter; } this.max_parts = other.max_parts; } - public get_partition_names_ps_args deepCopy() { - return new get_partition_names_ps_args(this); + public get_partitions_by_filter_args deepCopy() { + return new get_partitions_by_filter_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.part_vals = null; + this.filter = null; this.max_parts = (short)-1; } @@ -123909,41 +125400,26 @@ 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 String getFilter() { + return this.filter; } - public void setPart_vals(List part_vals) { - this.part_vals = part_vals; + public void setFilter(String filter) { + this.filter = filter; } - public void unsetPart_vals() { - this.part_vals = null; + public void unsetFilter() { + this.filter = 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; + /** Returns true if field filter is set (has been assigned a value) and false otherwise */ + public boolean isSetFilter() { + return this.filter != null; } - public void setPart_valsIsSet(boolean value) { + public void setFilterIsSet(boolean value) { if (!value) { - this.part_vals = null; + this.filter = null; } } @@ -123987,11 +125463,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case PART_VALS: + case FILTER: if (value == null) { - unsetPart_vals(); + unsetFilter(); } else { - setPart_vals((List)value); + setFilter((String)value); } break; @@ -124014,8 +125490,8 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); - case PART_VALS: - return getPart_vals(); + case FILTER: + return getFilter(); case MAX_PARTS: return getMax_parts(); @@ -124035,8 +125511,8 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); - case PART_VALS: - return isSetPart_vals(); + case FILTER: + return isSetFilter(); case MAX_PARTS: return isSetMax_parts(); } @@ -124047,12 +125523,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_names_ps_args) - return this.equals((get_partition_names_ps_args)that); + if (that instanceof get_partitions_by_filter_args) + return this.equals((get_partitions_by_filter_args)that); return false; } - public boolean equals(get_partition_names_ps_args that) { + public boolean equals(get_partitions_by_filter_args that) { if (that == null) return false; @@ -124074,12 +125550,12 @@ public boolean equals(get_partition_names_ps_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)) + 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.part_vals.equals(that.part_vals)) + if (!this.filter.equals(that.filter)) return false; } @@ -124109,10 +125585,10 @@ 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_filter = true && (isSetFilter()); + list.add(present_filter); + if (present_filter) + list.add(filter); boolean present_max_parts = true; list.add(present_max_parts); @@ -124123,7 +125599,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_names_ps_args other) { + public int compareTo(get_partitions_by_filter_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -124150,12 +125626,12 @@ public int compareTo(get_partition_names_ps_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter()); if (lastComparison != 0) { return lastComparison; } - if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); + if (isSetFilter()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter); if (lastComparison != 0) { return lastComparison; } @@ -124187,7 +125663,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_names_ps_args("); + StringBuilder sb = new StringBuilder("get_partitions_by_filter_args("); boolean first = true; sb.append("db_name:"); @@ -124206,11 +125682,11 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("part_vals:"); - if (this.part_vals == null) { + sb.append("filter:"); + if (this.filter == null) { sb.append("null"); } else { - sb.append(this.part_vals); + sb.append(this.filter); } first = false; if (!first) sb.append(", "); @@ -124244,15 +125720,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_names_ps_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_names_ps_argsStandardScheme getScheme() { - return new get_partition_names_ps_argsStandardScheme(); + private static class get_partitions_by_filter_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_by_filter_argsStandardScheme getScheme() { + return new get_partitions_by_filter_argsStandardScheme(); } } - private static class get_partition_names_ps_argsStandardScheme extends StandardScheme { + private static class get_partitions_by_filter_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -124278,20 +125754,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names 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 _list1582 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1582.size); - String _elem1583; - for (int _i1584 = 0; _i1584 < _list1582.size; ++_i1584) - { - _elem1583 = iprot.readString(); - struct.part_vals.add(_elem1583); - } - iprot.readListEnd(); - } - struct.setPart_valsIsSet(true); + case 3: // 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); } @@ -124313,7 +125779,7 @@ 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_ps_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -124327,16 +125793,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name 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 _iter1585 : struct.part_vals) - { - oprot.writeString(_iter1585); - } - oprot.writeListEnd(); - } + if (struct.filter != null) { + oprot.writeFieldBegin(FILTER_FIELD_DESC); + oprot.writeString(struct.filter); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); @@ -124348,16 +125807,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name } - private static class get_partition_names_ps_argsTupleSchemeFactory implements SchemeFactory { - public get_partition_names_ps_argsTupleScheme getScheme() { - return new get_partition_names_ps_argsTupleScheme(); + private static class get_partitions_by_filter_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_by_filter_argsTupleScheme getScheme() { + return new get_partitions_by_filter_argsTupleScheme(); } } - private static class get_partition_names_ps_argsTupleScheme extends TupleScheme { + private static class get_partitions_by_filter_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -124366,7 +125825,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetPart_vals()) { + if (struct.isSetFilter()) { optionals.set(2); } if (struct.isSetMax_parts()) { @@ -124379,14 +125838,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } - if (struct.isSetPart_vals()) { - { - oprot.writeI32(struct.part_vals.size()); - for (String _iter1586 : struct.part_vals) - { - oprot.writeString(_iter1586); - } - } + if (struct.isSetFilter()) { + oprot.writeString(struct.filter); } if (struct.isSetMax_parts()) { oprot.writeI16(struct.max_parts); @@ -124394,7 +125847,7 @@ 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_ps_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { @@ -124406,17 +125859,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list1587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1587.size); - String _elem1588; - for (int _i1589 = 0; _i1589 < _list1587.size; ++_i1589) - { - _elem1588 = iprot.readString(); - struct.part_vals.add(_elem1588); - } - } - struct.setPart_valsIsSet(true); + struct.filter = iprot.readString(); + struct.setFilterIsSet(true); } if (incoming.get(3)) { struct.max_parts = iprot.readI16(); @@ -124427,8 +125871,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_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_ps_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_filter_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_by_filter_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); @@ -124436,11 +125880,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_names_ps_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_names_ps_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_by_filter_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_by_filter_resultTupleSchemeFactory()); } - private List success; // required + private List success; // required private MetaException o1; // required private NoSuchObjectException o2; // required @@ -124514,20 +125958,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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + 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_names_ps_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_filter_result.class, metaDataMap); } - public get_partition_names_ps_result() { + public get_partitions_by_filter_result() { } - public get_partition_names_ps_result( - List success, + public get_partitions_by_filter_result( + List success, MetaException o1, NoSuchObjectException o2) { @@ -124540,9 +125984,12 @@ public get_partition_names_ps_result( /** * Performs a deep copy on other. */ - public get_partition_names_ps_result(get_partition_names_ps_result other) { + public get_partitions_by_filter_result(get_partitions_by_filter_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(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()) { @@ -124553,8 +126000,8 @@ public get_partition_names_ps_result(get_partition_names_ps_result other) { } } - public get_partition_names_ps_result deepCopy() { - return new get_partition_names_ps_result(this); + public get_partitions_by_filter_result deepCopy() { + return new get_partitions_by_filter_result(this); } @Override @@ -124568,22 +126015,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(String elem) { + public void addToSuccess(Partition 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; } @@ -124654,7 +126101,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -124713,12 +126160,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_names_ps_result) - return this.equals((get_partition_names_ps_result)that); + if (that instanceof get_partitions_by_filter_result) + return this.equals((get_partitions_by_filter_result)that); return false; } - public boolean equals(get_partition_names_ps_result that) { + public boolean equals(get_partitions_by_filter_result that) { if (that == null) return false; @@ -124775,7 +126222,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_names_ps_result other) { + public int compareTo(get_partitions_by_filter_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -124829,7 +126276,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_names_ps_result("); + StringBuilder sb = new StringBuilder("get_partitions_by_filter_result("); boolean first = true; sb.append("success:"); @@ -124880,15 +126327,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_names_ps_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_names_ps_resultStandardScheme getScheme() { - return new get_partition_names_ps_resultStandardScheme(); + private static class get_partitions_by_filter_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_by_filter_resultStandardScheme getScheme() { + return new get_partitions_by_filter_resultStandardScheme(); } } - private static class get_partition_names_ps_resultStandardScheme extends StandardScheme { + private static class get_partitions_by_filter_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_ps_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -124901,13 +126348,14 @@ 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 _list1590 = iprot.readListBegin(); - struct.success = new ArrayList(_list1590.size); - String _elem1591; - for (int _i1592 = 0; _i1592 < _list1590.size; ++_i1592) + org.apache.thrift.protocol.TList _list1606 = iprot.readListBegin(); + struct.success = new ArrayList(_list1606.size); + Partition _elem1607; + for (int _i1608 = 0; _i1608 < _list1606.size; ++_i1608) { - _elem1591 = iprot.readString(); - struct.success.add(_elem1591); + _elem1607 = new Partition(); + _elem1607.read(iprot); + struct.success.add(_elem1607); } iprot.readListEnd(); } @@ -124943,17 +126391,17 @@ 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_ps_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_filter_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 _iter1593 : struct.success) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + for (Partition _iter1609 : struct.success) { - oprot.writeString(_iter1593); + _iter1609.write(oprot); } oprot.writeListEnd(); } @@ -124975,16 +126423,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name } - private static class get_partition_names_ps_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_names_ps_resultTupleScheme getScheme() { - return new get_partition_names_ps_resultTupleScheme(); + private static class get_partitions_by_filter_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_by_filter_resultTupleScheme getScheme() { + return new get_partitions_by_filter_resultTupleScheme(); } } - private static class get_partition_names_ps_resultTupleScheme extends TupleScheme { + private static class get_partitions_by_filter_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ps_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -125000,9 +126448,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1594 : struct.success) + for (Partition _iter1610 : struct.success) { - oprot.writeString(_iter1594); + _iter1610.write(oprot); } } } @@ -125015,18 +126463,19 @@ 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_ps_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_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 _list1595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1595.size); - String _elem1596; - for (int _i1597 = 0; _i1597 < _list1595.size; ++_i1597) + org.apache.thrift.protocol.TList _list1611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1611.size); + Partition _elem1612; + for (int _i1613 = 0; _i1613 < _list1611.size; ++_i1613) { - _elem1596 = iprot.readString(); - struct.success.add(_elem1596); + _elem1612 = new Partition(); + _elem1612.read(iprot); + struct.success.add(_elem1612); } } struct.setSuccessIsSet(true); @@ -125046,24 +126495,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_filter_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_by_filter_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_part_specs_by_filter_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_part_specs_by_filter_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 FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", 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)4); + 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)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_by_filter_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_by_filter_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_part_specs_by_filter_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_part_specs_by_filter_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required private String filter; // required - private short max_parts; // 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 { @@ -125145,21 +126594,21 @@ public String getFieldName() { tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", 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))); + 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_by_filter_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_part_specs_by_filter_args.class, metaDataMap); } - public get_partitions_by_filter_args() { - this.max_parts = (short)-1; + public get_part_specs_by_filter_args() { + this.max_parts = -1; } - public get_partitions_by_filter_args( + public get_part_specs_by_filter_args( String db_name, String tbl_name, String filter, - short max_parts) + int max_parts) { this(); this.db_name = db_name; @@ -125172,7 +126621,7 @@ public get_partitions_by_filter_args( /** * Performs a deep copy on other. */ - public get_partitions_by_filter_args(get_partitions_by_filter_args other) { + public get_part_specs_by_filter_args(get_part_specs_by_filter_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -125186,8 +126635,8 @@ public get_partitions_by_filter_args(get_partitions_by_filter_args other) { this.max_parts = other.max_parts; } - public get_partitions_by_filter_args deepCopy() { - return new get_partitions_by_filter_args(this); + public get_part_specs_by_filter_args deepCopy() { + return new get_part_specs_by_filter_args(this); } @Override @@ -125195,7 +126644,7 @@ public void clear() { this.db_name = null; this.tbl_name = null; this.filter = null; - this.max_parts = (short)-1; + this.max_parts = -1; } @@ -125268,11 +126717,11 @@ public void setFilterIsSet(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); } @@ -125320,7 +126769,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetMax_parts(); } else { - setMax_parts((Short)value); + setMax_parts((Integer)value); } break; @@ -125368,12 +126817,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_by_filter_args) - return this.equals((get_partitions_by_filter_args)that); + if (that instanceof get_part_specs_by_filter_args) + return this.equals((get_part_specs_by_filter_args)that); return false; } - public boolean equals(get_partitions_by_filter_args that) { + public boolean equals(get_part_specs_by_filter_args that) { if (that == null) return false; @@ -125444,7 +126893,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_by_filter_args other) { + public int compareTo(get_part_specs_by_filter_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -125508,7 +126957,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_by_filter_args("); + StringBuilder sb = new StringBuilder("get_part_specs_by_filter_args("); boolean first = true; sb.append("db_name:"); @@ -125565,15 +127014,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_by_filter_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_by_filter_argsStandardScheme getScheme() { - return new get_partitions_by_filter_argsStandardScheme(); + private static class get_part_specs_by_filter_argsStandardSchemeFactory implements SchemeFactory { + public get_part_specs_by_filter_argsStandardScheme getScheme() { + return new get_part_specs_by_filter_argsStandardScheme(); } } - private static class get_partitions_by_filter_argsStandardScheme extends StandardScheme { + private static class get_part_specs_by_filter_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -125608,8 +127057,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f } break; case 4: // 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); @@ -125624,7 +127073,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -125644,7 +127093,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI16(struct.max_parts); + oprot.writeI32(struct.max_parts); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); @@ -125652,16 +127101,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ } - private static class get_partitions_by_filter_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_by_filter_argsTupleScheme getScheme() { - return new get_partitions_by_filter_argsTupleScheme(); + private static class get_part_specs_by_filter_argsTupleSchemeFactory implements SchemeFactory { + public get_part_specs_by_filter_argsTupleScheme getScheme() { + return new get_part_specs_by_filter_argsTupleScheme(); } } - private static class get_partitions_by_filter_argsTupleScheme extends TupleScheme { + private static class get_part_specs_by_filter_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -125687,12 +127136,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f oprot.writeString(struct.filter); } if (struct.isSetMax_parts()) { - oprot.writeI16(struct.max_parts); + oprot.writeI32(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { @@ -125708,7 +127157,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi struct.setFilterIsSet(true); } if (incoming.get(3)) { - struct.max_parts = iprot.readI16(); + struct.max_parts = iprot.readI32(); struct.setMax_partsIsSet(true); } } @@ -125716,8 +127165,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_filter_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_by_filter_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_part_specs_by_filter_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_part_specs_by_filter_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); @@ -125725,11 +127174,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_by_filter_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_by_filter_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_part_specs_by_filter_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_part_specs_by_filter_resultTupleSchemeFactory()); } - private List success; // required + private List success; // required private MetaException o1; // required private NoSuchObjectException o2; // required @@ -125803,20 +127252,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_by_filter_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_part_specs_by_filter_result.class, metaDataMap); } - public get_partitions_by_filter_result() { + public get_part_specs_by_filter_result() { } - public get_partitions_by_filter_result( - List success, + public get_part_specs_by_filter_result( + List success, MetaException o1, NoSuchObjectException o2) { @@ -125829,11 +127278,11 @@ public get_partitions_by_filter_result( /** * Performs a deep copy on other. */ - public get_partitions_by_filter_result(get_partitions_by_filter_result other) { + public get_part_specs_by_filter_result(get_part_specs_by_filter_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; } @@ -125845,8 +127294,8 @@ public get_partitions_by_filter_result(get_partitions_by_filter_result other) { } } - public get_partitions_by_filter_result deepCopy() { - return new get_partitions_by_filter_result(this); + public get_part_specs_by_filter_result deepCopy() { + return new get_part_specs_by_filter_result(this); } @Override @@ -125860,22 +127309,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; } @@ -125946,7 +127395,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((List)value); } break; @@ -126005,12 +127454,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_by_filter_result) - return this.equals((get_partitions_by_filter_result)that); + if (that instanceof get_part_specs_by_filter_result) + return this.equals((get_part_specs_by_filter_result)that); return false; } - public boolean equals(get_partitions_by_filter_result that) { + public boolean equals(get_part_specs_by_filter_result that) { if (that == null) return false; @@ -126067,7 +127516,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_by_filter_result other) { + public int compareTo(get_part_specs_by_filter_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -126121,7 +127570,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_by_filter_result("); + StringBuilder sb = new StringBuilder("get_part_specs_by_filter_result("); boolean first = true; sb.append("success:"); @@ -126172,15 +127621,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_by_filter_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_by_filter_resultStandardScheme getScheme() { - return new get_partitions_by_filter_resultStandardScheme(); + private static class get_part_specs_by_filter_resultStandardSchemeFactory implements SchemeFactory { + public get_part_specs_by_filter_resultStandardScheme getScheme() { + return new get_part_specs_by_filter_resultStandardScheme(); } } - private static class get_partitions_by_filter_resultStandardScheme extends StandardScheme { + private static class get_part_specs_by_filter_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -126193,14 +127642,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 _list1598 = iprot.readListBegin(); - struct.success = new ArrayList(_list1598.size); - Partition _elem1599; - for (int _i1600 = 0; _i1600 < _list1598.size; ++_i1600) + org.apache.thrift.protocol.TList _list1614 = iprot.readListBegin(); + struct.success = new ArrayList(_list1614.size); + PartitionSpec _elem1615; + for (int _i1616 = 0; _i1616 < _list1614.size; ++_i1616) { - _elem1599 = new Partition(); - _elem1599.read(iprot); - struct.success.add(_elem1599); + _elem1615 = new PartitionSpec(); + _elem1615.read(iprot); + struct.success.add(_elem1615); } iprot.readListEnd(); } @@ -126236,7 +127685,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -126244,9 +127693,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 _iter1601 : struct.success) + for (PartitionSpec _iter1617 : struct.success) { - _iter1601.write(oprot); + _iter1617.write(oprot); } oprot.writeListEnd(); } @@ -126268,16 +127717,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ } - private static class get_partitions_by_filter_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_by_filter_resultTupleScheme getScheme() { - return new get_partitions_by_filter_resultTupleScheme(); + private static class get_part_specs_by_filter_resultTupleSchemeFactory implements SchemeFactory { + public get_part_specs_by_filter_resultTupleScheme getScheme() { + return new get_part_specs_by_filter_resultTupleScheme(); } } - private static class get_partitions_by_filter_resultTupleScheme extends TupleScheme { + private static class get_part_specs_by_filter_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -126293,9 +127742,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1602 : struct.success) + for (PartitionSpec _iter1618 : struct.success) { - _iter1602.write(oprot); + _iter1618.write(oprot); } } } @@ -126308,19 +127757,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_filter_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_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 _list1603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1603.size); - Partition _elem1604; - for (int _i1605 = 0; _i1605 < _list1603.size; ++_i1605) + org.apache.thrift.protocol.TList _list1619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1619.size); + PartitionSpec _elem1620; + for (int _i1621 = 0; _i1621 < _list1619.size; ++_i1621) { - _elem1604 = new Partition(); - _elem1604.read(iprot); - struct.success.add(_elem1604); + _elem1620 = new PartitionSpec(); + _elem1620.read(iprot); + struct.success.add(_elem1620); } } struct.setSuccessIsSet(true); @@ -126340,31 +127789,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_part_specs_by_filter_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_part_specs_by_filter_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr_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_by_expr_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 FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", 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.I32, (short)4); + private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_part_specs_by_filter_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_part_specs_by_filter_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_by_expr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_by_expr_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private String filter; // required - private int max_parts; // required + private PartitionsByExprRequest req; // 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"), - FILTER((short)3, "filter"), - MAX_PARTS((short)4, "max_parts"); + REQ((short)1, "req"); private static final Map byName = new HashMap(); @@ -126379,14 +127819,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // FILTER - return FILTER; - case 4: // MAX_PARTS - return MAX_PARTS; + case 1: // REQ + return REQ; default: return null; } @@ -126427,194 +127861,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.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", 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))); + tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsByExprRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_part_specs_by_filter_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_expr_args.class, metaDataMap); } - public get_part_specs_by_filter_args() { - this.max_parts = -1; - + public get_partitions_by_expr_args() { } - public get_part_specs_by_filter_args( - String db_name, - String tbl_name, - String filter, - int max_parts) + public get_partitions_by_expr_args( + PartitionsByExprRequest req) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.filter = filter; - this.max_parts = max_parts; - setMax_partsIsSet(true); + this.req = req; } /** * Performs a deep copy on other. */ - public get_part_specs_by_filter_args(get_part_specs_by_filter_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.isSetFilter()) { - this.filter = other.filter; + public get_partitions_by_expr_args(get_partitions_by_expr_args other) { + if (other.isSetReq()) { + this.req = new PartitionsByExprRequest(other.req); } - this.max_parts = other.max_parts; } - public get_part_specs_by_filter_args deepCopy() { - return new get_part_specs_by_filter_args(this); + public get_partitions_by_expr_args deepCopy() { + return new get_partitions_by_expr_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.filter = null; - this.max_parts = -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; - } - } - - 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; - } + this.req = null; } - public String getFilter() { - return this.filter; + public PartitionsByExprRequest getReq() { + return this.req; } - public void setFilter(String filter) { - this.filter = filter; + public void setReq(PartitionsByExprRequest req) { + this.req = req; } - public void unsetFilter() { - this.filter = null; + public void unsetReq() { + this.req = null; } - /** Returns true if field filter is set (has been assigned a value) and false otherwise */ - public boolean isSetFilter() { - return this.filter != null; + /** Returns true if field req is set (has been assigned a value) and false otherwise */ + public boolean isSetReq() { + return this.req != null; } - public void setFilterIsSet(boolean value) { + public void setReqIsSet(boolean value) { if (!value) { - this.filter = null; + this.req = null; } } - public int getMax_parts() { - return this.max_parts; - } - - public void setMax_parts(int 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 FILTER: - if (value == null) { - unsetFilter(); - } else { - setFilter((String)value); - } - break; - - case MAX_PARTS: + case REQ: if (value == null) { - unsetMax_parts(); + unsetReq(); } else { - setMax_parts((Integer)value); + setReq((PartitionsByExprRequest)value); } break; @@ -126623,17 +127936,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 FILTER: - return getFilter(); - - case MAX_PARTS: - return getMax_parts(); + case REQ: + return getReq(); } throw new IllegalStateException(); @@ -126646,14 +127950,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case FILTER: - return isSetFilter(); - case MAX_PARTS: - return isSetMax_parts(); + case REQ: + return isSetReq(); } throw new IllegalStateException(); } @@ -126662,48 +127960,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_part_specs_by_filter_args) - return this.equals((get_part_specs_by_filter_args)that); + if (that instanceof get_partitions_by_expr_args) + return this.equals((get_partitions_by_expr_args)that); return false; } - public boolean equals(get_part_specs_by_filter_args that) { + public boolean equals(get_partitions_by_expr_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_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_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_req = true && this.isSetReq(); + boolean that_present_req = true && that.isSetReq(); + if (this_present_req || that_present_req) { + if (!(this_present_req && that_present_req)) return false; - if (this.max_parts != that.max_parts) + if (!this.req.equals(that.req)) return false; } @@ -126714,73 +127985,28 @@ public boolean equals(get_part_specs_by_filter_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_filter = true && (isSetFilter()); - list.add(present_filter); - if (present_filter) - list.add(filter); - - boolean present_max_parts = true; - list.add(present_max_parts); - if (present_max_parts) - list.add(max_parts); + boolean present_req = true && (isSetReq()); + list.add(present_req); + if (present_req) + list.add(req); return list.hashCode(); } @Override - public int compareTo(get_part_specs_by_filter_args other) { + public int compareTo(get_partitions_by_expr_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(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(isSetMax_parts()).compareTo(other.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } - if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); + if (isSetReq()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -126802,36 +128028,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_part_specs_by_filter_args("); + StringBuilder sb = new StringBuilder("get_partitions_by_expr_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("filter:"); - if (this.filter == null) { + sb.append("req:"); + if (this.req == null) { sb.append("null"); } else { - sb.append(this.filter); + sb.append(this.req); } first = false; - if (!first) sb.append(", "); - sb.append("max_parts:"); - sb.append(this.max_parts); - first = false; sb.append(")"); return sb.toString(); } @@ -126839,6 +128045,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (req != null) { + req.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -126851,23 +128060,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_part_specs_by_filter_argsStandardSchemeFactory implements SchemeFactory { - public get_part_specs_by_filter_argsStandardScheme getScheme() { - return new get_part_specs_by_filter_argsStandardScheme(); + private static class get_partitions_by_expr_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_by_expr_argsStandardScheme getScheme() { + return new get_partitions_by_expr_argsStandardScheme(); } } - private static class get_part_specs_by_filter_argsStandardScheme extends StandardScheme { + private static class get_partitions_by_expr_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -126877,34 +128084,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f 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: // 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 4: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.max_parts = iprot.readI32(); - struct.setMax_partsIsSet(true); + case 1: // REQ + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.req = new PartitionsByExprRequest(); + struct.req.read(iprot); + struct.setReqIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -126918,112 +128102,70 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_expr_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.filter != null) { - oprot.writeFieldBegin(FILTER_FIELD_DESC); - oprot.writeString(struct.filter); + if (struct.req != null) { + oprot.writeFieldBegin(REQ_FIELD_DESC); + struct.req.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI32(struct.max_parts); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_part_specs_by_filter_argsTupleSchemeFactory implements SchemeFactory { - public get_part_specs_by_filter_argsTupleScheme getScheme() { - return new get_part_specs_by_filter_argsTupleScheme(); + private static class get_partitions_by_expr_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_by_expr_argsTupleScheme getScheme() { + return new get_partitions_by_expr_argsTupleScheme(); } } - private static class get_part_specs_by_filter_argsTupleScheme extends TupleScheme { + private static class get_partitions_by_expr_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetReq()) { optionals.set(0); } - if (struct.isSetTbl_name()) { - optionals.set(1); - } - if (struct.isSetFilter()) { - optionals.set(2); - } - if (struct.isSetMax_parts()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetFilter()) { - oprot.writeString(struct.filter); - } - if (struct.isSetMax_parts()) { - oprot.writeI32(struct.max_parts); + oprot.writeBitSet(optionals, 1); + if (struct.isSetReq()) { + struct.req.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + 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.filter = iprot.readString(); - struct.setFilterIsSet(true); - } - if (incoming.get(3)) { - struct.max_parts = iprot.readI32(); - struct.setMax_partsIsSet(true); + struct.req = new PartitionsByExprRequest(); + struct.req.read(iprot); + struct.setReqIsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_part_specs_by_filter_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_part_specs_by_filter_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr_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_by_expr_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final 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_part_specs_by_filter_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_part_specs_by_filter_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_by_expr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_by_expr_resultTupleSchemeFactory()); } - private List success; // required + private PartitionsByExprResult success; // required private MetaException o1; // required private NoSuchObjectException o2; // required @@ -127096,21 +128238,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); 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)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsByExprResult.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_part_specs_by_filter_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_expr_result.class, metaDataMap); } - public get_part_specs_by_filter_result() { + public get_partitions_by_expr_result() { } - public get_part_specs_by_filter_result( - List success, + public get_partitions_by_expr_result( + PartitionsByExprResult success, MetaException o1, NoSuchObjectException o2) { @@ -127123,13 +128264,9 @@ public get_part_specs_by_filter_result( /** * Performs a deep copy on other. */ - public get_part_specs_by_filter_result(get_part_specs_by_filter_result other) { + public get_partitions_by_expr_result(get_partitions_by_expr_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)); - } - this.success = __this__success; + this.success = new PartitionsByExprResult(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); @@ -127139,8 +128276,8 @@ public get_part_specs_by_filter_result(get_part_specs_by_filter_result other) { } } - public get_part_specs_by_filter_result deepCopy() { - return new get_part_specs_by_filter_result(this); + public get_partitions_by_expr_result deepCopy() { + return new get_partitions_by_expr_result(this); } @Override @@ -127150,26 +128287,11 @@ public void clear() { 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(PartitionSpec elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public PartitionsByExprResult getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(PartitionsByExprResult success) { this.success = success; } @@ -127240,7 +128362,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((PartitionsByExprResult)value); } break; @@ -127299,12 +128421,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_part_specs_by_filter_result) - return this.equals((get_part_specs_by_filter_result)that); + if (that instanceof get_partitions_by_expr_result) + return this.equals((get_partitions_by_expr_result)that); return false; } - public boolean equals(get_part_specs_by_filter_result that) { + public boolean equals(get_partitions_by_expr_result that) { if (that == null) return false; @@ -127361,7 +128483,7 @@ public int hashCode() { } @Override - public int compareTo(get_part_specs_by_filter_result other) { + public int compareTo(get_partitions_by_expr_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -127415,7 +128537,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_part_specs_by_filter_result("); + StringBuilder sb = new StringBuilder("get_partitions_by_expr_result("); boolean first = true; sb.append("success:"); @@ -127448,6 +128570,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 { @@ -127466,15 +128591,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_part_specs_by_filter_resultStandardSchemeFactory implements SchemeFactory { - public get_part_specs_by_filter_resultStandardScheme getScheme() { - return new get_part_specs_by_filter_resultStandardScheme(); + private static class get_partitions_by_expr_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_by_expr_resultStandardScheme getScheme() { + return new get_partitions_by_expr_resultStandardScheme(); } } - private static class get_part_specs_by_filter_resultStandardScheme extends StandardScheme { + private static class get_partitions_by_expr_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -127485,19 +128610,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1606 = iprot.readListBegin(); - struct.success = new ArrayList(_list1606.size); - PartitionSpec _elem1607; - for (int _i1608 = 0; _i1608 < _list1606.size; ++_i1608) - { - _elem1607 = new PartitionSpec(); - _elem1607.read(iprot); - struct.success.add(_elem1607); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new PartitionsByExprResult(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -127530,20 +128645,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_expr_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 _iter1609 : struct.success) - { - _iter1609.write(oprot); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -127562,16 +128670,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ } - private static class get_part_specs_by_filter_resultTupleSchemeFactory implements SchemeFactory { - public get_part_specs_by_filter_resultTupleScheme getScheme() { - return new get_part_specs_by_filter_resultTupleScheme(); + private static class get_partitions_by_expr_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_by_expr_resultTupleScheme getScheme() { + return new get_partitions_by_expr_resultTupleScheme(); } } - private static class get_part_specs_by_filter_resultTupleScheme extends TupleScheme { + private static class get_partitions_by_expr_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -127585,13 +128693,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1610 : struct.success) - { - _iter1610.write(oprot); - } - } + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -127602,21 +128704,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_filter_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_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 _list1611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1611.size); - PartitionSpec _elem1612; - for (int _i1613 = 0; _i1613 < _list1611.size; ++_i1613) - { - _elem1612 = new PartitionSpec(); - _elem1612.read(iprot); - struct.success.add(_elem1612); - } - } + struct.success = new PartitionsByExprResult(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -127634,15 +128727,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr_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_by_expr_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_spec_by_expr_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_spec_by_expr_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", 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_by_expr_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_by_expr_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_spec_by_expr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_spec_by_expr_argsTupleSchemeFactory()); } private PartitionsByExprRequest req; // required @@ -127712,13 +128805,13 @@ public String getFieldName() { tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsByExprRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_expr_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_spec_by_expr_args.class, metaDataMap); } - public get_partitions_by_expr_args() { + public get_partitions_spec_by_expr_args() { } - public get_partitions_by_expr_args( + public get_partitions_spec_by_expr_args( PartitionsByExprRequest req) { this(); @@ -127728,14 +128821,14 @@ public get_partitions_by_expr_args( /** * Performs a deep copy on other. */ - public get_partitions_by_expr_args(get_partitions_by_expr_args other) { + public get_partitions_spec_by_expr_args(get_partitions_spec_by_expr_args other) { if (other.isSetReq()) { this.req = new PartitionsByExprRequest(other.req); } } - public get_partitions_by_expr_args deepCopy() { - return new get_partitions_by_expr_args(this); + public get_partitions_spec_by_expr_args deepCopy() { + return new get_partitions_spec_by_expr_args(this); } @Override @@ -127805,12 +128898,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_by_expr_args) - return this.equals((get_partitions_by_expr_args)that); + if (that instanceof get_partitions_spec_by_expr_args) + return this.equals((get_partitions_spec_by_expr_args)that); return false; } - public boolean equals(get_partitions_by_expr_args that) { + public boolean equals(get_partitions_spec_by_expr_args that) { if (that == null) return false; @@ -127839,7 +128932,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_by_expr_args other) { + public int compareTo(get_partitions_spec_by_expr_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -127873,7 +128966,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_by_expr_args("); + StringBuilder sb = new StringBuilder("get_partitions_spec_by_expr_args("); boolean first = true; sb.append("req:"); @@ -127911,15 +129004,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_by_expr_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_by_expr_argsStandardScheme getScheme() { - return new get_partitions_by_expr_argsStandardScheme(); + private static class get_partitions_spec_by_expr_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_spec_by_expr_argsStandardScheme getScheme() { + return new get_partitions_spec_by_expr_argsStandardScheme(); } } - private static class get_partitions_by_expr_argsStandardScheme extends StandardScheme { + private static class get_partitions_spec_by_expr_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_spec_by_expr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -127947,7 +129040,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_e struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_spec_by_expr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -127962,16 +129055,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ } - private static class get_partitions_by_expr_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_by_expr_argsTupleScheme getScheme() { - return new get_partitions_by_expr_argsTupleScheme(); + private static class get_partitions_spec_by_expr_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_spec_by_expr_argsTupleScheme getScheme() { + return new get_partitions_spec_by_expr_argsTupleScheme(); } } - private static class get_partitions_by_expr_argsTupleScheme extends TupleScheme { + private static class get_partitions_spec_by_expr_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_spec_by_expr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetReq()) { @@ -127984,7 +129077,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_e } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_spec_by_expr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -127997,8 +129090,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_ex } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr_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_by_expr_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_spec_by_expr_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_spec_by_expr_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); @@ -128006,11 +129099,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_ex private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_by_expr_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_by_expr_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_spec_by_expr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_spec_by_expr_resultTupleSchemeFactory()); } - private PartitionsByExprResult success; // required + private PartitionsSpecByExprResult success; // required private MetaException o1; // required private NoSuchObjectException o2; // required @@ -128083,20 +129176,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); 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, PartitionsByExprResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsSpecByExprResult.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_by_expr_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_spec_by_expr_result.class, metaDataMap); } - public get_partitions_by_expr_result() { + public get_partitions_spec_by_expr_result() { } - public get_partitions_by_expr_result( - PartitionsByExprResult success, + public get_partitions_spec_by_expr_result( + PartitionsSpecByExprResult success, MetaException o1, NoSuchObjectException o2) { @@ -128109,9 +129202,9 @@ public get_partitions_by_expr_result( /** * Performs a deep copy on other. */ - public get_partitions_by_expr_result(get_partitions_by_expr_result other) { + public get_partitions_spec_by_expr_result(get_partitions_spec_by_expr_result other) { if (other.isSetSuccess()) { - this.success = new PartitionsByExprResult(other.success); + this.success = new PartitionsSpecByExprResult(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); @@ -128121,8 +129214,8 @@ public get_partitions_by_expr_result(get_partitions_by_expr_result other) { } } - public get_partitions_by_expr_result deepCopy() { - return new get_partitions_by_expr_result(this); + public get_partitions_spec_by_expr_result deepCopy() { + return new get_partitions_spec_by_expr_result(this); } @Override @@ -128132,11 +129225,11 @@ public void clear() { this.o2 = null; } - public PartitionsByExprResult getSuccess() { + public PartitionsSpecByExprResult getSuccess() { return this.success; } - public void setSuccess(PartitionsByExprResult success) { + public void setSuccess(PartitionsSpecByExprResult success) { this.success = success; } @@ -128207,7 +129300,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((PartitionsByExprResult)value); + setSuccess((PartitionsSpecByExprResult)value); } break; @@ -128266,12 +129359,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_by_expr_result) - return this.equals((get_partitions_by_expr_result)that); + if (that instanceof get_partitions_spec_by_expr_result) + return this.equals((get_partitions_spec_by_expr_result)that); return false; } - public boolean equals(get_partitions_by_expr_result that) { + public boolean equals(get_partitions_spec_by_expr_result that) { if (that == null) return false; @@ -128328,7 +129421,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_by_expr_result other) { + public int compareTo(get_partitions_spec_by_expr_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -128382,7 +129475,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_by_expr_result("); + StringBuilder sb = new StringBuilder("get_partitions_spec_by_expr_result("); boolean first = true; sb.append("success:"); @@ -128436,15 +129529,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_by_expr_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_by_expr_resultStandardScheme getScheme() { - return new get_partitions_by_expr_resultStandardScheme(); + private static class get_partitions_spec_by_expr_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_spec_by_expr_resultStandardScheme getScheme() { + return new get_partitions_spec_by_expr_resultStandardScheme(); } } - private static class get_partitions_by_expr_resultStandardScheme extends StandardScheme { + private static class get_partitions_spec_by_expr_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_spec_by_expr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -128456,7 +129549,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_e switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new PartitionsByExprResult(); + struct.success = new PartitionsSpecByExprResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -128490,7 +129583,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_e struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_spec_by_expr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -128515,16 +129608,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ } - private static class get_partitions_by_expr_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_by_expr_resultTupleScheme getScheme() { - return new get_partitions_by_expr_resultTupleScheme(); + private static class get_partitions_spec_by_expr_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_spec_by_expr_resultTupleScheme getScheme() { + return new get_partitions_spec_by_expr_resultTupleScheme(); } } - private static class get_partitions_by_expr_resultTupleScheme extends TupleScheme { + private static class get_partitions_spec_by_expr_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_spec_by_expr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -128549,11 +129642,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_e } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_expr_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_spec_by_expr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new PartitionsByExprResult(); + struct.success = new PartitionsSpecByExprResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -130198,13 +131291,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 _list1614 = iprot.readListBegin(); - struct.names = new ArrayList(_list1614.size); - String _elem1615; - for (int _i1616 = 0; _i1616 < _list1614.size; ++_i1616) + org.apache.thrift.protocol.TList _list1622 = iprot.readListBegin(); + struct.names = new ArrayList(_list1622.size); + String _elem1623; + for (int _i1624 = 0; _i1624 < _list1622.size; ++_i1624) { - _elem1615 = iprot.readString(); - struct.names.add(_elem1615); + _elem1623 = iprot.readString(); + struct.names.add(_elem1623); } iprot.readListEnd(); } @@ -130240,9 +131333,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 _iter1617 : struct.names) + for (String _iter1625 : struct.names) { - oprot.writeString(_iter1617); + oprot.writeString(_iter1625); } oprot.writeListEnd(); } @@ -130285,9 +131378,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1618 : struct.names) + for (String _iter1626 : struct.names) { - oprot.writeString(_iter1618); + oprot.writeString(_iter1626); } } } @@ -130307,13 +131400,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1619.size); - String _elem1620; - for (int _i1621 = 0; _i1621 < _list1619.size; ++_i1621) + org.apache.thrift.protocol.TList _list1627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1627.size); + String _elem1628; + for (int _i1629 = 0; _i1629 < _list1627.size; ++_i1629) { - _elem1620 = iprot.readString(); - struct.names.add(_elem1620); + _elem1628 = iprot.readString(); + struct.names.add(_elem1628); } } struct.setNamesIsSet(true); @@ -130800,14 +131893,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 _list1622 = iprot.readListBegin(); - struct.success = new ArrayList(_list1622.size); - Partition _elem1623; - for (int _i1624 = 0; _i1624 < _list1622.size; ++_i1624) + org.apache.thrift.protocol.TList _list1630 = iprot.readListBegin(); + struct.success = new ArrayList(_list1630.size); + Partition _elem1631; + for (int _i1632 = 0; _i1632 < _list1630.size; ++_i1632) { - _elem1623 = new Partition(); - _elem1623.read(iprot); - struct.success.add(_elem1623); + _elem1631 = new Partition(); + _elem1631.read(iprot); + struct.success.add(_elem1631); } iprot.readListEnd(); } @@ -130851,9 +131944,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 _iter1625 : struct.success) + for (Partition _iter1633 : struct.success) { - _iter1625.write(oprot); + _iter1633.write(oprot); } oprot.writeListEnd(); } @@ -130900,9 +131993,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1626 : struct.success) + for (Partition _iter1634 : struct.success) { - _iter1626.write(oprot); + _iter1634.write(oprot); } } } @@ -130920,14 +132013,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 _list1627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1627.size); - Partition _elem1628; - for (int _i1629 = 0; _i1629 < _list1627.size; ++_i1629) + org.apache.thrift.protocol.TList _list1635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1635.size); + Partition _elem1636; + for (int _i1637 = 0; _i1637 < _list1635.size; ++_i1637) { - _elem1628 = new Partition(); - _elem1628.read(iprot); - struct.success.add(_elem1628); + _elem1636 = new Partition(); + _elem1636.read(iprot); + struct.success.add(_elem1636); } } struct.setSuccessIsSet(true); @@ -133415,14 +134508,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 _list1630 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1630.size); - Partition _elem1631; - for (int _i1632 = 0; _i1632 < _list1630.size; ++_i1632) + org.apache.thrift.protocol.TList _list1638 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1638.size); + Partition _elem1639; + for (int _i1640 = 0; _i1640 < _list1638.size; ++_i1640) { - _elem1631 = new Partition(); - _elem1631.read(iprot); - struct.new_parts.add(_elem1631); + _elem1639 = new Partition(); + _elem1639.read(iprot); + struct.new_parts.add(_elem1639); } iprot.readListEnd(); } @@ -133458,9 +134551,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 _iter1633 : struct.new_parts) + for (Partition _iter1641 : struct.new_parts) { - _iter1633.write(oprot); + _iter1641.write(oprot); } oprot.writeListEnd(); } @@ -133503,9 +134596,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 _iter1634 : struct.new_parts) + for (Partition _iter1642 : struct.new_parts) { - _iter1634.write(oprot); + _iter1642.write(oprot); } } } @@ -133525,14 +134618,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1635.size); - Partition _elem1636; - for (int _i1637 = 0; _i1637 < _list1635.size; ++_i1637) + org.apache.thrift.protocol.TList _list1643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1643.size); + Partition _elem1644; + for (int _i1645 = 0; _i1645 < _list1643.size; ++_i1645) { - _elem1636 = new Partition(); - _elem1636.read(iprot); - struct.new_parts.add(_elem1636); + _elem1644 = new Partition(); + _elem1644.read(iprot); + struct.new_parts.add(_elem1644); } } struct.setNew_partsIsSet(true); @@ -134585,14 +135678,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 _list1638 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1638.size); - Partition _elem1639; - for (int _i1640 = 0; _i1640 < _list1638.size; ++_i1640) + org.apache.thrift.protocol.TList _list1646 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1646.size); + Partition _elem1647; + for (int _i1648 = 0; _i1648 < _list1646.size; ++_i1648) { - _elem1639 = new Partition(); - _elem1639.read(iprot); - struct.new_parts.add(_elem1639); + _elem1647 = new Partition(); + _elem1647.read(iprot); + struct.new_parts.add(_elem1647); } iprot.readListEnd(); } @@ -134637,9 +135730,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 _iter1641 : struct.new_parts) + for (Partition _iter1649 : struct.new_parts) { - _iter1641.write(oprot); + _iter1649.write(oprot); } oprot.writeListEnd(); } @@ -134690,9 +135783,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 _iter1642 : struct.new_parts) + for (Partition _iter1650 : struct.new_parts) { - _iter1642.write(oprot); + _iter1650.write(oprot); } } } @@ -134715,14 +135808,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1643.size); - Partition _elem1644; - for (int _i1645 = 0; _i1645 < _list1643.size; ++_i1645) + org.apache.thrift.protocol.TList _list1651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1651.size); + Partition _elem1652; + for (int _i1653 = 0; _i1653 < _list1651.size; ++_i1653) { - _elem1644 = new Partition(); - _elem1644.read(iprot); - struct.new_parts.add(_elem1644); + _elem1652 = new Partition(); + _elem1652.read(iprot); + struct.new_parts.add(_elem1652); } } struct.setNew_partsIsSet(true); @@ -137861,13 +138954,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 _list1646 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1646.size); - String _elem1647; - for (int _i1648 = 0; _i1648 < _list1646.size; ++_i1648) + org.apache.thrift.protocol.TList _list1654 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1654.size); + String _elem1655; + for (int _i1656 = 0; _i1656 < _list1654.size; ++_i1656) { - _elem1647 = iprot.readString(); - struct.part_vals.add(_elem1647); + _elem1655 = iprot.readString(); + struct.part_vals.add(_elem1655); } iprot.readListEnd(); } @@ -137912,9 +139005,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 _iter1649 : struct.part_vals) + for (String _iter1657 : struct.part_vals) { - oprot.writeString(_iter1649); + oprot.writeString(_iter1657); } oprot.writeListEnd(); } @@ -137965,9 +139058,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 _iter1650 : struct.part_vals) + for (String _iter1658 : struct.part_vals) { - oprot.writeString(_iter1650); + oprot.writeString(_iter1658); } } } @@ -137990,13 +139083,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1651.size); - String _elem1652; - for (int _i1653 = 0; _i1653 < _list1651.size; ++_i1653) + org.apache.thrift.protocol.TList _list1659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1659.size); + String _elem1660; + for (int _i1661 = 0; _i1661 < _list1659.size; ++_i1661) { - _elem1652 = iprot.readString(); - struct.part_vals.add(_elem1652); + _elem1660 = iprot.readString(); + struct.part_vals.add(_elem1660); } } struct.setPart_valsIsSet(true); @@ -139808,13 +140901,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 _list1654 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1654.size); - String _elem1655; - for (int _i1656 = 0; _i1656 < _list1654.size; ++_i1656) + org.apache.thrift.protocol.TList _list1662 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1662.size); + String _elem1663; + for (int _i1664 = 0; _i1664 < _list1662.size; ++_i1664) { - _elem1655 = iprot.readString(); - struct.part_vals.add(_elem1655); + _elem1663 = iprot.readString(); + struct.part_vals.add(_elem1663); } iprot.readListEnd(); } @@ -139848,9 +140941,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 _iter1657 : struct.part_vals) + for (String _iter1665 : struct.part_vals) { - oprot.writeString(_iter1657); + oprot.writeString(_iter1665); } oprot.writeListEnd(); } @@ -139887,9 +140980,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 _iter1658 : struct.part_vals) + for (String _iter1666 : struct.part_vals) { - oprot.writeString(_iter1658); + oprot.writeString(_iter1666); } } } @@ -139904,13 +140997,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 _list1659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1659.size); - String _elem1660; - for (int _i1661 = 0; _i1661 < _list1659.size; ++_i1661) + org.apache.thrift.protocol.TList _list1667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1667.size); + String _elem1668; + for (int _i1669 = 0; _i1669 < _list1667.size; ++_i1669) { - _elem1660 = iprot.readString(); - struct.part_vals.add(_elem1660); + _elem1668 = iprot.readString(); + struct.part_vals.add(_elem1668); } } struct.setPart_valsIsSet(true); @@ -142065,13 +143158,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 _list1662 = iprot.readListBegin(); - struct.success = new ArrayList(_list1662.size); - String _elem1663; - for (int _i1664 = 0; _i1664 < _list1662.size; ++_i1664) + org.apache.thrift.protocol.TList _list1670 = iprot.readListBegin(); + struct.success = new ArrayList(_list1670.size); + String _elem1671; + for (int _i1672 = 0; _i1672 < _list1670.size; ++_i1672) { - _elem1663 = iprot.readString(); - struct.success.add(_elem1663); + _elem1671 = iprot.readString(); + struct.success.add(_elem1671); } iprot.readListEnd(); } @@ -142106,9 +143199,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 _iter1665 : struct.success) + for (String _iter1673 : struct.success) { - oprot.writeString(_iter1665); + oprot.writeString(_iter1673); } oprot.writeListEnd(); } @@ -142147,9 +143240,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1666 : struct.success) + for (String _iter1674 : struct.success) { - oprot.writeString(_iter1666); + oprot.writeString(_iter1674); } } } @@ -142164,13 +143257,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 _list1667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1667.size); - String _elem1668; - for (int _i1669 = 0; _i1669 < _list1667.size; ++_i1669) + org.apache.thrift.protocol.TList _list1675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1675.size); + String _elem1676; + for (int _i1677 = 0; _i1677 < _list1675.size; ++_i1677) { - _elem1668 = iprot.readString(); - struct.success.add(_elem1668); + _elem1676 = iprot.readString(); + struct.success.add(_elem1676); } } struct.setSuccessIsSet(true); @@ -142933,15 +144026,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 _map1670 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1670.size); - String _key1671; - String _val1672; - for (int _i1673 = 0; _i1673 < _map1670.size; ++_i1673) + org.apache.thrift.protocol.TMap _map1678 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1678.size); + String _key1679; + String _val1680; + for (int _i1681 = 0; _i1681 < _map1678.size; ++_i1681) { - _key1671 = iprot.readString(); - _val1672 = iprot.readString(); - struct.success.put(_key1671, _val1672); + _key1679 = iprot.readString(); + _val1680 = iprot.readString(); + struct.success.put(_key1679, _val1680); } iprot.readMapEnd(); } @@ -142976,10 +144069,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 _iter1674 : struct.success.entrySet()) + for (Map.Entry _iter1682 : struct.success.entrySet()) { - oprot.writeString(_iter1674.getKey()); - oprot.writeString(_iter1674.getValue()); + oprot.writeString(_iter1682.getKey()); + oprot.writeString(_iter1682.getValue()); } oprot.writeMapEnd(); } @@ -143018,10 +144111,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 _iter1675 : struct.success.entrySet()) + for (Map.Entry _iter1683 : struct.success.entrySet()) { - oprot.writeString(_iter1675.getKey()); - oprot.writeString(_iter1675.getValue()); + oprot.writeString(_iter1683.getKey()); + oprot.writeString(_iter1683.getValue()); } } } @@ -143036,15 +144129,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 _map1676 = 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*_map1676.size); - String _key1677; - String _val1678; - for (int _i1679 = 0; _i1679 < _map1676.size; ++_i1679) + org.apache.thrift.protocol.TMap _map1684 = 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*_map1684.size); + String _key1685; + String _val1686; + for (int _i1687 = 0; _i1687 < _map1684.size; ++_i1687) { - _key1677 = iprot.readString(); - _val1678 = iprot.readString(); - struct.success.put(_key1677, _val1678); + _key1685 = iprot.readString(); + _val1686 = iprot.readString(); + struct.success.put(_key1685, _val1686); } } struct.setSuccessIsSet(true); @@ -143639,15 +144732,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 _map1680 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1680.size); - String _key1681; - String _val1682; - for (int _i1683 = 0; _i1683 < _map1680.size; ++_i1683) + org.apache.thrift.protocol.TMap _map1688 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1688.size); + String _key1689; + String _val1690; + for (int _i1691 = 0; _i1691 < _map1688.size; ++_i1691) { - _key1681 = iprot.readString(); - _val1682 = iprot.readString(); - struct.part_vals.put(_key1681, _val1682); + _key1689 = iprot.readString(); + _val1690 = iprot.readString(); + struct.part_vals.put(_key1689, _val1690); } iprot.readMapEnd(); } @@ -143691,10 +144784,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 _iter1684 : struct.part_vals.entrySet()) + for (Map.Entry _iter1692 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1684.getKey()); - oprot.writeString(_iter1684.getValue()); + oprot.writeString(_iter1692.getKey()); + oprot.writeString(_iter1692.getValue()); } oprot.writeMapEnd(); } @@ -143745,10 +144838,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1685 : struct.part_vals.entrySet()) + for (Map.Entry _iter1693 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1685.getKey()); - oprot.writeString(_iter1685.getValue()); + oprot.writeString(_iter1693.getKey()); + oprot.writeString(_iter1693.getValue()); } } } @@ -143771,15 +144864,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1686 = 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*_map1686.size); - String _key1687; - String _val1688; - for (int _i1689 = 0; _i1689 < _map1686.size; ++_i1689) + org.apache.thrift.protocol.TMap _map1694 = 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*_map1694.size); + String _key1695; + String _val1696; + for (int _i1697 = 0; _i1697 < _map1694.size; ++_i1697) { - _key1687 = iprot.readString(); - _val1688 = iprot.readString(); - struct.part_vals.put(_key1687, _val1688); + _key1695 = iprot.readString(); + _val1696 = iprot.readString(); + struct.part_vals.put(_key1695, _val1696); } } struct.setPart_valsIsSet(true); @@ -145263,15 +146356,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 _map1690 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1690.size); - String _key1691; - String _val1692; - for (int _i1693 = 0; _i1693 < _map1690.size; ++_i1693) + org.apache.thrift.protocol.TMap _map1698 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1698.size); + String _key1699; + String _val1700; + for (int _i1701 = 0; _i1701 < _map1698.size; ++_i1701) { - _key1691 = iprot.readString(); - _val1692 = iprot.readString(); - struct.part_vals.put(_key1691, _val1692); + _key1699 = iprot.readString(); + _val1700 = iprot.readString(); + struct.part_vals.put(_key1699, _val1700); } iprot.readMapEnd(); } @@ -145315,10 +146408,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 _iter1694 : struct.part_vals.entrySet()) + for (Map.Entry _iter1702 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1694.getKey()); - oprot.writeString(_iter1694.getValue()); + oprot.writeString(_iter1702.getKey()); + oprot.writeString(_iter1702.getValue()); } oprot.writeMapEnd(); } @@ -145369,10 +146462,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1695 : struct.part_vals.entrySet()) + for (Map.Entry _iter1703 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1695.getKey()); - oprot.writeString(_iter1695.getValue()); + oprot.writeString(_iter1703.getKey()); + oprot.writeString(_iter1703.getValue()); } } } @@ -145395,15 +146488,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1696 = 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*_map1696.size); - String _key1697; - String _val1698; - for (int _i1699 = 0; _i1699 < _map1696.size; ++_i1699) + org.apache.thrift.protocol.TMap _map1704 = 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*_map1704.size); + String _key1705; + String _val1706; + for (int _i1707 = 0; _i1707 < _map1704.size; ++_i1707) { - _key1697 = iprot.readString(); - _val1698 = iprot.readString(); - struct.part_vals.put(_key1697, _val1698); + _key1705 = iprot.readString(); + _val1706 = iprot.readString(); + struct.part_vals.put(_key1705, _val1706); } } struct.setPart_valsIsSet(true); @@ -170267,13 +171360,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 _list1700 = iprot.readListBegin(); - struct.success = new ArrayList(_list1700.size); - String _elem1701; - for (int _i1702 = 0; _i1702 < _list1700.size; ++_i1702) + org.apache.thrift.protocol.TList _list1708 = iprot.readListBegin(); + struct.success = new ArrayList(_list1708.size); + String _elem1709; + for (int _i1710 = 0; _i1710 < _list1708.size; ++_i1710) { - _elem1701 = iprot.readString(); - struct.success.add(_elem1701); + _elem1709 = iprot.readString(); + struct.success.add(_elem1709); } iprot.readListEnd(); } @@ -170308,9 +171401,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 _iter1703 : struct.success) + for (String _iter1711 : struct.success) { - oprot.writeString(_iter1703); + oprot.writeString(_iter1711); } oprot.writeListEnd(); } @@ -170349,9 +171442,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1704 : struct.success) + for (String _iter1712 : struct.success) { - oprot.writeString(_iter1704); + oprot.writeString(_iter1712); } } } @@ -170366,13 +171459,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 _list1705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1705.size); - String _elem1706; - for (int _i1707 = 0; _i1707 < _list1705.size; ++_i1707) + org.apache.thrift.protocol.TList _list1713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1713.size); + String _elem1714; + for (int _i1715 = 0; _i1715 < _list1713.size; ++_i1715) { - _elem1706 = iprot.readString(); - struct.success.add(_elem1706); + _elem1714 = iprot.readString(); + struct.success.add(_elem1714); } } struct.setSuccessIsSet(true); @@ -174427,13 +175520,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 _list1708 = iprot.readListBegin(); - struct.success = new ArrayList(_list1708.size); - String _elem1709; - for (int _i1710 = 0; _i1710 < _list1708.size; ++_i1710) + org.apache.thrift.protocol.TList _list1716 = iprot.readListBegin(); + struct.success = new ArrayList(_list1716.size); + String _elem1717; + for (int _i1718 = 0; _i1718 < _list1716.size; ++_i1718) { - _elem1709 = iprot.readString(); - struct.success.add(_elem1709); + _elem1717 = iprot.readString(); + struct.success.add(_elem1717); } iprot.readListEnd(); } @@ -174468,9 +175561,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 _iter1711 : struct.success) + for (String _iter1719 : struct.success) { - oprot.writeString(_iter1711); + oprot.writeString(_iter1719); } oprot.writeListEnd(); } @@ -174509,9 +175602,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1712 : struct.success) + for (String _iter1720 : struct.success) { - oprot.writeString(_iter1712); + oprot.writeString(_iter1720); } } } @@ -174526,13 +175619,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 _list1713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1713.size); - String _elem1714; - for (int _i1715 = 0; _i1715 < _list1713.size; ++_i1715) + org.apache.thrift.protocol.TList _list1721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1721.size); + String _elem1722; + for (int _i1723 = 0; _i1723 < _list1721.size; ++_i1723) { - _elem1714 = iprot.readString(); - struct.success.add(_elem1714); + _elem1722 = iprot.readString(); + struct.success.add(_elem1722); } } struct.setSuccessIsSet(true); @@ -177823,14 +178916,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 _list1716 = iprot.readListBegin(); - struct.success = new ArrayList(_list1716.size); - Role _elem1717; - for (int _i1718 = 0; _i1718 < _list1716.size; ++_i1718) + org.apache.thrift.protocol.TList _list1724 = iprot.readListBegin(); + struct.success = new ArrayList(_list1724.size); + Role _elem1725; + for (int _i1726 = 0; _i1726 < _list1724.size; ++_i1726) { - _elem1717 = new Role(); - _elem1717.read(iprot); - struct.success.add(_elem1717); + _elem1725 = new Role(); + _elem1725.read(iprot); + struct.success.add(_elem1725); } iprot.readListEnd(); } @@ -177865,9 +178958,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 _iter1719 : struct.success) + for (Role _iter1727 : struct.success) { - _iter1719.write(oprot); + _iter1727.write(oprot); } oprot.writeListEnd(); } @@ -177906,9 +178999,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1720 : struct.success) + for (Role _iter1728 : struct.success) { - _iter1720.write(oprot); + _iter1728.write(oprot); } } } @@ -177923,14 +179016,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 _list1721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1721.size); - Role _elem1722; - for (int _i1723 = 0; _i1723 < _list1721.size; ++_i1723) + org.apache.thrift.protocol.TList _list1729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1729.size); + Role _elem1730; + for (int _i1731 = 0; _i1731 < _list1729.size; ++_i1731) { - _elem1722 = new Role(); - _elem1722.read(iprot); - struct.success.add(_elem1722); + _elem1730 = new Role(); + _elem1730.read(iprot); + struct.success.add(_elem1730); } } struct.setSuccessIsSet(true); @@ -180935,13 +182028,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 _list1724 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1724.size); - String _elem1725; - for (int _i1726 = 0; _i1726 < _list1724.size; ++_i1726) + org.apache.thrift.protocol.TList _list1732 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1732.size); + String _elem1733; + for (int _i1734 = 0; _i1734 < _list1732.size; ++_i1734) { - _elem1725 = iprot.readString(); - struct.group_names.add(_elem1725); + _elem1733 = iprot.readString(); + struct.group_names.add(_elem1733); } iprot.readListEnd(); } @@ -180977,9 +182070,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 _iter1727 : struct.group_names) + for (String _iter1735 : struct.group_names) { - oprot.writeString(_iter1727); + oprot.writeString(_iter1735); } oprot.writeListEnd(); } @@ -181022,9 +182115,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 _iter1728 : struct.group_names) + for (String _iter1736 : struct.group_names) { - oprot.writeString(_iter1728); + oprot.writeString(_iter1736); } } } @@ -181045,13 +182138,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1729.size); - String _elem1730; - for (int _i1731 = 0; _i1731 < _list1729.size; ++_i1731) + org.apache.thrift.protocol.TList _list1737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1737.size); + String _elem1738; + for (int _i1739 = 0; _i1739 < _list1737.size; ++_i1739) { - _elem1730 = iprot.readString(); - struct.group_names.add(_elem1730); + _elem1738 = iprot.readString(); + struct.group_names.add(_elem1738); } } struct.setGroup_namesIsSet(true); @@ -182509,14 +183602,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 _list1732 = iprot.readListBegin(); - struct.success = new ArrayList(_list1732.size); - HiveObjectPrivilege _elem1733; - for (int _i1734 = 0; _i1734 < _list1732.size; ++_i1734) + org.apache.thrift.protocol.TList _list1740 = iprot.readListBegin(); + struct.success = new ArrayList(_list1740.size); + HiveObjectPrivilege _elem1741; + for (int _i1742 = 0; _i1742 < _list1740.size; ++_i1742) { - _elem1733 = new HiveObjectPrivilege(); - _elem1733.read(iprot); - struct.success.add(_elem1733); + _elem1741 = new HiveObjectPrivilege(); + _elem1741.read(iprot); + struct.success.add(_elem1741); } iprot.readListEnd(); } @@ -182551,9 +183644,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 _iter1735 : struct.success) + for (HiveObjectPrivilege _iter1743 : struct.success) { - _iter1735.write(oprot); + _iter1743.write(oprot); } oprot.writeListEnd(); } @@ -182592,9 +183685,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1736 : struct.success) + for (HiveObjectPrivilege _iter1744 : struct.success) { - _iter1736.write(oprot); + _iter1744.write(oprot); } } } @@ -182609,14 +183702,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 _list1737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1737.size); - HiveObjectPrivilege _elem1738; - for (int _i1739 = 0; _i1739 < _list1737.size; ++_i1739) + org.apache.thrift.protocol.TList _list1745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1745.size); + HiveObjectPrivilege _elem1746; + for (int _i1747 = 0; _i1747 < _list1745.size; ++_i1747) { - _elem1738 = new HiveObjectPrivilege(); - _elem1738.read(iprot); - struct.success.add(_elem1738); + _elem1746 = new HiveObjectPrivilege(); + _elem1746.read(iprot); + struct.success.add(_elem1746); } } struct.setSuccessIsSet(true); @@ -186563,13 +187656,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 _list1740 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1740.size); - String _elem1741; - for (int _i1742 = 0; _i1742 < _list1740.size; ++_i1742) + org.apache.thrift.protocol.TList _list1748 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1748.size); + String _elem1749; + for (int _i1750 = 0; _i1750 < _list1748.size; ++_i1750) { - _elem1741 = iprot.readString(); - struct.group_names.add(_elem1741); + _elem1749 = iprot.readString(); + struct.group_names.add(_elem1749); } iprot.readListEnd(); } @@ -186600,9 +187693,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 _iter1743 : struct.group_names) + for (String _iter1751 : struct.group_names) { - oprot.writeString(_iter1743); + oprot.writeString(_iter1751); } oprot.writeListEnd(); } @@ -186639,9 +187732,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 _iter1744 : struct.group_names) + for (String _iter1752 : struct.group_names) { - oprot.writeString(_iter1744); + oprot.writeString(_iter1752); } } } @@ -186657,13 +187750,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1745.size); - String _elem1746; - for (int _i1747 = 0; _i1747 < _list1745.size; ++_i1747) + org.apache.thrift.protocol.TList _list1753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1753.size); + String _elem1754; + for (int _i1755 = 0; _i1755 < _list1753.size; ++_i1755) { - _elem1746 = iprot.readString(); - struct.group_names.add(_elem1746); + _elem1754 = iprot.readString(); + struct.group_names.add(_elem1754); } } struct.setGroup_namesIsSet(true); @@ -187066,13 +188159,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 _list1748 = iprot.readListBegin(); - struct.success = new ArrayList(_list1748.size); - String _elem1749; - for (int _i1750 = 0; _i1750 < _list1748.size; ++_i1750) + org.apache.thrift.protocol.TList _list1756 = iprot.readListBegin(); + struct.success = new ArrayList(_list1756.size); + String _elem1757; + for (int _i1758 = 0; _i1758 < _list1756.size; ++_i1758) { - _elem1749 = iprot.readString(); - struct.success.add(_elem1749); + _elem1757 = iprot.readString(); + struct.success.add(_elem1757); } iprot.readListEnd(); } @@ -187107,9 +188200,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 _iter1751 : struct.success) + for (String _iter1759 : struct.success) { - oprot.writeString(_iter1751); + oprot.writeString(_iter1759); } oprot.writeListEnd(); } @@ -187148,9 +188241,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1752 : struct.success) + for (String _iter1760 : struct.success) { - oprot.writeString(_iter1752); + oprot.writeString(_iter1760); } } } @@ -187165,13 +188258,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 _list1753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1753.size); - String _elem1754; - for (int _i1755 = 0; _i1755 < _list1753.size; ++_i1755) + org.apache.thrift.protocol.TList _list1761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1761.size); + String _elem1762; + for (int _i1763 = 0; _i1763 < _list1761.size; ++_i1763) { - _elem1754 = iprot.readString(); - struct.success.add(_elem1754); + _elem1762 = iprot.readString(); + struct.success.add(_elem1762); } } struct.setSuccessIsSet(true); @@ -192462,13 +193555,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 _list1756 = iprot.readListBegin(); - struct.success = new ArrayList(_list1756.size); - String _elem1757; - for (int _i1758 = 0; _i1758 < _list1756.size; ++_i1758) + org.apache.thrift.protocol.TList _list1764 = iprot.readListBegin(); + struct.success = new ArrayList(_list1764.size); + String _elem1765; + for (int _i1766 = 0; _i1766 < _list1764.size; ++_i1766) { - _elem1757 = iprot.readString(); - struct.success.add(_elem1757); + _elem1765 = iprot.readString(); + struct.success.add(_elem1765); } iprot.readListEnd(); } @@ -192494,9 +193587,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 _iter1759 : struct.success) + for (String _iter1767 : struct.success) { - oprot.writeString(_iter1759); + oprot.writeString(_iter1767); } oprot.writeListEnd(); } @@ -192527,9 +193620,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1760 : struct.success) + for (String _iter1768 : struct.success) { - oprot.writeString(_iter1760); + oprot.writeString(_iter1768); } } } @@ -192541,13 +193634,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 _list1761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1761.size); - String _elem1762; - for (int _i1763 = 0; _i1763 < _list1761.size; ++_i1763) + org.apache.thrift.protocol.TList _list1769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1769.size); + String _elem1770; + for (int _i1771 = 0; _i1771 < _list1769.size; ++_i1771) { - _elem1762 = iprot.readString(); - struct.success.add(_elem1762); + _elem1770 = iprot.readString(); + struct.success.add(_elem1770); } } struct.setSuccessIsSet(true); @@ -195577,13 +196670,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 _list1764 = iprot.readListBegin(); - struct.success = new ArrayList(_list1764.size); - String _elem1765; - for (int _i1766 = 0; _i1766 < _list1764.size; ++_i1766) + org.apache.thrift.protocol.TList _list1772 = iprot.readListBegin(); + struct.success = new ArrayList(_list1772.size); + String _elem1773; + for (int _i1774 = 0; _i1774 < _list1772.size; ++_i1774) { - _elem1765 = iprot.readString(); - struct.success.add(_elem1765); + _elem1773 = iprot.readString(); + struct.success.add(_elem1773); } iprot.readListEnd(); } @@ -195609,9 +196702,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 _iter1767 : struct.success) + for (String _iter1775 : struct.success) { - oprot.writeString(_iter1767); + oprot.writeString(_iter1775); } oprot.writeListEnd(); } @@ -195642,9 +196735,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1768 : struct.success) + for (String _iter1776 : struct.success) { - oprot.writeString(_iter1768); + oprot.writeString(_iter1776); } } } @@ -195656,13 +196749,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 _list1769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1769.size); - String _elem1770; - for (int _i1771 = 0; _i1771 < _list1769.size; ++_i1771) + org.apache.thrift.protocol.TList _list1777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1777.size); + String _elem1778; + for (int _i1779 = 0; _i1779 < _list1777.size; ++_i1779) { - _elem1770 = iprot.readString(); - struct.success.add(_elem1770); + _elem1778 = iprot.readString(); + struct.success.add(_elem1778); } } struct.setSuccessIsSet(true); @@ -212783,13 +213876,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1772 = iprot.readListBegin(); - struct.success = new ArrayList(_list1772.size); - String _elem1773; - for (int _i1774 = 0; _i1774 < _list1772.size; ++_i1774) + org.apache.thrift.protocol.TList _list1780 = iprot.readListBegin(); + struct.success = new ArrayList(_list1780.size); + String _elem1781; + for (int _i1782 = 0; _i1782 < _list1780.size; ++_i1782) { - _elem1773 = iprot.readString(); - struct.success.add(_elem1773); + _elem1781 = iprot.readString(); + struct.success.add(_elem1781); } iprot.readListEnd(); } @@ -212815,9 +213908,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1775 : struct.success) + for (String _iter1783 : struct.success) { - oprot.writeString(_iter1775); + oprot.writeString(_iter1783); } oprot.writeListEnd(); } @@ -212848,9 +213941,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1776 : struct.success) + for (String _iter1784 : struct.success) { - oprot.writeString(_iter1776); + oprot.writeString(_iter1784); } } } @@ -212862,13 +213955,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1777.size); - String _elem1778; - for (int _i1779 = 0; _i1779 < _list1777.size; ++_i1779) + org.apache.thrift.protocol.TList _list1785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1785.size); + String _elem1786; + for (int _i1787 = 0; _i1787 < _list1785.size; ++_i1787) { - _elem1778 = iprot.readString(); - struct.success.add(_elem1778); + _elem1786 = iprot.readString(); + struct.success.add(_elem1786); } } struct.setSuccessIsSet(true); @@ -249754,14 +250847,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1780 = iprot.readListBegin(); - struct.success = new ArrayList(_list1780.size); - SchemaVersion _elem1781; - for (int _i1782 = 0; _i1782 < _list1780.size; ++_i1782) + org.apache.thrift.protocol.TList _list1788 = iprot.readListBegin(); + struct.success = new ArrayList(_list1788.size); + SchemaVersion _elem1789; + for (int _i1790 = 0; _i1790 < _list1788.size; ++_i1790) { - _elem1781 = new SchemaVersion(); - _elem1781.read(iprot); - struct.success.add(_elem1781); + _elem1789 = new SchemaVersion(); + _elem1789.read(iprot); + struct.success.add(_elem1789); } iprot.readListEnd(); } @@ -249805,9 +250898,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1783 : struct.success) + for (SchemaVersion _iter1791 : struct.success) { - _iter1783.write(oprot); + _iter1791.write(oprot); } oprot.writeListEnd(); } @@ -249854,9 +250947,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1784 : struct.success) + for (SchemaVersion _iter1792 : struct.success) { - _iter1784.write(oprot); + _iter1792.write(oprot); } } } @@ -249874,14 +250967,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1785.size); - SchemaVersion _elem1786; - for (int _i1787 = 0; _i1787 < _list1785.size; ++_i1787) + org.apache.thrift.protocol.TList _list1793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1793.size); + SchemaVersion _elem1794; + for (int _i1795 = 0; _i1795 < _list1793.size; ++_i1795) { - _elem1786 = new SchemaVersion(); - _elem1786.read(iprot); - struct.success.add(_elem1786); + _elem1794 = new SchemaVersion(); + _elem1794.read(iprot); + struct.success.add(_elem1794); } } struct.setSuccessIsSet(true); @@ -258424,14 +259517,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1788 = iprot.readListBegin(); - struct.success = new ArrayList(_list1788.size); - RuntimeStat _elem1789; - for (int _i1790 = 0; _i1790 < _list1788.size; ++_i1790) + org.apache.thrift.protocol.TList _list1796 = iprot.readListBegin(); + struct.success = new ArrayList(_list1796.size); + RuntimeStat _elem1797; + for (int _i1798 = 0; _i1798 < _list1796.size; ++_i1798) { - _elem1789 = new RuntimeStat(); - _elem1789.read(iprot); - struct.success.add(_elem1789); + _elem1797 = new RuntimeStat(); + _elem1797.read(iprot); + struct.success.add(_elem1797); } iprot.readListEnd(); } @@ -258466,9 +259559,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1791 : struct.success) + for (RuntimeStat _iter1799 : struct.success) { - _iter1791.write(oprot); + _iter1799.write(oprot); } oprot.writeListEnd(); } @@ -258507,9 +259600,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1792 : struct.success) + for (RuntimeStat _iter1800 : struct.success) { - _iter1792.write(oprot); + _iter1800.write(oprot); } } } @@ -258524,14 +259617,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1793.size); - RuntimeStat _elem1794; - for (int _i1795 = 0; _i1795 < _list1793.size; ++_i1795) + org.apache.thrift.protocol.TList _list1801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1801.size); + RuntimeStat _elem1802; + for (int _i1803 = 0; _i1803 < _list1801.size; ++_i1803) { - _elem1794 = new RuntimeStat(); - _elem1794.read(iprot); - struct.success.add(_elem1794); + _elem1802 = new RuntimeStat(); + _elem1802.read(iprot); + struct.success.add(_elem1802); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 35927e971c..adc3c984d6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); - struct.pools = new ArrayList(_list1000.size); - WMPool _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.pools = new ArrayList(_list1008.size); + WMPool _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1001 = new WMPool(); - _elem1001.read(iprot); - struct.pools.add(_elem1001); + _elem1009 = new WMPool(); + _elem1009.read(iprot); + struct.pools.add(_elem1009); } iprot.readListEnd(); } @@ -774,14 +774,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1003 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list1003.size); - WMMapping _elem1004; - for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) + org.apache.thrift.protocol.TList _list1011 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list1011.size); + WMMapping _elem1012; + for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) { - _elem1004 = new WMMapping(); - _elem1004.read(iprot); - struct.mappings.add(_elem1004); + _elem1012 = new WMMapping(); + _elem1012.read(iprot); + struct.mappings.add(_elem1012); } iprot.readListEnd(); } @@ -793,14 +793,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1006 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list1006.size); - WMTrigger _elem1007; - for (int _i1008 = 0; _i1008 < _list1006.size; ++_i1008) + org.apache.thrift.protocol.TList _list1014 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list1014.size); + WMTrigger _elem1015; + for (int _i1016 = 0; _i1016 < _list1014.size; ++_i1016) { - _elem1007 = new WMTrigger(); - _elem1007.read(iprot); - struct.triggers.add(_elem1007); + _elem1015 = new WMTrigger(); + _elem1015.read(iprot); + struct.triggers.add(_elem1015); } iprot.readListEnd(); } @@ -812,14 +812,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1009 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list1009.size); - WMPoolTrigger _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + org.apache.thrift.protocol.TList _list1017 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list1017.size); + WMPoolTrigger _elem1018; + for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) { - _elem1010 = new WMPoolTrigger(); - _elem1010.read(iprot); - struct.poolTriggers.add(_elem1010); + _elem1018 = new WMPoolTrigger(); + _elem1018.read(iprot); + struct.poolTriggers.add(_elem1018); } iprot.readListEnd(); } @@ -850,9 +850,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter1012 : struct.pools) + for (WMPool _iter1020 : struct.pools) { - _iter1012.write(oprot); + _iter1020.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter1013 : struct.mappings) + for (WMMapping _iter1021 : struct.mappings) { - _iter1013.write(oprot); + _iter1021.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter1014 : struct.triggers) + for (WMTrigger _iter1022 : struct.triggers) { - _iter1014.write(oprot); + _iter1022.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter1015 : struct.poolTriggers) + for (WMPoolTrigger _iter1023 : struct.poolTriggers) { - _iter1015.write(oprot); + _iter1023.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter1016 : struct.pools) + for (WMPool _iter1024 : struct.pools) { - _iter1016.write(oprot); + _iter1024.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter1017 : struct.mappings) + for (WMMapping _iter1025 : struct.mappings) { - _iter1017.write(oprot); + _iter1025.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter1018 : struct.triggers) + for (WMTrigger _iter1026 : struct.triggers) { - _iter1018.write(oprot); + _iter1026.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter1019 : struct.poolTriggers) + for (WMPoolTrigger _iter1027 : struct.poolTriggers) { - _iter1019.write(oprot); + _iter1027.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list1020 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list1020.size); - WMPool _elem1021; - for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) + org.apache.thrift.protocol.TList _list1028 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list1028.size); + WMPool _elem1029; + for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) { - _elem1021 = new WMPool(); - _elem1021.read(iprot); - struct.pools.add(_elem1021); + _elem1029 = new WMPool(); + _elem1029.read(iprot); + struct.pools.add(_elem1029); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list1023.size); - WMMapping _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list1031.size); + WMMapping _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = new WMMapping(); - _elem1024.read(iprot); - struct.mappings.add(_elem1024); + _elem1032 = new WMMapping(); + _elem1032.read(iprot); + struct.mappings.add(_elem1032); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1026 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list1026.size); - WMTrigger _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list1034.size); + WMTrigger _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = new WMTrigger(); - _elem1027.read(iprot); - struct.triggers.add(_elem1027); + _elem1035 = new WMTrigger(); + _elem1035.read(iprot); + struct.triggers.add(_elem1035); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list1029.size); - WMPoolTrigger _elem1030; - for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) + org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list1037.size); + WMPoolTrigger _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem1030 = new WMPoolTrigger(); - _elem1030.read(iprot); - struct.poolTriggers.add(_elem1030); + _elem1038 = new WMPoolTrigger(); + _elem1038.read(iprot); + struct.poolTriggers.add(_elem1038); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index 031de2d7a0..cbb399deeb 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1032 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list1032.size); - WMResourcePlan _elem1033; - for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) + org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list1040.size); + WMResourcePlan _elem1041; + for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) { - _elem1033 = new WMResourcePlan(); - _elem1033.read(iprot); - struct.resourcePlans.add(_elem1033); + _elem1041 = new WMResourcePlan(); + _elem1041.read(iprot); + struct.resourcePlans.add(_elem1041); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter1035 : struct.resourcePlans) + for (WMResourcePlan _iter1043 : struct.resourcePlans) { - _iter1035.write(oprot); + _iter1043.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter1036 : struct.resourcePlans) + for (WMResourcePlan _iter1044 : struct.resourcePlans) { - _iter1036.write(oprot); + _iter1044.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list1037.size); - WMResourcePlan _elem1038; - for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) + org.apache.thrift.protocol.TList _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list1045.size); + WMResourcePlan _elem1046; + for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) { - _elem1038 = new WMResourcePlan(); - _elem1038.read(iprot); - struct.resourcePlans.add(_elem1038); + _elem1046 = new WMResourcePlan(); + _elem1046.read(iprot); + struct.resourcePlans.add(_elem1046); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index d705891c59..8db305f28d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1056 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list1056.size); - WMTrigger _elem1057; - for (int _i1058 = 0; _i1058 < _list1056.size; ++_i1058) + org.apache.thrift.protocol.TList _list1064 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list1064.size); + WMTrigger _elem1065; + for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) { - _elem1057 = new WMTrigger(); - _elem1057.read(iprot); - struct.triggers.add(_elem1057); + _elem1065 = new WMTrigger(); + _elem1065.read(iprot); + struct.triggers.add(_elem1065); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter1059 : struct.triggers) + for (WMTrigger _iter1067 : struct.triggers) { - _iter1059.write(oprot); + _iter1067.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter1060 : struct.triggers) + for (WMTrigger _iter1068 : struct.triggers) { - _iter1060.write(oprot); + _iter1068.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1061 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list1061.size); - WMTrigger _elem1062; - for (int _i1063 = 0; _i1063 < _list1061.size; ++_i1063) + org.apache.thrift.protocol.TList _list1069 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list1069.size); + WMTrigger _elem1070; + for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) { - _elem1062 = new WMTrigger(); - _elem1062.read(iprot); - struct.triggers.add(_elem1062); + _elem1070 = new WMTrigger(); + _elem1070.read(iprot); + struct.triggers.add(_elem1070); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index b59588aeff..fb7291fa8e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); - struct.errors = new ArrayList(_list1040.size); - String _elem1041; - for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) + org.apache.thrift.protocol.TList _list1048 = iprot.readListBegin(); + struct.errors = new ArrayList(_list1048.size); + String _elem1049; + for (int _i1050 = 0; _i1050 < _list1048.size; ++_i1050) { - _elem1041 = iprot.readString(); - struct.errors.add(_elem1041); + _elem1049 = iprot.readString(); + struct.errors.add(_elem1049); } iprot.readListEnd(); } @@ -459,13 +459,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1043 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list1043.size); - String _elem1044; - for (int _i1045 = 0; _i1045 < _list1043.size; ++_i1045) + org.apache.thrift.protocol.TList _list1051 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list1051.size); + String _elem1052; + for (int _i1053 = 0; _i1053 < _list1051.size; ++_i1053) { - _elem1044 = iprot.readString(); - struct.warnings.add(_elem1044); + _elem1052 = iprot.readString(); + struct.warnings.add(_elem1052); } iprot.readListEnd(); } @@ -492,9 +492,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (String _iter1046 : struct.errors) + for (String _iter1054 : struct.errors) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1054); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (String _iter1047 : struct.warnings) + for (String _iter1055 : struct.warnings) { - oprot.writeString(_iter1047); + oprot.writeString(_iter1055); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter1048 : struct.errors) + for (String _iter1056 : struct.errors) { - oprot.writeString(_iter1048); + oprot.writeString(_iter1056); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter1049 : struct.warnings) + for (String _iter1057 : struct.warnings) { - oprot.writeString(_iter1049); + oprot.writeString(_iter1057); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1050 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = iprot.readString(); - struct.errors.add(_elem1051); + _elem1059 = iprot.readString(); + struct.errors.add(_elem1059); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1053 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list1053.size); - String _elem1054; - for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) + org.apache.thrift.protocol.TList _list1061 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list1061.size); + String _elem1062; + for (int _i1063 = 0; _i1063 < _list1061.size; ++_i1063) { - _elem1054 = iprot.readString(); - struct.warnings.add(_elem1054); + _elem1062 = iprot.readString(); + struct.warnings.add(_elem1062); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java index a5ea212673..bff12aaca9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java @@ -813,13 +813,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WriteNotificationLo case 6: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list852 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list852.size); - String _elem853; - for (int _i854 = 0; _i854 < _list852.size; ++_i854) + org.apache.thrift.protocol.TList _list860 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list860.size); + String _elem861; + for (int _i862 = 0; _i862 < _list860.size; ++_i862) { - _elem853 = iprot.readString(); - struct.partitionVals.add(_elem853); + _elem861 = iprot.readString(); + struct.partitionVals.add(_elem861); } iprot.readListEnd(); } @@ -867,9 +867,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WriteNotificationL 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 _iter855 : struct.partitionVals) + for (String _iter863 : struct.partitionVals) { - oprot.writeString(_iter855); + oprot.writeString(_iter863); } oprot.writeListEnd(); } @@ -906,9 +906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLo if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter856 : struct.partitionVals) + for (String _iter864 : struct.partitionVals) { - oprot.writeString(_iter856); + oprot.writeString(_iter864); } } } @@ -931,13 +931,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLog 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.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list857.size); - String _elem858; - for (int _i859 = 0; _i859 < _list857.size; ++_i859) + org.apache.thrift.protocol.TList _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list865.size); + String _elem866; + for (int _i867 = 0; _i867 < _list865.size; ++_i867) { - _elem858 = iprot.readString(); - struct.partitionVals.add(_elem858); + _elem866 = iprot.readString(); + struct.partitionVals.add(_elem866); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index f1cb36ec4f..a34c273671 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -718,6 +718,13 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { * @throws \metastore\NoSuchObjectException */ public function get_partitions_by_expr(\metastore\PartitionsByExprRequest $req); + /** + * @param \metastore\PartitionsByExprRequest $req + * @return \metastore\PartitionsSpecByExprResult + * @throws \metastore\MetaException + * @throws \metastore\NoSuchObjectException + */ + public function get_partitions_spec_by_expr(\metastore\PartitionsByExprRequest $req); /** * @param string $db_name * @param string $tbl_name @@ -6653,6 +6660,63 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partitions_by_expr failed: unknown result"); } + public function get_partitions_spec_by_expr(\metastore\PartitionsByExprRequest $req) + { + $this->send_get_partitions_spec_by_expr($req); + return $this->recv_get_partitions_spec_by_expr(); + } + + public function send_get_partitions_spec_by_expr(\metastore\PartitionsByExprRequest $req) + { + $args = new \metastore\ThriftHiveMetastore_get_partitions_spec_by_expr_args(); + $args->req = $req; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_partitions_spec_by_expr', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_partitions_spec_by_expr', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_partitions_spec_by_expr() + { + $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_partitions_spec_by_expr_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_partitions_spec_by_expr_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_partitions_spec_by_expr failed: unknown result"); + } + public function get_num_partitions_by_filter($db_name, $tbl_name, $filter) { $this->send_get_num_partitions_by_filter($db_name, $tbl_name, $filter); @@ -17124,14 +17188,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1057 = 0; - $_etype1060 = 0; - $xfer += $input->readListBegin($_etype1060, $_size1057); - for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061) + $_size1064 = 0; + $_etype1067 = 0; + $xfer += $input->readListBegin($_etype1067, $_size1064); + for ($_i1068 = 0; $_i1068 < $_size1064; ++$_i1068) { - $elem1062 = null; - $xfer += $input->readString($elem1062); - $this->success []= $elem1062; + $elem1069 = null; + $xfer += $input->readString($elem1069); + $this->success []= $elem1069; } $xfer += $input->readListEnd(); } else { @@ -17167,9 +17231,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1063) + foreach ($this->success as $iter1070) { - $xfer += $output->writeString($iter1063); + $xfer += $output->writeString($iter1070); } } $output->writeListEnd(); @@ -17300,14 +17364,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1064 = 0; - $_etype1067 = 0; - $xfer += $input->readListBegin($_etype1067, $_size1064); - for ($_i1068 = 0; $_i1068 < $_size1064; ++$_i1068) + $_size1071 = 0; + $_etype1074 = 0; + $xfer += $input->readListBegin($_etype1074, $_size1071); + for ($_i1075 = 0; $_i1075 < $_size1071; ++$_i1075) { - $elem1069 = null; - $xfer += $input->readString($elem1069); - $this->success []= $elem1069; + $elem1076 = null; + $xfer += $input->readString($elem1076); + $this->success []= $elem1076; } $xfer += $input->readListEnd(); } else { @@ -17343,9 +17407,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1070) + foreach ($this->success as $iter1077) { - $xfer += $output->writeString($iter1070); + $xfer += $output->writeString($iter1077); } } $output->writeListEnd(); @@ -18346,18 +18410,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1071 = 0; - $_ktype1072 = 0; - $_vtype1073 = 0; - $xfer += $input->readMapBegin($_ktype1072, $_vtype1073, $_size1071); - for ($_i1075 = 0; $_i1075 < $_size1071; ++$_i1075) + $_size1078 = 0; + $_ktype1079 = 0; + $_vtype1080 = 0; + $xfer += $input->readMapBegin($_ktype1079, $_vtype1080, $_size1078); + for ($_i1082 = 0; $_i1082 < $_size1078; ++$_i1082) { - $key1076 = ''; - $val1077 = new \metastore\Type(); - $xfer += $input->readString($key1076); - $val1077 = new \metastore\Type(); - $xfer += $val1077->read($input); - $this->success[$key1076] = $val1077; + $key1083 = ''; + $val1084 = new \metastore\Type(); + $xfer += $input->readString($key1083); + $val1084 = new \metastore\Type(); + $xfer += $val1084->read($input); + $this->success[$key1083] = $val1084; } $xfer += $input->readMapEnd(); } else { @@ -18393,10 +18457,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter1078 => $viter1079) + foreach ($this->success as $kiter1085 => $viter1086) { - $xfer += $output->writeString($kiter1078); - $xfer += $viter1079->write($output); + $xfer += $output->writeString($kiter1085); + $xfer += $viter1086->write($output); } } $output->writeMapEnd(); @@ -18600,15 +18664,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\FieldSchema(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\FieldSchema(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -18660,9 +18724,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -18904,15 +18968,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $elem1092 = new \metastore\FieldSchema(); - $xfer += $elem1092->read($input); - $this->success []= $elem1092; + $elem1099 = null; + $elem1099 = new \metastore\FieldSchema(); + $xfer += $elem1099->read($input); + $this->success []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -18964,9 +19028,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1093) + foreach ($this->success as $iter1100) { - $xfer += $iter1093->write($output); + $xfer += $iter1100->write($output); } } $output->writeListEnd(); @@ -19180,15 +19244,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1094 = 0; - $_etype1097 = 0; - $xfer += $input->readListBegin($_etype1097, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $elem1099 = null; - $elem1099 = new \metastore\FieldSchema(); - $xfer += $elem1099->read($input); - $this->success []= $elem1099; + $elem1106 = null; + $elem1106 = new \metastore\FieldSchema(); + $xfer += $elem1106->read($input); + $this->success []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -19240,9 +19304,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1100) + foreach ($this->success as $iter1107) { - $xfer += $iter1100->write($output); + $xfer += $iter1107->write($output); } } $output->writeListEnd(); @@ -19484,15 +19548,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $elem1106 = new \metastore\FieldSchema(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1113 = null; + $elem1113 = new \metastore\FieldSchema(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -19544,9 +19608,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $iter1107->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -20218,15 +20282,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $elem1113 = new \metastore\SQLPrimaryKey(); - $xfer += $elem1113->read($input); - $this->primaryKeys []= $elem1113; + $elem1120 = null; + $elem1120 = new \metastore\SQLPrimaryKey(); + $xfer += $elem1120->read($input); + $this->primaryKeys []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -20236,15 +20300,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size1114 = 0; - $_etype1117 = 0; - $xfer += $input->readListBegin($_etype1117, $_size1114); - for ($_i1118 = 0; $_i1118 < $_size1114; ++$_i1118) + $_size1121 = 0; + $_etype1124 = 0; + $xfer += $input->readListBegin($_etype1124, $_size1121); + for ($_i1125 = 0; $_i1125 < $_size1121; ++$_i1125) { - $elem1119 = null; - $elem1119 = new \metastore\SQLForeignKey(); - $xfer += $elem1119->read($input); - $this->foreignKeys []= $elem1119; + $elem1126 = null; + $elem1126 = new \metastore\SQLForeignKey(); + $xfer += $elem1126->read($input); + $this->foreignKeys []= $elem1126; } $xfer += $input->readListEnd(); } else { @@ -20254,15 +20318,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size1120 = 0; - $_etype1123 = 0; - $xfer += $input->readListBegin($_etype1123, $_size1120); - for ($_i1124 = 0; $_i1124 < $_size1120; ++$_i1124) + $_size1127 = 0; + $_etype1130 = 0; + $xfer += $input->readListBegin($_etype1130, $_size1127); + for ($_i1131 = 0; $_i1131 < $_size1127; ++$_i1131) { - $elem1125 = null; - $elem1125 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem1125->read($input); - $this->uniqueConstraints []= $elem1125; + $elem1132 = null; + $elem1132 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem1132->read($input); + $this->uniqueConstraints []= $elem1132; } $xfer += $input->readListEnd(); } else { @@ -20272,15 +20336,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size1126 = 0; - $_etype1129 = 0; - $xfer += $input->readListBegin($_etype1129, $_size1126); - for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) + $_size1133 = 0; + $_etype1136 = 0; + $xfer += $input->readListBegin($_etype1136, $_size1133); + for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) { - $elem1131 = null; - $elem1131 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem1131->read($input); - $this->notNullConstraints []= $elem1131; + $elem1138 = null; + $elem1138 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem1138->read($input); + $this->notNullConstraints []= $elem1138; } $xfer += $input->readListEnd(); } else { @@ -20290,15 +20354,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size1132 = 0; - $_etype1135 = 0; - $xfer += $input->readListBegin($_etype1135, $_size1132); - for ($_i1136 = 0; $_i1136 < $_size1132; ++$_i1136) + $_size1139 = 0; + $_etype1142 = 0; + $xfer += $input->readListBegin($_etype1142, $_size1139); + for ($_i1143 = 0; $_i1143 < $_size1139; ++$_i1143) { - $elem1137 = null; - $elem1137 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem1137->read($input); - $this->defaultConstraints []= $elem1137; + $elem1144 = null; + $elem1144 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem1144->read($input); + $this->defaultConstraints []= $elem1144; } $xfer += $input->readListEnd(); } else { @@ -20308,15 +20372,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size1138 = 0; - $_etype1141 = 0; - $xfer += $input->readListBegin($_etype1141, $_size1138); - for ($_i1142 = 0; $_i1142 < $_size1138; ++$_i1142) + $_size1145 = 0; + $_etype1148 = 0; + $xfer += $input->readListBegin($_etype1148, $_size1145); + for ($_i1149 = 0; $_i1149 < $_size1145; ++$_i1149) { - $elem1143 = null; - $elem1143 = new \metastore\SQLCheckConstraint(); - $xfer += $elem1143->read($input); - $this->checkConstraints []= $elem1143; + $elem1150 = null; + $elem1150 = new \metastore\SQLCheckConstraint(); + $xfer += $elem1150->read($input); + $this->checkConstraints []= $elem1150; } $xfer += $input->readListEnd(); } else { @@ -20352,9 +20416,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter1144) + foreach ($this->primaryKeys as $iter1151) { - $xfer += $iter1144->write($output); + $xfer += $iter1151->write($output); } } $output->writeListEnd(); @@ -20369,9 +20433,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter1145) + foreach ($this->foreignKeys as $iter1152) { - $xfer += $iter1145->write($output); + $xfer += $iter1152->write($output); } } $output->writeListEnd(); @@ -20386,9 +20450,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter1146) + foreach ($this->uniqueConstraints as $iter1153) { - $xfer += $iter1146->write($output); + $xfer += $iter1153->write($output); } } $output->writeListEnd(); @@ -20403,9 +20467,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter1147) + foreach ($this->notNullConstraints as $iter1154) { - $xfer += $iter1147->write($output); + $xfer += $iter1154->write($output); } } $output->writeListEnd(); @@ -20420,9 +20484,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter1148) + foreach ($this->defaultConstraints as $iter1155) { - $xfer += $iter1148->write($output); + $xfer += $iter1155->write($output); } } $output->writeListEnd(); @@ -20437,9 +20501,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter1149) + foreach ($this->checkConstraints as $iter1156) { - $xfer += $iter1149->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -22671,14 +22735,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1155 = null; - $xfer += $input->readString($elem1155); - $this->partNames []= $elem1155; + $elem1162 = null; + $xfer += $input->readString($elem1162); + $this->partNames []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -22716,9 +22780,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter1156) + foreach ($this->partNames as $iter1163) { - $xfer += $output->writeString($iter1156); + $xfer += $output->writeString($iter1163); } } $output->writeListEnd(); @@ -23154,14 +23218,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $xfer += $input->readString($elem1162); - $this->success []= $elem1162; + $elem1169 = null; + $xfer += $input->readString($elem1169); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -23197,9 +23261,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1163) + foreach ($this->success as $iter1170) { - $xfer += $output->writeString($iter1163); + $xfer += $output->writeString($iter1170); } } $output->writeListEnd(); @@ -23401,14 +23465,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->success []= $elem1169; + $elem1176 = null; + $xfer += $input->readString($elem1176); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -23444,9 +23508,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1177) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1177); } } $output->writeListEnd(); @@ -23578,15 +23642,15 @@ class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $elem1176 = new \metastore\Table(); - $xfer += $elem1176->read($input); - $this->success []= $elem1176; + $elem1183 = null; + $elem1183 = new \metastore\Table(); + $xfer += $elem1183->read($input); + $this->success []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -23622,9 +23686,9 @@ class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1177) + foreach ($this->success as $iter1184) { - $xfer += $iter1177->write($output); + $xfer += $iter1184->write($output); } } $output->writeListEnd(); @@ -23780,14 +23844,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1183 = null; - $xfer += $input->readString($elem1183); - $this->success []= $elem1183; + $elem1190 = null; + $xfer += $input->readString($elem1190); + $this->success []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -23823,9 +23887,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1191) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1191); } } $output->writeListEnd(); @@ -23930,14 +23994,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1185 = 0; - $_etype1188 = 0; - $xfer += $input->readListBegin($_etype1188, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1192 = 0; + $_etype1195 = 0; + $xfer += $input->readListBegin($_etype1195, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $elem1190 = null; - $xfer += $input->readString($elem1190); - $this->tbl_types []= $elem1190; + $elem1197 = null; + $xfer += $input->readString($elem1197); + $this->tbl_types []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -23975,9 +24039,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter1191) + foreach ($this->tbl_types as $iter1198) { - $xfer += $output->writeString($iter1191); + $xfer += $output->writeString($iter1198); } } $output->writeListEnd(); @@ -24054,15 +24118,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1192 = 0; - $_etype1195 = 0; - $xfer += $input->readListBegin($_etype1195, $_size1192); - for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) + $_size1199 = 0; + $_etype1202 = 0; + $xfer += $input->readListBegin($_etype1202, $_size1199); + for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) { - $elem1197 = null; - $elem1197 = new \metastore\TableMeta(); - $xfer += $elem1197->read($input); - $this->success []= $elem1197; + $elem1204 = null; + $elem1204 = new \metastore\TableMeta(); + $xfer += $elem1204->read($input); + $this->success []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -24098,9 +24162,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1198) + foreach ($this->success as $iter1205) { - $xfer += $iter1198->write($output); + $xfer += $iter1205->write($output); } } $output->writeListEnd(); @@ -24256,14 +24320,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1199 = 0; - $_etype1202 = 0; - $xfer += $input->readListBegin($_etype1202, $_size1199); - for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) + $_size1206 = 0; + $_etype1209 = 0; + $xfer += $input->readListBegin($_etype1209, $_size1206); + for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) { - $elem1204 = null; - $xfer += $input->readString($elem1204); - $this->success []= $elem1204; + $elem1211 = null; + $xfer += $input->readString($elem1211); + $this->success []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -24299,9 +24363,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1205) + foreach ($this->success as $iter1212) { - $xfer += $output->writeString($iter1205); + $xfer += $output->writeString($iter1212); } } $output->writeListEnd(); @@ -24616,14 +24680,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size1206 = 0; - $_etype1209 = 0; - $xfer += $input->readListBegin($_etype1209, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1213 = 0; + $_etype1216 = 0; + $xfer += $input->readListBegin($_etype1216, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { - $elem1211 = null; - $xfer += $input->readString($elem1211); - $this->tbl_names []= $elem1211; + $elem1218 = null; + $xfer += $input->readString($elem1218); + $this->tbl_names []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -24656,9 +24720,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter1212) + foreach ($this->tbl_names as $iter1219) { - $xfer += $output->writeString($iter1212); + $xfer += $output->writeString($iter1219); } } $output->writeListEnd(); @@ -24723,15 +24787,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1213 = 0; - $_etype1216 = 0; - $xfer += $input->readListBegin($_etype1216, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1220 = 0; + $_etype1223 = 0; + $xfer += $input->readListBegin($_etype1223, $_size1220); + for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) { - $elem1218 = null; - $elem1218 = new \metastore\Table(); - $xfer += $elem1218->read($input); - $this->success []= $elem1218; + $elem1225 = null; + $elem1225 = new \metastore\Table(); + $xfer += $elem1225->read($input); + $this->success []= $elem1225; } $xfer += $input->readListEnd(); } else { @@ -24759,9 +24823,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1219) + foreach ($this->success as $iter1226) { - $xfer += $iter1219->write($output); + $xfer += $iter1226->write($output); } } $output->writeListEnd(); @@ -24918,15 +24982,15 @@ class ThriftHiveMetastore_get_tables_ext_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1220 = 0; - $_etype1223 = 0; - $xfer += $input->readListBegin($_etype1223, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1227 = 0; + $_etype1230 = 0; + $xfer += $input->readListBegin($_etype1230, $_size1227); + for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) { - $elem1225 = null; - $elem1225 = new \metastore\ExtendedTableInfo(); - $xfer += $elem1225->read($input); - $this->success []= $elem1225; + $elem1232 = null; + $elem1232 = new \metastore\ExtendedTableInfo(); + $xfer += $elem1232->read($input); + $this->success []= $elem1232; } $xfer += $input->readListEnd(); } else { @@ -24962,9 +25026,9 @@ class ThriftHiveMetastore_get_tables_ext_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1226) + foreach ($this->success as $iter1233) { - $xfer += $iter1226->write($output); + $xfer += $iter1233->write($output); } } $output->writeListEnd(); @@ -26169,14 +26233,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1227 = 0; - $_etype1230 = 0; - $xfer += $input->readListBegin($_etype1230, $_size1227); - for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) + $_size1234 = 0; + $_etype1237 = 0; + $xfer += $input->readListBegin($_etype1237, $_size1234); + for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) { - $elem1232 = null; - $xfer += $input->readString($elem1232); - $this->success []= $elem1232; + $elem1239 = null; + $xfer += $input->readString($elem1239); + $this->success []= $elem1239; } $xfer += $input->readListEnd(); } else { @@ -26228,9 +26292,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1233) + foreach ($this->success as $iter1240) { - $xfer += $output->writeString($iter1233); + $xfer += $output->writeString($iter1240); } } $output->writeListEnd(); @@ -27753,15 +27817,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1234 = 0; - $_etype1237 = 0; - $xfer += $input->readListBegin($_etype1237, $_size1234); - for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) + $_size1241 = 0; + $_etype1244 = 0; + $xfer += $input->readListBegin($_etype1244, $_size1241); + for ($_i1245 = 0; $_i1245 < $_size1241; ++$_i1245) { - $elem1239 = null; - $elem1239 = new \metastore\Partition(); - $xfer += $elem1239->read($input); - $this->new_parts []= $elem1239; + $elem1246 = null; + $elem1246 = new \metastore\Partition(); + $xfer += $elem1246->read($input); + $this->new_parts []= $elem1246; } $xfer += $input->readListEnd(); } else { @@ -27789,9 +27853,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1240) + foreach ($this->new_parts as $iter1247) { - $xfer += $iter1240->write($output); + $xfer += $iter1247->write($output); } } $output->writeListEnd(); @@ -28006,15 +28070,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1241 = 0; - $_etype1244 = 0; - $xfer += $input->readListBegin($_etype1244, $_size1241); - for ($_i1245 = 0; $_i1245 < $_size1241; ++$_i1245) + $_size1248 = 0; + $_etype1251 = 0; + $xfer += $input->readListBegin($_etype1251, $_size1248); + for ($_i1252 = 0; $_i1252 < $_size1248; ++$_i1252) { - $elem1246 = null; - $elem1246 = new \metastore\PartitionSpec(); - $xfer += $elem1246->read($input); - $this->new_parts []= $elem1246; + $elem1253 = null; + $elem1253 = new \metastore\PartitionSpec(); + $xfer += $elem1253->read($input); + $this->new_parts []= $elem1253; } $xfer += $input->readListEnd(); } else { @@ -28042,9 +28106,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1247) + foreach ($this->new_parts as $iter1254) { - $xfer += $iter1247->write($output); + $xfer += $iter1254->write($output); } } $output->writeListEnd(); @@ -28294,14 +28358,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1248 = 0; - $_etype1251 = 0; - $xfer += $input->readListBegin($_etype1251, $_size1248); - for ($_i1252 = 0; $_i1252 < $_size1248; ++$_i1252) + $_size1255 = 0; + $_etype1258 = 0; + $xfer += $input->readListBegin($_etype1258, $_size1255); + for ($_i1259 = 0; $_i1259 < $_size1255; ++$_i1259) { - $elem1253 = null; - $xfer += $input->readString($elem1253); - $this->part_vals []= $elem1253; + $elem1260 = null; + $xfer += $input->readString($elem1260); + $this->part_vals []= $elem1260; } $xfer += $input->readListEnd(); } else { @@ -28339,9 +28403,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1254) + foreach ($this->part_vals as $iter1261) { - $xfer += $output->writeString($iter1254); + $xfer += $output->writeString($iter1261); } } $output->writeListEnd(); @@ -28843,14 +28907,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1255 = 0; - $_etype1258 = 0; - $xfer += $input->readListBegin($_etype1258, $_size1255); - for ($_i1259 = 0; $_i1259 < $_size1255; ++$_i1259) + $_size1262 = 0; + $_etype1265 = 0; + $xfer += $input->readListBegin($_etype1265, $_size1262); + for ($_i1266 = 0; $_i1266 < $_size1262; ++$_i1266) { - $elem1260 = null; - $xfer += $input->readString($elem1260); - $this->part_vals []= $elem1260; + $elem1267 = null; + $xfer += $input->readString($elem1267); + $this->part_vals []= $elem1267; } $xfer += $input->readListEnd(); } else { @@ -28896,9 +28960,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1261) + foreach ($this->part_vals as $iter1268) { - $xfer += $output->writeString($iter1261); + $xfer += $output->writeString($iter1268); } } $output->writeListEnd(); @@ -29752,14 +29816,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1262 = 0; - $_etype1265 = 0; - $xfer += $input->readListBegin($_etype1265, $_size1262); - for ($_i1266 = 0; $_i1266 < $_size1262; ++$_i1266) + $_size1269 = 0; + $_etype1272 = 0; + $xfer += $input->readListBegin($_etype1272, $_size1269); + for ($_i1273 = 0; $_i1273 < $_size1269; ++$_i1273) { - $elem1267 = null; - $xfer += $input->readString($elem1267); - $this->part_vals []= $elem1267; + $elem1274 = null; + $xfer += $input->readString($elem1274); + $this->part_vals []= $elem1274; } $xfer += $input->readListEnd(); } else { @@ -29804,9 +29868,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1268) + foreach ($this->part_vals as $iter1275) { - $xfer += $output->writeString($iter1268); + $xfer += $output->writeString($iter1275); } } $output->writeListEnd(); @@ -30059,14 +30123,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1269 = 0; - $_etype1272 = 0; - $xfer += $input->readListBegin($_etype1272, $_size1269); - for ($_i1273 = 0; $_i1273 < $_size1269; ++$_i1273) + $_size1276 = 0; + $_etype1279 = 0; + $xfer += $input->readListBegin($_etype1279, $_size1276); + for ($_i1280 = 0; $_i1280 < $_size1276; ++$_i1280) { - $elem1274 = null; - $xfer += $input->readString($elem1274); - $this->part_vals []= $elem1274; + $elem1281 = null; + $xfer += $input->readString($elem1281); + $this->part_vals []= $elem1281; } $xfer += $input->readListEnd(); } else { @@ -30119,9 +30183,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1275) + foreach ($this->part_vals as $iter1282) { - $xfer += $output->writeString($iter1275); + $xfer += $output->writeString($iter1282); } } $output->writeListEnd(); @@ -31135,14 +31199,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1276 = 0; - $_etype1279 = 0; - $xfer += $input->readListBegin($_etype1279, $_size1276); - for ($_i1280 = 0; $_i1280 < $_size1276; ++$_i1280) + $_size1283 = 0; + $_etype1286 = 0; + $xfer += $input->readListBegin($_etype1286, $_size1283); + for ($_i1287 = 0; $_i1287 < $_size1283; ++$_i1287) { - $elem1281 = null; - $xfer += $input->readString($elem1281); - $this->part_vals []= $elem1281; + $elem1288 = null; + $xfer += $input->readString($elem1288); + $this->part_vals []= $elem1288; } $xfer += $input->readListEnd(); } else { @@ -31180,9 +31244,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1282) + foreach ($this->part_vals as $iter1289) { - $xfer += $output->writeString($iter1282); + $xfer += $output->writeString($iter1289); } } $output->writeListEnd(); @@ -31424,17 +31488,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1283 = 0; - $_ktype1284 = 0; - $_vtype1285 = 0; - $xfer += $input->readMapBegin($_ktype1284, $_vtype1285, $_size1283); - for ($_i1287 = 0; $_i1287 < $_size1283; ++$_i1287) + $_size1290 = 0; + $_ktype1291 = 0; + $_vtype1292 = 0; + $xfer += $input->readMapBegin($_ktype1291, $_vtype1292, $_size1290); + for ($_i1294 = 0; $_i1294 < $_size1290; ++$_i1294) { - $key1288 = ''; - $val1289 = ''; - $xfer += $input->readString($key1288); - $xfer += $input->readString($val1289); - $this->partitionSpecs[$key1288] = $val1289; + $key1295 = ''; + $val1296 = ''; + $xfer += $input->readString($key1295); + $xfer += $input->readString($val1296); + $this->partitionSpecs[$key1295] = $val1296; } $xfer += $input->readMapEnd(); } else { @@ -31490,10 +31554,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1290 => $viter1291) + foreach ($this->partitionSpecs as $kiter1297 => $viter1298) { - $xfer += $output->writeString($kiter1290); - $xfer += $output->writeString($viter1291); + $xfer += $output->writeString($kiter1297); + $xfer += $output->writeString($viter1298); } } $output->writeMapEnd(); @@ -31805,17 +31869,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1292 = 0; - $_ktype1293 = 0; - $_vtype1294 = 0; - $xfer += $input->readMapBegin($_ktype1293, $_vtype1294, $_size1292); - for ($_i1296 = 0; $_i1296 < $_size1292; ++$_i1296) + $_size1299 = 0; + $_ktype1300 = 0; + $_vtype1301 = 0; + $xfer += $input->readMapBegin($_ktype1300, $_vtype1301, $_size1299); + for ($_i1303 = 0; $_i1303 < $_size1299; ++$_i1303) { - $key1297 = ''; - $val1298 = ''; - $xfer += $input->readString($key1297); - $xfer += $input->readString($val1298); - $this->partitionSpecs[$key1297] = $val1298; + $key1304 = ''; + $val1305 = ''; + $xfer += $input->readString($key1304); + $xfer += $input->readString($val1305); + $this->partitionSpecs[$key1304] = $val1305; } $xfer += $input->readMapEnd(); } else { @@ -31871,10 +31935,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1299 => $viter1300) + foreach ($this->partitionSpecs as $kiter1306 => $viter1307) { - $xfer += $output->writeString($kiter1299); - $xfer += $output->writeString($viter1300); + $xfer += $output->writeString($kiter1306); + $xfer += $output->writeString($viter1307); } } $output->writeMapEnd(); @@ -32007,15 +32071,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1301 = 0; - $_etype1304 = 0; - $xfer += $input->readListBegin($_etype1304, $_size1301); - for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) + $_size1308 = 0; + $_etype1311 = 0; + $xfer += $input->readListBegin($_etype1311, $_size1308); + for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) { - $elem1306 = null; - $elem1306 = new \metastore\Partition(); - $xfer += $elem1306->read($input); - $this->success []= $elem1306; + $elem1313 = null; + $elem1313 = new \metastore\Partition(); + $xfer += $elem1313->read($input); + $this->success []= $elem1313; } $xfer += $input->readListEnd(); } else { @@ -32075,9 +32139,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1307) + foreach ($this->success as $iter1314) { - $xfer += $iter1307->write($output); + $xfer += $iter1314->write($output); } } $output->writeListEnd(); @@ -32223,14 +32287,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1308 = 0; - $_etype1311 = 0; - $xfer += $input->readListBegin($_etype1311, $_size1308); - for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) + $_size1315 = 0; + $_etype1318 = 0; + $xfer += $input->readListBegin($_etype1318, $_size1315); + for ($_i1319 = 0; $_i1319 < $_size1315; ++$_i1319) { - $elem1313 = null; - $xfer += $input->readString($elem1313); - $this->part_vals []= $elem1313; + $elem1320 = null; + $xfer += $input->readString($elem1320); + $this->part_vals []= $elem1320; } $xfer += $input->readListEnd(); } else { @@ -32247,14 +32311,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1314 = 0; - $_etype1317 = 0; - $xfer += $input->readListBegin($_etype1317, $_size1314); - for ($_i1318 = 0; $_i1318 < $_size1314; ++$_i1318) + $_size1321 = 0; + $_etype1324 = 0; + $xfer += $input->readListBegin($_etype1324, $_size1321); + for ($_i1325 = 0; $_i1325 < $_size1321; ++$_i1325) { - $elem1319 = null; - $xfer += $input->readString($elem1319); - $this->group_names []= $elem1319; + $elem1326 = null; + $xfer += $input->readString($elem1326); + $this->group_names []= $elem1326; } $xfer += $input->readListEnd(); } else { @@ -32292,9 +32356,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1320) + foreach ($this->part_vals as $iter1327) { - $xfer += $output->writeString($iter1320); + $xfer += $output->writeString($iter1327); } } $output->writeListEnd(); @@ -32314,9 +32378,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1321) + foreach ($this->group_names as $iter1328) { - $xfer += $output->writeString($iter1321); + $xfer += $output->writeString($iter1328); } } $output->writeListEnd(); @@ -32907,15 +32971,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1322 = 0; - $_etype1325 = 0; - $xfer += $input->readListBegin($_etype1325, $_size1322); - for ($_i1326 = 0; $_i1326 < $_size1322; ++$_i1326) + $_size1329 = 0; + $_etype1332 = 0; + $xfer += $input->readListBegin($_etype1332, $_size1329); + for ($_i1333 = 0; $_i1333 < $_size1329; ++$_i1333) { - $elem1327 = null; - $elem1327 = new \metastore\Partition(); - $xfer += $elem1327->read($input); - $this->success []= $elem1327; + $elem1334 = null; + $elem1334 = new \metastore\Partition(); + $xfer += $elem1334->read($input); + $this->success []= $elem1334; } $xfer += $input->readListEnd(); } else { @@ -32959,9 +33023,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1328) + foreach ($this->success as $iter1335) { - $xfer += $iter1328->write($output); + $xfer += $iter1335->write($output); } } $output->writeListEnd(); @@ -33107,14 +33171,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1329 = 0; - $_etype1332 = 0; - $xfer += $input->readListBegin($_etype1332, $_size1329); - for ($_i1333 = 0; $_i1333 < $_size1329; ++$_i1333) + $_size1336 = 0; + $_etype1339 = 0; + $xfer += $input->readListBegin($_etype1339, $_size1336); + for ($_i1340 = 0; $_i1340 < $_size1336; ++$_i1340) { - $elem1334 = null; - $xfer += $input->readString($elem1334); - $this->group_names []= $elem1334; + $elem1341 = null; + $xfer += $input->readString($elem1341); + $this->group_names []= $elem1341; } $xfer += $input->readListEnd(); } else { @@ -33162,9 +33226,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1335) + foreach ($this->group_names as $iter1342) { - $xfer += $output->writeString($iter1335); + $xfer += $output->writeString($iter1342); } } $output->writeListEnd(); @@ -33253,15 +33317,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1336 = 0; - $_etype1339 = 0; - $xfer += $input->readListBegin($_etype1339, $_size1336); - for ($_i1340 = 0; $_i1340 < $_size1336; ++$_i1340) + $_size1343 = 0; + $_etype1346 = 0; + $xfer += $input->readListBegin($_etype1346, $_size1343); + for ($_i1347 = 0; $_i1347 < $_size1343; ++$_i1347) { - $elem1341 = null; - $elem1341 = new \metastore\Partition(); - $xfer += $elem1341->read($input); - $this->success []= $elem1341; + $elem1348 = null; + $elem1348 = new \metastore\Partition(); + $xfer += $elem1348->read($input); + $this->success []= $elem1348; } $xfer += $input->readListEnd(); } else { @@ -33305,9 +33369,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1342) + foreach ($this->success as $iter1349) { - $xfer += $iter1342->write($output); + $xfer += $iter1349->write($output); } } $output->writeListEnd(); @@ -33527,15 +33591,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1343 = 0; - $_etype1346 = 0; - $xfer += $input->readListBegin($_etype1346, $_size1343); - for ($_i1347 = 0; $_i1347 < $_size1343; ++$_i1347) + $_size1350 = 0; + $_etype1353 = 0; + $xfer += $input->readListBegin($_etype1353, $_size1350); + for ($_i1354 = 0; $_i1354 < $_size1350; ++$_i1354) { - $elem1348 = null; - $elem1348 = new \metastore\PartitionSpec(); - $xfer += $elem1348->read($input); - $this->success []= $elem1348; + $elem1355 = null; + $elem1355 = new \metastore\PartitionSpec(); + $xfer += $elem1355->read($input); + $this->success []= $elem1355; } $xfer += $input->readListEnd(); } else { @@ -33579,9 +33643,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1349) + foreach ($this->success as $iter1356) { - $xfer += $iter1349->write($output); + $xfer += $iter1356->write($output); } } $output->writeListEnd(); @@ -33800,14 +33864,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1350 = 0; - $_etype1353 = 0; - $xfer += $input->readListBegin($_etype1353, $_size1350); - for ($_i1354 = 0; $_i1354 < $_size1350; ++$_i1354) + $_size1357 = 0; + $_etype1360 = 0; + $xfer += $input->readListBegin($_etype1360, $_size1357); + for ($_i1361 = 0; $_i1361 < $_size1357; ++$_i1361) { - $elem1355 = null; - $xfer += $input->readString($elem1355); - $this->success []= $elem1355; + $elem1362 = null; + $xfer += $input->readString($elem1362); + $this->success []= $elem1362; } $xfer += $input->readListEnd(); } else { @@ -33851,9 +33915,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1356) + foreach ($this->success as $iter1363) { - $xfer += $output->writeString($iter1356); + $xfer += $output->writeString($iter1363); } } $output->writeListEnd(); @@ -34184,14 +34248,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1357 = 0; - $_etype1360 = 0; - $xfer += $input->readListBegin($_etype1360, $_size1357); - for ($_i1361 = 0; $_i1361 < $_size1357; ++$_i1361) + $_size1364 = 0; + $_etype1367 = 0; + $xfer += $input->readListBegin($_etype1367, $_size1364); + for ($_i1368 = 0; $_i1368 < $_size1364; ++$_i1368) { - $elem1362 = null; - $xfer += $input->readString($elem1362); - $this->part_vals []= $elem1362; + $elem1369 = null; + $xfer += $input->readString($elem1369); + $this->part_vals []= $elem1369; } $xfer += $input->readListEnd(); } else { @@ -34236,9 +34300,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1363) + foreach ($this->part_vals as $iter1370) { - $xfer += $output->writeString($iter1363); + $xfer += $output->writeString($iter1370); } } $output->writeListEnd(); @@ -34332,15 +34396,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1364 = 0; - $_etype1367 = 0; - $xfer += $input->readListBegin($_etype1367, $_size1364); - for ($_i1368 = 0; $_i1368 < $_size1364; ++$_i1368) + $_size1371 = 0; + $_etype1374 = 0; + $xfer += $input->readListBegin($_etype1374, $_size1371); + for ($_i1375 = 0; $_i1375 < $_size1371; ++$_i1375) { - $elem1369 = null; - $elem1369 = new \metastore\Partition(); - $xfer += $elem1369->read($input); - $this->success []= $elem1369; + $elem1376 = null; + $elem1376 = new \metastore\Partition(); + $xfer += $elem1376->read($input); + $this->success []= $elem1376; } $xfer += $input->readListEnd(); } else { @@ -34384,9 +34448,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1370) + foreach ($this->success as $iter1377) { - $xfer += $iter1370->write($output); + $xfer += $iter1377->write($output); } } $output->writeListEnd(); @@ -34533,14 +34597,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1371 = 0; - $_etype1374 = 0; - $xfer += $input->readListBegin($_etype1374, $_size1371); - for ($_i1375 = 0; $_i1375 < $_size1371; ++$_i1375) + $_size1378 = 0; + $_etype1381 = 0; + $xfer += $input->readListBegin($_etype1381, $_size1378); + for ($_i1382 = 0; $_i1382 < $_size1378; ++$_i1382) { - $elem1376 = null; - $xfer += $input->readString($elem1376); - $this->part_vals []= $elem1376; + $elem1383 = null; + $xfer += $input->readString($elem1383); + $this->part_vals []= $elem1383; } $xfer += $input->readListEnd(); } else { @@ -34564,14 +34628,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1377 = 0; - $_etype1380 = 0; - $xfer += $input->readListBegin($_etype1380, $_size1377); - for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) + $_size1384 = 0; + $_etype1387 = 0; + $xfer += $input->readListBegin($_etype1387, $_size1384); + for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) { - $elem1382 = null; - $xfer += $input->readString($elem1382); - $this->group_names []= $elem1382; + $elem1389 = null; + $xfer += $input->readString($elem1389); + $this->group_names []= $elem1389; } $xfer += $input->readListEnd(); } else { @@ -34609,9 +34673,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1383) + foreach ($this->part_vals as $iter1390) { - $xfer += $output->writeString($iter1383); + $xfer += $output->writeString($iter1390); } } $output->writeListEnd(); @@ -34636,9 +34700,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1384) + foreach ($this->group_names as $iter1391) { - $xfer += $output->writeString($iter1384); + $xfer += $output->writeString($iter1391); } } $output->writeListEnd(); @@ -34727,15 +34791,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1385 = 0; - $_etype1388 = 0; - $xfer += $input->readListBegin($_etype1388, $_size1385); - for ($_i1389 = 0; $_i1389 < $_size1385; ++$_i1389) + $_size1392 = 0; + $_etype1395 = 0; + $xfer += $input->readListBegin($_etype1395, $_size1392); + for ($_i1396 = 0; $_i1396 < $_size1392; ++$_i1396) { - $elem1390 = null; - $elem1390 = new \metastore\Partition(); - $xfer += $elem1390->read($input); - $this->success []= $elem1390; + $elem1397 = null; + $elem1397 = new \metastore\Partition(); + $xfer += $elem1397->read($input); + $this->success []= $elem1397; } $xfer += $input->readListEnd(); } else { @@ -34779,9 +34843,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1391) + foreach ($this->success as $iter1398) { - $xfer += $iter1391->write($output); + $xfer += $iter1398->write($output); } } $output->writeListEnd(); @@ -34902,14 +34966,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1392 = 0; - $_etype1395 = 0; - $xfer += $input->readListBegin($_etype1395, $_size1392); - for ($_i1396 = 0; $_i1396 < $_size1392; ++$_i1396) + $_size1399 = 0; + $_etype1402 = 0; + $xfer += $input->readListBegin($_etype1402, $_size1399); + for ($_i1403 = 0; $_i1403 < $_size1399; ++$_i1403) { - $elem1397 = null; - $xfer += $input->readString($elem1397); - $this->part_vals []= $elem1397; + $elem1404 = null; + $xfer += $input->readString($elem1404); + $this->part_vals []= $elem1404; } $xfer += $input->readListEnd(); } else { @@ -34954,9 +35018,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1398) + foreach ($this->part_vals as $iter1405) { - $xfer += $output->writeString($iter1398); + $xfer += $output->writeString($iter1405); } } $output->writeListEnd(); @@ -35049,14 +35113,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1399 = 0; - $_etype1402 = 0; - $xfer += $input->readListBegin($_etype1402, $_size1399); - for ($_i1403 = 0; $_i1403 < $_size1399; ++$_i1403) + $_size1406 = 0; + $_etype1409 = 0; + $xfer += $input->readListBegin($_etype1409, $_size1406); + for ($_i1410 = 0; $_i1410 < $_size1406; ++$_i1410) { - $elem1404 = null; - $xfer += $input->readString($elem1404); - $this->success []= $elem1404; + $elem1411 = null; + $xfer += $input->readString($elem1411); + $this->success []= $elem1411; } $xfer += $input->readListEnd(); } else { @@ -35100,9 +35164,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1405) + foreach ($this->success as $iter1412) { - $xfer += $output->writeString($iter1405); + $xfer += $output->writeString($iter1412); } } $output->writeListEnd(); @@ -35345,15 +35409,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1406 = 0; - $_etype1409 = 0; - $xfer += $input->readListBegin($_etype1409, $_size1406); - for ($_i1410 = 0; $_i1410 < $_size1406; ++$_i1410) + $_size1413 = 0; + $_etype1416 = 0; + $xfer += $input->readListBegin($_etype1416, $_size1413); + for ($_i1417 = 0; $_i1417 < $_size1413; ++$_i1417) { - $elem1411 = null; - $elem1411 = new \metastore\Partition(); - $xfer += $elem1411->read($input); - $this->success []= $elem1411; + $elem1418 = null; + $elem1418 = new \metastore\Partition(); + $xfer += $elem1418->read($input); + $this->success []= $elem1418; } $xfer += $input->readListEnd(); } else { @@ -35397,9 +35461,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1412) + foreach ($this->success as $iter1419) { - $xfer += $iter1412->write($output); + $xfer += $iter1419->write($output); } } $output->writeListEnd(); @@ -35642,15 +35706,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1413 = 0; - $_etype1416 = 0; - $xfer += $input->readListBegin($_etype1416, $_size1413); - for ($_i1417 = 0; $_i1417 < $_size1413; ++$_i1417) + $_size1420 = 0; + $_etype1423 = 0; + $xfer += $input->readListBegin($_etype1423, $_size1420); + for ($_i1424 = 0; $_i1424 < $_size1420; ++$_i1424) { - $elem1418 = null; - $elem1418 = new \metastore\PartitionSpec(); - $xfer += $elem1418->read($input); - $this->success []= $elem1418; + $elem1425 = null; + $elem1425 = new \metastore\PartitionSpec(); + $xfer += $elem1425->read($input); + $this->success []= $elem1425; } $xfer += $input->readListEnd(); } else { @@ -35694,9 +35758,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1419) + foreach ($this->success as $iter1426) { - $xfer += $iter1419->write($output); + $xfer += $iter1426->write($output); } } $output->writeListEnd(); @@ -35930,6 +35994,216 @@ class ThriftHiveMetastore_get_partitions_by_expr_result { } +class ThriftHiveMetastore_get_partitions_spec_by_expr_args { + static $_TSPEC; + + /** + * @var \metastore\PartitionsByExprRequest + */ + public $req = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'req', + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionsByExprRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['req'])) { + $this->req = $vals['req']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_partitions_spec_by_expr_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->req = new \metastore\PartitionsByExprRequest(); + $xfer += $this->req->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_partitions_spec_by_expr_args'); + if ($this->req !== null) { + if (!is_object($this->req)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('req', TType::STRUCT, 1); + $xfer += $this->req->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_partitions_spec_by_expr_result { + static $_TSPEC; + + /** + * @var \metastore\PartitionsSpecByExprResult + */ + 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\PartitionsSpecByExprResult', + ), + 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_partitions_spec_by_expr_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\PartitionsSpecByExprResult(); + $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_partitions_spec_by_expr_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_num_partitions_by_filter_args { static $_TSPEC; @@ -36262,14 +36536,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1420 = 0; - $_etype1423 = 0; - $xfer += $input->readListBegin($_etype1423, $_size1420); - for ($_i1424 = 0; $_i1424 < $_size1420; ++$_i1424) + $_size1427 = 0; + $_etype1430 = 0; + $xfer += $input->readListBegin($_etype1430, $_size1427); + for ($_i1431 = 0; $_i1431 < $_size1427; ++$_i1431) { - $elem1425 = null; - $xfer += $input->readString($elem1425); - $this->names []= $elem1425; + $elem1432 = null; + $xfer += $input->readString($elem1432); + $this->names []= $elem1432; } $xfer += $input->readListEnd(); } else { @@ -36307,9 +36581,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1426) + foreach ($this->names as $iter1433) { - $xfer += $output->writeString($iter1426); + $xfer += $output->writeString($iter1433); } } $output->writeListEnd(); @@ -36398,15 +36672,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1427 = 0; - $_etype1430 = 0; - $xfer += $input->readListBegin($_etype1430, $_size1427); - for ($_i1431 = 0; $_i1431 < $_size1427; ++$_i1431) + $_size1434 = 0; + $_etype1437 = 0; + $xfer += $input->readListBegin($_etype1437, $_size1434); + for ($_i1438 = 0; $_i1438 < $_size1434; ++$_i1438) { - $elem1432 = null; - $elem1432 = new \metastore\Partition(); - $xfer += $elem1432->read($input); - $this->success []= $elem1432; + $elem1439 = null; + $elem1439 = new \metastore\Partition(); + $xfer += $elem1439->read($input); + $this->success []= $elem1439; } $xfer += $input->readListEnd(); } else { @@ -36450,9 +36724,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1433) + foreach ($this->success as $iter1440) { - $xfer += $iter1433->write($output); + $xfer += $iter1440->write($output); } } $output->writeListEnd(); @@ -37001,15 +37275,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1434 = 0; - $_etype1437 = 0; - $xfer += $input->readListBegin($_etype1437, $_size1434); - for ($_i1438 = 0; $_i1438 < $_size1434; ++$_i1438) + $_size1441 = 0; + $_etype1444 = 0; + $xfer += $input->readListBegin($_etype1444, $_size1441); + for ($_i1445 = 0; $_i1445 < $_size1441; ++$_i1445) { - $elem1439 = null; - $elem1439 = new \metastore\Partition(); - $xfer += $elem1439->read($input); - $this->new_parts []= $elem1439; + $elem1446 = null; + $elem1446 = new \metastore\Partition(); + $xfer += $elem1446->read($input); + $this->new_parts []= $elem1446; } $xfer += $input->readListEnd(); } else { @@ -37047,9 +37321,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1440) + foreach ($this->new_parts as $iter1447) { - $xfer += $iter1440->write($output); + $xfer += $iter1447->write($output); } } $output->writeListEnd(); @@ -37264,15 +37538,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1441 = 0; - $_etype1444 = 0; - $xfer += $input->readListBegin($_etype1444, $_size1441); - for ($_i1445 = 0; $_i1445 < $_size1441; ++$_i1445) + $_size1448 = 0; + $_etype1451 = 0; + $xfer += $input->readListBegin($_etype1451, $_size1448); + for ($_i1452 = 0; $_i1452 < $_size1448; ++$_i1452) { - $elem1446 = null; - $elem1446 = new \metastore\Partition(); - $xfer += $elem1446->read($input); - $this->new_parts []= $elem1446; + $elem1453 = null; + $elem1453 = new \metastore\Partition(); + $xfer += $elem1453->read($input); + $this->new_parts []= $elem1453; } $xfer += $input->readListEnd(); } else { @@ -37318,9 +37592,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1447) + foreach ($this->new_parts as $iter1454) { - $xfer += $iter1447->write($output); + $xfer += $iter1454->write($output); } } $output->writeListEnd(); @@ -38008,14 +38282,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1448 = 0; - $_etype1451 = 0; - $xfer += $input->readListBegin($_etype1451, $_size1448); - for ($_i1452 = 0; $_i1452 < $_size1448; ++$_i1452) + $_size1455 = 0; + $_etype1458 = 0; + $xfer += $input->readListBegin($_etype1458, $_size1455); + for ($_i1459 = 0; $_i1459 < $_size1455; ++$_i1459) { - $elem1453 = null; - $xfer += $input->readString($elem1453); - $this->part_vals []= $elem1453; + $elem1460 = null; + $xfer += $input->readString($elem1460); + $this->part_vals []= $elem1460; } $xfer += $input->readListEnd(); } else { @@ -38061,9 +38335,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1454) + foreach ($this->part_vals as $iter1461) { - $xfer += $output->writeString($iter1454); + $xfer += $output->writeString($iter1461); } } $output->writeListEnd(); @@ -38458,14 +38732,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1455 = 0; - $_etype1458 = 0; - $xfer += $input->readListBegin($_etype1458, $_size1455); - for ($_i1459 = 0; $_i1459 < $_size1455; ++$_i1459) + $_size1462 = 0; + $_etype1465 = 0; + $xfer += $input->readListBegin($_etype1465, $_size1462); + for ($_i1466 = 0; $_i1466 < $_size1462; ++$_i1466) { - $elem1460 = null; - $xfer += $input->readString($elem1460); - $this->part_vals []= $elem1460; + $elem1467 = null; + $xfer += $input->readString($elem1467); + $this->part_vals []= $elem1467; } $xfer += $input->readListEnd(); } else { @@ -38500,9 +38774,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1461) + foreach ($this->part_vals as $iter1468) { - $xfer += $output->writeString($iter1461); + $xfer += $output->writeString($iter1468); } } $output->writeListEnd(); @@ -38956,14 +39230,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1462 = 0; - $_etype1465 = 0; - $xfer += $input->readListBegin($_etype1465, $_size1462); - for ($_i1466 = 0; $_i1466 < $_size1462; ++$_i1466) + $_size1469 = 0; + $_etype1472 = 0; + $xfer += $input->readListBegin($_etype1472, $_size1469); + for ($_i1473 = 0; $_i1473 < $_size1469; ++$_i1473) { - $elem1467 = null; - $xfer += $input->readString($elem1467); - $this->success []= $elem1467; + $elem1474 = null; + $xfer += $input->readString($elem1474); + $this->success []= $elem1474; } $xfer += $input->readListEnd(); } else { @@ -38999,9 +39273,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1468) + foreach ($this->success as $iter1475) { - $xfer += $output->writeString($iter1468); + $xfer += $output->writeString($iter1475); } } $output->writeListEnd(); @@ -39161,17 +39435,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1469 = 0; - $_ktype1470 = 0; - $_vtype1471 = 0; - $xfer += $input->readMapBegin($_ktype1470, $_vtype1471, $_size1469); - for ($_i1473 = 0; $_i1473 < $_size1469; ++$_i1473) + $_size1476 = 0; + $_ktype1477 = 0; + $_vtype1478 = 0; + $xfer += $input->readMapBegin($_ktype1477, $_vtype1478, $_size1476); + for ($_i1480 = 0; $_i1480 < $_size1476; ++$_i1480) { - $key1474 = ''; - $val1475 = ''; - $xfer += $input->readString($key1474); - $xfer += $input->readString($val1475); - $this->success[$key1474] = $val1475; + $key1481 = ''; + $val1482 = ''; + $xfer += $input->readString($key1481); + $xfer += $input->readString($val1482); + $this->success[$key1481] = $val1482; } $xfer += $input->readMapEnd(); } else { @@ -39207,10 +39481,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1476 => $viter1477) + foreach ($this->success as $kiter1483 => $viter1484) { - $xfer += $output->writeString($kiter1476); - $xfer += $output->writeString($viter1477); + $xfer += $output->writeString($kiter1483); + $xfer += $output->writeString($viter1484); } } $output->writeMapEnd(); @@ -39330,17 +39604,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1478 = 0; - $_ktype1479 = 0; - $_vtype1480 = 0; - $xfer += $input->readMapBegin($_ktype1479, $_vtype1480, $_size1478); - for ($_i1482 = 0; $_i1482 < $_size1478; ++$_i1482) + $_size1485 = 0; + $_ktype1486 = 0; + $_vtype1487 = 0; + $xfer += $input->readMapBegin($_ktype1486, $_vtype1487, $_size1485); + for ($_i1489 = 0; $_i1489 < $_size1485; ++$_i1489) { - $key1483 = ''; - $val1484 = ''; - $xfer += $input->readString($key1483); - $xfer += $input->readString($val1484); - $this->part_vals[$key1483] = $val1484; + $key1490 = ''; + $val1491 = ''; + $xfer += $input->readString($key1490); + $xfer += $input->readString($val1491); + $this->part_vals[$key1490] = $val1491; } $xfer += $input->readMapEnd(); } else { @@ -39385,10 +39659,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1485 => $viter1486) + foreach ($this->part_vals as $kiter1492 => $viter1493) { - $xfer += $output->writeString($kiter1485); - $xfer += $output->writeString($viter1486); + $xfer += $output->writeString($kiter1492); + $xfer += $output->writeString($viter1493); } } $output->writeMapEnd(); @@ -39710,17 +39984,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1487 = 0; - $_ktype1488 = 0; - $_vtype1489 = 0; - $xfer += $input->readMapBegin($_ktype1488, $_vtype1489, $_size1487); - for ($_i1491 = 0; $_i1491 < $_size1487; ++$_i1491) + $_size1494 = 0; + $_ktype1495 = 0; + $_vtype1496 = 0; + $xfer += $input->readMapBegin($_ktype1495, $_vtype1496, $_size1494); + for ($_i1498 = 0; $_i1498 < $_size1494; ++$_i1498) { - $key1492 = ''; - $val1493 = ''; - $xfer += $input->readString($key1492); - $xfer += $input->readString($val1493); - $this->part_vals[$key1492] = $val1493; + $key1499 = ''; + $val1500 = ''; + $xfer += $input->readString($key1499); + $xfer += $input->readString($val1500); + $this->part_vals[$key1499] = $val1500; } $xfer += $input->readMapEnd(); } else { @@ -39765,10 +40039,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1494 => $viter1495) + foreach ($this->part_vals as $kiter1501 => $viter1502) { - $xfer += $output->writeString($kiter1494); - $xfer += $output->writeString($viter1495); + $xfer += $output->writeString($kiter1501); + $xfer += $output->writeString($viter1502); } } $output->writeMapEnd(); @@ -45293,14 +45567,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1496 = 0; - $_etype1499 = 0; - $xfer += $input->readListBegin($_etype1499, $_size1496); - for ($_i1500 = 0; $_i1500 < $_size1496; ++$_i1500) + $_size1503 = 0; + $_etype1506 = 0; + $xfer += $input->readListBegin($_etype1506, $_size1503); + for ($_i1507 = 0; $_i1507 < $_size1503; ++$_i1507) { - $elem1501 = null; - $xfer += $input->readString($elem1501); - $this->success []= $elem1501; + $elem1508 = null; + $xfer += $input->readString($elem1508); + $this->success []= $elem1508; } $xfer += $input->readListEnd(); } else { @@ -45336,9 +45610,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1502) + foreach ($this->success as $iter1509) { - $xfer += $output->writeString($iter1502); + $xfer += $output->writeString($iter1509); } } $output->writeListEnd(); @@ -46207,14 +46481,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1503 = 0; - $_etype1506 = 0; - $xfer += $input->readListBegin($_etype1506, $_size1503); - for ($_i1507 = 0; $_i1507 < $_size1503; ++$_i1507) + $_size1510 = 0; + $_etype1513 = 0; + $xfer += $input->readListBegin($_etype1513, $_size1510); + for ($_i1514 = 0; $_i1514 < $_size1510; ++$_i1514) { - $elem1508 = null; - $xfer += $input->readString($elem1508); - $this->success []= $elem1508; + $elem1515 = null; + $xfer += $input->readString($elem1515); + $this->success []= $elem1515; } $xfer += $input->readListEnd(); } else { @@ -46250,9 +46524,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1509) + foreach ($this->success as $iter1516) { - $xfer += $output->writeString($iter1509); + $xfer += $output->writeString($iter1516); } } $output->writeListEnd(); @@ -46943,15 +47217,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1510 = 0; - $_etype1513 = 0; - $xfer += $input->readListBegin($_etype1513, $_size1510); - for ($_i1514 = 0; $_i1514 < $_size1510; ++$_i1514) + $_size1517 = 0; + $_etype1520 = 0; + $xfer += $input->readListBegin($_etype1520, $_size1517); + for ($_i1521 = 0; $_i1521 < $_size1517; ++$_i1521) { - $elem1515 = null; - $elem1515 = new \metastore\Role(); - $xfer += $elem1515->read($input); - $this->success []= $elem1515; + $elem1522 = null; + $elem1522 = new \metastore\Role(); + $xfer += $elem1522->read($input); + $this->success []= $elem1522; } $xfer += $input->readListEnd(); } else { @@ -46987,9 +47261,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1516) + foreach ($this->success as $iter1523) { - $xfer += $iter1516->write($output); + $xfer += $iter1523->write($output); } } $output->writeListEnd(); @@ -47651,14 +47925,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1517 = 0; - $_etype1520 = 0; - $xfer += $input->readListBegin($_etype1520, $_size1517); - for ($_i1521 = 0; $_i1521 < $_size1517; ++$_i1521) + $_size1524 = 0; + $_etype1527 = 0; + $xfer += $input->readListBegin($_etype1527, $_size1524); + for ($_i1528 = 0; $_i1528 < $_size1524; ++$_i1528) { - $elem1522 = null; - $xfer += $input->readString($elem1522); - $this->group_names []= $elem1522; + $elem1529 = null; + $xfer += $input->readString($elem1529); + $this->group_names []= $elem1529; } $xfer += $input->readListEnd(); } else { @@ -47699,9 +47973,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1523) + foreach ($this->group_names as $iter1530) { - $xfer += $output->writeString($iter1523); + $xfer += $output->writeString($iter1530); } } $output->writeListEnd(); @@ -48009,15 +48283,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1524 = 0; - $_etype1527 = 0; - $xfer += $input->readListBegin($_etype1527, $_size1524); - for ($_i1528 = 0; $_i1528 < $_size1524; ++$_i1528) + $_size1531 = 0; + $_etype1534 = 0; + $xfer += $input->readListBegin($_etype1534, $_size1531); + for ($_i1535 = 0; $_i1535 < $_size1531; ++$_i1535) { - $elem1529 = null; - $elem1529 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1529->read($input); - $this->success []= $elem1529; + $elem1536 = null; + $elem1536 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1536->read($input); + $this->success []= $elem1536; } $xfer += $input->readListEnd(); } else { @@ -48053,9 +48327,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1530) + foreach ($this->success as $iter1537) { - $xfer += $iter1530->write($output); + $xfer += $iter1537->write($output); } } $output->writeListEnd(); @@ -48923,14 +49197,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1531 = 0; - $_etype1534 = 0; - $xfer += $input->readListBegin($_etype1534, $_size1531); - for ($_i1535 = 0; $_i1535 < $_size1531; ++$_i1535) + $_size1538 = 0; + $_etype1541 = 0; + $xfer += $input->readListBegin($_etype1541, $_size1538); + for ($_i1542 = 0; $_i1542 < $_size1538; ++$_i1542) { - $elem1536 = null; - $xfer += $input->readString($elem1536); - $this->group_names []= $elem1536; + $elem1543 = null; + $xfer += $input->readString($elem1543); + $this->group_names []= $elem1543; } $xfer += $input->readListEnd(); } else { @@ -48963,9 +49237,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1537) + foreach ($this->group_names as $iter1544) { - $xfer += $output->writeString($iter1537); + $xfer += $output->writeString($iter1544); } } $output->writeListEnd(); @@ -49041,14 +49315,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1538 = 0; - $_etype1541 = 0; - $xfer += $input->readListBegin($_etype1541, $_size1538); - for ($_i1542 = 0; $_i1542 < $_size1538; ++$_i1542) + $_size1545 = 0; + $_etype1548 = 0; + $xfer += $input->readListBegin($_etype1548, $_size1545); + for ($_i1549 = 0; $_i1549 < $_size1545; ++$_i1549) { - $elem1543 = null; - $xfer += $input->readString($elem1543); - $this->success []= $elem1543; + $elem1550 = null; + $xfer += $input->readString($elem1550); + $this->success []= $elem1550; } $xfer += $input->readListEnd(); } else { @@ -49084,9 +49358,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1544) + foreach ($this->success as $iter1551) { - $xfer += $output->writeString($iter1544); + $xfer += $output->writeString($iter1551); } } $output->writeListEnd(); @@ -50203,14 +50477,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1545 = 0; - $_etype1548 = 0; - $xfer += $input->readListBegin($_etype1548, $_size1545); - for ($_i1549 = 0; $_i1549 < $_size1545; ++$_i1549) + $_size1552 = 0; + $_etype1555 = 0; + $xfer += $input->readListBegin($_etype1555, $_size1552); + for ($_i1556 = 0; $_i1556 < $_size1552; ++$_i1556) { - $elem1550 = null; - $xfer += $input->readString($elem1550); - $this->success []= $elem1550; + $elem1557 = null; + $xfer += $input->readString($elem1557); + $this->success []= $elem1557; } $xfer += $input->readListEnd(); } else { @@ -50238,9 +50512,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1551) + foreach ($this->success as $iter1558) { - $xfer += $output->writeString($iter1551); + $xfer += $output->writeString($iter1558); } } $output->writeListEnd(); @@ -50879,14 +51153,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1552 = 0; - $_etype1555 = 0; - $xfer += $input->readListBegin($_etype1555, $_size1552); - for ($_i1556 = 0; $_i1556 < $_size1552; ++$_i1556) + $_size1559 = 0; + $_etype1562 = 0; + $xfer += $input->readListBegin($_etype1562, $_size1559); + for ($_i1563 = 0; $_i1563 < $_size1559; ++$_i1563) { - $elem1557 = null; - $xfer += $input->readString($elem1557); - $this->success []= $elem1557; + $elem1564 = null; + $xfer += $input->readString($elem1564); + $this->success []= $elem1564; } $xfer += $input->readListEnd(); } else { @@ -50914,9 +51188,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1558) + foreach ($this->success as $iter1565) { - $xfer += $output->writeString($iter1558); + $xfer += $output->writeString($iter1565); } } $output->writeListEnd(); @@ -54670,14 +54944,14 @@ class ThriftHiveMetastore_find_columns_with_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1559 = 0; - $_etype1562 = 0; - $xfer += $input->readListBegin($_etype1562, $_size1559); - for ($_i1563 = 0; $_i1563 < $_size1559; ++$_i1563) + $_size1566 = 0; + $_etype1569 = 0; + $xfer += $input->readListBegin($_etype1569, $_size1566); + for ($_i1570 = 0; $_i1570 < $_size1566; ++$_i1570) { - $elem1564 = null; - $xfer += $input->readString($elem1564); - $this->success []= $elem1564; + $elem1571 = null; + $xfer += $input->readString($elem1571); + $this->success []= $elem1571; } $xfer += $input->readListEnd(); } else { @@ -54705,9 +54979,9 @@ class ThriftHiveMetastore_find_columns_with_stats_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1565) + foreach ($this->success as $iter1572) { - $xfer += $output->writeString($iter1565); + $xfer += $output->writeString($iter1572); } } $output->writeListEnd(); @@ -62878,15 +63152,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1566 = 0; - $_etype1569 = 0; - $xfer += $input->readListBegin($_etype1569, $_size1566); - for ($_i1570 = 0; $_i1570 < $_size1566; ++$_i1570) + $_size1573 = 0; + $_etype1576 = 0; + $xfer += $input->readListBegin($_etype1576, $_size1573); + for ($_i1577 = 0; $_i1577 < $_size1573; ++$_i1577) { - $elem1571 = null; - $elem1571 = new \metastore\SchemaVersion(); - $xfer += $elem1571->read($input); - $this->success []= $elem1571; + $elem1578 = null; + $elem1578 = new \metastore\SchemaVersion(); + $xfer += $elem1578->read($input); + $this->success []= $elem1578; } $xfer += $input->readListEnd(); } else { @@ -62930,9 +63204,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1572) + foreach ($this->success as $iter1579) { - $xfer += $iter1572->write($output); + $xfer += $iter1579->write($output); } } $output->writeListEnd(); @@ -64801,15 +65075,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1573 = 0; - $_etype1576 = 0; - $xfer += $input->readListBegin($_etype1576, $_size1573); - for ($_i1577 = 0; $_i1577 < $_size1573; ++$_i1577) + $_size1580 = 0; + $_etype1583 = 0; + $xfer += $input->readListBegin($_etype1583, $_size1580); + for ($_i1584 = 0; $_i1584 < $_size1580; ++$_i1584) { - $elem1578 = null; - $elem1578 = new \metastore\RuntimeStat(); - $xfer += $elem1578->read($input); - $this->success []= $elem1578; + $elem1585 = null; + $elem1585 = new \metastore\RuntimeStat(); + $xfer += $elem1585->read($input); + $this->success []= $elem1585; } $xfer += $input->readListEnd(); } else { @@ -64845,9 +65119,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1579) + foreach ($this->success as $iter1586) { - $xfer += $iter1579->write($output); + $xfer += $iter1586->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php index 9fb7ff011a..92e47ed58b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php @@ -14243,6 +14243,132 @@ class PartitionsByExprResult { } +class PartitionsSpecByExprResult { + static $_TSPEC; + + /** + * @var \metastore\PartitionSpec[] + */ + public $partitionsSpec = null; + /** + * @var bool + */ + public $hasUnknownPartitions = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'partitionsSpec', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionSpec', + ), + ), + 2 => array( + 'var' => 'hasUnknownPartitions', + 'type' => TType::BOOL, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['partitionsSpec'])) { + $this->partitionsSpec = $vals['partitionsSpec']; + } + if (isset($vals['hasUnknownPartitions'])) { + $this->hasUnknownPartitions = $vals['hasUnknownPartitions']; + } + } + } + + public function getName() { + return 'PartitionsSpecByExprResult'; + } + + 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->partitionsSpec = array(); + $_size403 = 0; + $_etype406 = 0; + $xfer += $input->readListBegin($_etype406, $_size403); + for ($_i407 = 0; $_i407 < $_size403; ++$_i407) + { + $elem408 = null; + $elem408 = new \metastore\PartitionSpec(); + $xfer += $elem408->read($input); + $this->partitionsSpec []= $elem408; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->hasUnknownPartitions); + } 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('PartitionsSpecByExprResult'); + if ($this->partitionsSpec !== null) { + if (!is_array($this->partitionsSpec)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitionsSpec', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->partitionsSpec)); + { + foreach ($this->partitionsSpec as $iter409) + { + $xfer += $iter409->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->hasUnknownPartitions !== null) { + $xfer += $output->writeFieldBegin('hasUnknownPartitions', TType::BOOL, 2); + $xfer += $output->writeBool($this->hasUnknownPartitions); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class PartitionsByExprRequest { static $_TSPEC; @@ -14495,15 +14621,15 @@ class TableStatsResult { case 1: if ($ftype == TType::LST) { $this->tableStats = array(); - $_size403 = 0; - $_etype406 = 0; - $xfer += $input->readListBegin($_etype406, $_size403); - for ($_i407 = 0; $_i407 < $_size403; ++$_i407) + $_size410 = 0; + $_etype413 = 0; + $xfer += $input->readListBegin($_etype413, $_size410); + for ($_i414 = 0; $_i414 < $_size410; ++$_i414) { - $elem408 = null; - $elem408 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem408->read($input); - $this->tableStats []= $elem408; + $elem415 = null; + $elem415 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem415->read($input); + $this->tableStats []= $elem415; } $xfer += $input->readListEnd(); } else { @@ -14538,9 +14664,9 @@ class TableStatsResult { { $output->writeListBegin(TType::STRUCT, count($this->tableStats)); { - foreach ($this->tableStats as $iter409) + foreach ($this->tableStats as $iter416) { - $xfer += $iter409->write($output); + $xfer += $iter416->write($output); } } $output->writeListEnd(); @@ -14629,28 +14755,28 @@ class PartitionsStatsResult { case 1: if ($ftype == TType::MAP) { $this->partStats = array(); - $_size410 = 0; - $_ktype411 = 0; - $_vtype412 = 0; - $xfer += $input->readMapBegin($_ktype411, $_vtype412, $_size410); - for ($_i414 = 0; $_i414 < $_size410; ++$_i414) + $_size417 = 0; + $_ktype418 = 0; + $_vtype419 = 0; + $xfer += $input->readMapBegin($_ktype418, $_vtype419, $_size417); + for ($_i421 = 0; $_i421 < $_size417; ++$_i421) { - $key415 = ''; - $val416 = array(); - $xfer += $input->readString($key415); - $val416 = array(); - $_size417 = 0; - $_etype420 = 0; - $xfer += $input->readListBegin($_etype420, $_size417); - for ($_i421 = 0; $_i421 < $_size417; ++$_i421) + $key422 = ''; + $val423 = array(); + $xfer += $input->readString($key422); + $val423 = array(); + $_size424 = 0; + $_etype427 = 0; + $xfer += $input->readListBegin($_etype427, $_size424); + for ($_i428 = 0; $_i428 < $_size424; ++$_i428) { - $elem422 = null; - $elem422 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem422->read($input); - $val416 []= $elem422; + $elem429 = null; + $elem429 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem429->read($input); + $val423 []= $elem429; } $xfer += $input->readListEnd(); - $this->partStats[$key415] = $val416; + $this->partStats[$key422] = $val423; } $xfer += $input->readMapEnd(); } else { @@ -14685,15 +14811,15 @@ class PartitionsStatsResult { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats)); { - foreach ($this->partStats as $kiter423 => $viter424) + foreach ($this->partStats as $kiter430 => $viter431) { - $xfer += $output->writeString($kiter423); + $xfer += $output->writeString($kiter430); { - $output->writeListBegin(TType::STRUCT, count($viter424)); + $output->writeListBegin(TType::STRUCT, count($viter431)); { - foreach ($viter424 as $iter425) + foreach ($viter431 as $iter432) { - $xfer += $iter425->write($output); + $xfer += $iter432->write($output); } } $output->writeListEnd(); @@ -14835,14 +14961,14 @@ class TableStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size426 = 0; - $_etype429 = 0; - $xfer += $input->readListBegin($_etype429, $_size426); - for ($_i430 = 0; $_i430 < $_size426; ++$_i430) + $_size433 = 0; + $_etype436 = 0; + $xfer += $input->readListBegin($_etype436, $_size433); + for ($_i437 = 0; $_i437 < $_size433; ++$_i437) { - $elem431 = null; - $xfer += $input->readString($elem431); - $this->colNames []= $elem431; + $elem438 = null; + $xfer += $input->readString($elem438); + $this->colNames []= $elem438; } $xfer += $input->readListEnd(); } else { @@ -14901,9 +15027,9 @@ class TableStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter432) + foreach ($this->colNames as $iter439) { - $xfer += $output->writeString($iter432); + $xfer += $output->writeString($iter439); } } $output->writeListEnd(); @@ -15066,14 +15192,14 @@ class PartitionsStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size433 = 0; - $_etype436 = 0; - $xfer += $input->readListBegin($_etype436, $_size433); - for ($_i437 = 0; $_i437 < $_size433; ++$_i437) + $_size440 = 0; + $_etype443 = 0; + $xfer += $input->readListBegin($_etype443, $_size440); + for ($_i444 = 0; $_i444 < $_size440; ++$_i444) { - $elem438 = null; - $xfer += $input->readString($elem438); - $this->colNames []= $elem438; + $elem445 = null; + $xfer += $input->readString($elem445); + $this->colNames []= $elem445; } $xfer += $input->readListEnd(); } else { @@ -15083,14 +15209,14 @@ class PartitionsStatsRequest { case 4: if ($ftype == TType::LST) { $this->partNames = array(); - $_size439 = 0; - $_etype442 = 0; - $xfer += $input->readListBegin($_etype442, $_size439); - for ($_i443 = 0; $_i443 < $_size439; ++$_i443) + $_size446 = 0; + $_etype449 = 0; + $xfer += $input->readListBegin($_etype449, $_size446); + for ($_i450 = 0; $_i450 < $_size446; ++$_i450) { - $elem444 = null; - $xfer += $input->readString($elem444); - $this->partNames []= $elem444; + $elem451 = null; + $xfer += $input->readString($elem451); + $this->partNames []= $elem451; } $xfer += $input->readListEnd(); } else { @@ -15149,9 +15275,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter445) + foreach ($this->colNames as $iter452) { - $xfer += $output->writeString($iter445); + $xfer += $output->writeString($iter452); } } $output->writeListEnd(); @@ -15166,9 +15292,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter446) + foreach ($this->partNames as $iter453) { - $xfer += $output->writeString($iter446); + $xfer += $output->writeString($iter453); } } $output->writeListEnd(); @@ -15259,15 +15385,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size447 = 0; - $_etype450 = 0; - $xfer += $input->readListBegin($_etype450, $_size447); - for ($_i451 = 0; $_i451 < $_size447; ++$_i451) + $_size454 = 0; + $_etype457 = 0; + $xfer += $input->readListBegin($_etype457, $_size454); + for ($_i458 = 0; $_i458 < $_size454; ++$_i458) { - $elem452 = null; - $elem452 = new \metastore\Partition(); - $xfer += $elem452->read($input); - $this->partitions []= $elem452; + $elem459 = null; + $elem459 = new \metastore\Partition(); + $xfer += $elem459->read($input); + $this->partitions []= $elem459; } $xfer += $input->readListEnd(); } else { @@ -15302,9 +15428,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter453) + foreach ($this->partitions as $iter460) { - $xfer += $iter453->write($output); + $xfer += $iter460->write($output); } } $output->writeListEnd(); @@ -15454,15 +15580,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size454 = 0; - $_etype457 = 0; - $xfer += $input->readListBegin($_etype457, $_size454); - for ($_i458 = 0; $_i458 < $_size454; ++$_i458) + $_size461 = 0; + $_etype464 = 0; + $xfer += $input->readListBegin($_etype464, $_size461); + for ($_i465 = 0; $_i465 < $_size461; ++$_i465) { - $elem459 = null; - $elem459 = new \metastore\Partition(); - $xfer += $elem459->read($input); - $this->parts []= $elem459; + $elem466 = null; + $elem466 = new \metastore\Partition(); + $xfer += $elem466->read($input); + $this->parts []= $elem466; } $xfer += $input->readListEnd(); } else { @@ -15528,9 +15654,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter460) + foreach ($this->parts as $iter467) { - $xfer += $iter460->write($output); + $xfer += $iter467->write($output); } } $output->writeListEnd(); @@ -15615,15 +15741,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size461 = 0; - $_etype464 = 0; - $xfer += $input->readListBegin($_etype464, $_size461); - for ($_i465 = 0; $_i465 < $_size461; ++$_i465) + $_size468 = 0; + $_etype471 = 0; + $xfer += $input->readListBegin($_etype471, $_size468); + for ($_i472 = 0; $_i472 < $_size468; ++$_i472) { - $elem466 = null; - $elem466 = new \metastore\Partition(); - $xfer += $elem466->read($input); - $this->partitions []= $elem466; + $elem473 = null; + $elem473 = new \metastore\Partition(); + $xfer += $elem473->read($input); + $this->partitions []= $elem473; } $xfer += $input->readListEnd(); } else { @@ -15651,9 +15777,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter467) + foreach ($this->partitions as $iter474) { - $xfer += $iter467->write($output); + $xfer += $iter474->write($output); } } $output->writeListEnd(); @@ -15831,14 +15957,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size468 = 0; - $_etype471 = 0; - $xfer += $input->readListBegin($_etype471, $_size468); - for ($_i472 = 0; $_i472 < $_size468; ++$_i472) + $_size475 = 0; + $_etype478 = 0; + $xfer += $input->readListBegin($_etype478, $_size475); + for ($_i479 = 0; $_i479 < $_size475; ++$_i479) { - $elem473 = null; - $xfer += $input->readString($elem473); - $this->names []= $elem473; + $elem480 = null; + $xfer += $input->readString($elem480); + $this->names []= $elem480; } $xfer += $input->readListEnd(); } else { @@ -15848,15 +15974,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size481 = 0; + $_etype484 = 0; + $xfer += $input->readListBegin($_etype484, $_size481); + for ($_i485 = 0; $_i485 < $_size481; ++$_i485) { - $elem479 = null; - $elem479 = new \metastore\DropPartitionsExpr(); - $xfer += $elem479->read($input); - $this->exprs []= $elem479; + $elem486 = null; + $elem486 = new \metastore\DropPartitionsExpr(); + $xfer += $elem486->read($input); + $this->exprs []= $elem486; } $xfer += $input->readListEnd(); } else { @@ -15884,9 +16010,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter480) + foreach ($this->names as $iter487) { - $xfer += $output->writeString($iter480); + $xfer += $output->writeString($iter487); } } $output->writeListEnd(); @@ -15901,9 +16027,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter481) + foreach ($this->exprs as $iter488) { - $xfer += $iter481->write($output); + $xfer += $iter488->write($output); } } $output->writeListEnd(); @@ -16344,15 +16470,15 @@ class PartitionValuesRequest { case 3: if ($ftype == TType::LST) { $this->partitionKeys = array(); - $_size482 = 0; - $_etype485 = 0; - $xfer += $input->readListBegin($_etype485, $_size482); - for ($_i486 = 0; $_i486 < $_size482; ++$_i486) + $_size489 = 0; + $_etype492 = 0; + $xfer += $input->readListBegin($_etype492, $_size489); + for ($_i493 = 0; $_i493 < $_size489; ++$_i493) { - $elem487 = null; - $elem487 = new \metastore\FieldSchema(); - $xfer += $elem487->read($input); - $this->partitionKeys []= $elem487; + $elem494 = null; + $elem494 = new \metastore\FieldSchema(); + $xfer += $elem494->read($input); + $this->partitionKeys []= $elem494; } $xfer += $input->readListEnd(); } else { @@ -16376,15 +16502,15 @@ class PartitionValuesRequest { case 6: if ($ftype == TType::LST) { $this->partitionOrder = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $elem493 = new \metastore\FieldSchema(); - $xfer += $elem493->read($input); - $this->partitionOrder []= $elem493; + $elem500 = null; + $elem500 = new \metastore\FieldSchema(); + $xfer += $elem500->read($input); + $this->partitionOrder []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -16443,9 +16569,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter494) + foreach ($this->partitionKeys as $iter501) { - $xfer += $iter494->write($output); + $xfer += $iter501->write($output); } } $output->writeListEnd(); @@ -16470,9 +16596,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionOrder)); { - foreach ($this->partitionOrder as $iter495) + foreach ($this->partitionOrder as $iter502) { - $xfer += $iter495->write($output); + $xfer += $iter502->write($output); } } $output->writeListEnd(); @@ -16551,14 +16677,14 @@ class PartitionValuesRow { case 1: if ($ftype == TType::LST) { $this->row = array(); - $_size496 = 0; - $_etype499 = 0; - $xfer += $input->readListBegin($_etype499, $_size496); - for ($_i500 = 0; $_i500 < $_size496; ++$_i500) + $_size503 = 0; + $_etype506 = 0; + $xfer += $input->readListBegin($_etype506, $_size503); + for ($_i507 = 0; $_i507 < $_size503; ++$_i507) { - $elem501 = null; - $xfer += $input->readString($elem501); - $this->row []= $elem501; + $elem508 = null; + $xfer += $input->readString($elem508); + $this->row []= $elem508; } $xfer += $input->readListEnd(); } else { @@ -16586,9 +16712,9 @@ class PartitionValuesRow { { $output->writeListBegin(TType::STRING, count($this->row)); { - foreach ($this->row as $iter502) + foreach ($this->row as $iter509) { - $xfer += $output->writeString($iter502); + $xfer += $output->writeString($iter509); } } $output->writeListEnd(); @@ -16653,15 +16779,15 @@ class PartitionValuesResponse { case 1: if ($ftype == TType::LST) { $this->partitionValues = array(); - $_size503 = 0; - $_etype506 = 0; - $xfer += $input->readListBegin($_etype506, $_size503); - for ($_i507 = 0; $_i507 < $_size503; ++$_i507) + $_size510 = 0; + $_etype513 = 0; + $xfer += $input->readListBegin($_etype513, $_size510); + for ($_i514 = 0; $_i514 < $_size510; ++$_i514) { - $elem508 = null; - $elem508 = new \metastore\PartitionValuesRow(); - $xfer += $elem508->read($input); - $this->partitionValues []= $elem508; + $elem515 = null; + $elem515 = new \metastore\PartitionValuesRow(); + $xfer += $elem515->read($input); + $this->partitionValues []= $elem515; } $xfer += $input->readListEnd(); } else { @@ -16689,9 +16815,9 @@ class PartitionValuesResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionValues)); { - foreach ($this->partitionValues as $iter509) + foreach ($this->partitionValues as $iter516) { - $xfer += $iter509->write($output); + $xfer += $iter516->write($output); } } $output->writeListEnd(); @@ -16839,14 +16965,14 @@ class GetPartitionsByNamesRequest { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size510 = 0; - $_etype513 = 0; - $xfer += $input->readListBegin($_etype513, $_size510); - for ($_i514 = 0; $_i514 < $_size510; ++$_i514) + $_size517 = 0; + $_etype520 = 0; + $xfer += $input->readListBegin($_etype520, $_size517); + for ($_i521 = 0; $_i521 < $_size517; ++$_i521) { - $elem515 = null; - $xfer += $input->readString($elem515); - $this->names []= $elem515; + $elem522 = null; + $xfer += $input->readString($elem522); + $this->names []= $elem522; } $xfer += $input->readListEnd(); } else { @@ -16863,14 +16989,14 @@ class GetPartitionsByNamesRequest { case 5: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readString($elem521); - $this->processorCapabilities []= $elem521; + $elem528 = null; + $xfer += $input->readString($elem528); + $this->processorCapabilities []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -16922,9 +17048,9 @@ class GetPartitionsByNamesRequest { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter522) + foreach ($this->names as $iter529) { - $xfer += $output->writeString($iter522); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -16944,9 +17070,9 @@ class GetPartitionsByNamesRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter523) + foreach ($this->processorCapabilities as $iter530) { - $xfer += $output->writeString($iter523); + $xfer += $output->writeString($iter530); } } $output->writeListEnd(); @@ -17021,15 +17147,15 @@ class GetPartitionsByNamesResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size524 = 0; - $_etype527 = 0; - $xfer += $input->readListBegin($_etype527, $_size524); - for ($_i528 = 0; $_i528 < $_size524; ++$_i528) + $_size531 = 0; + $_etype534 = 0; + $xfer += $input->readListBegin($_etype534, $_size531); + for ($_i535 = 0; $_i535 < $_size531; ++$_i535) { - $elem529 = null; - $elem529 = new \metastore\Partition(); - $xfer += $elem529->read($input); - $this->partitions []= $elem529; + $elem536 = null; + $elem536 = new \metastore\Partition(); + $xfer += $elem536->read($input); + $this->partitions []= $elem536; } $xfer += $input->readListEnd(); } else { @@ -17057,9 +17183,9 @@ class GetPartitionsByNamesResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter530) + foreach ($this->partitions as $iter537) { - $xfer += $iter530->write($output); + $xfer += $iter537->write($output); } } $output->writeListEnd(); @@ -17359,15 +17485,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size531 = 0; - $_etype534 = 0; - $xfer += $input->readListBegin($_etype534, $_size531); - for ($_i535 = 0; $_i535 < $_size531; ++$_i535) + $_size538 = 0; + $_etype541 = 0; + $xfer += $input->readListBegin($_etype541, $_size538); + for ($_i542 = 0; $_i542 < $_size538; ++$_i542) { - $elem536 = null; - $elem536 = new \metastore\ResourceUri(); - $xfer += $elem536->read($input); - $this->resourceUris []= $elem536; + $elem543 = null; + $elem543 = new \metastore\ResourceUri(); + $xfer += $elem543->read($input); + $this->resourceUris []= $elem543; } $xfer += $input->readListEnd(); } else { @@ -17437,9 +17563,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter537) + foreach ($this->resourceUris as $iter544) { - $xfer += $iter537->write($output); + $xfer += $iter544->write($output); } } $output->writeListEnd(); @@ -17786,15 +17912,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size538 = 0; - $_etype541 = 0; - $xfer += $input->readListBegin($_etype541, $_size538); - for ($_i542 = 0; $_i542 < $_size538; ++$_i542) + $_size545 = 0; + $_etype548 = 0; + $xfer += $input->readListBegin($_etype548, $_size545); + for ($_i549 = 0; $_i549 < $_size545; ++$_i549) { - $elem543 = null; - $elem543 = new \metastore\TxnInfo(); - $xfer += $elem543->read($input); - $this->open_txns []= $elem543; + $elem550 = null; + $elem550 = new \metastore\TxnInfo(); + $xfer += $elem550->read($input); + $this->open_txns []= $elem550; } $xfer += $input->readListEnd(); } else { @@ -17827,9 +17953,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter544) + foreach ($this->open_txns as $iter551) { - $xfer += $iter544->write($output); + $xfer += $iter551->write($output); } } $output->writeListEnd(); @@ -17933,14 +18059,14 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size545 = 0; - $_etype548 = 0; - $xfer += $input->readListBegin($_etype548, $_size545); - for ($_i549 = 0; $_i549 < $_size545; ++$_i549) + $_size552 = 0; + $_etype555 = 0; + $xfer += $input->readListBegin($_etype555, $_size552); + for ($_i556 = 0; $_i556 < $_size552; ++$_i556) { - $elem550 = null; - $xfer += $input->readI64($elem550); - $this->open_txns []= $elem550; + $elem557 = null; + $xfer += $input->readI64($elem557); + $this->open_txns []= $elem557; } $xfer += $input->readListEnd(); } else { @@ -17987,9 +18113,9 @@ class GetOpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter551) + foreach ($this->open_txns as $iter558) { - $xfer += $output->writeI64($iter551); + $xfer += $output->writeI64($iter558); } } $output->writeListEnd(); @@ -18164,14 +18290,14 @@ class OpenTxnRequest { case 6: if ($ftype == TType::LST) { $this->replSrcTxnIds = array(); - $_size552 = 0; - $_etype555 = 0; - $xfer += $input->readListBegin($_etype555, $_size552); - for ($_i556 = 0; $_i556 < $_size552; ++$_i556) + $_size559 = 0; + $_etype562 = 0; + $xfer += $input->readListBegin($_etype562, $_size559); + for ($_i563 = 0; $_i563 < $_size559; ++$_i563) { - $elem557 = null; - $xfer += $input->readI64($elem557); - $this->replSrcTxnIds []= $elem557; + $elem564 = null; + $xfer += $input->readI64($elem564); + $this->replSrcTxnIds []= $elem564; } $xfer += $input->readListEnd(); } else { @@ -18231,9 +18357,9 @@ class OpenTxnRequest { { $output->writeListBegin(TType::I64, count($this->replSrcTxnIds)); { - foreach ($this->replSrcTxnIds as $iter558) + foreach ($this->replSrcTxnIds as $iter565) { - $xfer += $output->writeI64($iter558); + $xfer += $output->writeI64($iter565); } } $output->writeListEnd(); @@ -18302,14 +18428,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size559 = 0; - $_etype562 = 0; - $xfer += $input->readListBegin($_etype562, $_size559); - for ($_i563 = 0; $_i563 < $_size559; ++$_i563) + $_size566 = 0; + $_etype569 = 0; + $xfer += $input->readListBegin($_etype569, $_size566); + for ($_i570 = 0; $_i570 < $_size566; ++$_i570) { - $elem564 = null; - $xfer += $input->readI64($elem564); - $this->txn_ids []= $elem564; + $elem571 = null; + $xfer += $input->readI64($elem571); + $this->txn_ids []= $elem571; } $xfer += $input->readListEnd(); } else { @@ -18337,9 +18463,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter565) + foreach ($this->txn_ids as $iter572) { - $xfer += $output->writeI64($iter565); + $xfer += $output->writeI64($iter572); } } $output->writeListEnd(); @@ -18501,14 +18627,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size566 = 0; - $_etype569 = 0; - $xfer += $input->readListBegin($_etype569, $_size566); - for ($_i570 = 0; $_i570 < $_size566; ++$_i570) + $_size573 = 0; + $_etype576 = 0; + $xfer += $input->readListBegin($_etype576, $_size573); + for ($_i577 = 0; $_i577 < $_size573; ++$_i577) { - $elem571 = null; - $xfer += $input->readI64($elem571); - $this->txn_ids []= $elem571; + $elem578 = null; + $xfer += $input->readI64($elem578); + $this->txn_ids []= $elem578; } $xfer += $input->readListEnd(); } else { @@ -18536,9 +18662,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter572) + foreach ($this->txn_ids as $iter579) { - $xfer += $output->writeI64($iter572); + $xfer += $output->writeI64($iter579); } } $output->writeListEnd(); @@ -19008,14 +19134,14 @@ class ReplLastIdInfo { case 5: if ($ftype == TType::LST) { $this->partitionList = array(); - $_size573 = 0; - $_etype576 = 0; - $xfer += $input->readListBegin($_etype576, $_size573); - for ($_i577 = 0; $_i577 < $_size573; ++$_i577) + $_size580 = 0; + $_etype583 = 0; + $xfer += $input->readListBegin($_etype583, $_size580); + for ($_i584 = 0; $_i584 < $_size580; ++$_i584) { - $elem578 = null; - $xfer += $input->readString($elem578); - $this->partitionList []= $elem578; + $elem585 = null; + $xfer += $input->readString($elem585); + $this->partitionList []= $elem585; } $xfer += $input->readListEnd(); } else { @@ -19063,9 +19189,9 @@ class ReplLastIdInfo { { $output->writeListBegin(TType::STRING, count($this->partitionList)); { - foreach ($this->partitionList as $iter579) + foreach ($this->partitionList as $iter586) { - $xfer += $output->writeString($iter579); + $xfer += $output->writeString($iter586); } } $output->writeListEnd(); @@ -19190,15 +19316,15 @@ class CommitTxnRequest { case 3: if ($ftype == TType::LST) { $this->writeEventInfos = array(); - $_size580 = 0; - $_etype583 = 0; - $xfer += $input->readListBegin($_etype583, $_size580); - for ($_i584 = 0; $_i584 < $_size580; ++$_i584) + $_size587 = 0; + $_etype590 = 0; + $xfer += $input->readListBegin($_etype590, $_size587); + for ($_i591 = 0; $_i591 < $_size587; ++$_i591) { - $elem585 = null; - $elem585 = new \metastore\WriteEventInfo(); - $xfer += $elem585->read($input); - $this->writeEventInfos []= $elem585; + $elem592 = null; + $elem592 = new \metastore\WriteEventInfo(); + $xfer += $elem592->read($input); + $this->writeEventInfos []= $elem592; } $xfer += $input->readListEnd(); } else { @@ -19252,9 +19378,9 @@ class CommitTxnRequest { { $output->writeListBegin(TType::STRUCT, count($this->writeEventInfos)); { - foreach ($this->writeEventInfos as $iter586) + foreach ($this->writeEventInfos as $iter593) { - $xfer += $iter586->write($output); + $xfer += $iter593->write($output); } } $output->writeListEnd(); @@ -19424,14 +19550,14 @@ class ReplTblWriteIdStateRequest { case 6: if ($ftype == TType::LST) { $this->partNames = array(); - $_size587 = 0; - $_etype590 = 0; - $xfer += $input->readListBegin($_etype590, $_size587); - for ($_i591 = 0; $_i591 < $_size587; ++$_i591) + $_size594 = 0; + $_etype597 = 0; + $xfer += $input->readListBegin($_etype597, $_size594); + for ($_i598 = 0; $_i598 < $_size594; ++$_i598) { - $elem592 = null; - $xfer += $input->readString($elem592); - $this->partNames []= $elem592; + $elem599 = null; + $xfer += $input->readString($elem599); + $this->partNames []= $elem599; } $xfer += $input->readListEnd(); } else { @@ -19484,9 +19610,9 @@ class ReplTblWriteIdStateRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter593) + foreach ($this->partNames as $iter600) { - $xfer += $output->writeString($iter593); + $xfer += $output->writeString($iter600); } } $output->writeListEnd(); @@ -19572,14 +19698,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size594 = 0; - $_etype597 = 0; - $xfer += $input->readListBegin($_etype597, $_size594); - for ($_i598 = 0; $_i598 < $_size594; ++$_i598) + $_size601 = 0; + $_etype604 = 0; + $xfer += $input->readListBegin($_etype604, $_size601); + for ($_i605 = 0; $_i605 < $_size601; ++$_i605) { - $elem599 = null; - $xfer += $input->readString($elem599); - $this->fullTableNames []= $elem599; + $elem606 = null; + $xfer += $input->readString($elem606); + $this->fullTableNames []= $elem606; } $xfer += $input->readListEnd(); } else { @@ -19621,9 +19747,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter600) + foreach ($this->fullTableNames as $iter607) { - $xfer += $output->writeString($iter600); + $xfer += $output->writeString($iter607); } } $output->writeListEnd(); @@ -19755,14 +19881,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size601 = 0; - $_etype604 = 0; - $xfer += $input->readListBegin($_etype604, $_size601); - for ($_i605 = 0; $_i605 < $_size601; ++$_i605) + $_size608 = 0; + $_etype611 = 0; + $xfer += $input->readListBegin($_etype611, $_size608); + for ($_i612 = 0; $_i612 < $_size608; ++$_i612) { - $elem606 = null; - $xfer += $input->readI64($elem606); - $this->invalidWriteIds []= $elem606; + $elem613 = null; + $xfer += $input->readI64($elem613); + $this->invalidWriteIds []= $elem613; } $xfer += $input->readListEnd(); } else { @@ -19814,9 +19940,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter607) + foreach ($this->invalidWriteIds as $iter614) { - $xfer += $output->writeI64($iter607); + $xfer += $output->writeI64($iter614); } } $output->writeListEnd(); @@ -19891,15 +20017,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size608 = 0; - $_etype611 = 0; - $xfer += $input->readListBegin($_etype611, $_size608); - for ($_i612 = 0; $_i612 < $_size608; ++$_i612) + $_size615 = 0; + $_etype618 = 0; + $xfer += $input->readListBegin($_etype618, $_size615); + for ($_i619 = 0; $_i619 < $_size615; ++$_i619) { - $elem613 = null; - $elem613 = new \metastore\TableValidWriteIds(); - $xfer += $elem613->read($input); - $this->tblValidWriteIds []= $elem613; + $elem620 = null; + $elem620 = new \metastore\TableValidWriteIds(); + $xfer += $elem620->read($input); + $this->tblValidWriteIds []= $elem620; } $xfer += $input->readListEnd(); } else { @@ -19927,9 +20053,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter614) + foreach ($this->tblValidWriteIds as $iter621) { - $xfer += $iter614->write($output); + $xfer += $iter621->write($output); } } $output->writeListEnd(); @@ -20154,14 +20280,14 @@ class AllocateTableWriteIdsRequest { case 3: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size615 = 0; - $_etype618 = 0; - $xfer += $input->readListBegin($_etype618, $_size615); - for ($_i619 = 0; $_i619 < $_size615; ++$_i619) + $_size622 = 0; + $_etype625 = 0; + $xfer += $input->readListBegin($_etype625, $_size622); + for ($_i626 = 0; $_i626 < $_size622; ++$_i626) { - $elem620 = null; - $xfer += $input->readI64($elem620); - $this->txnIds []= $elem620; + $elem627 = null; + $xfer += $input->readI64($elem627); + $this->txnIds []= $elem627; } $xfer += $input->readListEnd(); } else { @@ -20178,15 +20304,15 @@ class AllocateTableWriteIdsRequest { case 5: if ($ftype == TType::LST) { $this->srcTxnToWriteIdList = array(); - $_size621 = 0; - $_etype624 = 0; - $xfer += $input->readListBegin($_etype624, $_size621); - for ($_i625 = 0; $_i625 < $_size621; ++$_i625) + $_size628 = 0; + $_etype631 = 0; + $xfer += $input->readListBegin($_etype631, $_size628); + for ($_i632 = 0; $_i632 < $_size628; ++$_i632) { - $elem626 = null; - $elem626 = new \metastore\TxnToWriteId(); - $xfer += $elem626->read($input); - $this->srcTxnToWriteIdList []= $elem626; + $elem633 = null; + $elem633 = new \metastore\TxnToWriteId(); + $xfer += $elem633->read($input); + $this->srcTxnToWriteIdList []= $elem633; } $xfer += $input->readListEnd(); } else { @@ -20224,9 +20350,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter627) + foreach ($this->txnIds as $iter634) { - $xfer += $output->writeI64($iter627); + $xfer += $output->writeI64($iter634); } } $output->writeListEnd(); @@ -20246,9 +20372,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::STRUCT, count($this->srcTxnToWriteIdList)); { - foreach ($this->srcTxnToWriteIdList as $iter628) + foreach ($this->srcTxnToWriteIdList as $iter635) { - $xfer += $iter628->write($output); + $xfer += $iter635->write($output); } } $output->writeListEnd(); @@ -20313,15 +20439,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size629 = 0; - $_etype632 = 0; - $xfer += $input->readListBegin($_etype632, $_size629); - for ($_i633 = 0; $_i633 < $_size629; ++$_i633) + $_size636 = 0; + $_etype639 = 0; + $xfer += $input->readListBegin($_etype639, $_size636); + for ($_i640 = 0; $_i640 < $_size636; ++$_i640) { - $elem634 = null; - $elem634 = new \metastore\TxnToWriteId(); - $xfer += $elem634->read($input); - $this->txnToWriteIds []= $elem634; + $elem641 = null; + $elem641 = new \metastore\TxnToWriteId(); + $xfer += $elem641->read($input); + $this->txnToWriteIds []= $elem641; } $xfer += $input->readListEnd(); } else { @@ -20349,9 +20475,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter635) + foreach ($this->txnToWriteIds as $iter642) { - $xfer += $iter635->write($output); + $xfer += $iter642->write($output); } } $output->writeListEnd(); @@ -20696,15 +20822,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size636 = 0; - $_etype639 = 0; - $xfer += $input->readListBegin($_etype639, $_size636); - for ($_i640 = 0; $_i640 < $_size636; ++$_i640) + $_size643 = 0; + $_etype646 = 0; + $xfer += $input->readListBegin($_etype646, $_size643); + for ($_i647 = 0; $_i647 < $_size643; ++$_i647) { - $elem641 = null; - $elem641 = new \metastore\LockComponent(); - $xfer += $elem641->read($input); - $this->component []= $elem641; + $elem648 = null; + $elem648 = new \metastore\LockComponent(); + $xfer += $elem648->read($input); + $this->component []= $elem648; } $xfer += $input->readListEnd(); } else { @@ -20760,9 +20886,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter642) + foreach ($this->component as $iter649) { - $xfer += $iter642->write($output); + $xfer += $iter649->write($output); } } $output->writeListEnd(); @@ -21705,15 +21831,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size643 = 0; - $_etype646 = 0; - $xfer += $input->readListBegin($_etype646, $_size643); - for ($_i647 = 0; $_i647 < $_size643; ++$_i647) + $_size650 = 0; + $_etype653 = 0; + $xfer += $input->readListBegin($_etype653, $_size650); + for ($_i654 = 0; $_i654 < $_size650; ++$_i654) { - $elem648 = null; - $elem648 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem648->read($input); - $this->locks []= $elem648; + $elem655 = null; + $elem655 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem655->read($input); + $this->locks []= $elem655; } $xfer += $input->readListEnd(); } else { @@ -21741,9 +21867,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter649) + foreach ($this->locks as $iter656) { - $xfer += $iter649->write($output); + $xfer += $iter656->write($output); } } $output->writeListEnd(); @@ -22018,17 +22144,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size650 = 0; - $_etype653 = 0; - $xfer += $input->readSetBegin($_etype653, $_size650); - for ($_i654 = 0; $_i654 < $_size650; ++$_i654) + $_size657 = 0; + $_etype660 = 0; + $xfer += $input->readSetBegin($_etype660, $_size657); + for ($_i661 = 0; $_i661 < $_size657; ++$_i661) { - $elem655 = null; - $xfer += $input->readI64($elem655); - if (is_scalar($elem655)) { - $this->aborted[$elem655] = true; + $elem662 = null; + $xfer += $input->readI64($elem662); + if (is_scalar($elem662)) { + $this->aborted[$elem662] = true; } else { - $this->aborted []= $elem655; + $this->aborted []= $elem662; } } $xfer += $input->readSetEnd(); @@ -22039,17 +22165,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size656 = 0; - $_etype659 = 0; - $xfer += $input->readSetBegin($_etype659, $_size656); - for ($_i660 = 0; $_i660 < $_size656; ++$_i660) + $_size663 = 0; + $_etype666 = 0; + $xfer += $input->readSetBegin($_etype666, $_size663); + for ($_i667 = 0; $_i667 < $_size663; ++$_i667) { - $elem661 = null; - $xfer += $input->readI64($elem661); - if (is_scalar($elem661)) { - $this->nosuch[$elem661] = true; + $elem668 = null; + $xfer += $input->readI64($elem668); + if (is_scalar($elem668)) { + $this->nosuch[$elem668] = true; } else { - $this->nosuch []= $elem661; + $this->nosuch []= $elem668; } } $xfer += $input->readSetEnd(); @@ -22078,12 +22204,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter662 => $iter663) + foreach ($this->aborted as $iter669 => $iter670) { - if (is_scalar($iter663)) { - $xfer += $output->writeI64($iter662); + if (is_scalar($iter670)) { + $xfer += $output->writeI64($iter669); } else { - $xfer += $output->writeI64($iter663); + $xfer += $output->writeI64($iter670); } } } @@ -22099,12 +22225,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter664 => $iter665) + foreach ($this->nosuch as $iter671 => $iter672) { - if (is_scalar($iter665)) { - $xfer += $output->writeI64($iter664); + if (is_scalar($iter672)) { + $xfer += $output->writeI64($iter671); } else { - $xfer += $output->writeI64($iter665); + $xfer += $output->writeI64($iter672); } } } @@ -22263,17 +22389,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size666 = 0; - $_ktype667 = 0; - $_vtype668 = 0; - $xfer += $input->readMapBegin($_ktype667, $_vtype668, $_size666); - for ($_i670 = 0; $_i670 < $_size666; ++$_i670) + $_size673 = 0; + $_ktype674 = 0; + $_vtype675 = 0; + $xfer += $input->readMapBegin($_ktype674, $_vtype675, $_size673); + for ($_i677 = 0; $_i677 < $_size673; ++$_i677) { - $key671 = ''; - $val672 = ''; - $xfer += $input->readString($key671); - $xfer += $input->readString($val672); - $this->properties[$key671] = $val672; + $key678 = ''; + $val679 = ''; + $xfer += $input->readString($key678); + $xfer += $input->readString($val679); + $this->properties[$key678] = $val679; } $xfer += $input->readMapEnd(); } else { @@ -22326,10 +22452,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter673 => $viter674) + foreach ($this->properties as $kiter680 => $viter681) { - $xfer += $output->writeString($kiter673); - $xfer += $output->writeString($viter674); + $xfer += $output->writeString($kiter680); + $xfer += $output->writeString($viter681); } } $output->writeMapEnd(); @@ -23370,15 +23496,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size675 = 0; - $_etype678 = 0; - $xfer += $input->readListBegin($_etype678, $_size675); - for ($_i679 = 0; $_i679 < $_size675; ++$_i679) + $_size682 = 0; + $_etype685 = 0; + $xfer += $input->readListBegin($_etype685, $_size682); + for ($_i686 = 0; $_i686 < $_size682; ++$_i686) { - $elem680 = null; - $elem680 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem680->read($input); - $this->compacts []= $elem680; + $elem687 = null; + $elem687 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem687->read($input); + $this->compacts []= $elem687; } $xfer += $input->readListEnd(); } else { @@ -23406,9 +23532,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter681) + foreach ($this->compacts as $iter688) { - $xfer += $iter681->write($output); + $xfer += $iter688->write($output); } } $output->writeListEnd(); @@ -23555,14 +23681,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size682 = 0; - $_etype685 = 0; - $xfer += $input->readListBegin($_etype685, $_size682); - for ($_i686 = 0; $_i686 < $_size682; ++$_i686) + $_size689 = 0; + $_etype692 = 0; + $xfer += $input->readListBegin($_etype692, $_size689); + for ($_i693 = 0; $_i693 < $_size689; ++$_i693) { - $elem687 = null; - $xfer += $input->readString($elem687); - $this->partitionnames []= $elem687; + $elem694 = null; + $xfer += $input->readString($elem694); + $this->partitionnames []= $elem694; } $xfer += $input->readListEnd(); } else { @@ -23617,9 +23743,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter688) + foreach ($this->partitionnames as $iter695) { - $xfer += $output->writeString($iter688); + $xfer += $output->writeString($iter695); } } $output->writeListEnd(); @@ -23914,14 +24040,14 @@ class NotificationEventRequest { case 3: if ($ftype == TType::LST) { $this->eventTypeSkipList = array(); - $_size689 = 0; - $_etype692 = 0; - $xfer += $input->readListBegin($_etype692, $_size689); - for ($_i693 = 0; $_i693 < $_size689; ++$_i693) + $_size696 = 0; + $_etype699 = 0; + $xfer += $input->readListBegin($_etype699, $_size696); + for ($_i700 = 0; $_i700 < $_size696; ++$_i700) { - $elem694 = null; - $xfer += $input->readString($elem694); - $this->eventTypeSkipList []= $elem694; + $elem701 = null; + $xfer += $input->readString($elem701); + $this->eventTypeSkipList []= $elem701; } $xfer += $input->readListEnd(); } else { @@ -23959,9 +24085,9 @@ class NotificationEventRequest { { $output->writeListBegin(TType::STRING, count($this->eventTypeSkipList)); { - foreach ($this->eventTypeSkipList as $iter695) + foreach ($this->eventTypeSkipList as $iter702) { - $xfer += $output->writeString($iter695); + $xfer += $output->writeString($iter702); } } $output->writeListEnd(); @@ -24262,15 +24388,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size696 = 0; - $_etype699 = 0; - $xfer += $input->readListBegin($_etype699, $_size696); - for ($_i700 = 0; $_i700 < $_size696; ++$_i700) + $_size703 = 0; + $_etype706 = 0; + $xfer += $input->readListBegin($_etype706, $_size703); + for ($_i707 = 0; $_i707 < $_size703; ++$_i707) { - $elem701 = null; - $elem701 = new \metastore\NotificationEvent(); - $xfer += $elem701->read($input); - $this->events []= $elem701; + $elem708 = null; + $elem708 = new \metastore\NotificationEvent(); + $xfer += $elem708->read($input); + $this->events []= $elem708; } $xfer += $input->readListEnd(); } else { @@ -24298,9 +24424,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter702) + foreach ($this->events as $iter709) { - $xfer += $iter702->write($output); + $xfer += $iter709->write($output); } } $output->writeListEnd(); @@ -24741,17 +24867,17 @@ class InsertEventRequestData { $xfer += $input->skip($ftype); } break; - case 2: - if ($ftype == TType::LST) { - $this->filesAdded = array(); - $_size703 = 0; - $_etype706 = 0; - $xfer += $input->readListBegin($_etype706, $_size703); - for ($_i707 = 0; $_i707 < $_size703; ++$_i707) + case 2: + if ($ftype == TType::LST) { + $this->filesAdded = array(); + $_size710 = 0; + $_etype713 = 0; + $xfer += $input->readListBegin($_etype713, $_size710); + for ($_i714 = 0; $_i714 < $_size710; ++$_i714) { - $elem708 = null; - $xfer += $input->readString($elem708); - $this->filesAdded []= $elem708; + $elem715 = null; + $xfer += $input->readString($elem715); + $this->filesAdded []= $elem715; } $xfer += $input->readListEnd(); } else { @@ -24761,14 +24887,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size709 = 0; - $_etype712 = 0; - $xfer += $input->readListBegin($_etype712, $_size709); - for ($_i713 = 0; $_i713 < $_size709; ++$_i713) + $_size716 = 0; + $_etype719 = 0; + $xfer += $input->readListBegin($_etype719, $_size716); + for ($_i720 = 0; $_i720 < $_size716; ++$_i720) { - $elem714 = null; - $xfer += $input->readString($elem714); - $this->filesAddedChecksum []= $elem714; + $elem721 = null; + $xfer += $input->readString($elem721); + $this->filesAddedChecksum []= $elem721; } $xfer += $input->readListEnd(); } else { @@ -24778,14 +24904,14 @@ class InsertEventRequestData { case 4: if ($ftype == TType::LST) { $this->subDirectoryList = array(); - $_size715 = 0; - $_etype718 = 0; - $xfer += $input->readListBegin($_etype718, $_size715); - for ($_i719 = 0; $_i719 < $_size715; ++$_i719) + $_size722 = 0; + $_etype725 = 0; + $xfer += $input->readListBegin($_etype725, $_size722); + for ($_i726 = 0; $_i726 < $_size722; ++$_i726) { - $elem720 = null; - $xfer += $input->readString($elem720); - $this->subDirectoryList []= $elem720; + $elem727 = null; + $xfer += $input->readString($elem727); + $this->subDirectoryList []= $elem727; } $xfer += $input->readListEnd(); } else { @@ -24795,14 +24921,14 @@ class InsertEventRequestData { case 5: if ($ftype == TType::LST) { $this->partitionVal = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readString($elem726); - $this->partitionVal []= $elem726; + $elem733 = null; + $xfer += $input->readString($elem733); + $this->partitionVal []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -24835,9 +24961,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter727) + foreach ($this->filesAdded as $iter734) { - $xfer += $output->writeString($iter727); + $xfer += $output->writeString($iter734); } } $output->writeListEnd(); @@ -24852,9 +24978,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter728) + foreach ($this->filesAddedChecksum as $iter735) { - $xfer += $output->writeString($iter728); + $xfer += $output->writeString($iter735); } } $output->writeListEnd(); @@ -24869,9 +24995,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->subDirectoryList)); { - foreach ($this->subDirectoryList as $iter729) + foreach ($this->subDirectoryList as $iter736) { - $xfer += $output->writeString($iter729); + $xfer += $output->writeString($iter736); } } $output->writeListEnd(); @@ -24886,9 +25012,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->partitionVal)); { - foreach ($this->partitionVal as $iter730) + foreach ($this->partitionVal as $iter737) { - $xfer += $output->writeString($iter730); + $xfer += $output->writeString($iter737); } } $output->writeListEnd(); @@ -24973,15 +25099,15 @@ class FireEventRequestData { case 2: if ($ftype == TType::LST) { $this->insertDatas = array(); - $_size731 = 0; - $_etype734 = 0; - $xfer += $input->readListBegin($_etype734, $_size731); - for ($_i735 = 0; $_i735 < $_size731; ++$_i735) + $_size738 = 0; + $_etype741 = 0; + $xfer += $input->readListBegin($_etype741, $_size738); + for ($_i742 = 0; $_i742 < $_size738; ++$_i742) { - $elem736 = null; - $elem736 = new \metastore\InsertEventRequestData(); - $xfer += $elem736->read($input); - $this->insertDatas []= $elem736; + $elem743 = null; + $elem743 = new \metastore\InsertEventRequestData(); + $xfer += $elem743->read($input); + $this->insertDatas []= $elem743; } $xfer += $input->readListEnd(); } else { @@ -25017,9 +25143,9 @@ class FireEventRequestData { { $output->writeListBegin(TType::STRUCT, count($this->insertDatas)); { - foreach ($this->insertDatas as $iter737) + foreach ($this->insertDatas as $iter744) { - $xfer += $iter737->write($output); + $xfer += $iter744->write($output); } } $output->writeListEnd(); @@ -25168,14 +25294,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size738 = 0; - $_etype741 = 0; - $xfer += $input->readListBegin($_etype741, $_size738); - for ($_i742 = 0; $_i742 < $_size738; ++$_i742) + $_size745 = 0; + $_etype748 = 0; + $xfer += $input->readListBegin($_etype748, $_size745); + for ($_i749 = 0; $_i749 < $_size745; ++$_i749) { - $elem743 = null; - $xfer += $input->readString($elem743); - $this->partitionVals []= $elem743; + $elem750 = null; + $xfer += $input->readString($elem750); + $this->partitionVals []= $elem750; } $xfer += $input->readListEnd(); } else { @@ -25233,9 +25359,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter744) + foreach ($this->partitionVals as $iter751) { - $xfer += $output->writeString($iter744); + $xfer += $output->writeString($iter751); } } $output->writeListEnd(); @@ -25304,14 +25430,14 @@ class FireEventResponse { case 1: if ($ftype == TType::LST) { $this->eventIds = array(); - $_size745 = 0; - $_etype748 = 0; - $xfer += $input->readListBegin($_etype748, $_size745); - for ($_i749 = 0; $_i749 < $_size745; ++$_i749) + $_size752 = 0; + $_etype755 = 0; + $xfer += $input->readListBegin($_etype755, $_size752); + for ($_i756 = 0; $_i756 < $_size752; ++$_i756) { - $elem750 = null; - $xfer += $input->readI64($elem750); - $this->eventIds []= $elem750; + $elem757 = null; + $xfer += $input->readI64($elem757); + $this->eventIds []= $elem757; } $xfer += $input->readListEnd(); } else { @@ -25339,9 +25465,9 @@ class FireEventResponse { { $output->writeListBegin(TType::I64, count($this->eventIds)); { - foreach ($this->eventIds as $iter751) + foreach ($this->eventIds as $iter758) { - $xfer += $output->writeI64($iter751); + $xfer += $output->writeI64($iter758); } } $output->writeListEnd(); @@ -25497,14 +25623,14 @@ class WriteNotificationLogRequest { case 6: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size752 = 0; - $_etype755 = 0; - $xfer += $input->readListBegin($_etype755, $_size752); - for ($_i756 = 0; $_i756 < $_size752; ++$_i756) + $_size759 = 0; + $_etype762 = 0; + $xfer += $input->readListBegin($_etype762, $_size759); + for ($_i763 = 0; $_i763 < $_size759; ++$_i763) { - $elem757 = null; - $xfer += $input->readString($elem757); - $this->partitionVals []= $elem757; + $elem764 = null; + $xfer += $input->readString($elem764); + $this->partitionVals []= $elem764; } $xfer += $input->readListEnd(); } else { @@ -25560,9 +25686,9 @@ class WriteNotificationLogRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter758) + foreach ($this->partitionVals as $iter765) { - $xfer += $output->writeString($iter758); + $xfer += $output->writeString($iter765); } } $output->writeListEnd(); @@ -25790,18 +25916,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size759 = 0; - $_ktype760 = 0; - $_vtype761 = 0; - $xfer += $input->readMapBegin($_ktype760, $_vtype761, $_size759); - for ($_i763 = 0; $_i763 < $_size759; ++$_i763) + $_size766 = 0; + $_ktype767 = 0; + $_vtype768 = 0; + $xfer += $input->readMapBegin($_ktype767, $_vtype768, $_size766); + for ($_i770 = 0; $_i770 < $_size766; ++$_i770) { - $key764 = 0; - $val765 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key764); - $val765 = new \metastore\MetadataPpdResult(); - $xfer += $val765->read($input); - $this->metadata[$key764] = $val765; + $key771 = 0; + $val772 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key771); + $val772 = new \metastore\MetadataPpdResult(); + $xfer += $val772->read($input); + $this->metadata[$key771] = $val772; } $xfer += $input->readMapEnd(); } else { @@ -25836,10 +25962,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter766 => $viter767) + foreach ($this->metadata as $kiter773 => $viter774) { - $xfer += $output->writeI64($kiter766); - $xfer += $viter767->write($output); + $xfer += $output->writeI64($kiter773); + $xfer += $viter774->write($output); } } $output->writeMapEnd(); @@ -25941,14 +26067,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size768 = 0; - $_etype771 = 0; - $xfer += $input->readListBegin($_etype771, $_size768); - for ($_i772 = 0; $_i772 < $_size768; ++$_i772) + $_size775 = 0; + $_etype778 = 0; + $xfer += $input->readListBegin($_etype778, $_size775); + for ($_i779 = 0; $_i779 < $_size775; ++$_i779) { - $elem773 = null; - $xfer += $input->readI64($elem773); - $this->fileIds []= $elem773; + $elem780 = null; + $xfer += $input->readI64($elem780); + $this->fileIds []= $elem780; } $xfer += $input->readListEnd(); } else { @@ -25997,9 +26123,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter774) + foreach ($this->fileIds as $iter781) { - $xfer += $output->writeI64($iter774); + $xfer += $output->writeI64($iter781); } } $output->writeListEnd(); @@ -26093,17 +26219,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size775 = 0; - $_ktype776 = 0; - $_vtype777 = 0; - $xfer += $input->readMapBegin($_ktype776, $_vtype777, $_size775); - for ($_i779 = 0; $_i779 < $_size775; ++$_i779) + $_size782 = 0; + $_ktype783 = 0; + $_vtype784 = 0; + $xfer += $input->readMapBegin($_ktype783, $_vtype784, $_size782); + for ($_i786 = 0; $_i786 < $_size782; ++$_i786) { - $key780 = 0; - $val781 = ''; - $xfer += $input->readI64($key780); - $xfer += $input->readString($val781); - $this->metadata[$key780] = $val781; + $key787 = 0; + $val788 = ''; + $xfer += $input->readI64($key787); + $xfer += $input->readString($val788); + $this->metadata[$key787] = $val788; } $xfer += $input->readMapEnd(); } else { @@ -26138,10 +26264,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter782 => $viter783) + foreach ($this->metadata as $kiter789 => $viter790) { - $xfer += $output->writeI64($kiter782); - $xfer += $output->writeString($viter783); + $xfer += $output->writeI64($kiter789); + $xfer += $output->writeString($viter790); } } $output->writeMapEnd(); @@ -26210,14 +26336,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size784 = 0; - $_etype787 = 0; - $xfer += $input->readListBegin($_etype787, $_size784); - for ($_i788 = 0; $_i788 < $_size784; ++$_i788) + $_size791 = 0; + $_etype794 = 0; + $xfer += $input->readListBegin($_etype794, $_size791); + for ($_i795 = 0; $_i795 < $_size791; ++$_i795) { - $elem789 = null; - $xfer += $input->readI64($elem789); - $this->fileIds []= $elem789; + $elem796 = null; + $xfer += $input->readI64($elem796); + $this->fileIds []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -26245,9 +26371,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter790) + foreach ($this->fileIds as $iter797) { - $xfer += $output->writeI64($iter790); + $xfer += $output->writeI64($iter797); } } $output->writeListEnd(); @@ -26387,14 +26513,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size791 = 0; - $_etype794 = 0; - $xfer += $input->readListBegin($_etype794, $_size791); - for ($_i795 = 0; $_i795 < $_size791; ++$_i795) + $_size798 = 0; + $_etype801 = 0; + $xfer += $input->readListBegin($_etype801, $_size798); + for ($_i802 = 0; $_i802 < $_size798; ++$_i802) { - $elem796 = null; - $xfer += $input->readI64($elem796); - $this->fileIds []= $elem796; + $elem803 = null; + $xfer += $input->readI64($elem803); + $this->fileIds []= $elem803; } $xfer += $input->readListEnd(); } else { @@ -26404,14 +26530,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem802 = null; - $xfer += $input->readString($elem802); - $this->metadata []= $elem802; + $elem809 = null; + $xfer += $input->readString($elem809); + $this->metadata []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -26446,9 +26572,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter803) + foreach ($this->fileIds as $iter810) { - $xfer += $output->writeI64($iter803); + $xfer += $output->writeI64($iter810); } } $output->writeListEnd(); @@ -26463,9 +26589,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter804) + foreach ($this->metadata as $iter811) { - $xfer += $output->writeString($iter804); + $xfer += $output->writeString($iter811); } } $output->writeListEnd(); @@ -26584,14 +26710,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size805 = 0; - $_etype808 = 0; - $xfer += $input->readListBegin($_etype808, $_size805); - for ($_i809 = 0; $_i809 < $_size805; ++$_i809) + $_size812 = 0; + $_etype815 = 0; + $xfer += $input->readListBegin($_etype815, $_size812); + for ($_i816 = 0; $_i816 < $_size812; ++$_i816) { - $elem810 = null; - $xfer += $input->readI64($elem810); - $this->fileIds []= $elem810; + $elem817 = null; + $xfer += $input->readI64($elem817); + $this->fileIds []= $elem817; } $xfer += $input->readListEnd(); } else { @@ -26619,9 +26745,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter811) + foreach ($this->fileIds as $iter818) { - $xfer += $output->writeI64($iter811); + $xfer += $output->writeI64($iter818); } } $output->writeListEnd(); @@ -26905,15 +27031,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size812 = 0; - $_etype815 = 0; - $xfer += $input->readListBegin($_etype815, $_size812); - for ($_i816 = 0; $_i816 < $_size812; ++$_i816) + $_size819 = 0; + $_etype822 = 0; + $xfer += $input->readListBegin($_etype822, $_size819); + for ($_i823 = 0; $_i823 < $_size819; ++$_i823) { - $elem817 = null; - $elem817 = new \metastore\Function(); - $xfer += $elem817->read($input); - $this->functions []= $elem817; + $elem824 = null; + $elem824 = new \metastore\Function(); + $xfer += $elem824->read($input); + $this->functions []= $elem824; } $xfer += $input->readListEnd(); } else { @@ -26941,9 +27067,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter818) + foreach ($this->functions as $iter825) { - $xfer += $iter818->write($output); + $xfer += $iter825->write($output); } } $output->writeListEnd(); @@ -27007,14 +27133,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size819 = 0; - $_etype822 = 0; - $xfer += $input->readListBegin($_etype822, $_size819); - for ($_i823 = 0; $_i823 < $_size819; ++$_i823) + $_size826 = 0; + $_etype829 = 0; + $xfer += $input->readListBegin($_etype829, $_size826); + for ($_i830 = 0; $_i830 < $_size826; ++$_i830) { - $elem824 = null; - $xfer += $input->readI32($elem824); - $this->values []= $elem824; + $elem831 = null; + $xfer += $input->readI32($elem831); + $this->values []= $elem831; } $xfer += $input->readListEnd(); } else { @@ -27042,9 +27168,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter825) + foreach ($this->values as $iter832) { - $xfer += $output->writeI32($iter825); + $xfer += $output->writeI32($iter832); } } $output->writeListEnd(); @@ -27240,14 +27366,14 @@ class GetTableRequest { case 8: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size826 = 0; - $_etype829 = 0; - $xfer += $input->readListBegin($_etype829, $_size826); - for ($_i830 = 0; $_i830 < $_size826; ++$_i830) + $_size833 = 0; + $_etype836 = 0; + $xfer += $input->readListBegin($_etype836, $_size833); + for ($_i837 = 0; $_i837 < $_size833; ++$_i837) { - $elem831 = null; - $xfer += $input->readString($elem831); - $this->processorCapabilities []= $elem831; + $elem838 = null; + $xfer += $input->readString($elem838); + $this->processorCapabilities []= $elem838; } $xfer += $input->readListEnd(); } else { @@ -27322,9 +27448,9 @@ class GetTableRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter832) + foreach ($this->processorCapabilities as $iter839) { - $xfer += $output->writeString($iter832); + $xfer += $output->writeString($iter839); } } $output->writeListEnd(); @@ -27568,14 +27694,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size833 = 0; - $_etype836 = 0; - $xfer += $input->readListBegin($_etype836, $_size833); - for ($_i837 = 0; $_i837 < $_size833; ++$_i837) + $_size840 = 0; + $_etype843 = 0; + $xfer += $input->readListBegin($_etype843, $_size840); + for ($_i844 = 0; $_i844 < $_size840; ++$_i844) { - $elem838 = null; - $xfer += $input->readString($elem838); - $this->tblNames []= $elem838; + $elem845 = null; + $xfer += $input->readString($elem845); + $this->tblNames []= $elem845; } $xfer += $input->readListEnd(); } else { @@ -27600,14 +27726,14 @@ class GetTablesRequest { case 5: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size846 = 0; + $_etype849 = 0; + $xfer += $input->readListBegin($_etype849, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->processorCapabilities []= $elem844; + $elem851 = null; + $xfer += $input->readString($elem851); + $this->processorCapabilities []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -27647,9 +27773,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter845) + foreach ($this->tblNames as $iter852) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter852); } } $output->writeListEnd(); @@ -27677,9 +27803,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter846) + foreach ($this->processorCapabilities as $iter853) { - $xfer += $output->writeString($iter846); + $xfer += $output->writeString($iter853); } } $output->writeListEnd(); @@ -27749,15 +27875,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size854 = 0; + $_etype857 = 0; + $xfer += $input->readListBegin($_etype857, $_size854); + for ($_i858 = 0; $_i858 < $_size854; ++$_i858) { - $elem852 = null; - $elem852 = new \metastore\Table(); - $xfer += $elem852->read($input); - $this->tables []= $elem852; + $elem859 = null; + $elem859 = new \metastore\Table(); + $xfer += $elem859->read($input); + $this->tables []= $elem859; } $xfer += $input->readListEnd(); } else { @@ -27785,9 +27911,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter853) + foreach ($this->tables as $iter860) { - $xfer += $iter853->write($output); + $xfer += $iter860->write($output); } } $output->writeListEnd(); @@ -27952,14 +28078,14 @@ class GetTablesExtRequest { case 6: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size854 = 0; - $_etype857 = 0; - $xfer += $input->readListBegin($_etype857, $_size854); - for ($_i858 = 0; $_i858 < $_size854; ++$_i858) + $_size861 = 0; + $_etype864 = 0; + $xfer += $input->readListBegin($_etype864, $_size861); + for ($_i865 = 0; $_i865 < $_size861; ++$_i865) { - $elem859 = null; - $xfer += $input->readString($elem859); - $this->processorCapabilities []= $elem859; + $elem866 = null; + $xfer += $input->readString($elem866); + $this->processorCapabilities []= $elem866; } $xfer += $input->readListEnd(); } else { @@ -28019,9 +28145,9 @@ class GetTablesExtRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter860) + foreach ($this->processorCapabilities as $iter867) { - $xfer += $output->writeString($iter860); + $xfer += $output->writeString($iter867); } } $output->writeListEnd(); @@ -28141,14 +28267,14 @@ class ExtendedTableInfo { case 3: if ($ftype == TType::LST) { $this->requiredReadCapabilities = array(); - $_size861 = 0; - $_etype864 = 0; - $xfer += $input->readListBegin($_etype864, $_size861); - for ($_i865 = 0; $_i865 < $_size861; ++$_i865) + $_size868 = 0; + $_etype871 = 0; + $xfer += $input->readListBegin($_etype871, $_size868); + for ($_i872 = 0; $_i872 < $_size868; ++$_i872) { - $elem866 = null; - $xfer += $input->readString($elem866); - $this->requiredReadCapabilities []= $elem866; + $elem873 = null; + $xfer += $input->readString($elem873); + $this->requiredReadCapabilities []= $elem873; } $xfer += $input->readListEnd(); } else { @@ -28158,14 +28284,14 @@ class ExtendedTableInfo { case 4: if ($ftype == TType::LST) { $this->requiredWriteCapabilities = array(); - $_size867 = 0; - $_etype870 = 0; - $xfer += $input->readListBegin($_etype870, $_size867); - for ($_i871 = 0; $_i871 < $_size867; ++$_i871) + $_size874 = 0; + $_etype877 = 0; + $xfer += $input->readListBegin($_etype877, $_size874); + for ($_i878 = 0; $_i878 < $_size874; ++$_i878) { - $elem872 = null; - $xfer += $input->readString($elem872); - $this->requiredWriteCapabilities []= $elem872; + $elem879 = null; + $xfer += $input->readString($elem879); + $this->requiredWriteCapabilities []= $elem879; } $xfer += $input->readListEnd(); } else { @@ -28203,9 +28329,9 @@ class ExtendedTableInfo { { $output->writeListBegin(TType::STRING, count($this->requiredReadCapabilities)); { - foreach ($this->requiredReadCapabilities as $iter873) + foreach ($this->requiredReadCapabilities as $iter880) { - $xfer += $output->writeString($iter873); + $xfer += $output->writeString($iter880); } } $output->writeListEnd(); @@ -28220,9 +28346,9 @@ class ExtendedTableInfo { { $output->writeListBegin(TType::STRING, count($this->requiredWriteCapabilities)); { - foreach ($this->requiredWriteCapabilities as $iter874) + foreach ($this->requiredWriteCapabilities as $iter881) { - $xfer += $output->writeString($iter874); + $xfer += $output->writeString($iter881); } } $output->writeListEnd(); @@ -28333,14 +28459,14 @@ class GetDatabaseRequest { case 3: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem880 = null; - $xfer += $input->readString($elem880); - $this->processorCapabilities []= $elem880; + $elem887 = null; + $xfer += $input->readString($elem887); + $this->processorCapabilities []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -28385,9 +28511,9 @@ class GetDatabaseRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter881) + foreach ($this->processorCapabilities as $iter888) { - $xfer += $output->writeString($iter881); + $xfer += $output->writeString($iter888); } } $output->writeListEnd(); @@ -30199,15 +30325,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size882 = 0; - $_etype885 = 0; - $xfer += $input->readListBegin($_etype885, $_size882); - for ($_i886 = 0; $_i886 < $_size882; ++$_i886) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem887 = null; - $elem887 = new \metastore\WMPool(); - $xfer += $elem887->read($input); - $this->pools []= $elem887; + $elem894 = null; + $elem894 = new \metastore\WMPool(); + $xfer += $elem894->read($input); + $this->pools []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -30217,15 +30343,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size888 = 0; - $_etype891 = 0; - $xfer += $input->readListBegin($_etype891, $_size888); - for ($_i892 = 0; $_i892 < $_size888; ++$_i892) + $_size895 = 0; + $_etype898 = 0; + $xfer += $input->readListBegin($_etype898, $_size895); + for ($_i899 = 0; $_i899 < $_size895; ++$_i899) { - $elem893 = null; - $elem893 = new \metastore\WMMapping(); - $xfer += $elem893->read($input); - $this->mappings []= $elem893; + $elem900 = null; + $elem900 = new \metastore\WMMapping(); + $xfer += $elem900->read($input); + $this->mappings []= $elem900; } $xfer += $input->readListEnd(); } else { @@ -30235,15 +30361,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size894 = 0; - $_etype897 = 0; - $xfer += $input->readListBegin($_etype897, $_size894); - for ($_i898 = 0; $_i898 < $_size894; ++$_i898) + $_size901 = 0; + $_etype904 = 0; + $xfer += $input->readListBegin($_etype904, $_size901); + for ($_i905 = 0; $_i905 < $_size901; ++$_i905) { - $elem899 = null; - $elem899 = new \metastore\WMTrigger(); - $xfer += $elem899->read($input); - $this->triggers []= $elem899; + $elem906 = null; + $elem906 = new \metastore\WMTrigger(); + $xfer += $elem906->read($input); + $this->triggers []= $elem906; } $xfer += $input->readListEnd(); } else { @@ -30253,15 +30379,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size900 = 0; - $_etype903 = 0; - $xfer += $input->readListBegin($_etype903, $_size900); - for ($_i904 = 0; $_i904 < $_size900; ++$_i904) + $_size907 = 0; + $_etype910 = 0; + $xfer += $input->readListBegin($_etype910, $_size907); + for ($_i911 = 0; $_i911 < $_size907; ++$_i911) { - $elem905 = null; - $elem905 = new \metastore\WMPoolTrigger(); - $xfer += $elem905->read($input); - $this->poolTriggers []= $elem905; + $elem912 = null; + $elem912 = new \metastore\WMPoolTrigger(); + $xfer += $elem912->read($input); + $this->poolTriggers []= $elem912; } $xfer += $input->readListEnd(); } else { @@ -30297,9 +30423,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter906) + foreach ($this->pools as $iter913) { - $xfer += $iter906->write($output); + $xfer += $iter913->write($output); } } $output->writeListEnd(); @@ -30314,9 +30440,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter907) + foreach ($this->mappings as $iter914) { - $xfer += $iter907->write($output); + $xfer += $iter914->write($output); } } $output->writeListEnd(); @@ -30331,9 +30457,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter908) + foreach ($this->triggers as $iter915) { - $xfer += $iter908->write($output); + $xfer += $iter915->write($output); } } $output->writeListEnd(); @@ -30348,9 +30474,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter909) + foreach ($this->poolTriggers as $iter916) { - $xfer += $iter909->write($output); + $xfer += $iter916->write($output); } } $output->writeListEnd(); @@ -30976,15 +31102,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size910 = 0; - $_etype913 = 0; - $xfer += $input->readListBegin($_etype913, $_size910); - for ($_i914 = 0; $_i914 < $_size910; ++$_i914) + $_size917 = 0; + $_etype920 = 0; + $xfer += $input->readListBegin($_etype920, $_size917); + for ($_i921 = 0; $_i921 < $_size917; ++$_i921) { - $elem915 = null; - $elem915 = new \metastore\WMResourcePlan(); - $xfer += $elem915->read($input); - $this->resourcePlans []= $elem915; + $elem922 = null; + $elem922 = new \metastore\WMResourcePlan(); + $xfer += $elem922->read($input); + $this->resourcePlans []= $elem922; } $xfer += $input->readListEnd(); } else { @@ -31012,9 +31138,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter916) + foreach ($this->resourcePlans as $iter923) { - $xfer += $iter916->write($output); + $xfer += $iter923->write($output); } } $output->writeListEnd(); @@ -31466,14 +31592,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size917 = 0; - $_etype920 = 0; - $xfer += $input->readListBegin($_etype920, $_size917); - for ($_i921 = 0; $_i921 < $_size917; ++$_i921) + $_size924 = 0; + $_etype927 = 0; + $xfer += $input->readListBegin($_etype927, $_size924); + for ($_i928 = 0; $_i928 < $_size924; ++$_i928) { - $elem922 = null; - $xfer += $input->readString($elem922); - $this->errors []= $elem922; + $elem929 = null; + $xfer += $input->readString($elem929); + $this->errors []= $elem929; } $xfer += $input->readListEnd(); } else { @@ -31483,14 +31609,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size923 = 0; - $_etype926 = 0; - $xfer += $input->readListBegin($_etype926, $_size923); - for ($_i927 = 0; $_i927 < $_size923; ++$_i927) + $_size930 = 0; + $_etype933 = 0; + $xfer += $input->readListBegin($_etype933, $_size930); + for ($_i934 = 0; $_i934 < $_size930; ++$_i934) { - $elem928 = null; - $xfer += $input->readString($elem928); - $this->warnings []= $elem928; + $elem935 = null; + $xfer += $input->readString($elem935); + $this->warnings []= $elem935; } $xfer += $input->readListEnd(); } else { @@ -31518,9 +31644,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter929) + foreach ($this->errors as $iter936) { - $xfer += $output->writeString($iter929); + $xfer += $output->writeString($iter936); } } $output->writeListEnd(); @@ -31535,9 +31661,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter930) + foreach ($this->warnings as $iter937) { - $xfer += $output->writeString($iter930); + $xfer += $output->writeString($iter937); } } $output->writeListEnd(); @@ -32279,15 +32405,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size931 = 0; - $_etype934 = 0; - $xfer += $input->readListBegin($_etype934, $_size931); - for ($_i935 = 0; $_i935 < $_size931; ++$_i935) + $_size938 = 0; + $_etype941 = 0; + $xfer += $input->readListBegin($_etype941, $_size938); + for ($_i942 = 0; $_i942 < $_size938; ++$_i942) { - $elem936 = null; - $elem936 = new \metastore\WMTrigger(); - $xfer += $elem936->read($input); - $this->triggers []= $elem936; + $elem943 = null; + $elem943 = new \metastore\WMTrigger(); + $xfer += $elem943->read($input); + $this->triggers []= $elem943; } $xfer += $input->readListEnd(); } else { @@ -32315,9 +32441,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter937) + foreach ($this->triggers as $iter944) { - $xfer += $iter937->write($output); + $xfer += $iter944->write($output); } } $output->writeListEnd(); @@ -33947,15 +34073,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size938 = 0; - $_etype941 = 0; - $xfer += $input->readListBegin($_etype941, $_size938); - for ($_i942 = 0; $_i942 < $_size938; ++$_i942) + $_size945 = 0; + $_etype948 = 0; + $xfer += $input->readListBegin($_etype948, $_size945); + for ($_i949 = 0; $_i949 < $_size945; ++$_i949) { - $elem943 = null; - $elem943 = new \metastore\FieldSchema(); - $xfer += $elem943->read($input); - $this->cols []= $elem943; + $elem950 = null; + $elem950 = new \metastore\FieldSchema(); + $xfer += $elem950->read($input); + $this->cols []= $elem950; } $xfer += $input->readListEnd(); } else { @@ -34044,9 +34170,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter944) + foreach ($this->cols as $iter951) { - $xfer += $iter944->write($output); + $xfer += $iter951->write($output); } } $output->writeListEnd(); @@ -34368,15 +34494,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size952 = 0; + $_etype955 = 0; + $xfer += $input->readListBegin($_etype955, $_size952); + for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem950 = null; - $elem950 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem950->read($input); - $this->schemaVersions []= $elem950; + $elem957 = null; + $elem957 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem957->read($input); + $this->schemaVersions []= $elem957; } $xfer += $input->readListEnd(); } else { @@ -34404,9 +34530,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter951) + foreach ($this->schemaVersions as $iter958) { - $xfer += $iter951->write($output); + $xfer += $iter958->write($output); } } $output->writeListEnd(); @@ -35117,15 +35243,15 @@ class CreateTableRequest { case 3: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) + $_size959 = 0; + $_etype962 = 0; + $xfer += $input->readListBegin($_etype962, $_size959); + for ($_i963 = 0; $_i963 < $_size959; ++$_i963) { - $elem957 = null; - $elem957 = new \metastore\SQLPrimaryKey(); - $xfer += $elem957->read($input); - $this->primaryKeys []= $elem957; + $elem964 = null; + $elem964 = new \metastore\SQLPrimaryKey(); + $xfer += $elem964->read($input); + $this->primaryKeys []= $elem964; } $xfer += $input->readListEnd(); } else { @@ -35135,15 +35261,15 @@ class CreateTableRequest { case 4: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size958 = 0; - $_etype961 = 0; - $xfer += $input->readListBegin($_etype961, $_size958); - for ($_i962 = 0; $_i962 < $_size958; ++$_i962) + $_size965 = 0; + $_etype968 = 0; + $xfer += $input->readListBegin($_etype968, $_size965); + for ($_i969 = 0; $_i969 < $_size965; ++$_i969) { - $elem963 = null; - $elem963 = new \metastore\SQLForeignKey(); - $xfer += $elem963->read($input); - $this->foreignKeys []= $elem963; + $elem970 = null; + $elem970 = new \metastore\SQLForeignKey(); + $xfer += $elem970->read($input); + $this->foreignKeys []= $elem970; } $xfer += $input->readListEnd(); } else { @@ -35153,15 +35279,15 @@ class CreateTableRequest { case 5: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem969 = null; - $elem969 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem969->read($input); - $this->uniqueConstraints []= $elem969; + $elem976 = null; + $elem976 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem976->read($input); + $this->uniqueConstraints []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -35171,15 +35297,15 @@ class CreateTableRequest { case 6: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size970 = 0; - $_etype973 = 0; - $xfer += $input->readListBegin($_etype973, $_size970); - for ($_i974 = 0; $_i974 < $_size970; ++$_i974) + $_size977 = 0; + $_etype980 = 0; + $xfer += $input->readListBegin($_etype980, $_size977); + for ($_i981 = 0; $_i981 < $_size977; ++$_i981) { - $elem975 = null; - $elem975 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem975->read($input); - $this->notNullConstraints []= $elem975; + $elem982 = null; + $elem982 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem982->read($input); + $this->notNullConstraints []= $elem982; } $xfer += $input->readListEnd(); } else { @@ -35189,15 +35315,15 @@ class CreateTableRequest { case 7: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size976 = 0; - $_etype979 = 0; - $xfer += $input->readListBegin($_etype979, $_size976); - for ($_i980 = 0; $_i980 < $_size976; ++$_i980) + $_size983 = 0; + $_etype986 = 0; + $xfer += $input->readListBegin($_etype986, $_size983); + for ($_i987 = 0; $_i987 < $_size983; ++$_i987) { - $elem981 = null; - $elem981 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem981->read($input); - $this->defaultConstraints []= $elem981; + $elem988 = null; + $elem988 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem988->read($input); + $this->defaultConstraints []= $elem988; } $xfer += $input->readListEnd(); } else { @@ -35207,15 +35333,15 @@ class CreateTableRequest { case 8: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size982 = 0; - $_etype985 = 0; - $xfer += $input->readListBegin($_etype985, $_size982); - for ($_i986 = 0; $_i986 < $_size982; ++$_i986) + $_size989 = 0; + $_etype992 = 0; + $xfer += $input->readListBegin($_etype992, $_size989); + for ($_i993 = 0; $_i993 < $_size989; ++$_i993) { - $elem987 = null; - $elem987 = new \metastore\SQLCheckConstraint(); - $xfer += $elem987->read($input); - $this->checkConstraints []= $elem987; + $elem994 = null; + $elem994 = new \metastore\SQLCheckConstraint(); + $xfer += $elem994->read($input); + $this->checkConstraints []= $elem994; } $xfer += $input->readListEnd(); } else { @@ -35225,14 +35351,14 @@ class CreateTableRequest { case 9: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size988 = 0; - $_etype991 = 0; - $xfer += $input->readListBegin($_etype991, $_size988); - for ($_i992 = 0; $_i992 < $_size988; ++$_i992) + $_size995 = 0; + $_etype998 = 0; + $xfer += $input->readListBegin($_etype998, $_size995); + for ($_i999 = 0; $_i999 < $_size995; ++$_i999) { - $elem993 = null; - $xfer += $input->readString($elem993); - $this->processorCapabilities []= $elem993; + $elem1000 = null; + $xfer += $input->readString($elem1000); + $this->processorCapabilities []= $elem1000; } $xfer += $input->readListEnd(); } else { @@ -35283,9 +35409,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter994) + foreach ($this->primaryKeys as $iter1001) { - $xfer += $iter994->write($output); + $xfer += $iter1001->write($output); } } $output->writeListEnd(); @@ -35300,9 +35426,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter995) + foreach ($this->foreignKeys as $iter1002) { - $xfer += $iter995->write($output); + $xfer += $iter1002->write($output); } } $output->writeListEnd(); @@ -35317,9 +35443,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter996) + foreach ($this->uniqueConstraints as $iter1003) { - $xfer += $iter996->write($output); + $xfer += $iter1003->write($output); } } $output->writeListEnd(); @@ -35334,9 +35460,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter997) + foreach ($this->notNullConstraints as $iter1004) { - $xfer += $iter997->write($output); + $xfer += $iter1004->write($output); } } $output->writeListEnd(); @@ -35351,9 +35477,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter998) + foreach ($this->defaultConstraints as $iter1005) { - $xfer += $iter998->write($output); + $xfer += $iter1005->write($output); } } $output->writeListEnd(); @@ -35368,9 +35494,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter999) + foreach ($this->checkConstraints as $iter1006) { - $xfer += $iter999->write($output); + $xfer += $iter1006->write($output); } } $output->writeListEnd(); @@ -35385,9 +35511,9 @@ class CreateTableRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter1000) + foreach ($this->processorCapabilities as $iter1007) { - $xfer += $output->writeString($iter1000); + $xfer += $output->writeString($iter1007); } } $output->writeListEnd(); @@ -36309,15 +36435,15 @@ class AlterPartitionsRequest { case 4: if ($ftype == TType::LST) { $this->partitions = array(); - $_size1001 = 0; - $_etype1004 = 0; - $xfer += $input->readListBegin($_etype1004, $_size1001); - for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) + $_size1008 = 0; + $_etype1011 = 0; + $xfer += $input->readListBegin($_etype1011, $_size1008); + for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) { - $elem1006 = null; - $elem1006 = new \metastore\Partition(); - $xfer += $elem1006->read($input); - $this->partitions []= $elem1006; + $elem1013 = null; + $elem1013 = new \metastore\Partition(); + $xfer += $elem1013->read($input); + $this->partitions []= $elem1013; } $xfer += $input->readListEnd(); } else { @@ -36382,9 +36508,9 @@ class AlterPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter1007) + foreach ($this->partitions as $iter1014) { - $xfer += $iter1007->write($output); + $xfer += $iter1014->write($output); } } $output->writeListEnd(); @@ -36593,14 +36719,14 @@ class RenamePartitionRequest { case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size1008 = 0; - $_etype1011 = 0; - $xfer += $input->readListBegin($_etype1011, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size1015 = 0; + $_etype1018 = 0; + $xfer += $input->readListBegin($_etype1018, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $elem1013 = null; - $xfer += $input->readString($elem1013); - $this->partVals []= $elem1013; + $elem1020 = null; + $xfer += $input->readString($elem1020); + $this->partVals []= $elem1020; } $xfer += $input->readListEnd(); } else { @@ -36658,9 +36784,9 @@ class RenamePartitionRequest { { $output->writeListBegin(TType::STRING, count($this->partVals)); { - foreach ($this->partVals as $iter1014) + foreach ($this->partVals as $iter1021) { - $xfer += $output->writeString($iter1014); + $xfer += $output->writeString($iter1021); } } $output->writeListEnd(); @@ -36928,14 +37054,14 @@ class AlterTableRequest { case 8: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1015 = 0; - $_etype1018 = 0; - $xfer += $input->readListBegin($_etype1018, $_size1015); - for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) + $_size1022 = 0; + $_etype1025 = 0; + $xfer += $input->readListBegin($_etype1025, $_size1022); + for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) { - $elem1020 = null; - $xfer += $input->readString($elem1020); - $this->processorCapabilities []= $elem1020; + $elem1027 = null; + $xfer += $input->readString($elem1027); + $this->processorCapabilities []= $elem1027; } $xfer += $input->readListEnd(); } else { @@ -37011,9 +37137,9 @@ class AlterTableRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter1021) + foreach ($this->processorCapabilities as $iter1028) { - $xfer += $output->writeString($iter1021); + $xfer += $output->writeString($iter1028); } } $output->writeListEnd(); @@ -37154,14 +37280,14 @@ class GetPartitionsProjectionSpec { case 1: if ($ftype == TType::LST) { $this->fieldList = array(); - $_size1022 = 0; - $_etype1025 = 0; - $xfer += $input->readListBegin($_etype1025, $_size1022); - for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) + $_size1029 = 0; + $_etype1032 = 0; + $xfer += $input->readListBegin($_etype1032, $_size1029); + for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) { - $elem1027 = null; - $xfer += $input->readString($elem1027); - $this->fieldList []= $elem1027; + $elem1034 = null; + $xfer += $input->readString($elem1034); + $this->fieldList []= $elem1034; } $xfer += $input->readListEnd(); } else { @@ -37203,9 +37329,9 @@ class GetPartitionsProjectionSpec { { $output->writeListBegin(TType::STRING, count($this->fieldList)); { - foreach ($this->fieldList as $iter1028) + foreach ($this->fieldList as $iter1035) { - $xfer += $output->writeString($iter1028); + $xfer += $output->writeString($iter1035); } } $output->writeListEnd(); @@ -37297,14 +37423,14 @@ class GetPartitionsFilterSpec { case 8: if ($ftype == TType::LST) { $this->filters = array(); - $_size1029 = 0; - $_etype1032 = 0; - $xfer += $input->readListBegin($_etype1032, $_size1029); - for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) + $_size1036 = 0; + $_etype1039 = 0; + $xfer += $input->readListBegin($_etype1039, $_size1036); + for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) { - $elem1034 = null; - $xfer += $input->readString($elem1034); - $this->filters []= $elem1034; + $elem1041 = null; + $xfer += $input->readString($elem1041); + $this->filters []= $elem1041; } $xfer += $input->readListEnd(); } else { @@ -37337,9 +37463,9 @@ class GetPartitionsFilterSpec { { $output->writeListBegin(TType::STRING, count($this->filters)); { - foreach ($this->filters as $iter1035) + foreach ($this->filters as $iter1042) { - $xfer += $output->writeString($iter1035); + $xfer += $output->writeString($iter1042); } } $output->writeListEnd(); @@ -37404,15 +37530,15 @@ class GetPartitionsResponse { case 1: if ($ftype == TType::LST) { $this->partitionSpec = array(); - $_size1036 = 0; - $_etype1039 = 0; - $xfer += $input->readListBegin($_etype1039, $_size1036); - for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) + $_size1043 = 0; + $_etype1046 = 0; + $xfer += $input->readListBegin($_etype1046, $_size1043); + for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) { - $elem1041 = null; - $elem1041 = new \metastore\PartitionSpec(); - $xfer += $elem1041->read($input); - $this->partitionSpec []= $elem1041; + $elem1048 = null; + $elem1048 = new \metastore\PartitionSpec(); + $xfer += $elem1048->read($input); + $this->partitionSpec []= $elem1048; } $xfer += $input->readListEnd(); } else { @@ -37440,9 +37566,9 @@ class GetPartitionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionSpec)); { - foreach ($this->partitionSpec as $iter1042) + foreach ($this->partitionSpec as $iter1049) { - $xfer += $iter1042->write($output); + $xfer += $iter1049->write($output); } } $output->writeListEnd(); @@ -37646,14 +37772,14 @@ class GetPartitionsRequest { case 6: if ($ftype == TType::LST) { $this->groupNames = array(); - $_size1043 = 0; - $_etype1046 = 0; - $xfer += $input->readListBegin($_etype1046, $_size1043); - for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) + $_size1050 = 0; + $_etype1053 = 0; + $xfer += $input->readListBegin($_etype1053, $_size1050); + for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054) { - $elem1048 = null; - $xfer += $input->readString($elem1048); - $this->groupNames []= $elem1048; + $elem1055 = null; + $xfer += $input->readString($elem1055); + $this->groupNames []= $elem1055; } $xfer += $input->readListEnd(); } else { @@ -37679,14 +37805,14 @@ class GetPartitionsRequest { case 9: if ($ftype == TType::LST) { $this->processorCapabilities = array(); - $_size1049 = 0; - $_etype1052 = 0; - $xfer += $input->readListBegin($_etype1052, $_size1049); - for ($_i1053 = 0; $_i1053 < $_size1049; ++$_i1053) + $_size1056 = 0; + $_etype1059 = 0; + $xfer += $input->readListBegin($_etype1059, $_size1056); + for ($_i1060 = 0; $_i1060 < $_size1056; ++$_i1060) { - $elem1054 = null; - $xfer += $input->readString($elem1054); - $this->processorCapabilities []= $elem1054; + $elem1061 = null; + $xfer += $input->readString($elem1061); + $this->processorCapabilities []= $elem1061; } $xfer += $input->readListEnd(); } else { @@ -37746,9 +37872,9 @@ class GetPartitionsRequest { { $output->writeListBegin(TType::STRING, count($this->groupNames)); { - foreach ($this->groupNames as $iter1055) + foreach ($this->groupNames as $iter1062) { - $xfer += $output->writeString($iter1055); + $xfer += $output->writeString($iter1062); } } $output->writeListEnd(); @@ -37779,9 +37905,9 @@ class GetPartitionsRequest { { $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); { - foreach ($this->processorCapabilities as $iter1056) + foreach ($this->processorCapabilities as $iter1063) { - $xfer += $output->writeString($iter1056); + $xfer += $output->writeString($iter1063); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index b714b62f95..afe5417d88 100755 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -109,6 +109,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)') print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)') print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)') + print(' PartitionsSpecByExprResult get_partitions_spec_by_expr(PartitionsByExprRequest req)') print(' i32 get_num_partitions_by_filter(string db_name, string tbl_name, string filter)') print(' get_partitions_by_names(string db_name, string tbl_name, names)') print(' GetPartitionsByNamesResult get_partitions_by_names_req(GetPartitionsByNamesRequest req)') @@ -834,6 +835,12 @@ elif cmd == 'get_partitions_by_expr': sys.exit(1) pp.pprint(client.get_partitions_by_expr(eval(args[0]),)) +elif cmd == 'get_partitions_spec_by_expr': + if len(args) != 1: + print('get_partitions_spec_by_expr requires 1 args') + sys.exit(1) + pp.pprint(client.get_partitions_spec_by_expr(eval(args[0]),)) + elif cmd == 'get_num_partitions_by_filter': if len(args) != 3: print('get_num_partitions_by_filter requires 3 args') diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 37d5d03eed..5af3116c20 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -719,6 +719,13 @@ def get_partitions_by_expr(self, req): """ pass + def get_partitions_spec_by_expr(self, req): + """ + Parameters: + - req + """ + pass + def get_num_partitions_by_filter(self, db_name, tbl_name, filter): """ Parameters: @@ -4951,6 +4958,41 @@ def recv_get_partitions_by_expr(self): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result") + def get_partitions_spec_by_expr(self, req): + """ + Parameters: + - req + """ + self.send_get_partitions_spec_by_expr(req) + return self.recv_get_partitions_spec_by_expr() + + def send_get_partitions_spec_by_expr(self, req): + self._oprot.writeMessageBegin('get_partitions_spec_by_expr', TMessageType.CALL, self._seqid) + args = get_partitions_spec_by_expr_args() + args.req = req + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_partitions_spec_by_expr(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_partitions_spec_by_expr_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_partitions_spec_by_expr failed: unknown result") + def get_num_partitions_by_filter(self, db_name, tbl_name, filter): """ Parameters: @@ -10067,6 +10109,7 @@ def __init__(self, handler): self._processMap["get_partitions_by_filter"] = Processor.process_get_partitions_by_filter self._processMap["get_part_specs_by_filter"] = Processor.process_get_part_specs_by_filter self._processMap["get_partitions_by_expr"] = Processor.process_get_partitions_by_expr + self._processMap["get_partitions_spec_by_expr"] = Processor.process_get_partitions_spec_by_expr self._processMap["get_num_partitions_by_filter"] = Processor.process_get_num_partitions_by_filter self._processMap["get_partitions_by_names"] = Processor.process_get_partitions_by_names self._processMap["get_partitions_by_names_req"] = Processor.process_get_partitions_by_names_req @@ -12408,6 +12451,31 @@ def process_get_partitions_by_expr(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_partitions_spec_by_expr(self, seqid, iprot, oprot): + args = get_partitions_spec_by_expr_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_partitions_spec_by_expr_result() + try: + result.success = self._handler.get_partitions_spec_by_expr(args.req) + 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_partitions_spec_by_expr", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_num_partitions_by_filter(self, seqid, iprot, oprot): args = get_num_partitions_by_filter_args() args.read(iprot) @@ -17720,10 +17788,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1057, _size1054) = iprot.readListBegin() - for _i1058 in xrange(_size1054): - _elem1059 = iprot.readString() - self.success.append(_elem1059) + (_etype1064, _size1061) = iprot.readListBegin() + for _i1065 in xrange(_size1061): + _elem1066 = iprot.readString() + self.success.append(_elem1066) iprot.readListEnd() else: iprot.skip(ftype) @@ -17746,8 +17814,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 iter1060 in self.success: - oprot.writeString(iter1060) + for iter1067 in self.success: + oprot.writeString(iter1067) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17852,10 +17920,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1064, _size1061) = iprot.readListBegin() - for _i1065 in xrange(_size1061): - _elem1066 = iprot.readString() - self.success.append(_elem1066) + (_etype1071, _size1068) = iprot.readListBegin() + for _i1072 in xrange(_size1068): + _elem1073 = iprot.readString() + self.success.append(_elem1073) iprot.readListEnd() else: iprot.skip(ftype) @@ -17878,8 +17946,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 iter1067 in self.success: - oprot.writeString(iter1067) + for iter1074 in self.success: + oprot.writeString(iter1074) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18649,12 +18717,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1069, _vtype1070, _size1068 ) = iprot.readMapBegin() - for _i1072 in xrange(_size1068): - _key1073 = iprot.readString() - _val1074 = Type() - _val1074.read(iprot) - self.success[_key1073] = _val1074 + (_ktype1076, _vtype1077, _size1075 ) = iprot.readMapBegin() + for _i1079 in xrange(_size1075): + _key1080 = iprot.readString() + _val1081 = Type() + _val1081.read(iprot) + self.success[_key1080] = _val1081 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18677,9 +18745,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 kiter1075,viter1076 in self.success.items(): - oprot.writeString(kiter1075) - viter1076.write(oprot) + for kiter1082,viter1083 in self.success.items(): + oprot.writeString(kiter1082) + viter1083.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -18822,11 +18890,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1080, _size1077) = iprot.readListBegin() - for _i1081 in xrange(_size1077): - _elem1082 = FieldSchema() - _elem1082.read(iprot) - self.success.append(_elem1082) + (_etype1087, _size1084) = iprot.readListBegin() + for _i1088 in xrange(_size1084): + _elem1089 = FieldSchema() + _elem1089.read(iprot) + self.success.append(_elem1089) iprot.readListEnd() else: iprot.skip(ftype) @@ -18861,8 +18929,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 iter1083 in self.success: - iter1083.write(oprot) + for iter1090 in self.success: + iter1090.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19029,11 +19097,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1087, _size1084) = iprot.readListBegin() - for _i1088 in xrange(_size1084): - _elem1089 = FieldSchema() - _elem1089.read(iprot) - self.success.append(_elem1089) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in xrange(_size1091): + _elem1096 = FieldSchema() + _elem1096.read(iprot) + self.success.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -19068,8 +19136,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 iter1090 in self.success: - iter1090.write(oprot) + for iter1097 in self.success: + iter1097.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19222,11 +19290,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1094, _size1091) = iprot.readListBegin() - for _i1095 in xrange(_size1091): - _elem1096 = FieldSchema() - _elem1096.read(iprot) - self.success.append(_elem1096) + (_etype1101, _size1098) = iprot.readListBegin() + for _i1102 in xrange(_size1098): + _elem1103 = FieldSchema() + _elem1103.read(iprot) + self.success.append(_elem1103) iprot.readListEnd() else: iprot.skip(ftype) @@ -19261,8 +19329,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 iter1097 in self.success: - iter1097.write(oprot) + for iter1104 in self.success: + iter1104.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19429,11 +19497,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1101, _size1098) = iprot.readListBegin() - for _i1102 in xrange(_size1098): - _elem1103 = FieldSchema() - _elem1103.read(iprot) - self.success.append(_elem1103) + (_etype1108, _size1105) = iprot.readListBegin() + for _i1109 in xrange(_size1105): + _elem1110 = FieldSchema() + _elem1110.read(iprot) + self.success.append(_elem1110) iprot.readListEnd() else: iprot.skip(ftype) @@ -19468,8 +19536,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 iter1104 in self.success: - iter1104.write(oprot) + for iter1111 in self.success: + iter1111.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19922,66 +19990,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype1108, _size1105) = iprot.readListBegin() - for _i1109 in xrange(_size1105): - _elem1110 = SQLPrimaryKey() - _elem1110.read(iprot) - self.primaryKeys.append(_elem1110) + (_etype1115, _size1112) = iprot.readListBegin() + for _i1116 in xrange(_size1112): + _elem1117 = SQLPrimaryKey() + _elem1117.read(iprot) + self.primaryKeys.append(_elem1117) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = SQLForeignKey() - _elem1116.read(iprot) - self.foreignKeys.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = SQLForeignKey() + _elem1123.read(iprot) + self.foreignKeys.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype1120, _size1117) = iprot.readListBegin() - for _i1121 in xrange(_size1117): - _elem1122 = SQLUniqueConstraint() - _elem1122.read(iprot) - self.uniqueConstraints.append(_elem1122) + (_etype1127, _size1124) = iprot.readListBegin() + for _i1128 in xrange(_size1124): + _elem1129 = SQLUniqueConstraint() + _elem1129.read(iprot) + self.uniqueConstraints.append(_elem1129) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype1126, _size1123) = iprot.readListBegin() - for _i1127 in xrange(_size1123): - _elem1128 = SQLNotNullConstraint() - _elem1128.read(iprot) - self.notNullConstraints.append(_elem1128) + (_etype1133, _size1130) = iprot.readListBegin() + for _i1134 in xrange(_size1130): + _elem1135 = SQLNotNullConstraint() + _elem1135.read(iprot) + self.notNullConstraints.append(_elem1135) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype1132, _size1129) = iprot.readListBegin() - for _i1133 in xrange(_size1129): - _elem1134 = SQLDefaultConstraint() - _elem1134.read(iprot) - self.defaultConstraints.append(_elem1134) + (_etype1139, _size1136) = iprot.readListBegin() + for _i1140 in xrange(_size1136): + _elem1141 = SQLDefaultConstraint() + _elem1141.read(iprot) + self.defaultConstraints.append(_elem1141) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype1138, _size1135) = iprot.readListBegin() - for _i1139 in xrange(_size1135): - _elem1140 = SQLCheckConstraint() - _elem1140.read(iprot) - self.checkConstraints.append(_elem1140) + (_etype1145, _size1142) = iprot.readListBegin() + for _i1146 in xrange(_size1142): + _elem1147 = SQLCheckConstraint() + _elem1147.read(iprot) + self.checkConstraints.append(_elem1147) iprot.readListEnd() else: iprot.skip(ftype) @@ -20002,43 +20070,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter1141 in self.primaryKeys: - iter1141.write(oprot) + for iter1148 in self.primaryKeys: + iter1148.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 iter1142 in self.foreignKeys: - iter1142.write(oprot) + for iter1149 in self.foreignKeys: + iter1149.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 iter1143 in self.uniqueConstraints: - iter1143.write(oprot) + for iter1150 in self.uniqueConstraints: + iter1150.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 iter1144 in self.notNullConstraints: - iter1144.write(oprot) + for iter1151 in self.notNullConstraints: + iter1151.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter1145 in self.defaultConstraints: - iter1145.write(oprot) + for iter1152 in self.defaultConstraints: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter1146 in self.checkConstraints: - iter1146.write(oprot) + for iter1153 in self.checkConstraints: + iter1153.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21772,10 +21840,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype1150, _size1147) = iprot.readListBegin() - for _i1151 in xrange(_size1147): - _elem1152 = iprot.readString() - self.partNames.append(_elem1152) + (_etype1157, _size1154) = iprot.readListBegin() + for _i1158 in xrange(_size1154): + _elem1159 = iprot.readString() + self.partNames.append(_elem1159) iprot.readListEnd() else: iprot.skip(ftype) @@ -21800,8 +21868,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 iter1153 in self.partNames: - oprot.writeString(iter1153) + for iter1160 in self.partNames: + oprot.writeString(iter1160) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22146,10 +22214,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1157, _size1154) = iprot.readListBegin() - for _i1158 in xrange(_size1154): - _elem1159 = iprot.readString() - self.success.append(_elem1159) + (_etype1164, _size1161) = iprot.readListBegin() + for _i1165 in xrange(_size1161): + _elem1166 = iprot.readString() + self.success.append(_elem1166) iprot.readListEnd() else: iprot.skip(ftype) @@ -22172,8 +22240,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 iter1160 in self.success: - oprot.writeString(iter1160) + for iter1167 in self.success: + oprot.writeString(iter1167) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22323,10 +22391,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1164, _size1161) = iprot.readListBegin() - for _i1165 in xrange(_size1161): - _elem1166 = iprot.readString() - self.success.append(_elem1166) + (_etype1171, _size1168) = iprot.readListBegin() + for _i1172 in xrange(_size1168): + _elem1173 = iprot.readString() + self.success.append(_elem1173) iprot.readListEnd() else: iprot.skip(ftype) @@ -22349,8 +22417,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1167 in self.success: - oprot.writeString(iter1167) + for iter1174 in self.success: + oprot.writeString(iter1174) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22455,11 +22523,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1171, _size1168) = iprot.readListBegin() - for _i1172 in xrange(_size1168): - _elem1173 = Table() - _elem1173.read(iprot) - self.success.append(_elem1173) + (_etype1178, _size1175) = iprot.readListBegin() + for _i1179 in xrange(_size1175): + _elem1180 = Table() + _elem1180.read(iprot) + self.success.append(_elem1180) iprot.readListEnd() else: iprot.skip(ftype) @@ -22482,8 +22550,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 iter1174 in self.success: - iter1174.write(oprot) + for iter1181 in self.success: + iter1181.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22607,10 +22675,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1178, _size1175) = iprot.readListBegin() - for _i1179 in xrange(_size1175): - _elem1180 = iprot.readString() - self.success.append(_elem1180) + (_etype1185, _size1182) = iprot.readListBegin() + for _i1186 in xrange(_size1182): + _elem1187 = iprot.readString() + self.success.append(_elem1187) iprot.readListEnd() else: iprot.skip(ftype) @@ -22633,8 +22701,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 iter1181 in self.success: - oprot.writeString(iter1181) + for iter1188 in self.success: + oprot.writeString(iter1188) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22707,10 +22775,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1185, _size1182) = iprot.readListBegin() - for _i1186 in xrange(_size1182): - _elem1187 = iprot.readString() - self.tbl_types.append(_elem1187) + (_etype1192, _size1189) = iprot.readListBegin() + for _i1193 in xrange(_size1189): + _elem1194 = iprot.readString() + self.tbl_types.append(_elem1194) iprot.readListEnd() else: iprot.skip(ftype) @@ -22735,8 +22803,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 iter1188 in self.tbl_types: - oprot.writeString(iter1188) + for iter1195 in self.tbl_types: + oprot.writeString(iter1195) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22792,11 +22860,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1192, _size1189) = iprot.readListBegin() - for _i1193 in xrange(_size1189): - _elem1194 = TableMeta() - _elem1194.read(iprot) - self.success.append(_elem1194) + (_etype1199, _size1196) = iprot.readListBegin() + for _i1200 in xrange(_size1196): + _elem1201 = TableMeta() + _elem1201.read(iprot) + self.success.append(_elem1201) iprot.readListEnd() else: iprot.skip(ftype) @@ -22819,8 +22887,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 iter1195 in self.success: - iter1195.write(oprot) + for iter1202 in self.success: + iter1202.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22944,10 +23012,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1199, _size1196) = iprot.readListBegin() - for _i1200 in xrange(_size1196): - _elem1201 = iprot.readString() - self.success.append(_elem1201) + (_etype1206, _size1203) = iprot.readListBegin() + for _i1207 in xrange(_size1203): + _elem1208 = iprot.readString() + self.success.append(_elem1208) iprot.readListEnd() else: iprot.skip(ftype) @@ -22970,8 +23038,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 iter1202 in self.success: - oprot.writeString(iter1202) + for iter1209 in self.success: + oprot.writeString(iter1209) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23207,10 +23275,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype1206, _size1203) = iprot.readListBegin() - for _i1207 in xrange(_size1203): - _elem1208 = iprot.readString() - self.tbl_names.append(_elem1208) + (_etype1213, _size1210) = iprot.readListBegin() + for _i1214 in xrange(_size1210): + _elem1215 = iprot.readString() + self.tbl_names.append(_elem1215) iprot.readListEnd() else: iprot.skip(ftype) @@ -23231,8 +23299,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 iter1209 in self.tbl_names: - oprot.writeString(iter1209) + for iter1216 in self.tbl_names: + oprot.writeString(iter1216) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23284,11 +23352,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1213, _size1210) = iprot.readListBegin() - for _i1214 in xrange(_size1210): - _elem1215 = Table() - _elem1215.read(iprot) - self.success.append(_elem1215) + (_etype1220, _size1217) = iprot.readListBegin() + for _i1221 in xrange(_size1217): + _elem1222 = Table() + _elem1222.read(iprot) + self.success.append(_elem1222) iprot.readListEnd() else: iprot.skip(ftype) @@ -23305,8 +23373,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 iter1216 in self.success: - iter1216.write(oprot) + for iter1223 in self.success: + iter1223.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23426,11 +23494,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1220, _size1217) = iprot.readListBegin() - for _i1221 in xrange(_size1217): - _elem1222 = ExtendedTableInfo() - _elem1222.read(iprot) - self.success.append(_elem1222) + (_etype1227, _size1224) = iprot.readListBegin() + for _i1228 in xrange(_size1224): + _elem1229 = ExtendedTableInfo() + _elem1229.read(iprot) + self.success.append(_elem1229) iprot.readListEnd() else: iprot.skip(ftype) @@ -23453,8 +23521,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 iter1223 in self.success: - iter1223.write(oprot) + for iter1230 in self.success: + iter1230.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24327,10 +24395,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1227, _size1224) = iprot.readListBegin() - for _i1228 in xrange(_size1224): - _elem1229 = iprot.readString() - self.success.append(_elem1229) + (_etype1234, _size1231) = iprot.readListBegin() + for _i1235 in xrange(_size1231): + _elem1236 = iprot.readString() + self.success.append(_elem1236) iprot.readListEnd() else: iprot.skip(ftype) @@ -24365,8 +24433,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 iter1230 in self.success: - oprot.writeString(iter1230) + for iter1237 in self.success: + oprot.writeString(iter1237) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25495,11 +25563,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1234, _size1231) = iprot.readListBegin() - for _i1235 in xrange(_size1231): - _elem1236 = Partition() - _elem1236.read(iprot) - self.new_parts.append(_elem1236) + (_etype1241, _size1238) = iprot.readListBegin() + for _i1242 in xrange(_size1238): + _elem1243 = Partition() + _elem1243.read(iprot) + self.new_parts.append(_elem1243) iprot.readListEnd() else: iprot.skip(ftype) @@ -25516,8 +25584,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 iter1237 in self.new_parts: - iter1237.write(oprot) + for iter1244 in self.new_parts: + iter1244.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25675,11 +25743,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1241, _size1238) = iprot.readListBegin() - for _i1242 in xrange(_size1238): - _elem1243 = PartitionSpec() - _elem1243.read(iprot) - self.new_parts.append(_elem1243) + (_etype1248, _size1245) = iprot.readListBegin() + for _i1249 in xrange(_size1245): + _elem1250 = PartitionSpec() + _elem1250.read(iprot) + self.new_parts.append(_elem1250) iprot.readListEnd() else: iprot.skip(ftype) @@ -25696,8 +25764,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 iter1244 in self.new_parts: - iter1244.write(oprot) + for iter1251 in self.new_parts: + iter1251.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25871,10 +25939,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1248, _size1245) = iprot.readListBegin() - for _i1249 in xrange(_size1245): - _elem1250 = iprot.readString() - self.part_vals.append(_elem1250) + (_etype1255, _size1252) = iprot.readListBegin() + for _i1256 in xrange(_size1252): + _elem1257 = iprot.readString() + self.part_vals.append(_elem1257) iprot.readListEnd() else: iprot.skip(ftype) @@ -25899,8 +25967,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 iter1251 in self.part_vals: - oprot.writeString(iter1251) + for iter1258 in self.part_vals: + oprot.writeString(iter1258) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26253,10 +26321,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1255, _size1252) = iprot.readListBegin() - for _i1256 in xrange(_size1252): - _elem1257 = iprot.readString() - self.part_vals.append(_elem1257) + (_etype1262, _size1259) = iprot.readListBegin() + for _i1263 in xrange(_size1259): + _elem1264 = iprot.readString() + self.part_vals.append(_elem1264) iprot.readListEnd() else: iprot.skip(ftype) @@ -26287,8 +26355,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 iter1258 in self.part_vals: - oprot.writeString(iter1258) + for iter1265 in self.part_vals: + oprot.writeString(iter1265) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -26883,10 +26951,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1262, _size1259) = iprot.readListBegin() - for _i1263 in xrange(_size1259): - _elem1264 = iprot.readString() - self.part_vals.append(_elem1264) + (_etype1269, _size1266) = iprot.readListBegin() + for _i1270 in xrange(_size1266): + _elem1271 = iprot.readString() + self.part_vals.append(_elem1271) iprot.readListEnd() else: iprot.skip(ftype) @@ -26916,8 +26984,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 iter1265 in self.part_vals: - oprot.writeString(iter1265) + for iter1272 in self.part_vals: + oprot.writeString(iter1272) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -27090,10 +27158,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1269, _size1266) = iprot.readListBegin() - for _i1270 in xrange(_size1266): - _elem1271 = iprot.readString() - self.part_vals.append(_elem1271) + (_etype1276, _size1273) = iprot.readListBegin() + for _i1277 in xrange(_size1273): + _elem1278 = iprot.readString() + self.part_vals.append(_elem1278) iprot.readListEnd() else: iprot.skip(ftype) @@ -27129,8 +27197,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 iter1272 in self.part_vals: - oprot.writeString(iter1272) + for iter1279 in self.part_vals: + oprot.writeString(iter1279) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -27867,10 +27935,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1276, _size1273) = iprot.readListBegin() - for _i1277 in xrange(_size1273): - _elem1278 = iprot.readString() - self.part_vals.append(_elem1278) + (_etype1283, _size1280) = iprot.readListBegin() + for _i1284 in xrange(_size1280): + _elem1285 = iprot.readString() + self.part_vals.append(_elem1285) iprot.readListEnd() else: iprot.skip(ftype) @@ -27895,8 +27963,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 iter1279 in self.part_vals: - oprot.writeString(iter1279) + for iter1286 in self.part_vals: + oprot.writeString(iter1286) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28055,11 +28123,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1281, _vtype1282, _size1280 ) = iprot.readMapBegin() - for _i1284 in xrange(_size1280): - _key1285 = iprot.readString() - _val1286 = iprot.readString() - self.partitionSpecs[_key1285] = _val1286 + (_ktype1288, _vtype1289, _size1287 ) = iprot.readMapBegin() + for _i1291 in xrange(_size1287): + _key1292 = iprot.readString() + _val1293 = iprot.readString() + self.partitionSpecs[_key1292] = _val1293 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28096,9 +28164,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 kiter1287,viter1288 in self.partitionSpecs.items(): - oprot.writeString(kiter1287) - oprot.writeString(viter1288) + for kiter1294,viter1295 in self.partitionSpecs.items(): + oprot.writeString(kiter1294) + oprot.writeString(viter1295) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -28303,11 +28371,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1290, _vtype1291, _size1289 ) = iprot.readMapBegin() - for _i1293 in xrange(_size1289): - _key1294 = iprot.readString() - _val1295 = iprot.readString() - self.partitionSpecs[_key1294] = _val1295 + (_ktype1297, _vtype1298, _size1296 ) = iprot.readMapBegin() + for _i1300 in xrange(_size1296): + _key1301 = iprot.readString() + _val1302 = iprot.readString() + self.partitionSpecs[_key1301] = _val1302 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28344,9 +28412,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 kiter1296,viter1297 in self.partitionSpecs.items(): - oprot.writeString(kiter1296) - oprot.writeString(viter1297) + for kiter1303,viter1304 in self.partitionSpecs.items(): + oprot.writeString(kiter1303) + oprot.writeString(viter1304) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -28429,11 +28497,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1301, _size1298) = iprot.readListBegin() - for _i1302 in xrange(_size1298): - _elem1303 = Partition() - _elem1303.read(iprot) - self.success.append(_elem1303) + (_etype1308, _size1305) = iprot.readListBegin() + for _i1309 in xrange(_size1305): + _elem1310 = Partition() + _elem1310.read(iprot) + self.success.append(_elem1310) iprot.readListEnd() else: iprot.skip(ftype) @@ -28474,8 +28542,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1304 in self.success: - iter1304.write(oprot) + for iter1311 in self.success: + iter1311.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28569,10 +28637,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1308, _size1305) = iprot.readListBegin() - for _i1309 in xrange(_size1305): - _elem1310 = iprot.readString() - self.part_vals.append(_elem1310) + (_etype1315, _size1312) = iprot.readListBegin() + for _i1316 in xrange(_size1312): + _elem1317 = iprot.readString() + self.part_vals.append(_elem1317) iprot.readListEnd() else: iprot.skip(ftype) @@ -28584,10 +28652,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1314, _size1311) = iprot.readListBegin() - for _i1315 in xrange(_size1311): - _elem1316 = iprot.readString() - self.group_names.append(_elem1316) + (_etype1321, _size1318) = iprot.readListBegin() + for _i1322 in xrange(_size1318): + _elem1323 = iprot.readString() + self.group_names.append(_elem1323) iprot.readListEnd() else: iprot.skip(ftype) @@ -28612,8 +28680,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 iter1317 in self.part_vals: - oprot.writeString(iter1317) + for iter1324 in self.part_vals: + oprot.writeString(iter1324) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -28623,8 +28691,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 iter1318 in self.group_names: - oprot.writeString(iter1318) + for iter1325 in self.group_names: + oprot.writeString(iter1325) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29053,11 +29121,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1322, _size1319) = iprot.readListBegin() - for _i1323 in xrange(_size1319): - _elem1324 = Partition() - _elem1324.read(iprot) - self.success.append(_elem1324) + (_etype1329, _size1326) = iprot.readListBegin() + for _i1330 in xrange(_size1326): + _elem1331 = Partition() + _elem1331.read(iprot) + self.success.append(_elem1331) iprot.readListEnd() else: iprot.skip(ftype) @@ -29086,8 +29154,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 iter1325 in self.success: - iter1325.write(oprot) + for iter1332 in self.success: + iter1332.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29181,10 +29249,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1329, _size1326) = iprot.readListBegin() - for _i1330 in xrange(_size1326): - _elem1331 = iprot.readString() - self.group_names.append(_elem1331) + (_etype1336, _size1333) = iprot.readListBegin() + for _i1337 in xrange(_size1333): + _elem1338 = iprot.readString() + self.group_names.append(_elem1338) iprot.readListEnd() else: iprot.skip(ftype) @@ -29217,8 +29285,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 iter1332 in self.group_names: - oprot.writeString(iter1332) + for iter1339 in self.group_names: + oprot.writeString(iter1339) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29279,11 +29347,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1336, _size1333) = iprot.readListBegin() - for _i1337 in xrange(_size1333): - _elem1338 = Partition() - _elem1338.read(iprot) - self.success.append(_elem1338) + (_etype1343, _size1340) = iprot.readListBegin() + for _i1344 in xrange(_size1340): + _elem1345 = Partition() + _elem1345.read(iprot) + self.success.append(_elem1345) iprot.readListEnd() else: iprot.skip(ftype) @@ -29312,8 +29380,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 iter1339 in self.success: - iter1339.write(oprot) + for iter1346 in self.success: + iter1346.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29471,11 +29539,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1343, _size1340) = iprot.readListBegin() - for _i1344 in xrange(_size1340): - _elem1345 = PartitionSpec() - _elem1345.read(iprot) - self.success.append(_elem1345) + (_etype1350, _size1347) = iprot.readListBegin() + for _i1351 in xrange(_size1347): + _elem1352 = PartitionSpec() + _elem1352.read(iprot) + self.success.append(_elem1352) iprot.readListEnd() else: iprot.skip(ftype) @@ -29504,8 +29572,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 iter1346 in self.success: - iter1346.write(oprot) + for iter1353 in self.success: + iter1353.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29663,10 +29731,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1350, _size1347) = iprot.readListBegin() - for _i1351 in xrange(_size1347): - _elem1352 = iprot.readString() - self.success.append(_elem1352) + (_etype1357, _size1354) = iprot.readListBegin() + for _i1358 in xrange(_size1354): + _elem1359 = iprot.readString() + self.success.append(_elem1359) iprot.readListEnd() else: iprot.skip(ftype) @@ -29695,8 +29763,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 iter1353 in self.success: - oprot.writeString(iter1353) + for iter1360 in self.success: + oprot.writeString(iter1360) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29936,10 +30004,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1357, _size1354) = iprot.readListBegin() - for _i1358 in xrange(_size1354): - _elem1359 = iprot.readString() - self.part_vals.append(_elem1359) + (_etype1364, _size1361) = iprot.readListBegin() + for _i1365 in xrange(_size1361): + _elem1366 = iprot.readString() + self.part_vals.append(_elem1366) iprot.readListEnd() else: iprot.skip(ftype) @@ -29969,8 +30037,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1360 in self.part_vals: - oprot.writeString(iter1360) + for iter1367 in self.part_vals: + oprot.writeString(iter1367) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -30034,11 +30102,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1364, _size1361) = iprot.readListBegin() - for _i1365 in xrange(_size1361): - _elem1366 = Partition() - _elem1366.read(iprot) - self.success.append(_elem1366) + (_etype1371, _size1368) = iprot.readListBegin() + for _i1372 in xrange(_size1368): + _elem1373 = Partition() + _elem1373.read(iprot) + self.success.append(_elem1373) iprot.readListEnd() else: iprot.skip(ftype) @@ -30067,8 +30135,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 iter1367 in self.success: - iter1367.write(oprot) + for iter1374 in self.success: + iter1374.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30155,10 +30223,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1371, _size1368) = iprot.readListBegin() - for _i1372 in xrange(_size1368): - _elem1373 = iprot.readString() - self.part_vals.append(_elem1373) + (_etype1378, _size1375) = iprot.readListBegin() + for _i1379 in xrange(_size1375): + _elem1380 = iprot.readString() + self.part_vals.append(_elem1380) iprot.readListEnd() else: iprot.skip(ftype) @@ -30175,10 +30243,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1377, _size1374) = iprot.readListBegin() - for _i1378 in xrange(_size1374): - _elem1379 = iprot.readString() - self.group_names.append(_elem1379) + (_etype1384, _size1381) = iprot.readListBegin() + for _i1385 in xrange(_size1381): + _elem1386 = iprot.readString() + self.group_names.append(_elem1386) iprot.readListEnd() else: iprot.skip(ftype) @@ -30203,8 +30271,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 iter1380 in self.part_vals: - oprot.writeString(iter1380) + for iter1387 in self.part_vals: + oprot.writeString(iter1387) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -30218,8 +30286,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 iter1381 in self.group_names: - oprot.writeString(iter1381) + for iter1388 in self.group_names: + oprot.writeString(iter1388) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30281,11 +30349,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1385, _size1382) = iprot.readListBegin() - for _i1386 in xrange(_size1382): - _elem1387 = Partition() - _elem1387.read(iprot) - self.success.append(_elem1387) + (_etype1392, _size1389) = iprot.readListBegin() + for _i1393 in xrange(_size1389): + _elem1394 = Partition() + _elem1394.read(iprot) + self.success.append(_elem1394) iprot.readListEnd() else: iprot.skip(ftype) @@ -30314,8 +30382,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 iter1388 in self.success: - iter1388.write(oprot) + for iter1395 in self.success: + iter1395.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30396,10 +30464,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1392, _size1389) = iprot.readListBegin() - for _i1393 in xrange(_size1389): - _elem1394 = iprot.readString() - self.part_vals.append(_elem1394) + (_etype1399, _size1396) = iprot.readListBegin() + for _i1400 in xrange(_size1396): + _elem1401 = iprot.readString() + self.part_vals.append(_elem1401) iprot.readListEnd() else: iprot.skip(ftype) @@ -30429,8 +30497,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 iter1395 in self.part_vals: - oprot.writeString(iter1395) + for iter1402 in self.part_vals: + oprot.writeString(iter1402) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -30494,10 +30562,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1399, _size1396) = iprot.readListBegin() - for _i1400 in xrange(_size1396): - _elem1401 = iprot.readString() - self.success.append(_elem1401) + (_etype1406, _size1403) = iprot.readListBegin() + for _i1407 in xrange(_size1403): + _elem1408 = iprot.readString() + self.success.append(_elem1408) iprot.readListEnd() else: iprot.skip(ftype) @@ -30526,8 +30594,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 iter1402 in self.success: - oprot.writeString(iter1402) + for iter1409 in self.success: + oprot.writeString(iter1409) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30667,7 +30735,212 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_partitions_by_filter_result: +class get_partitions_by_filter_result: + """ + Attributes: + - success + - o1 + - o2 + """ + + thrift_spec = ( + (0, TType.LIST, 'success', (TType.STRUCT,(Partition, Partition.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.LIST: + self.success = [] + (_etype1413, _size1410) = iprot.readListBegin() + for _i1414 in xrange(_size1410): + _elem1415 = Partition() + _elem1415.read(iprot) + self.success.append(_elem1415) + iprot.readListEnd() + 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_partitions_by_filter_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.LIST, 0) + oprot.writeListBegin(TType.STRUCT, len(self.success)) + for iter1416 in self.success: + iter1416.write(oprot) + oprot.writeListEnd() + 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_part_specs_by_filter_args: + """ + Attributes: + - db_name + - tbl_name + - filter + - max_parts + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'db_name', None, None, ), # 1 + (2, TType.STRING, 'tbl_name', None, None, ), # 2 + (3, TType.STRING, 'filter', None, None, ), # 3 + (4, TType.I32, 'max_parts', None, -1, ), # 4 + ) + + def __init__(self, db_name=None, tbl_name=None, filter=None, max_parts=thrift_spec[4][4],): + self.db_name = db_name + self.tbl_name = tbl_name + self.filter = filter + self.max_parts = max_parts + + 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.db_name = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.tbl_name = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.filter = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.I32: + self.max_parts = iprot.readI32() + 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_part_specs_by_filter_args') + if self.db_name is not None: + oprot.writeFieldBegin('db_name', TType.STRING, 1) + oprot.writeString(self.db_name) + oprot.writeFieldEnd() + if self.tbl_name is not None: + oprot.writeFieldBegin('tbl_name', TType.STRING, 2) + oprot.writeString(self.tbl_name) + oprot.writeFieldEnd() + if self.filter is not None: + oprot.writeFieldBegin('filter', TType.STRING, 3) + oprot.writeString(self.filter) + oprot.writeFieldEnd() + if self.max_parts is not None: + oprot.writeFieldBegin('max_parts', TType.I32, 4) + oprot.writeI32(self.max_parts) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.filter) + value = (value * 31) ^ hash(self.max_parts) + 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_part_specs_by_filter_result: """ Attributes: - success @@ -30676,7 +30949,7 @@ class get_partitions_by_filter_result: """ thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(Partition, Partition.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT,(PartitionSpec, PartitionSpec.thrift_spec)), None, ), # 0 (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2 ) @@ -30698,11 +30971,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1406, _size1403) = iprot.readListBegin() - for _i1407 in xrange(_size1403): - _elem1408 = Partition() - _elem1408.read(iprot) - self.success.append(_elem1408) + (_etype1420, _size1417) = iprot.readListBegin() + for _i1421 in xrange(_size1417): + _elem1422 = PartitionSpec() + _elem1422.read(iprot) + self.success.append(_elem1422) iprot.readListEnd() else: iprot.skip(ftype) @@ -30727,12 +31000,12 @@ 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_partitions_by_filter_result') + oprot.writeStructBegin('get_part_specs_by_filter_result') if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1409 in self.success: - iter1409.write(oprot) + for iter1423 in self.success: + iter1423.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30768,28 +31041,19 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_part_specs_by_filter_args: +class get_partitions_by_expr_args: """ Attributes: - - db_name - - tbl_name - - filter - - max_parts + - req """ thrift_spec = ( None, # 0 - (1, TType.STRING, 'db_name', None, None, ), # 1 - (2, TType.STRING, 'tbl_name', None, None, ), # 2 - (3, TType.STRING, 'filter', None, None, ), # 3 - (4, TType.I32, 'max_parts', None, -1, ), # 4 + (1, TType.STRUCT, 'req', (PartitionsByExprRequest, PartitionsByExprRequest.thrift_spec), None, ), # 1 ) - def __init__(self, db_name=None, tbl_name=None, filter=None, max_parts=thrift_spec[4][4],): - self.db_name = db_name - self.tbl_name = tbl_name - self.filter = filter - self.max_parts = max_parts + def __init__(self, req=None,): + self.req = req 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: @@ -30801,23 +31065,9 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.STRING: - self.db_name = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.tbl_name = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRING: - self.filter = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 4: - if ftype == TType.I32: - self.max_parts = iprot.readI32() + if ftype == TType.STRUCT: + self.req = PartitionsByExprRequest() + self.req.read(iprot) else: iprot.skip(ftype) else: @@ -30829,22 +31079,10 @@ 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_part_specs_by_filter_args') - if self.db_name is not None: - oprot.writeFieldBegin('db_name', TType.STRING, 1) - oprot.writeString(self.db_name) - oprot.writeFieldEnd() - if self.tbl_name is not None: - oprot.writeFieldBegin('tbl_name', TType.STRING, 2) - oprot.writeString(self.tbl_name) - oprot.writeFieldEnd() - if self.filter is not None: - oprot.writeFieldBegin('filter', TType.STRING, 3) - oprot.writeString(self.filter) - oprot.writeFieldEnd() - if self.max_parts is not None: - oprot.writeFieldBegin('max_parts', TType.I32, 4) - oprot.writeI32(self.max_parts) + oprot.writeStructBegin('get_partitions_by_expr_args') + if self.req is not None: + oprot.writeFieldBegin('req', TType.STRUCT, 1) + self.req.write(oprot) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -30855,10 +31093,7 @@ def validate(self): def __hash__(self): value = 17 - value = (value * 31) ^ hash(self.db_name) - value = (value * 31) ^ hash(self.tbl_name) - value = (value * 31) ^ hash(self.filter) - value = (value * 31) ^ hash(self.max_parts) + value = (value * 31) ^ hash(self.req) return value def __repr__(self): @@ -30872,7 +31107,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_part_specs_by_filter_result: +class get_partitions_by_expr_result: """ Attributes: - success @@ -30881,7 +31116,7 @@ class get_part_specs_by_filter_result: """ thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(PartitionSpec, PartitionSpec.thrift_spec)), None, ), # 0 + (0, TType.STRUCT, 'success', (PartitionsByExprResult, PartitionsByExprResult.thrift_spec), None, ), # 0 (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2 ) @@ -30901,14 +31136,9 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 0: - if ftype == TType.LIST: - self.success = [] - (_etype1413, _size1410) = iprot.readListBegin() - for _i1414 in xrange(_size1410): - _elem1415 = PartitionSpec() - _elem1415.read(iprot) - self.success.append(_elem1415) - iprot.readListEnd() + if ftype == TType.STRUCT: + self.success = PartitionsByExprResult() + self.success.read(iprot) else: iprot.skip(ftype) elif fid == 1: @@ -30932,13 +31162,10 @@ 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_part_specs_by_filter_result') + oprot.writeStructBegin('get_partitions_by_expr_result') if self.success is not None: - oprot.writeFieldBegin('success', TType.LIST, 0) - oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1416 in self.success: - iter1416.write(oprot) - oprot.writeListEnd() + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) oprot.writeFieldEnd() if self.o1 is not None: oprot.writeFieldBegin('o1', TType.STRUCT, 1) @@ -30973,7 +31200,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_partitions_by_expr_args: +class get_partitions_spec_by_expr_args: """ Attributes: - req @@ -31011,7 +31238,7 @@ def write(self, oprot): if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return - oprot.writeStructBegin('get_partitions_by_expr_args') + oprot.writeStructBegin('get_partitions_spec_by_expr_args') if self.req is not None: oprot.writeFieldBegin('req', TType.STRUCT, 1) self.req.write(oprot) @@ -31039,7 +31266,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_partitions_by_expr_result: +class get_partitions_spec_by_expr_result: """ Attributes: - success @@ -31048,7 +31275,7 @@ class get_partitions_by_expr_result: """ thrift_spec = ( - (0, TType.STRUCT, 'success', (PartitionsByExprResult, PartitionsByExprResult.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (PartitionsSpecByExprResult, PartitionsSpecByExprResult.thrift_spec), None, ), # 0 (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2 ) @@ -31069,7 +31296,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.STRUCT: - self.success = PartitionsByExprResult() + self.success = PartitionsSpecByExprResult() self.success.read(iprot) else: iprot.skip(ftype) @@ -31094,7 +31321,7 @@ def write(self, oprot): if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return - oprot.writeStructBegin('get_partitions_by_expr_result') + oprot.writeStructBegin('get_partitions_spec_by_expr_result') if self.success is not None: oprot.writeFieldBegin('success', TType.STRUCT, 0) self.success.write(oprot) @@ -31357,10 +31584,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1420, _size1417) = iprot.readListBegin() - for _i1421 in xrange(_size1417): - _elem1422 = iprot.readString() - self.names.append(_elem1422) + (_etype1427, _size1424) = iprot.readListBegin() + for _i1428 in xrange(_size1424): + _elem1429 = iprot.readString() + self.names.append(_elem1429) iprot.readListEnd() else: iprot.skip(ftype) @@ -31385,8 +31612,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 iter1423 in self.names: - oprot.writeString(iter1423) + for iter1430 in self.names: + oprot.writeString(iter1430) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31445,11 +31672,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1427, _size1424) = iprot.readListBegin() - for _i1428 in xrange(_size1424): - _elem1429 = Partition() - _elem1429.read(iprot) - self.success.append(_elem1429) + (_etype1434, _size1431) = iprot.readListBegin() + for _i1435 in xrange(_size1431): + _elem1436 = Partition() + _elem1436.read(iprot) + self.success.append(_elem1436) iprot.readListEnd() else: iprot.skip(ftype) @@ -31478,8 +31705,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 iter1430 in self.success: - iter1430.write(oprot) + for iter1437 in self.success: + iter1437.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31888,11 +32115,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1434, _size1431) = iprot.readListBegin() - for _i1435 in xrange(_size1431): - _elem1436 = Partition() - _elem1436.read(iprot) - self.new_parts.append(_elem1436) + (_etype1441, _size1438) = iprot.readListBegin() + for _i1442 in xrange(_size1438): + _elem1443 = Partition() + _elem1443.read(iprot) + self.new_parts.append(_elem1443) iprot.readListEnd() else: iprot.skip(ftype) @@ -31917,8 +32144,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 iter1437 in self.new_parts: - iter1437.write(oprot) + for iter1444 in self.new_parts: + iter1444.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32071,11 +32298,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1441, _size1438) = iprot.readListBegin() - for _i1442 in xrange(_size1438): - _elem1443 = Partition() - _elem1443.read(iprot) - self.new_parts.append(_elem1443) + (_etype1448, _size1445) = iprot.readListBegin() + for _i1449 in xrange(_size1445): + _elem1450 = Partition() + _elem1450.read(iprot) + self.new_parts.append(_elem1450) iprot.readListEnd() else: iprot.skip(ftype) @@ -32106,8 +32333,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 iter1444 in self.new_parts: - iter1444.write(oprot) + for iter1451 in self.new_parts: + iter1451.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -32610,10 +32837,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1448, _size1445) = iprot.readListBegin() - for _i1449 in xrange(_size1445): - _elem1450 = iprot.readString() - self.part_vals.append(_elem1450) + (_etype1455, _size1452) = iprot.readListBegin() + for _i1456 in xrange(_size1452): + _elem1457 = iprot.readString() + self.part_vals.append(_elem1457) iprot.readListEnd() else: iprot.skip(ftype) @@ -32644,8 +32871,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 iter1451 in self.part_vals: - oprot.writeString(iter1451) + for iter1458 in self.part_vals: + oprot.writeString(iter1458) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -32946,10 +33173,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1455, _size1452) = iprot.readListBegin() - for _i1456 in xrange(_size1452): - _elem1457 = iprot.readString() - self.part_vals.append(_elem1457) + (_etype1462, _size1459) = iprot.readListBegin() + for _i1463 in xrange(_size1459): + _elem1464 = iprot.readString() + self.part_vals.append(_elem1464) iprot.readListEnd() else: iprot.skip(ftype) @@ -32971,8 +33198,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 iter1458 in self.part_vals: - oprot.writeString(iter1458) + for iter1465 in self.part_vals: + oprot.writeString(iter1465) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -33330,10 +33557,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1462, _size1459) = iprot.readListBegin() - for _i1463 in xrange(_size1459): - _elem1464 = iprot.readString() - self.success.append(_elem1464) + (_etype1469, _size1466) = iprot.readListBegin() + for _i1470 in xrange(_size1466): + _elem1471 = iprot.readString() + self.success.append(_elem1471) iprot.readListEnd() else: iprot.skip(ftype) @@ -33356,8 +33583,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 iter1465 in self.success: - oprot.writeString(iter1465) + for iter1472 in self.success: + oprot.writeString(iter1472) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33481,11 +33708,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1467, _vtype1468, _size1466 ) = iprot.readMapBegin() - for _i1470 in xrange(_size1466): - _key1471 = iprot.readString() - _val1472 = iprot.readString() - self.success[_key1471] = _val1472 + (_ktype1474, _vtype1475, _size1473 ) = iprot.readMapBegin() + for _i1477 in xrange(_size1473): + _key1478 = iprot.readString() + _val1479 = iprot.readString() + self.success[_key1478] = _val1479 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33508,9 +33735,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 kiter1473,viter1474 in self.success.items(): - oprot.writeString(kiter1473) - oprot.writeString(viter1474) + for kiter1480,viter1481 in self.success.items(): + oprot.writeString(kiter1480) + oprot.writeString(viter1481) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33586,11 +33813,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1476, _vtype1477, _size1475 ) = iprot.readMapBegin() - for _i1479 in xrange(_size1475): - _key1480 = iprot.readString() - _val1481 = iprot.readString() - self.part_vals[_key1480] = _val1481 + (_ktype1483, _vtype1484, _size1482 ) = iprot.readMapBegin() + for _i1486 in xrange(_size1482): + _key1487 = iprot.readString() + _val1488 = iprot.readString() + self.part_vals[_key1487] = _val1488 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33620,9 +33847,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 kiter1482,viter1483 in self.part_vals.items(): - oprot.writeString(kiter1482) - oprot.writeString(viter1483) + for kiter1489,viter1490 in self.part_vals.items(): + oprot.writeString(kiter1489) + oprot.writeString(viter1490) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -33836,11 +34063,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1485, _vtype1486, _size1484 ) = iprot.readMapBegin() - for _i1488 in xrange(_size1484): - _key1489 = iprot.readString() - _val1490 = iprot.readString() - self.part_vals[_key1489] = _val1490 + (_ktype1492, _vtype1493, _size1491 ) = iprot.readMapBegin() + for _i1495 in xrange(_size1491): + _key1496 = iprot.readString() + _val1497 = iprot.readString() + self.part_vals[_key1496] = _val1497 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33870,9 +34097,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 kiter1491,viter1492 in self.part_vals.items(): - oprot.writeString(kiter1491) - oprot.writeString(viter1492) + for kiter1498,viter1499 in self.part_vals.items(): + oprot.writeString(kiter1498) + oprot.writeString(viter1499) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -37924,10 +38151,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1496, _size1493) = iprot.readListBegin() - for _i1497 in xrange(_size1493): - _elem1498 = iprot.readString() - self.success.append(_elem1498) + (_etype1503, _size1500) = iprot.readListBegin() + for _i1504 in xrange(_size1500): + _elem1505 = iprot.readString() + self.success.append(_elem1505) iprot.readListEnd() else: iprot.skip(ftype) @@ -37950,8 +38177,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 iter1499 in self.success: - oprot.writeString(iter1499) + for iter1506 in self.success: + oprot.writeString(iter1506) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38639,10 +38866,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1503, _size1500) = iprot.readListBegin() - for _i1504 in xrange(_size1500): - _elem1505 = iprot.readString() - self.success.append(_elem1505) + (_etype1510, _size1507) = iprot.readListBegin() + for _i1511 in xrange(_size1507): + _elem1512 = iprot.readString() + self.success.append(_elem1512) iprot.readListEnd() else: iprot.skip(ftype) @@ -38665,8 +38892,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1506 in self.success: - oprot.writeString(iter1506) + for iter1513 in self.success: + oprot.writeString(iter1513) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39180,11 +39407,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1510, _size1507) = iprot.readListBegin() - for _i1511 in xrange(_size1507): - _elem1512 = Role() - _elem1512.read(iprot) - self.success.append(_elem1512) + (_etype1517, _size1514) = iprot.readListBegin() + for _i1518 in xrange(_size1514): + _elem1519 = Role() + _elem1519.read(iprot) + self.success.append(_elem1519) iprot.readListEnd() else: iprot.skip(ftype) @@ -39207,8 +39434,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 iter1513 in self.success: - iter1513.write(oprot) + for iter1520 in self.success: + iter1520.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39717,10 +39944,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1517, _size1514) = iprot.readListBegin() - for _i1518 in xrange(_size1514): - _elem1519 = iprot.readString() - self.group_names.append(_elem1519) + (_etype1524, _size1521) = iprot.readListBegin() + for _i1525 in xrange(_size1521): + _elem1526 = iprot.readString() + self.group_names.append(_elem1526) iprot.readListEnd() else: iprot.skip(ftype) @@ -39745,8 +39972,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 iter1520 in self.group_names: - oprot.writeString(iter1520) + for iter1527 in self.group_names: + oprot.writeString(iter1527) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39973,11 +40200,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1524, _size1521) = iprot.readListBegin() - for _i1525 in xrange(_size1521): - _elem1526 = HiveObjectPrivilege() - _elem1526.read(iprot) - self.success.append(_elem1526) + (_etype1531, _size1528) = iprot.readListBegin() + for _i1532 in xrange(_size1528): + _elem1533 = HiveObjectPrivilege() + _elem1533.read(iprot) + self.success.append(_elem1533) iprot.readListEnd() else: iprot.skip(ftype) @@ -40000,8 +40227,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 iter1527 in self.success: - iter1527.write(oprot) + for iter1534 in self.success: + iter1534.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -40671,10 +40898,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1531, _size1528) = iprot.readListBegin() - for _i1532 in xrange(_size1528): - _elem1533 = iprot.readString() - self.group_names.append(_elem1533) + (_etype1538, _size1535) = iprot.readListBegin() + for _i1539 in xrange(_size1535): + _elem1540 = iprot.readString() + self.group_names.append(_elem1540) iprot.readListEnd() else: iprot.skip(ftype) @@ -40695,8 +40922,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 iter1534 in self.group_names: - oprot.writeString(iter1534) + for iter1541 in self.group_names: + oprot.writeString(iter1541) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -40751,10 +40978,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1538, _size1535) = iprot.readListBegin() - for _i1539 in xrange(_size1535): - _elem1540 = iprot.readString() - self.success.append(_elem1540) + (_etype1545, _size1542) = iprot.readListBegin() + for _i1546 in xrange(_size1542): + _elem1547 = iprot.readString() + self.success.append(_elem1547) iprot.readListEnd() else: iprot.skip(ftype) @@ -40777,8 +41004,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 iter1541 in self.success: - oprot.writeString(iter1541) + for iter1548 in self.success: + oprot.writeString(iter1548) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41710,10 +41937,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1545, _size1542) = iprot.readListBegin() - for _i1546 in xrange(_size1542): - _elem1547 = iprot.readString() - self.success.append(_elem1547) + (_etype1552, _size1549) = iprot.readListBegin() + for _i1553 in xrange(_size1549): + _elem1554 = iprot.readString() + self.success.append(_elem1554) iprot.readListEnd() else: iprot.skip(ftype) @@ -41730,8 +41957,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 iter1548 in self.success: - oprot.writeString(iter1548) + for iter1555 in self.success: + oprot.writeString(iter1555) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -42258,10 +42485,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1552, _size1549) = iprot.readListBegin() - for _i1553 in xrange(_size1549): - _elem1554 = iprot.readString() - self.success.append(_elem1554) + (_etype1559, _size1556) = iprot.readListBegin() + for _i1560 in xrange(_size1556): + _elem1561 = iprot.readString() + self.success.append(_elem1561) iprot.readListEnd() else: iprot.skip(ftype) @@ -42278,8 +42505,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 iter1555 in self.success: - oprot.writeString(iter1555) + for iter1562 in self.success: + oprot.writeString(iter1562) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -45292,10 +45519,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1559, _size1556) = iprot.readListBegin() - for _i1560 in xrange(_size1556): - _elem1561 = iprot.readString() - self.success.append(_elem1561) + (_etype1566, _size1563) = iprot.readListBegin() + for _i1567 in xrange(_size1563): + _elem1568 = iprot.readString() + self.success.append(_elem1568) iprot.readListEnd() else: iprot.skip(ftype) @@ -45312,8 +45539,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 iter1562 in self.success: - oprot.writeString(iter1562) + for iter1569 in self.success: + oprot.writeString(iter1569) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -51623,11 +51850,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1566, _size1563) = iprot.readListBegin() - for _i1567 in xrange(_size1563): - _elem1568 = SchemaVersion() - _elem1568.read(iprot) - self.success.append(_elem1568) + (_etype1573, _size1570) = iprot.readListBegin() + for _i1574 in xrange(_size1570): + _elem1575 = SchemaVersion() + _elem1575.read(iprot) + self.success.append(_elem1575) iprot.readListEnd() else: iprot.skip(ftype) @@ -51656,8 +51883,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 iter1569 in self.success: - iter1569.write(oprot) + for iter1576 in self.success: + iter1576.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -53132,11 +53359,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1573, _size1570) = iprot.readListBegin() - for _i1574 in xrange(_size1570): - _elem1575 = RuntimeStat() - _elem1575.read(iprot) - self.success.append(_elem1575) + (_etype1580, _size1577) = iprot.readListBegin() + for _i1581 in xrange(_size1577): + _elem1582 = RuntimeStat() + _elem1582.read(iprot) + self.success.append(_elem1582) iprot.readListEnd() else: iprot.skip(ftype) @@ -53159,8 +53386,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 iter1576 in self.success: - iter1576.write(oprot) + for iter1583 in self.success: + iter1583.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 4f317b3453..eda7817475 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -9975,6 +9975,97 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class PartitionsSpecByExprResult: + """ + Attributes: + - partitionsSpec + - hasUnknownPartitions + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'partitionsSpec', (TType.STRUCT,(PartitionSpec, PartitionSpec.thrift_spec)), None, ), # 1 + (2, TType.BOOL, 'hasUnknownPartitions', None, None, ), # 2 + ) + + def __init__(self, partitionsSpec=None, hasUnknownPartitions=None,): + self.partitionsSpec = partitionsSpec + self.hasUnknownPartitions = hasUnknownPartitions + + 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.partitionsSpec = [] + (_etype405, _size402) = iprot.readListBegin() + for _i406 in xrange(_size402): + _elem407 = PartitionSpec() + _elem407.read(iprot) + self.partitionsSpec.append(_elem407) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.BOOL: + self.hasUnknownPartitions = iprot.readBool() + 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('PartitionsSpecByExprResult') + if self.partitionsSpec is not None: + oprot.writeFieldBegin('partitionsSpec', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.partitionsSpec)) + for iter408 in self.partitionsSpec: + iter408.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.hasUnknownPartitions is not None: + oprot.writeFieldBegin('hasUnknownPartitions', TType.BOOL, 2) + oprot.writeBool(self.hasUnknownPartitions) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.partitionsSpec is None: + raise TProtocol.TProtocolException(message='Required field partitionsSpec is unset!') + if self.hasUnknownPartitions is None: + raise TProtocol.TProtocolException(message='Required field hasUnknownPartitions is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitionsSpec) + value = (value * 31) ^ hash(self.hasUnknownPartitions) + 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 PartitionsByExprRequest: """ Attributes: @@ -10140,11 +10231,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tableStats = [] - (_etype405, _size402) = iprot.readListBegin() - for _i406 in xrange(_size402): - _elem407 = ColumnStatisticsObj() - _elem407.read(iprot) - self.tableStats.append(_elem407) + (_etype412, _size409) = iprot.readListBegin() + for _i413 in xrange(_size409): + _elem414 = ColumnStatisticsObj() + _elem414.read(iprot) + self.tableStats.append(_elem414) iprot.readListEnd() else: iprot.skip(ftype) @@ -10166,8 +10257,8 @@ def write(self, oprot): if self.tableStats is not None: oprot.writeFieldBegin('tableStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tableStats)) - for iter408 in self.tableStats: - iter408.write(oprot) + for iter415 in self.tableStats: + iter415.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.isStatsCompliant is not None: @@ -10229,17 +10320,17 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype410, _vtype411, _size409 ) = iprot.readMapBegin() - for _i413 in xrange(_size409): - _key414 = iprot.readString() - _val415 = [] - (_etype419, _size416) = iprot.readListBegin() - for _i420 in xrange(_size416): - _elem421 = ColumnStatisticsObj() - _elem421.read(iprot) - _val415.append(_elem421) + (_ktype417, _vtype418, _size416 ) = iprot.readMapBegin() + for _i420 in xrange(_size416): + _key421 = iprot.readString() + _val422 = [] + (_etype426, _size423) = iprot.readListBegin() + for _i427 in xrange(_size423): + _elem428 = ColumnStatisticsObj() + _elem428.read(iprot) + _val422.append(_elem428) iprot.readListEnd() - self.partStats[_key414] = _val415 + self.partStats[_key421] = _val422 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10261,11 +10352,11 @@ def write(self, oprot): if self.partStats is not None: oprot.writeFieldBegin('partStats', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.partStats)) - for kiter422,viter423 in self.partStats.items(): - oprot.writeString(kiter422) - oprot.writeListBegin(TType.STRUCT, len(viter423)) - for iter424 in viter423: - iter424.write(oprot) + for kiter429,viter430 in self.partStats.items(): + oprot.writeString(kiter429) + oprot.writeListBegin(TType.STRUCT, len(viter430)) + for iter431 in viter430: + iter431.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -10350,10 +10441,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype428, _size425) = iprot.readListBegin() - for _i429 in xrange(_size425): - _elem430 = iprot.readString() - self.colNames.append(_elem430) + (_etype435, _size432) = iprot.readListBegin() + for _i436 in xrange(_size432): + _elem437 = iprot.readString() + self.colNames.append(_elem437) iprot.readListEnd() else: iprot.skip(ftype) @@ -10393,8 +10484,8 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter431 in self.colNames: - oprot.writeString(iter431) + for iter438 in self.colNames: + oprot.writeString(iter438) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -10499,20 +10590,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype435, _size432) = iprot.readListBegin() - for _i436 in xrange(_size432): - _elem437 = iprot.readString() - self.colNames.append(_elem437) + (_etype442, _size439) = iprot.readListBegin() + for _i443 in xrange(_size439): + _elem444 = iprot.readString() + self.colNames.append(_elem444) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.partNames = [] - (_etype441, _size438) = iprot.readListBegin() - for _i442 in xrange(_size438): - _elem443 = iprot.readString() - self.partNames.append(_elem443) + (_etype448, _size445) = iprot.readListBegin() + for _i449 in xrange(_size445): + _elem450 = iprot.readString() + self.partNames.append(_elem450) iprot.readListEnd() else: iprot.skip(ftype) @@ -10552,15 +10643,15 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter444 in self.colNames: - oprot.writeString(iter444) + for iter451 in self.colNames: + oprot.writeString(iter451) oprot.writeListEnd() oprot.writeFieldEnd() if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter445 in self.partNames: - oprot.writeString(iter445) + for iter452 in self.partNames: + oprot.writeString(iter452) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -10643,11 +10734,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype449, _size446) = iprot.readListBegin() - for _i450 in xrange(_size446): - _elem451 = Partition() - _elem451.read(iprot) - self.partitions.append(_elem451) + (_etype456, _size453) = iprot.readListBegin() + for _i457 in xrange(_size453): + _elem458 = Partition() + _elem458.read(iprot) + self.partitions.append(_elem458) iprot.readListEnd() else: iprot.skip(ftype) @@ -10669,8 +10760,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter452 in self.partitions: - iter452.write(oprot) + for iter459 in self.partitions: + iter459.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.isStatsCompliant is not None: @@ -10755,11 +10846,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype456, _size453) = iprot.readListBegin() - for _i457 in xrange(_size453): - _elem458 = Partition() - _elem458.read(iprot) - self.parts.append(_elem458) + (_etype463, _size460) = iprot.readListBegin() + for _i464 in xrange(_size460): + _elem465 = Partition() + _elem465.read(iprot) + self.parts.append(_elem465) iprot.readListEnd() else: iprot.skip(ftype) @@ -10804,8 +10895,8 @@ def write(self, oprot): if self.parts is not None: oprot.writeFieldBegin('parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.parts)) - for iter459 in self.parts: - iter459.write(oprot) + for iter466 in self.parts: + iter466.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -10887,11 +10978,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype463, _size460) = iprot.readListBegin() - for _i464 in xrange(_size460): - _elem465 = Partition() - _elem465.read(iprot) - self.partitions.append(_elem465) + (_etype470, _size467) = iprot.readListBegin() + for _i471 in xrange(_size467): + _elem472 = Partition() + _elem472.read(iprot) + self.partitions.append(_elem472) iprot.readListEnd() else: iprot.skip(ftype) @@ -10908,8 +10999,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter466 in self.partitions: - iter466.write(oprot) + for iter473 in self.partitions: + iter473.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11044,21 +11135,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype470, _size467) = iprot.readListBegin() - for _i471 in xrange(_size467): - _elem472 = iprot.readString() - self.names.append(_elem472) + (_etype477, _size474) = iprot.readListBegin() + for _i478 in xrange(_size474): + _elem479 = iprot.readString() + self.names.append(_elem479) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype476, _size473) = iprot.readListBegin() - for _i477 in xrange(_size473): - _elem478 = DropPartitionsExpr() - _elem478.read(iprot) - self.exprs.append(_elem478) + (_etype483, _size480) = iprot.readListBegin() + for _i484 in xrange(_size480): + _elem485 = DropPartitionsExpr() + _elem485.read(iprot) + self.exprs.append(_elem485) iprot.readListEnd() else: iprot.skip(ftype) @@ -11075,15 +11166,15 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter479 in self.names: - oprot.writeString(iter479) + for iter486 in self.names: + oprot.writeString(iter486) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter480 in self.exprs: - iter480.write(oprot) + for iter487 in self.exprs: + iter487.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11347,11 +11438,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partitionKeys = [] - (_etype484, _size481) = iprot.readListBegin() - for _i485 in xrange(_size481): - _elem486 = FieldSchema() - _elem486.read(iprot) - self.partitionKeys.append(_elem486) + (_etype491, _size488) = iprot.readListBegin() + for _i492 in xrange(_size488): + _elem493 = FieldSchema() + _elem493.read(iprot) + self.partitionKeys.append(_elem493) iprot.readListEnd() else: iprot.skip(ftype) @@ -11368,11 +11459,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionOrder = [] - (_etype490, _size487) = iprot.readListBegin() - for _i491 in xrange(_size487): - _elem492 = FieldSchema() - _elem492.read(iprot) - self.partitionOrder.append(_elem492) + (_etype497, _size494) = iprot.readListBegin() + for _i498 in xrange(_size494): + _elem499 = FieldSchema() + _elem499.read(iprot) + self.partitionOrder.append(_elem499) iprot.readListEnd() else: iprot.skip(ftype) @@ -11412,8 +11503,8 @@ def write(self, oprot): if self.partitionKeys is not None: oprot.writeFieldBegin('partitionKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) - for iter493 in self.partitionKeys: - iter493.write(oprot) + for iter500 in self.partitionKeys: + iter500.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.applyDistinct is not None: @@ -11427,8 +11518,8 @@ def write(self, oprot): if self.partitionOrder is not None: oprot.writeFieldBegin('partitionOrder', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.partitionOrder)) - for iter494 in self.partitionOrder: - iter494.write(oprot) + for iter501 in self.partitionOrder: + iter501.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ascending is not None: @@ -11506,10 +11597,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.row = [] - (_etype498, _size495) = iprot.readListBegin() - for _i499 in xrange(_size495): - _elem500 = iprot.readString() - self.row.append(_elem500) + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readString() + self.row.append(_elem507) iprot.readListEnd() else: iprot.skip(ftype) @@ -11526,8 +11617,8 @@ def write(self, oprot): if self.row is not None: oprot.writeFieldBegin('row', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.row)) - for iter501 in self.row: - oprot.writeString(iter501) + for iter508 in self.row: + oprot.writeString(iter508) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11581,11 +11672,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionValues = [] - (_etype505, _size502) = iprot.readListBegin() - for _i506 in xrange(_size502): - _elem507 = PartitionValuesRow() - _elem507.read(iprot) - self.partitionValues.append(_elem507) + (_etype512, _size509) = iprot.readListBegin() + for _i513 in xrange(_size509): + _elem514 = PartitionValuesRow() + _elem514.read(iprot) + self.partitionValues.append(_elem514) iprot.readListEnd() else: iprot.skip(ftype) @@ -11602,8 +11693,8 @@ def write(self, oprot): if self.partitionValues is not None: oprot.writeFieldBegin('partitionValues', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionValues)) - for iter508 in self.partitionValues: - iter508.write(oprot) + for iter515 in self.partitionValues: + iter515.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11685,10 +11776,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = iprot.readString() - self.names.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = iprot.readString() + self.names.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -11700,10 +11791,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype518, _size515) = iprot.readListBegin() - for _i519 in xrange(_size515): - _elem520 = iprot.readString() - self.processorCapabilities.append(_elem520) + (_etype525, _size522) = iprot.readListBegin() + for _i526 in xrange(_size522): + _elem527 = iprot.readString() + self.processorCapabilities.append(_elem527) iprot.readListEnd() else: iprot.skip(ftype) @@ -11738,8 +11829,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 iter521 in self.names: - oprot.writeString(iter521) + for iter528 in self.names: + oprot.writeString(iter528) oprot.writeListEnd() oprot.writeFieldEnd() if self.get_col_stats is not None: @@ -11749,8 +11840,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter522 in self.processorCapabilities: - oprot.writeString(iter522) + for iter529 in self.processorCapabilities: + oprot.writeString(iter529) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -11820,11 +11911,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = Partition() - _elem528.read(iprot) - self.partitions.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = Partition() + _elem535.read(iprot) + self.partitions.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -11841,8 +11932,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter529 in self.partitions: - iter529.write(oprot) + for iter536 in self.partitions: + iter536.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12033,11 +12124,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = ResourceUri() - _elem535.read(iprot) - self.resourceUris.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = ResourceUri() + _elem542.read(iprot) + self.resourceUris.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -12087,8 +12178,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 iter536 in self.resourceUris: - iter536.write(oprot) + for iter543 in self.resourceUris: + iter543.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -12337,11 +12428,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = TxnInfo() - _elem542.read(iprot) - self.open_txns.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = TxnInfo() + _elem549.read(iprot) + self.open_txns.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -12362,8 +12453,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 iter543 in self.open_txns: - iter543.write(oprot) + for iter550 in self.open_txns: + iter550.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12434,10 +12525,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.open_txns.append(_elem549) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = iprot.readI64() + self.open_txns.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -12468,8 +12559,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 iter550 in self.open_txns: - oprot.writeI64(iter550) + for iter557 in self.open_txns: + oprot.writeI64(iter557) oprot.writeListEnd() oprot.writeFieldEnd() if self.min_open_txn is not None: @@ -12581,10 +12672,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.replSrcTxnIds = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = iprot.readI64() - self.replSrcTxnIds.append(_elem556) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = iprot.readI64() + self.replSrcTxnIds.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -12626,8 +12717,8 @@ def write(self, oprot): if self.replSrcTxnIds is not None: oprot.writeFieldBegin('replSrcTxnIds', TType.LIST, 6) oprot.writeListBegin(TType.I64, len(self.replSrcTxnIds)) - for iter557 in self.replSrcTxnIds: - oprot.writeI64(iter557) + for iter564 in self.replSrcTxnIds: + oprot.writeI64(iter564) oprot.writeListEnd() oprot.writeFieldEnd() if self.txn_type is not None: @@ -12695,10 +12786,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = iprot.readI64() - self.txn_ids.append(_elem563) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = iprot.readI64() + self.txn_ids.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12715,8 +12806,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 iter564 in self.txn_ids: - oprot.writeI64(iter564) + for iter571 in self.txn_ids: + oprot.writeI64(iter571) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12850,10 +12941,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype568, _size565) = iprot.readListBegin() - for _i569 in xrange(_size565): - _elem570 = iprot.readI64() - self.txn_ids.append(_elem570) + (_etype575, _size572) = iprot.readListBegin() + for _i576 in xrange(_size572): + _elem577 = iprot.readI64() + self.txn_ids.append(_elem577) iprot.readListEnd() else: iprot.skip(ftype) @@ -12870,8 +12961,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 iter571 in self.txn_ids: - oprot.writeI64(iter571) + for iter578 in self.txn_ids: + oprot.writeI64(iter578) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13205,10 +13296,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionList = [] - (_etype575, _size572) = iprot.readListBegin() - for _i576 in xrange(_size572): - _elem577 = iprot.readString() - self.partitionList.append(_elem577) + (_etype582, _size579) = iprot.readListBegin() + for _i583 in xrange(_size579): + _elem584 = iprot.readString() + self.partitionList.append(_elem584) iprot.readListEnd() else: iprot.skip(ftype) @@ -13241,8 +13332,8 @@ def write(self, oprot): if self.partitionList is not None: oprot.writeFieldBegin('partitionList', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionList)) - for iter578 in self.partitionList: - oprot.writeString(iter578) + for iter585 in self.partitionList: + oprot.writeString(iter585) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13324,11 +13415,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.writeEventInfos = [] - (_etype582, _size579) = iprot.readListBegin() - for _i583 in xrange(_size579): - _elem584 = WriteEventInfo() - _elem584.read(iprot) - self.writeEventInfos.append(_elem584) + (_etype589, _size586) = iprot.readListBegin() + for _i590 in xrange(_size586): + _elem591 = WriteEventInfo() + _elem591.read(iprot) + self.writeEventInfos.append(_elem591) iprot.readListEnd() else: iprot.skip(ftype) @@ -13365,8 +13456,8 @@ def write(self, oprot): if self.writeEventInfos is not None: oprot.writeFieldBegin('writeEventInfos', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.writeEventInfos)) - for iter585 in self.writeEventInfos: - iter585.write(oprot) + for iter592 in self.writeEventInfos: + iter592.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.keyValue is not None: @@ -13472,10 +13563,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partNames = [] - (_etype589, _size586) = iprot.readListBegin() - for _i590 in xrange(_size586): - _elem591 = iprot.readString() - self.partNames.append(_elem591) + (_etype596, _size593) = iprot.readListBegin() + for _i597 in xrange(_size593): + _elem598 = iprot.readString() + self.partNames.append(_elem598) iprot.readListEnd() else: iprot.skip(ftype) @@ -13512,8 +13603,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter592 in self.partNames: - oprot.writeString(iter592) + for iter599 in self.partNames: + oprot.writeString(iter599) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13586,10 +13677,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype596, _size593) = iprot.readListBegin() - for _i597 in xrange(_size593): - _elem598 = iprot.readString() - self.fullTableNames.append(_elem598) + (_etype603, _size600) = iprot.readListBegin() + for _i604 in xrange(_size600): + _elem605 = iprot.readString() + self.fullTableNames.append(_elem605) iprot.readListEnd() else: iprot.skip(ftype) @@ -13616,8 +13707,8 @@ def write(self, oprot): if self.fullTableNames is not None: oprot.writeFieldBegin('fullTableNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fullTableNames)) - for iter599 in self.fullTableNames: - oprot.writeString(iter599) + for iter606 in self.fullTableNames: + oprot.writeString(iter606) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -13703,10 +13794,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype603, _size600) = iprot.readListBegin() - for _i604 in xrange(_size600): - _elem605 = iprot.readI64() - self.invalidWriteIds.append(_elem605) + (_etype610, _size607) = iprot.readListBegin() + for _i611 in xrange(_size607): + _elem612 = iprot.readI64() + self.invalidWriteIds.append(_elem612) iprot.readListEnd() else: iprot.skip(ftype) @@ -13741,8 +13832,8 @@ def write(self, oprot): if self.invalidWriteIds is not None: oprot.writeFieldBegin('invalidWriteIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.invalidWriteIds)) - for iter606 in self.invalidWriteIds: - oprot.writeI64(iter606) + for iter613 in self.invalidWriteIds: + oprot.writeI64(iter613) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -13814,11 +13905,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype610, _size607) = iprot.readListBegin() - for _i611 in xrange(_size607): - _elem612 = TableValidWriteIds() - _elem612.read(iprot) - self.tblValidWriteIds.append(_elem612) + (_etype617, _size614) = iprot.readListBegin() + for _i618 in xrange(_size614): + _elem619 = TableValidWriteIds() + _elem619.read(iprot) + self.tblValidWriteIds.append(_elem619) iprot.readListEnd() else: iprot.skip(ftype) @@ -13835,8 +13926,8 @@ def write(self, oprot): if self.tblValidWriteIds is not None: oprot.writeFieldBegin('tblValidWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tblValidWriteIds)) - for iter613 in self.tblValidWriteIds: - iter613.write(oprot) + for iter620 in self.tblValidWriteIds: + iter620.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13994,10 +14085,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.txnIds = [] - (_etype617, _size614) = iprot.readListBegin() - for _i618 in xrange(_size614): - _elem619 = iprot.readI64() - self.txnIds.append(_elem619) + (_etype624, _size621) = iprot.readListBegin() + for _i625 in xrange(_size621): + _elem626 = iprot.readI64() + self.txnIds.append(_elem626) iprot.readListEnd() else: iprot.skip(ftype) @@ -14009,11 +14100,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.srcTxnToWriteIdList = [] - (_etype623, _size620) = iprot.readListBegin() - for _i624 in xrange(_size620): - _elem625 = TxnToWriteId() - _elem625.read(iprot) - self.srcTxnToWriteIdList.append(_elem625) + (_etype630, _size627) = iprot.readListBegin() + for _i631 in xrange(_size627): + _elem632 = TxnToWriteId() + _elem632.read(iprot) + self.srcTxnToWriteIdList.append(_elem632) iprot.readListEnd() else: iprot.skip(ftype) @@ -14038,8 +14129,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter626 in self.txnIds: - oprot.writeI64(iter626) + for iter633 in self.txnIds: + oprot.writeI64(iter633) oprot.writeListEnd() oprot.writeFieldEnd() if self.replPolicy is not None: @@ -14049,8 +14140,8 @@ def write(self, oprot): if self.srcTxnToWriteIdList is not None: oprot.writeFieldBegin('srcTxnToWriteIdList', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.srcTxnToWriteIdList)) - for iter627 in self.srcTxnToWriteIdList: - iter627.write(oprot) + for iter634 in self.srcTxnToWriteIdList: + iter634.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14110,11 +14201,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype631, _size628) = iprot.readListBegin() - for _i632 in xrange(_size628): - _elem633 = TxnToWriteId() - _elem633.read(iprot) - self.txnToWriteIds.append(_elem633) + (_etype638, _size635) = iprot.readListBegin() + for _i639 in xrange(_size635): + _elem640 = TxnToWriteId() + _elem640.read(iprot) + self.txnToWriteIds.append(_elem640) iprot.readListEnd() else: iprot.skip(ftype) @@ -14131,8 +14222,8 @@ def write(self, oprot): if self.txnToWriteIds is not None: oprot.writeFieldBegin('txnToWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.txnToWriteIds)) - for iter634 in self.txnToWriteIds: - iter634.write(oprot) + for iter641 in self.txnToWriteIds: + iter641.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14360,11 +14451,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype638, _size635) = iprot.readListBegin() - for _i639 in xrange(_size635): - _elem640 = LockComponent() - _elem640.read(iprot) - self.component.append(_elem640) + (_etype645, _size642) = iprot.readListBegin() + for _i646 in xrange(_size642): + _elem647 = LockComponent() + _elem647.read(iprot) + self.component.append(_elem647) iprot.readListEnd() else: iprot.skip(ftype) @@ -14401,8 +14492,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 iter641 in self.component: - iter641.write(oprot) + for iter648 in self.component: + iter648.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -15100,11 +15191,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype645, _size642) = iprot.readListBegin() - for _i646 in xrange(_size642): - _elem647 = ShowLocksResponseElement() - _elem647.read(iprot) - self.locks.append(_elem647) + (_etype652, _size649) = iprot.readListBegin() + for _i653 in xrange(_size649): + _elem654 = ShowLocksResponseElement() + _elem654.read(iprot) + self.locks.append(_elem654) iprot.readListEnd() else: iprot.skip(ftype) @@ -15121,8 +15212,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 iter648 in self.locks: - iter648.write(oprot) + for iter655 in self.locks: + iter655.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15337,20 +15428,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype652, _size649) = iprot.readSetBegin() - for _i653 in xrange(_size649): - _elem654 = iprot.readI64() - self.aborted.add(_elem654) + (_etype659, _size656) = iprot.readSetBegin() + for _i660 in xrange(_size656): + _elem661 = iprot.readI64() + self.aborted.add(_elem661) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype658, _size655) = iprot.readSetBegin() - for _i659 in xrange(_size655): - _elem660 = iprot.readI64() - self.nosuch.add(_elem660) + (_etype665, _size662) = iprot.readSetBegin() + for _i666 in xrange(_size662): + _elem667 = iprot.readI64() + self.nosuch.add(_elem667) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15367,15 +15458,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 iter661 in self.aborted: - oprot.writeI64(iter661) + for iter668 in self.aborted: + oprot.writeI64(iter668) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter662 in self.nosuch: - oprot.writeI64(iter662) + for iter669 in self.nosuch: + oprot.writeI64(iter669) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15472,11 +15563,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype664, _vtype665, _size663 ) = iprot.readMapBegin() - for _i667 in xrange(_size663): - _key668 = iprot.readString() - _val669 = iprot.readString() - self.properties[_key668] = _val669 + (_ktype671, _vtype672, _size670 ) = iprot.readMapBegin() + for _i674 in xrange(_size670): + _key675 = iprot.readString() + _val676 = iprot.readString() + self.properties[_key675] = _val676 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15513,9 +15604,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 kiter670,viter671 in self.properties.items(): - oprot.writeString(kiter670) - oprot.writeString(viter671) + for kiter677,viter678 in self.properties.items(): + oprot.writeString(kiter677) + oprot.writeString(viter678) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16258,11 +16349,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype675, _size672) = iprot.readListBegin() - for _i676 in xrange(_size672): - _elem677 = ShowCompactResponseElement() - _elem677.read(iprot) - self.compacts.append(_elem677) + (_etype682, _size679) = iprot.readListBegin() + for _i683 in xrange(_size679): + _elem684 = ShowCompactResponseElement() + _elem684.read(iprot) + self.compacts.append(_elem684) iprot.readListEnd() else: iprot.skip(ftype) @@ -16279,8 +16370,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 iter678 in self.compacts: - iter678.write(oprot) + for iter685 in self.compacts: + iter685.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16369,10 +16460,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype682, _size679) = iprot.readListBegin() - for _i683 in xrange(_size679): - _elem684 = iprot.readString() - self.partitionnames.append(_elem684) + (_etype689, _size686) = iprot.readListBegin() + for _i690 in xrange(_size686): + _elem691 = iprot.readString() + self.partitionnames.append(_elem691) iprot.readListEnd() else: iprot.skip(ftype) @@ -16410,8 +16501,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter685 in self.partitionnames: - oprot.writeString(iter685) + for iter692 in self.partitionnames: + oprot.writeString(iter692) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -16630,10 +16721,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.eventTypeSkipList = [] - (_etype689, _size686) = iprot.readListBegin() - for _i690 in xrange(_size686): - _elem691 = iprot.readString() - self.eventTypeSkipList.append(_elem691) + (_etype696, _size693) = iprot.readListBegin() + for _i697 in xrange(_size693): + _elem698 = iprot.readString() + self.eventTypeSkipList.append(_elem698) iprot.readListEnd() else: iprot.skip(ftype) @@ -16658,8 +16749,8 @@ def write(self, oprot): if self.eventTypeSkipList is not None: oprot.writeFieldBegin('eventTypeSkipList', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.eventTypeSkipList)) - for iter692 in self.eventTypeSkipList: - oprot.writeString(iter692) + for iter699 in self.eventTypeSkipList: + oprot.writeString(iter699) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16879,11 +16970,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype696, _size693) = iprot.readListBegin() - for _i697 in xrange(_size693): - _elem698 = NotificationEvent() - _elem698.read(iprot) - self.events.append(_elem698) + (_etype703, _size700) = iprot.readListBegin() + for _i704 in xrange(_size700): + _elem705 = NotificationEvent() + _elem705.read(iprot) + self.events.append(_elem705) iprot.readListEnd() else: iprot.skip(ftype) @@ -16900,8 +16991,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 iter699 in self.events: - iter699.write(oprot) + for iter706 in self.events: + iter706.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17227,40 +17318,40 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype703, _size700) = iprot.readListBegin() - for _i704 in xrange(_size700): - _elem705 = iprot.readString() - self.filesAdded.append(_elem705) + (_etype710, _size707) = iprot.readListBegin() + for _i711 in xrange(_size707): + _elem712 = iprot.readString() + self.filesAdded.append(_elem712) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype709, _size706) = iprot.readListBegin() - for _i710 in xrange(_size706): - _elem711 = iprot.readString() - self.filesAddedChecksum.append(_elem711) + (_etype716, _size713) = iprot.readListBegin() + for _i717 in xrange(_size713): + _elem718 = iprot.readString() + self.filesAddedChecksum.append(_elem718) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.subDirectoryList = [] - (_etype715, _size712) = iprot.readListBegin() - for _i716 in xrange(_size712): - _elem717 = iprot.readString() - self.subDirectoryList.append(_elem717) + (_etype722, _size719) = iprot.readListBegin() + for _i723 in xrange(_size719): + _elem724 = iprot.readString() + self.subDirectoryList.append(_elem724) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.partitionVal = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readString() - self.partitionVal.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString() + self.partitionVal.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -17281,29 +17372,29 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter724 in self.filesAdded: - oprot.writeString(iter724) + for iter731 in self.filesAdded: + oprot.writeString(iter731) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter725 in self.filesAddedChecksum: - oprot.writeString(iter725) + for iter732 in self.filesAddedChecksum: + oprot.writeString(iter732) oprot.writeListEnd() oprot.writeFieldEnd() if self.subDirectoryList is not None: oprot.writeFieldBegin('subDirectoryList', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.subDirectoryList)) - for iter726 in self.subDirectoryList: - oprot.writeString(iter726) + for iter733 in self.subDirectoryList: + oprot.writeString(iter733) oprot.writeListEnd() oprot.writeFieldEnd() if self.partitionVal is not None: oprot.writeFieldBegin('partitionVal', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVal)) - for iter727 in self.partitionVal: - oprot.writeString(iter727) + for iter734 in self.partitionVal: + oprot.writeString(iter734) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17370,11 +17461,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.insertDatas = [] - (_etype731, _size728) = iprot.readListBegin() - for _i732 in xrange(_size728): - _elem733 = InsertEventRequestData() - _elem733.read(iprot) - self.insertDatas.append(_elem733) + (_etype738, _size735) = iprot.readListBegin() + for _i739 in xrange(_size735): + _elem740 = InsertEventRequestData() + _elem740.read(iprot) + self.insertDatas.append(_elem740) iprot.readListEnd() else: iprot.skip(ftype) @@ -17395,8 +17486,8 @@ def write(self, oprot): if self.insertDatas is not None: oprot.writeFieldBegin('insertDatas', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.insertDatas)) - for iter734 in self.insertDatas: - iter734.write(oprot) + for iter741 in self.insertDatas: + iter741.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17485,10 +17576,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype738, _size735) = iprot.readListBegin() - for _i739 in xrange(_size735): - _elem740 = iprot.readString() - self.partitionVals.append(_elem740) + (_etype745, _size742) = iprot.readListBegin() + for _i746 in xrange(_size742): + _elem747 = iprot.readString() + self.partitionVals.append(_elem747) iprot.readListEnd() else: iprot.skip(ftype) @@ -17526,8 +17617,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 iter741 in self.partitionVals: - oprot.writeString(iter741) + for iter748 in self.partitionVals: + oprot.writeString(iter748) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -17592,10 +17683,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.eventIds = [] - (_etype745, _size742) = iprot.readListBegin() - for _i746 in xrange(_size742): - _elem747 = iprot.readI64() - self.eventIds.append(_elem747) + (_etype752, _size749) = iprot.readListBegin() + for _i753 in xrange(_size749): + _elem754 = iprot.readI64() + self.eventIds.append(_elem754) iprot.readListEnd() else: iprot.skip(ftype) @@ -17612,8 +17703,8 @@ def write(self, oprot): if self.eventIds is not None: oprot.writeFieldBegin('eventIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.eventIds)) - for iter748 in self.eventIds: - oprot.writeI64(iter748) + for iter755 in self.eventIds: + oprot.writeI64(iter755) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17706,10 +17797,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionVals = [] - (_etype752, _size749) = iprot.readListBegin() - for _i753 in xrange(_size749): - _elem754 = iprot.readString() - self.partitionVals.append(_elem754) + (_etype759, _size756) = iprot.readListBegin() + for _i760 in xrange(_size756): + _elem761 = iprot.readString() + self.partitionVals.append(_elem761) iprot.readListEnd() else: iprot.skip(ftype) @@ -17746,8 +17837,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter755 in self.partitionVals: - oprot.writeString(iter755) + for iter762 in self.partitionVals: + oprot.writeString(iter762) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17941,12 +18032,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype757, _vtype758, _size756 ) = iprot.readMapBegin() - for _i760 in xrange(_size756): - _key761 = iprot.readI64() - _val762 = MetadataPpdResult() - _val762.read(iprot) - self.metadata[_key761] = _val762 + (_ktype764, _vtype765, _size763 ) = iprot.readMapBegin() + for _i767 in xrange(_size763): + _key768 = iprot.readI64() + _val769 = MetadataPpdResult() + _val769.read(iprot) + self.metadata[_key768] = _val769 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17968,9 +18059,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 kiter763,viter764 in self.metadata.items(): - oprot.writeI64(kiter763) - viter764.write(oprot) + for kiter770,viter771 in self.metadata.items(): + oprot.writeI64(kiter770) + viter771.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -18040,10 +18131,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype768, _size765) = iprot.readListBegin() - for _i769 in xrange(_size765): - _elem770 = iprot.readI64() - self.fileIds.append(_elem770) + (_etype775, _size772) = iprot.readListBegin() + for _i776 in xrange(_size772): + _elem777 = iprot.readI64() + self.fileIds.append(_elem777) iprot.readListEnd() else: iprot.skip(ftype) @@ -18075,8 +18166,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 iter771 in self.fileIds: - oprot.writeI64(iter771) + for iter778 in self.fileIds: + oprot.writeI64(iter778) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -18150,11 +18241,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype773, _vtype774, _size772 ) = iprot.readMapBegin() - for _i776 in xrange(_size772): - _key777 = iprot.readI64() - _val778 = iprot.readString() - self.metadata[_key777] = _val778 + (_ktype780, _vtype781, _size779 ) = iprot.readMapBegin() + for _i783 in xrange(_size779): + _key784 = iprot.readI64() + _val785 = iprot.readString() + self.metadata[_key784] = _val785 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18176,9 +18267,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 kiter779,viter780 in self.metadata.items(): - oprot.writeI64(kiter779) - oprot.writeString(viter780) + for kiter786,viter787 in self.metadata.items(): + oprot.writeI64(kiter786) + oprot.writeString(viter787) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -18239,10 +18330,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = iprot.readI64() - self.fileIds.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = iprot.readI64() + self.fileIds.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -18259,8 +18350,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 iter787 in self.fileIds: - oprot.writeI64(iter787) + for iter794 in self.fileIds: + oprot.writeI64(iter794) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18366,20 +18457,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = iprot.readI64() - self.fileIds.append(_elem793) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = iprot.readI64() + self.fileIds.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = iprot.readString() - self.metadata.append(_elem799) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = iprot.readString() + self.metadata.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -18401,15 +18492,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 iter800 in self.fileIds: - oprot.writeI64(iter800) + for iter807 in self.fileIds: + oprot.writeI64(iter807) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter801 in self.metadata: - oprot.writeString(iter801) + for iter808 in self.metadata: + oprot.writeString(iter808) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -18517,10 +18608,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = iprot.readI64() - self.fileIds.append(_elem807) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = iprot.readI64() + self.fileIds.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -18537,8 +18628,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 iter808 in self.fileIds: - oprot.writeI64(iter808) + for iter815 in self.fileIds: + oprot.writeI64(iter815) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18767,11 +18858,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype812, _size809) = iprot.readListBegin() - for _i813 in xrange(_size809): - _elem814 = Function() - _elem814.read(iprot) - self.functions.append(_elem814) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = Function() + _elem821.read(iprot) + self.functions.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -18788,8 +18879,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 iter815 in self.functions: - iter815.write(oprot) + for iter822 in self.functions: + iter822.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18841,10 +18932,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = iprot.readI32() - self.values.append(_elem821) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = iprot.readI32() + self.values.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) @@ -18861,8 +18952,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 iter822 in self.values: - oprot.writeI32(iter822) + for iter829 in self.values: + oprot.writeI32(iter829) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18972,10 +19063,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = iprot.readString() - self.processorCapabilities.append(_elem828) + (_etype833, _size830) = iprot.readListBegin() + for _i834 in xrange(_size830): + _elem835 = iprot.readString() + self.processorCapabilities.append(_elem835) iprot.readListEnd() else: iprot.skip(ftype) @@ -19026,8 +19117,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter829 in self.processorCapabilities: - oprot.writeString(iter829) + for iter836 in self.processorCapabilities: + oprot.writeString(iter836) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -19200,10 +19291,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype833, _size830) = iprot.readListBegin() - for _i834 in xrange(_size830): - _elem835 = iprot.readString() - self.tblNames.append(_elem835) + (_etype840, _size837) = iprot.readListBegin() + for _i841 in xrange(_size837): + _elem842 = iprot.readString() + self.tblNames.append(_elem842) iprot.readListEnd() else: iprot.skip(ftype) @@ -19221,10 +19312,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString() - self.processorCapabilities.append(_elem841) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = iprot.readString() + self.processorCapabilities.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -19250,8 +19341,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 iter842 in self.tblNames: - oprot.writeString(iter842) + for iter849 in self.tblNames: + oprot.writeString(iter849) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -19265,8 +19356,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter843 in self.processorCapabilities: - oprot.writeString(iter843) + for iter850 in self.processorCapabilities: + oprot.writeString(iter850) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -19329,11 +19420,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = Table() - _elem849.read(iprot) - self.tables.append(_elem849) + (_etype854, _size851) = iprot.readListBegin() + for _i855 in xrange(_size851): + _elem856 = Table() + _elem856.read(iprot) + self.tables.append(_elem856) iprot.readListEnd() else: iprot.skip(ftype) @@ -19350,8 +19441,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 iter850 in self.tables: - iter850.write(oprot) + for iter857 in self.tables: + iter857.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19448,10 +19539,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype854, _size851) = iprot.readListBegin() - for _i855 in xrange(_size851): - _elem856 = iprot.readString() - self.processorCapabilities.append(_elem856) + (_etype861, _size858) = iprot.readListBegin() + for _i862 in xrange(_size858): + _elem863 = iprot.readString() + self.processorCapabilities.append(_elem863) iprot.readListEnd() else: iprot.skip(ftype) @@ -19493,8 +19584,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter857 in self.processorCapabilities: - oprot.writeString(iter857) + for iter864 in self.processorCapabilities: + oprot.writeString(iter864) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -19583,20 +19674,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.requiredReadCapabilities = [] - (_etype861, _size858) = iprot.readListBegin() - for _i862 in xrange(_size858): - _elem863 = iprot.readString() - self.requiredReadCapabilities.append(_elem863) + (_etype868, _size865) = iprot.readListBegin() + for _i869 in xrange(_size865): + _elem870 = iprot.readString() + self.requiredReadCapabilities.append(_elem870) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.requiredWriteCapabilities = [] - (_etype867, _size864) = iprot.readListBegin() - for _i868 in xrange(_size864): - _elem869 = iprot.readString() - self.requiredWriteCapabilities.append(_elem869) + (_etype874, _size871) = iprot.readListBegin() + for _i875 in xrange(_size871): + _elem876 = iprot.readString() + self.requiredWriteCapabilities.append(_elem876) iprot.readListEnd() else: iprot.skip(ftype) @@ -19621,15 +19712,15 @@ def write(self, oprot): if self.requiredReadCapabilities is not None: oprot.writeFieldBegin('requiredReadCapabilities', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.requiredReadCapabilities)) - for iter870 in self.requiredReadCapabilities: - oprot.writeString(iter870) + for iter877 in self.requiredReadCapabilities: + oprot.writeString(iter877) oprot.writeListEnd() oprot.writeFieldEnd() if self.requiredWriteCapabilities is not None: oprot.writeFieldBegin('requiredWriteCapabilities', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.requiredWriteCapabilities)) - for iter871 in self.requiredWriteCapabilities: - oprot.writeString(iter871) + for iter878 in self.requiredWriteCapabilities: + oprot.writeString(iter878) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19705,10 +19796,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype875, _size872) = iprot.readListBegin() - for _i876 in xrange(_size872): - _elem877 = iprot.readString() - self.processorCapabilities.append(_elem877) + (_etype882, _size879) = iprot.readListBegin() + for _i883 in xrange(_size879): + _elem884 = iprot.readString() + self.processorCapabilities.append(_elem884) iprot.readListEnd() else: iprot.skip(ftype) @@ -19738,8 +19829,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter878 in self.processorCapabilities: - oprot.writeString(iter878) + for iter885 in self.processorCapabilities: + oprot.writeString(iter885) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -21043,44 +21134,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype882, _size879) = iprot.readListBegin() - for _i883 in xrange(_size879): - _elem884 = WMPool() - _elem884.read(iprot) - self.pools.append(_elem884) + (_etype889, _size886) = iprot.readListBegin() + for _i890 in xrange(_size886): + _elem891 = WMPool() + _elem891.read(iprot) + self.pools.append(_elem891) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype888, _size885) = iprot.readListBegin() - for _i889 in xrange(_size885): - _elem890 = WMMapping() - _elem890.read(iprot) - self.mappings.append(_elem890) + (_etype895, _size892) = iprot.readListBegin() + for _i896 in xrange(_size892): + _elem897 = WMMapping() + _elem897.read(iprot) + self.mappings.append(_elem897) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype894, _size891) = iprot.readListBegin() - for _i895 in xrange(_size891): - _elem896 = WMTrigger() - _elem896.read(iprot) - self.triggers.append(_elem896) + (_etype901, _size898) = iprot.readListBegin() + for _i902 in xrange(_size898): + _elem903 = WMTrigger() + _elem903.read(iprot) + self.triggers.append(_elem903) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype900, _size897) = iprot.readListBegin() - for _i901 in xrange(_size897): - _elem902 = WMPoolTrigger() - _elem902.read(iprot) - self.poolTriggers.append(_elem902) + (_etype907, _size904) = iprot.readListBegin() + for _i908 in xrange(_size904): + _elem909 = WMPoolTrigger() + _elem909.read(iprot) + self.poolTriggers.append(_elem909) iprot.readListEnd() else: iprot.skip(ftype) @@ -21101,29 +21192,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter903 in self.pools: - iter903.write(oprot) + for iter910 in self.pools: + iter910.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter904 in self.mappings: - iter904.write(oprot) + for iter911 in self.mappings: + iter911.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter905 in self.triggers: - iter905.write(oprot) + for iter912 in self.triggers: + iter912.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter906 in self.poolTriggers: - iter906.write(oprot) + for iter913 in self.poolTriggers: + iter913.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21648,11 +21739,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype910, _size907) = iprot.readListBegin() - for _i911 in xrange(_size907): - _elem912 = WMResourcePlan() - _elem912.read(iprot) - self.resourcePlans.append(_elem912) + (_etype917, _size914) = iprot.readListBegin() + for _i918 in xrange(_size914): + _elem919 = WMResourcePlan() + _elem919.read(iprot) + self.resourcePlans.append(_elem919) iprot.readListEnd() else: iprot.skip(ftype) @@ -21669,8 +21760,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter913 in self.resourcePlans: - iter913.write(oprot) + for iter920 in self.resourcePlans: + iter920.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22000,20 +22091,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype917, _size914) = iprot.readListBegin() - for _i918 in xrange(_size914): - _elem919 = iprot.readString() - self.errors.append(_elem919) + (_etype924, _size921) = iprot.readListBegin() + for _i925 in xrange(_size921): + _elem926 = iprot.readString() + self.errors.append(_elem926) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype923, _size920) = iprot.readListBegin() - for _i924 in xrange(_size920): - _elem925 = iprot.readString() - self.warnings.append(_elem925) + (_etype930, _size927) = iprot.readListBegin() + for _i931 in xrange(_size927): + _elem932 = iprot.readString() + self.warnings.append(_elem932) iprot.readListEnd() else: iprot.skip(ftype) @@ -22030,15 +22121,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter926 in self.errors: - oprot.writeString(iter926) + for iter933 in self.errors: + oprot.writeString(iter933) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter927 in self.warnings: - oprot.writeString(iter927) + for iter934 in self.warnings: + oprot.writeString(iter934) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22654,11 +22745,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype931, _size928) = iprot.readListBegin() - for _i932 in xrange(_size928): - _elem933 = WMTrigger() - _elem933.read(iprot) - self.triggers.append(_elem933) + (_etype938, _size935) = iprot.readListBegin() + for _i939 in xrange(_size935): + _elem940 = WMTrigger() + _elem940.read(iprot) + self.triggers.append(_elem940) iprot.readListEnd() else: iprot.skip(ftype) @@ -22675,8 +22766,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter934 in self.triggers: - iter934.write(oprot) + for iter941 in self.triggers: + iter941.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23886,11 +23977,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype938, _size935) = iprot.readListBegin() - for _i939 in xrange(_size935): - _elem940 = FieldSchema() - _elem940.read(iprot) - self.cols.append(_elem940) + (_etype945, _size942) = iprot.readListBegin() + for _i946 in xrange(_size942): + _elem947 = FieldSchema() + _elem947.read(iprot) + self.cols.append(_elem947) iprot.readListEnd() else: iprot.skip(ftype) @@ -23950,8 +24041,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter941 in self.cols: - iter941.write(oprot) + for iter948 in self.cols: + iter948.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -24206,11 +24297,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype945, _size942) = iprot.readListBegin() - for _i946 in xrange(_size942): - _elem947 = SchemaVersionDescriptor() - _elem947.read(iprot) - self.schemaVersions.append(_elem947) + (_etype952, _size949) = iprot.readListBegin() + for _i953 in xrange(_size949): + _elem954 = SchemaVersionDescriptor() + _elem954.read(iprot) + self.schemaVersions.append(_elem954) iprot.readListEnd() else: iprot.skip(ftype) @@ -24227,8 +24318,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter948 in self.schemaVersions: - iter948.write(oprot) + for iter955 in self.schemaVersions: + iter955.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24719,76 +24810,76 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.primaryKeys = [] - (_etype952, _size949) = iprot.readListBegin() - for _i953 in xrange(_size949): - _elem954 = SQLPrimaryKey() - _elem954.read(iprot) - self.primaryKeys.append(_elem954) + (_etype959, _size956) = iprot.readListBegin() + for _i960 in xrange(_size956): + _elem961 = SQLPrimaryKey() + _elem961.read(iprot) + self.primaryKeys.append(_elem961) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.foreignKeys = [] - (_etype958, _size955) = iprot.readListBegin() - for _i959 in xrange(_size955): - _elem960 = SQLForeignKey() - _elem960.read(iprot) - self.foreignKeys.append(_elem960) + (_etype965, _size962) = iprot.readListBegin() + for _i966 in xrange(_size962): + _elem967 = SQLForeignKey() + _elem967.read(iprot) + self.foreignKeys.append(_elem967) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype964, _size961) = iprot.readListBegin() - for _i965 in xrange(_size961): - _elem966 = SQLUniqueConstraint() - _elem966.read(iprot) - self.uniqueConstraints.append(_elem966) + (_etype971, _size968) = iprot.readListBegin() + for _i972 in xrange(_size968): + _elem973 = SQLUniqueConstraint() + _elem973.read(iprot) + self.uniqueConstraints.append(_elem973) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = SQLNotNullConstraint() - _elem972.read(iprot) - self.notNullConstraints.append(_elem972) + (_etype977, _size974) = iprot.readListBegin() + for _i978 in xrange(_size974): + _elem979 = SQLNotNullConstraint() + _elem979.read(iprot) + self.notNullConstraints.append(_elem979) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype976, _size973) = iprot.readListBegin() - for _i977 in xrange(_size973): - _elem978 = SQLDefaultConstraint() - _elem978.read(iprot) - self.defaultConstraints.append(_elem978) + (_etype983, _size980) = iprot.readListBegin() + for _i984 in xrange(_size980): + _elem985 = SQLDefaultConstraint() + _elem985.read(iprot) + self.defaultConstraints.append(_elem985) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 8: if ftype == TType.LIST: self.checkConstraints = [] - (_etype982, _size979) = iprot.readListBegin() - for _i983 in xrange(_size979): - _elem984 = SQLCheckConstraint() - _elem984.read(iprot) - self.checkConstraints.append(_elem984) + (_etype989, _size986) = iprot.readListBegin() + for _i990 in xrange(_size986): + _elem991 = SQLCheckConstraint() + _elem991.read(iprot) + self.checkConstraints.append(_elem991) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype988, _size985) = iprot.readListBegin() - for _i989 in xrange(_size985): - _elem990 = iprot.readString() - self.processorCapabilities.append(_elem990) + (_etype995, _size992) = iprot.readListBegin() + for _i996 in xrange(_size992): + _elem997 = iprot.readString() + self.processorCapabilities.append(_elem997) iprot.readListEnd() else: iprot.skip(ftype) @@ -24818,50 +24909,50 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter991 in self.primaryKeys: - iter991.write(oprot) + for iter998 in self.primaryKeys: + iter998.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter992 in self.foreignKeys: - iter992.write(oprot) + for iter999 in self.foreignKeys: + iter999.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter993 in self.uniqueConstraints: - iter993.write(oprot) + for iter1000 in self.uniqueConstraints: + iter1000.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter994 in self.notNullConstraints: - iter994.write(oprot) + for iter1001 in self.notNullConstraints: + iter1001.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter995 in self.defaultConstraints: - iter995.write(oprot) + for iter1002 in self.defaultConstraints: + iter1002.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter996 in self.checkConstraints: - iter996.write(oprot) + for iter1003 in self.checkConstraints: + iter1003.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 9) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter997 in self.processorCapabilities: - oprot.writeString(iter997) + for iter1004 in self.processorCapabilities: + oprot.writeString(iter1004) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -25542,11 +25633,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitions = [] - (_etype1001, _size998) = iprot.readListBegin() - for _i1002 in xrange(_size998): - _elem1003 = Partition() - _elem1003.read(iprot) - self.partitions.append(_elem1003) + (_etype1008, _size1005) = iprot.readListBegin() + for _i1009 in xrange(_size1005): + _elem1010 = Partition() + _elem1010.read(iprot) + self.partitions.append(_elem1010) iprot.readListEnd() else: iprot.skip(ftype) @@ -25591,8 +25682,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter1004 in self.partitions: - iter1004.write(oprot) + for iter1011 in self.partitions: + iter1011.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environmentContext is not None: @@ -25744,10 +25835,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype1008, _size1005) = iprot.readListBegin() - for _i1009 in xrange(_size1005): - _elem1010 = iprot.readString() - self.partVals.append(_elem1010) + (_etype1015, _size1012) = iprot.readListBegin() + for _i1016 in xrange(_size1012): + _elem1017 = iprot.readString() + self.partVals.append(_elem1017) iprot.readListEnd() else: iprot.skip(ftype) @@ -25787,8 +25878,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter1011 in self.partVals: - oprot.writeString(iter1011) + for iter1018 in self.partVals: + oprot.writeString(iter1018) oprot.writeListEnd() oprot.writeFieldEnd() if self.newPart is not None: @@ -25968,10 +26059,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1015, _size1012) = iprot.readListBegin() - for _i1016 in xrange(_size1012): - _elem1017 = iprot.readString() - self.processorCapabilities.append(_elem1017) + (_etype1022, _size1019) = iprot.readListBegin() + for _i1023 in xrange(_size1019): + _elem1024 = iprot.readString() + self.processorCapabilities.append(_elem1024) iprot.readListEnd() else: iprot.skip(ftype) @@ -26021,8 +26112,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1018 in self.processorCapabilities: - oprot.writeString(iter1018) + for iter1025 in self.processorCapabilities: + oprot.writeString(iter1025) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: @@ -26144,10 +26235,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldList = [] - (_etype1022, _size1019) = iprot.readListBegin() - for _i1023 in xrange(_size1019): - _elem1024 = iprot.readString() - self.fieldList.append(_elem1024) + (_etype1029, _size1026) = iprot.readListBegin() + for _i1030 in xrange(_size1026): + _elem1031 = iprot.readString() + self.fieldList.append(_elem1031) iprot.readListEnd() else: iprot.skip(ftype) @@ -26174,8 +26265,8 @@ def write(self, oprot): if self.fieldList is not None: oprot.writeFieldBegin('fieldList', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fieldList)) - for iter1025 in self.fieldList: - oprot.writeString(iter1025) + for iter1032 in self.fieldList: + oprot.writeString(iter1032) oprot.writeListEnd() oprot.writeFieldEnd() if self.includeParamKeyPattern is not None: @@ -26251,10 +26342,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.filters = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = iprot.readString() - self.filters.append(_elem1031) + (_etype1036, _size1033) = iprot.readListBegin() + for _i1037 in xrange(_size1033): + _elem1038 = iprot.readString() + self.filters.append(_elem1038) iprot.readListEnd() else: iprot.skip(ftype) @@ -26275,8 +26366,8 @@ def write(self, oprot): if self.filters is not None: oprot.writeFieldBegin('filters', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.filters)) - for iter1032 in self.filters: - oprot.writeString(iter1032) + for iter1039 in self.filters: + oprot.writeString(iter1039) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26329,11 +26420,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionSpec = [] - (_etype1036, _size1033) = iprot.readListBegin() - for _i1037 in xrange(_size1033): - _elem1038 = PartitionSpec() - _elem1038.read(iprot) - self.partitionSpec.append(_elem1038) + (_etype1043, _size1040) = iprot.readListBegin() + for _i1044 in xrange(_size1040): + _elem1045 = PartitionSpec() + _elem1045.read(iprot) + self.partitionSpec.append(_elem1045) iprot.readListEnd() else: iprot.skip(ftype) @@ -26350,8 +26441,8 @@ def write(self, oprot): if self.partitionSpec is not None: oprot.writeFieldBegin('partitionSpec', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionSpec)) - for iter1039 in self.partitionSpec: - iter1039.write(oprot) + for iter1046 in self.partitionSpec: + iter1046.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26455,10 +26546,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.groupNames = [] - (_etype1043, _size1040) = iprot.readListBegin() - for _i1044 in xrange(_size1040): - _elem1045 = iprot.readString() - self.groupNames.append(_elem1045) + (_etype1050, _size1047) = iprot.readListBegin() + for _i1051 in xrange(_size1047): + _elem1052 = iprot.readString() + self.groupNames.append(_elem1052) iprot.readListEnd() else: iprot.skip(ftype) @@ -26477,10 +26568,10 @@ def read(self, iprot): elif fid == 9: if ftype == TType.LIST: self.processorCapabilities = [] - (_etype1049, _size1046) = iprot.readListBegin() - for _i1050 in xrange(_size1046): - _elem1051 = iprot.readString() - self.processorCapabilities.append(_elem1051) + (_etype1056, _size1053) = iprot.readListBegin() + for _i1057 in xrange(_size1053): + _elem1058 = iprot.readString() + self.processorCapabilities.append(_elem1058) iprot.readListEnd() else: iprot.skip(ftype) @@ -26522,8 +26613,8 @@ def write(self, oprot): if self.groupNames is not None: oprot.writeFieldBegin('groupNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.groupNames)) - for iter1052 in self.groupNames: - oprot.writeString(iter1052) + for iter1059 in self.groupNames: + oprot.writeString(iter1059) oprot.writeListEnd() oprot.writeFieldEnd() if self.projectionSpec is not None: @@ -26537,8 +26628,8 @@ def write(self, oprot): if self.processorCapabilities is not None: oprot.writeFieldBegin('processorCapabilities', TType.LIST, 9) oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) - for iter1053 in self.processorCapabilities: - oprot.writeString(iter1053) + for iter1060 in self.processorCapabilities: + oprot.writeString(iter1060) oprot.writeListEnd() oprot.writeFieldEnd() if self.processorIdentifier is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb index e64ae0ead2..86aa4f3f3b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -2247,6 +2247,26 @@ class PartitionsByExprResult ::Thrift::Struct.generate_accessors self end +class PartitionsSpecByExprResult + include ::Thrift::Struct, ::Thrift::Struct_Union + PARTITIONSSPEC = 1 + HASUNKNOWNPARTITIONS = 2 + + FIELDS = { + PARTITIONSSPEC => {:type => ::Thrift::Types::LIST, :name => 'partitionsSpec', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PartitionSpec}}, + HASUNKNOWNPARTITIONS => {:type => ::Thrift::Types::BOOL, :name => 'hasUnknownPartitions'} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partitionsSpec is unset!') unless @partitionsSpec + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field hasUnknownPartitions is unset!') if @hasUnknownPartitions.nil? + end + + ::Thrift::Struct.generate_accessors self +end + class PartitionsByExprRequest include ::Thrift::Struct, ::Thrift::Struct_Union DBNAME = 1 diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index da74d4c317..efd2aff512 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1450,6 +1450,23 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_by_expr failed: unknown result') end + def get_partitions_spec_by_expr(req) + send_get_partitions_spec_by_expr(req) + return recv_get_partitions_spec_by_expr() + end + + def send_get_partitions_spec_by_expr(req) + send_message('get_partitions_spec_by_expr', Get_partitions_spec_by_expr_args, :req => req) + end + + def recv_get_partitions_spec_by_expr() + result = receive_message(Get_partitions_spec_by_expr_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_partitions_spec_by_expr failed: unknown result') + end + def get_num_partitions_by_filter(db_name, tbl_name, filter) send_get_num_partitions_by_filter(db_name, tbl_name, filter) return recv_get_num_partitions_by_filter() @@ -4991,6 +5008,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_partitions_by_expr', seqid) end + def process_get_partitions_spec_by_expr(seqid, iprot, oprot) + args = read_args(iprot, Get_partitions_spec_by_expr_args) + result = Get_partitions_spec_by_expr_result.new() + begin + result.success = @handler.get_partitions_spec_by_expr(args.req) + rescue ::MetaException => o1 + result.o1 = o1 + rescue ::NoSuchObjectException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'get_partitions_spec_by_expr', seqid) + end + def process_get_num_partitions_by_filter(seqid, iprot, oprot) args = read_args(iprot, Get_num_partitions_by_filter_args) result = Get_num_partitions_by_filter_result.new() @@ -10002,6 +10032,42 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_partitions_spec_by_expr_args + include ::Thrift::Struct, ::Thrift::Struct_Union + REQ = 1 + + FIELDS = { + REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::PartitionsByExprRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_partitions_spec_by_expr_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PartitionsSpecByExprResult}, + 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_num_partitions_by_filter_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_NAME = 1 diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 205c867db1..31bc249127 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -1941,6 +1941,48 @@ public boolean listPartitionsByExpr(String catName, String db_name, String tbl_n return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst. } + @Override + public boolean listPartitionsSpecByExpr(String db_name, String tbl_name, + byte[] expr, String default_partition_name, short max_parts, List result) + throws TException { + return listPartitionsSpecByExpr(getDefaultCatalog(conf), db_name, tbl_name, expr, default_partition_name, + max_parts, result); + } + + @Override + public boolean listPartitionsSpecByExpr(String catName, String db_name, String tbl_name, byte[] expr, + String default_partition_name, short max_parts, List result) + throws TException { + assert result != null; + PartitionsByExprRequest req = new PartitionsByExprRequest( + db_name, tbl_name, ByteBuffer.wrap(expr)); + if (default_partition_name != null) { + req.setDefaultPartitionName(default_partition_name); + } + if (max_parts >= 0) { + req.setMaxParts(max_parts); + } + PartitionsSpecByExprResult r; + try { + r = client.get_partitions_spec_by_expr(req); + } catch (TApplicationException te) { + // TODO: backward compat for Hive <= 0.12. Can be removed later. + if (te.getType() != TApplicationException.UNKNOWN_METHOD + && te.getType() != TApplicationException.WRONG_METHOD_NAME) { + throw te; + } + throw new IncompatibleMetastoreException( + "Metastore doesn't support listPartitionsByExpr: " + te.getMessage()); + } + + //TODO: filtering if client side filtering isClientFilterEnabled on + r.setPartitionsSpec(r.getPartitionsSpec()); + // TODO: in these methods, do we really need to deepcopy? + //deepCopyPartitions(r.getPartitions(), result); + result.addAll(r.getPartitionsSpec()); + return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst. + } + @Override public Database getDatabase(String name) throws TException { return getDatabase(getDefaultCatalog(conf), name); diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index b58b1e4a07..616962bf8d 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1324,6 +1324,41 @@ PartitionSpecProxy listPartitionSpecsByFilter(String catName, String db_name, St String filter, int max_parts) throws MetaException, NoSuchObjectException, TException; + /** + * Get list of {@link PartitionSpec} matching specified serialized expression + * @param db_name the database name + * @param tbl_name the table name + * @param expr expression, serialized from ExprNodeDesc + * @param max_parts the maximum number of partitions to return, + * all partitions are returned if -1 is passed + * @param default_partition_name Default partition name from configuration. If blank, the + * metastore server-side configuration is used. + * @param result the resulting list of partitions + * @return whether the resulting list contains partitions which may or may not match the expr + * @throws TException thrift transport error or error executing the filter. + */ + boolean listPartitionsSpecByExpr(String db_name, String tbl_name, + byte[] expr, String default_partition_name, short max_parts, List result) + throws TException; + + /** + * Get list of {@link PartitionSpec} matching specified serialized expression + * @param catName the catalog name + * @param db_name the database name + * @param tbl_name the table name + * @param expr expression, serialized from ExprNodeDesc + * @param max_parts the maximum number of partitions to return, + * all partitions are returned if -1 is passed + * @param default_partition_name Default partition name from configuration. If blank, the + * metastore server-side configuration is used. + * @param result the resulting list of partitions + * @return whether the resulting list contains partitions which may or may not match the expr + * @throws TException thrift transport error or error executing the filter. + */ + boolean listPartitionsSpecByExpr(String catName, String db_name, String tbl_name, + byte[] expr, String default_partition_name, short max_parts, List result) + throws TException; + /** * Get list of partitions matching specified serialized expression * @param db_name the database name @@ -1339,7 +1374,7 @@ PartitionSpecProxy listPartitionSpecsByFilter(String catName, String db_name, St */ boolean listPartitionsByExpr(String db_name, String tbl_name, byte[] expr, String default_partition_name, short max_parts, List result) - throws TException; + throws TException; /** * Get list of partitions matching specified serialized expression diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index a874121e12..9ce0085b0c 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java @@ -755,6 +755,7 @@ public static ConfVars getMetaConf(String name) { "get_partitions, \n" + "get_partitions_with_auth, \n" + "get_partitions_by_filter, \n" + + "get_partitions_spec_by_filter, \n" + "get_partitions_by_expr.\n" + "The default value \"-1\" means no limit."), LOG4J_FILE("metastore.log4j.file", "hive.log4j.file", "", diff --git a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 1e3d6e9b8b..c21923e817 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -759,6 +759,13 @@ struct PartitionsByExprResult { 2: required bool hasUnknownPartitions } +// Return type for get_partitions_spec_by_expr +struct PartitionsSpecByExprResult { +1: required list partitionsSpec, +// Whether the results has any (currently, all) partitions which may or may not match +2: required bool hasUnknownPartitions +} + struct PartitionsByExprRequest { 1: required string dbName, 2: required string tblName, @@ -2256,6 +2263,12 @@ service ThriftHiveMetastore extends fb303.FacebookService throws(1:MetaException o1, 2:NoSuchObjectException o2) // get the partitions matching the given partition filter + // unlike get_partitions_by_expr, this returns PartitionSpec which contains deduplicated + // storage descriptor + PartitionsSpecByExprResult get_partitions_spec_by_expr(1:PartitionsByExprRequest req) + throws(1:MetaException o1, 2:NoSuchObjectException o2) + + // get the partitions matching the given partition filter i32 get_num_partitions_by_filter(1:string db_name 2:string tbl_name 3:string filter) throws(1:MetaException o1, 2:NoSuchObjectException o2) diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 77d34047a4..a18b364bcc 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -6711,6 +6711,33 @@ public boolean delete_table_column_statistics(String dbName, String tableName, S } } + @Override + public PartitionsSpecByExprResult get_partitions_spec_by_expr( + PartitionsByExprRequest req) throws TException { + String dbName = req.getDbName(), tblName = req.getTblName(); + String catName = req.isSetCatName() ? req.getCatName() : getDefaultCatalog(conf); + startTableFunction("get_partitions_spec_by_expr", catName, dbName, tblName); + fireReadTablePreEvent(catName, dbName, tblName); + PartitionsSpecByExprResult ret = null; + Exception ex = null; + try { + checkLimitNumberOfPartitionsByExpr(catName, dbName, tblName, req.getExpr(), UNLIMITED_MAX_PARTITIONS); + List partitions = new LinkedList<>(); + boolean hasUnknownPartitions = getMS().getPartitionsByExpr(catName, dbName, tblName, + req.getExpr(), req.getDefaultPartitionName(), req.getMaxParts(), partitions); + Table table = get_table_core(catName, dbName, tblName); + List partitionSpecs = + MetaStoreServerUtils.getPartitionspecsGroupedByStorageDescriptor(table, partitions); + ret = new PartitionsSpecByExprResult(partitionSpecs, hasUnknownPartitions); + } catch (Exception e) { + ex = e; + rethrowException(e); + } finally { + endFunction("get_partitions_spec_by_expr", ret != null, ex, tblName); + } + return ret; + } + @Override public PartitionsByExprResult get_partitions_by_expr( PartitionsByExprRequest req) throws TException { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java index 799e879dd1..7dffbcb2c8 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java @@ -1009,6 +1009,7 @@ public static String getTokenStoreClassName(Configuration conf) { Collection partitions) { final String tablePath = table.getSd().getLocation(); + ImmutableListMultimap partitionsWithinTableDirectory = Multimaps.index(partitions, input -> { // if sd is not in the list of projected fields, all the partitions @@ -1016,6 +1017,21 @@ public static String getTokenStoreClassName(Configuration conf) { if (input.getSd() == null) { return StorageDescriptorKey.UNSET_KEY; } + + // if sd has skewed columns we better not group partition, since different partitions + // could have different skewed info like skewed location + if (input.getSd().getSkewedInfo() != null + && input.getSd().getSkewedInfo().getSkewedColNames() != null + && !input.getSd().getSkewedInfo().getSkewedColNames().isEmpty()) { + return new StorageDescriptorKey(input.getSd()); + } + + // if partitions don't have the same number of buckets we can not group their SD, + // this could lead to incorrect number of buckets + if (input.getSd().getNumBuckets() + != partitions.iterator().next().getSd().getNumBuckets()) { + return new StorageDescriptorKey(input.getSd()); + } // if the partition is within table, use the tableSDKey to group it with other partitions // within the table directory if (input.getSd().getLocation() != null && input.getSd().getLocation() diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index fc071f9a20..10fcef813c 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -1364,6 +1364,48 @@ public boolean listPartitionsByExpr(String db_name, String tbl_name, byte[] expr return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst. } + @Override + public boolean listPartitionsSpecByExpr(String db_name, String tbl_name, + byte[] expr, String default_partition_name, short max_parts, List result) + throws TException { + return listPartitionsSpecByExpr(getDefaultCatalog(conf), db_name, tbl_name, expr, default_partition_name, + max_parts, result); + } + + @Override + public boolean listPartitionsSpecByExpr(String catName, String db_name, String tbl_name, byte[] expr, + String default_partition_name, short max_parts, List result) + throws TException { + assert result != null; + PartitionsByExprRequest req = new PartitionsByExprRequest( + db_name, tbl_name, ByteBuffer.wrap(expr)); + if (default_partition_name != null) { + req.setDefaultPartitionName(default_partition_name); + } + if (max_parts >= 0) { + req.setMaxParts(max_parts); + } + PartitionsSpecByExprResult r; + try { + r = client.get_partitions_spec_by_expr(req); + } catch (TApplicationException te) { + // TODO: backward compat for Hive <= 0.12. Can be removed later. + if (te.getType() != TApplicationException.UNKNOWN_METHOD + && te.getType() != TApplicationException.WRONG_METHOD_NAME) { + throw te; + } + throw new IncompatibleMetastoreException( + "Metastore doesn't support listPartitionsByExpr: " + te.getMessage()); + } + + //TODO: filtering if client side filtering isClientFilterEnabled on + r.setPartitionsSpec(r.getPartitionsSpec()); + // TODO: in these methods, do we really need to deepcopy? + //deepCopyPartitions(r.getPartitions(), result); + result.addAll(r.getPartitionsSpec()); + return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst. + } + /** * @param name * @return the database