You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by vi...@apache.org on 2019/04/16 19:57:29 UTC
[hive] branch master updated: HIVE-21586 : Thrift generated cpp
files for metastore do not compile (Vihang Karajgaonkar reviewed by Peter
Vary)
This is an automated email from the ASF dual-hosted git repository.
vihangk1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new a3de49f HIVE-21586 : Thrift generated cpp files for metastore do not compile (Vihang Karajgaonkar reviewed by Peter Vary)
a3de49f is described below
commit a3de49f518a08b6b287ce95283ed9e28f580a8c5
Author: Vihang Karajgaonkar <vi...@apache.org>
AuthorDate: Tue Apr 16 10:39:22 2019 -0700
HIVE-21586 : Thrift generated cpp files for metastore do not compile (Vihang Karajgaonkar reviewed by Peter Vary)
---
.../hive/metastore/api/AbortTxnsRequest.java | 32 +-
.../metastore/api/AddCheckConstraintRequest.java | 36 +-
.../metastore/api/AddDefaultConstraintRequest.java | 36 +-
.../hive/metastore/api/AddDynamicPartitions.java | 32 +-
.../hive/metastore/api/AddForeignKeyRequest.java | 36 +-
.../metastore/api/AddNotNullConstraintRequest.java | 36 +-
.../hive/metastore/api/AddPartitionsRequest.java | 36 +-
.../hive/metastore/api/AddPartitionsResult.java | 36 +-
.../hive/metastore/api/AddPrimaryKeyRequest.java | 36 +-
.../metastore/api/AddUniqueConstraintRequest.java | 36 +-
.../hadoop/hive/metastore/api/AggrStats.java | 36 +-
.../api/AllocateTableWriteIdsRequest.java | 72 +-
.../api/AllocateTableWriteIdsResponse.java | 36 +-
.../metastore/api/CheckConstraintsResponse.java | 36 +-
.../hive/metastore/api/ColumnStatistics.java | 36 +-
.../hive/metastore/api/CommitTxnRequest.java | 43 +-
.../hive/metastore/api/CompactionRequest.java | 44 +-
.../hive/metastore/api/CreationMetadata.java | 32 +-
.../metastore/api/DefaultConstraintsResponse.java | 36 +-
.../hive/metastore/api/DropPartitionsResult.java | 36 +-
.../hive/metastore/api/EnvironmentContext.java | 44 +-
.../hive/metastore/api/ForeignKeysResponse.java | 36 +-
.../apache/hadoop/hive/metastore/api/Function.java | 36 +-
.../metastore/api/GetOpenTxnsInfoResponse.java | 36 +-
.../hive/metastore/api/GetOpenTxnsResponse.java | 32 +-
.../metastore/api/GetPartitionsByNamesRequest.java | 32 +-
.../metastore/api/GetPartitionsByNamesResult.java | 36 +-
.../metastore/api/GetValidWriteIdsRequest.java | 32 +-
.../metastore/api/GetValidWriteIdsResponse.java | 36 +-
.../metastore/api/HeartbeatTxnRangeResponse.java | 64 +-
.../hadoop/hive/metastore/api/LockRequest.java | 36 +-
.../metastore/api/NotNullConstraintsResponse.java | 36 +-
.../hadoop/hive/metastore/api/OpenTxnRequest.java | 32 +-
.../hive/metastore/api/OpenTxnsResponse.java | 32 +-
.../api/OptionalCompactionInfoStruct.java | 7 +-
.../hadoop/hive/metastore/api/Partition.java | 76 +-
.../metastore/api/PartitionListComposingSpec.java | 36 +-
.../metastore/api/PartitionSpecWithSharedSD.java | 36 +-
.../hive/metastore/api/PartitionValuesRequest.java | 72 +-
.../metastore/api/PartitionValuesResponse.java | 36 +-
.../hive/metastore/api/PartitionValuesRow.java | 32 +-
.../hive/metastore/api/PartitionWithoutSD.java | 76 +-
.../hive/metastore/api/PartitionsByExprResult.java | 36 +-
.../hive/metastore/api/PartitionsStatsRequest.java | 64 +-
.../hive/metastore/api/PartitionsStatsResult.java | 76 +-
.../hive/metastore/api/PrimaryKeysResponse.java | 36 +-
.../metastore/api/ReplTblWriteIdStateRequest.java | 32 +-
.../hive/metastore/api/RequestPartsSpec.java | 68 +-
.../apache/hadoop/hive/metastore/api/Schema.java | 80 +-
.../metastore/api/SetPartitionsStatsRequest.java | 36 +-
.../hive/metastore/api/ShowCompactResponse.java | 36 +-
.../hive/metastore/api/ShowLocksResponse.java | 36 +-
.../apache/hadoop/hive/metastore/api/Table.java | 87 +-
.../hive/metastore/api/TableStatsRequest.java | 32 +-
.../hive/metastore/api/TableStatsResult.java | 36 +-
.../hive/metastore/api/TableValidWriteIds.java | 32 +-
.../metastore/api/UniqueConstraintsResponse.java | 36 +-
.../src/gen/thrift/gen-php/metastore/Types.php | 2482 ++++++++++----------
.../src/gen/thrift/gen-py/hive_metastore/ttypes.py | 1806 +++++++-------
.../src/gen/thrift/gen-rb/hive_metastore_types.rb | 182 +-
.../src/main/thrift/hive_metastore.thrift | 55 +-
61 files changed, 3454 insertions(+), 3444 deletions(-)
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 9661778..a028a3a 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 @@ import org.slf4j.LoggerFactory;
case 1: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list610 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list610.size);
- long _elem611;
- for (int _i612 = 0; _i612 < _list610.size; ++_i612)
+ org.apache.thrift.protocol.TList _list618 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list618.size);
+ long _elem619;
+ for (int _i620 = 0; _i620 < _list618.size; ++_i620)
{
- _elem611 = iprot.readI64();
- struct.txn_ids.add(_elem611);
+ _elem619 = iprot.readI64();
+ struct.txn_ids.add(_elem619);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
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 _iter613 : struct.txn_ids)
+ for (long _iter621 : struct.txn_ids)
{
- oprot.writeI64(_iter613);
+ oprot.writeI64(_iter621);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter614 : struct.txn_ids)
+ for (long _iter622 : struct.txn_ids)
{
- oprot.writeI64(_iter614);
+ oprot.writeI64(_iter622);
}
}
}
@@ -421,13 +421,13 @@ import org.slf4j.LoggerFactory;
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 _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list615.size);
- long _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.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list623.size);
+ long _elem624;
+ for (int _i625 = 0; _i625 < _list623.size; ++_i625)
{
- _elem616 = iprot.readI64();
- struct.txn_ids.add(_elem616);
+ _elem624 = iprot.readI64();
+ struct.txn_ids.add(_elem624);
}
}
struct.setTxn_idsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java
index 8ece410..f89c029 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // CHECK_CONSTRAINT_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list416 = iprot.readListBegin();
- struct.checkConstraintCols = new ArrayList<SQLCheckConstraint>(_list416.size);
- SQLCheckConstraint _elem417;
- for (int _i418 = 0; _i418 < _list416.size; ++_i418)
+ org.apache.thrift.protocol.TList _list424 = iprot.readListBegin();
+ struct.checkConstraintCols = new ArrayList<SQLCheckConstraint>(_list424.size);
+ SQLCheckConstraint _elem425;
+ for (int _i426 = 0; _i426 < _list424.size; ++_i426)
{
- _elem417 = new SQLCheckConstraint();
- _elem417.read(iprot);
- struct.checkConstraintCols.add(_elem417);
+ _elem425 = new SQLCheckConstraint();
+ _elem425.read(iprot);
+ struct.checkConstraintCols.add(_elem425);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(CHECK_CONSTRAINT_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraintCols.size()));
- for (SQLCheckConstraint _iter419 : struct.checkConstraintCols)
+ for (SQLCheckConstraint _iter427 : struct.checkConstraintCols)
{
- _iter419.write(oprot);
+ _iter427.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.checkConstraintCols.size());
- for (SQLCheckConstraint _iter420 : struct.checkConstraintCols)
+ for (SQLCheckConstraint _iter428 : struct.checkConstraintCols)
{
- _iter420.write(oprot);
+ _iter428.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddCheckConstraintRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.checkConstraintCols = new ArrayList<SQLCheckConstraint>(_list421.size);
- SQLCheckConstraint _elem422;
- for (int _i423 = 0; _i423 < _list421.size; ++_i423)
+ org.apache.thrift.protocol.TList _list429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.checkConstraintCols = new ArrayList<SQLCheckConstraint>(_list429.size);
+ SQLCheckConstraint _elem430;
+ for (int _i431 = 0; _i431 < _list429.size; ++_i431)
{
- _elem422 = new SQLCheckConstraint();
- _elem422.read(iprot);
- struct.checkConstraintCols.add(_elem422);
+ _elem430 = new SQLCheckConstraint();
+ _elem430.read(iprot);
+ struct.checkConstraintCols.add(_elem430);
}
}
struct.setCheckConstraintColsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java
index 8a125d8..f394431 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // DEFAULT_CONSTRAINT_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list408 = iprot.readListBegin();
- struct.defaultConstraintCols = new ArrayList<SQLDefaultConstraint>(_list408.size);
- SQLDefaultConstraint _elem409;
- for (int _i410 = 0; _i410 < _list408.size; ++_i410)
+ org.apache.thrift.protocol.TList _list416 = iprot.readListBegin();
+ struct.defaultConstraintCols = new ArrayList<SQLDefaultConstraint>(_list416.size);
+ SQLDefaultConstraint _elem417;
+ for (int _i418 = 0; _i418 < _list416.size; ++_i418)
{
- _elem409 = new SQLDefaultConstraint();
- _elem409.read(iprot);
- struct.defaultConstraintCols.add(_elem409);
+ _elem417 = new SQLDefaultConstraint();
+ _elem417.read(iprot);
+ struct.defaultConstraintCols.add(_elem417);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(DEFAULT_CONSTRAINT_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraintCols.size()));
- for (SQLDefaultConstraint _iter411 : struct.defaultConstraintCols)
+ for (SQLDefaultConstraint _iter419 : struct.defaultConstraintCols)
{
- _iter411.write(oprot);
+ _iter419.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.defaultConstraintCols.size());
- for (SQLDefaultConstraint _iter412 : struct.defaultConstraintCols)
+ for (SQLDefaultConstraint _iter420 : struct.defaultConstraintCols)
{
- _iter412.write(oprot);
+ _iter420.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddDefaultConstraintRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.defaultConstraintCols = new ArrayList<SQLDefaultConstraint>(_list413.size);
- SQLDefaultConstraint _elem414;
- for (int _i415 = 0; _i415 < _list413.size; ++_i415)
+ org.apache.thrift.protocol.TList _list421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.defaultConstraintCols = new ArrayList<SQLDefaultConstraint>(_list421.size);
+ SQLDefaultConstraint _elem422;
+ for (int _i423 = 0; _i423 < _list421.size; ++_i423)
{
- _elem414 = new SQLDefaultConstraint();
- _elem414.read(iprot);
- struct.defaultConstraintCols.add(_elem414);
+ _elem422 = new SQLDefaultConstraint();
+ _elem422.read(iprot);
+ struct.defaultConstraintCols.add(_elem422);
}
}
struct.setDefaultConstraintColsIsSet(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 d678c02..9f4b4be 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 @@ import org.slf4j.LoggerFactory;
case 5: // PARTITIONNAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
- struct.partitionnames = new ArrayList<String>(_list740.size);
- String _elem741;
- for (int _i742 = 0; _i742 < _list740.size; ++_i742)
+ org.apache.thrift.protocol.TList _list748 = iprot.readListBegin();
+ struct.partitionnames = new ArrayList<String>(_list748.size);
+ String _elem749;
+ for (int _i750 = 0; _i750 < _list748.size; ++_i750)
{
- _elem741 = iprot.readString();
- struct.partitionnames.add(_elem741);
+ _elem749 = iprot.readString();
+ struct.partitionnames.add(_elem749);
}
iprot.readListEnd();
}
@@ -872,9 +872,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size()));
- for (String _iter743 : struct.partitionnames)
+ for (String _iter751 : struct.partitionnames)
{
- oprot.writeString(_iter743);
+ oprot.writeString(_iter751);
}
oprot.writeListEnd();
}
@@ -910,9 +910,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tablename);
{
oprot.writeI32(struct.partitionnames.size());
- for (String _iter744 : struct.partitionnames)
+ for (String _iter752 : struct.partitionnames)
{
- oprot.writeString(_iter744);
+ oprot.writeString(_iter752);
}
}
BitSet optionals = new BitSet();
@@ -937,13 +937,13 @@ import org.slf4j.LoggerFactory;
struct.tablename = iprot.readString();
struct.setTablenameIsSet(true);
{
- org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partitionnames = new ArrayList<String>(_list745.size);
- String _elem746;
- for (int _i747 = 0; _i747 < _list745.size; ++_i747)
+ org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partitionnames = new ArrayList<String>(_list753.size);
+ String _elem754;
+ for (int _i755 = 0; _i755 < _list753.size; ++_i755)
{
- _elem746 = iprot.readString();
- struct.partitionnames.add(_elem746);
+ _elem754 = iprot.readString();
+ struct.partitionnames.add(_elem754);
}
}
struct.setPartitionnamesIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java
index 0f443d4..5aa4c0a 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // FOREIGN_KEY_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list384 = iprot.readListBegin();
- struct.foreignKeyCols = new ArrayList<SQLForeignKey>(_list384.size);
- SQLForeignKey _elem385;
- for (int _i386 = 0; _i386 < _list384.size; ++_i386)
+ org.apache.thrift.protocol.TList _list392 = iprot.readListBegin();
+ struct.foreignKeyCols = new ArrayList<SQLForeignKey>(_list392.size);
+ SQLForeignKey _elem393;
+ for (int _i394 = 0; _i394 < _list392.size; ++_i394)
{
- _elem385 = new SQLForeignKey();
- _elem385.read(iprot);
- struct.foreignKeyCols.add(_elem385);
+ _elem393 = new SQLForeignKey();
+ _elem393.read(iprot);
+ struct.foreignKeyCols.add(_elem393);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FOREIGN_KEY_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeyCols.size()));
- for (SQLForeignKey _iter387 : struct.foreignKeyCols)
+ for (SQLForeignKey _iter395 : struct.foreignKeyCols)
{
- _iter387.write(oprot);
+ _iter395.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.foreignKeyCols.size());
- for (SQLForeignKey _iter388 : struct.foreignKeyCols)
+ for (SQLForeignKey _iter396 : struct.foreignKeyCols)
{
- _iter388.write(oprot);
+ _iter396.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.foreignKeyCols = new ArrayList<SQLForeignKey>(_list389.size);
- SQLForeignKey _elem390;
- for (int _i391 = 0; _i391 < _list389.size; ++_i391)
+ org.apache.thrift.protocol.TList _list397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.foreignKeyCols = new ArrayList<SQLForeignKey>(_list397.size);
+ SQLForeignKey _elem398;
+ for (int _i399 = 0; _i399 < _list397.size; ++_i399)
{
- _elem390 = new SQLForeignKey();
- _elem390.read(iprot);
- struct.foreignKeyCols.add(_elem390);
+ _elem398 = new SQLForeignKey();
+ _elem398.read(iprot);
+ struct.foreignKeyCols.add(_elem398);
}
}
struct.setForeignKeyColsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java
index 0266bba..4995157 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // NOT_NULL_CONSTRAINT_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list400 = iprot.readListBegin();
- struct.notNullConstraintCols = new ArrayList<SQLNotNullConstraint>(_list400.size);
- SQLNotNullConstraint _elem401;
- for (int _i402 = 0; _i402 < _list400.size; ++_i402)
+ org.apache.thrift.protocol.TList _list408 = iprot.readListBegin();
+ struct.notNullConstraintCols = new ArrayList<SQLNotNullConstraint>(_list408.size);
+ SQLNotNullConstraint _elem409;
+ for (int _i410 = 0; _i410 < _list408.size; ++_i410)
{
- _elem401 = new SQLNotNullConstraint();
- _elem401.read(iprot);
- struct.notNullConstraintCols.add(_elem401);
+ _elem409 = new SQLNotNullConstraint();
+ _elem409.read(iprot);
+ struct.notNullConstraintCols.add(_elem409);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(NOT_NULL_CONSTRAINT_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraintCols.size()));
- for (SQLNotNullConstraint _iter403 : struct.notNullConstraintCols)
+ for (SQLNotNullConstraint _iter411 : struct.notNullConstraintCols)
{
- _iter403.write(oprot);
+ _iter411.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.notNullConstraintCols.size());
- for (SQLNotNullConstraint _iter404 : struct.notNullConstraintCols)
+ for (SQLNotNullConstraint _iter412 : struct.notNullConstraintCols)
{
- _iter404.write(oprot);
+ _iter412.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstraintRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.notNullConstraintCols = new ArrayList<SQLNotNullConstraint>(_list405.size);
- SQLNotNullConstraint _elem406;
- for (int _i407 = 0; _i407 < _list405.size; ++_i407)
+ org.apache.thrift.protocol.TList _list413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.notNullConstraintCols = new ArrayList<SQLNotNullConstraint>(_list413.size);
+ SQLNotNullConstraint _elem414;
+ for (int _i415 = 0; _i415 < _list413.size; ++_i415)
{
- _elem406 = new SQLNotNullConstraint();
- _elem406.read(iprot);
- struct.notNullConstraintCols.add(_elem406);
+ _elem414 = new SQLNotNullConstraint();
+ _elem414.read(iprot);
+ struct.notNullConstraintCols.add(_elem414);
}
}
struct.setNotNullConstraintColsIsSet(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 469a9a8..f7dcd1f 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 @@ import org.slf4j.LoggerFactory;
case 3: // PARTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list490 = iprot.readListBegin();
- struct.parts = new ArrayList<Partition>(_list490.size);
- Partition _elem491;
- for (int _i492 = 0; _i492 < _list490.size; ++_i492)
+ org.apache.thrift.protocol.TList _list498 = iprot.readListBegin();
+ struct.parts = new ArrayList<Partition>(_list498.size);
+ Partition _elem499;
+ for (int _i500 = 0; _i500 < _list498.size; ++_i500)
{
- _elem491 = new Partition();
- _elem491.read(iprot);
- struct.parts.add(_elem491);
+ _elem499 = new Partition();
+ _elem499.read(iprot);
+ struct.parts.add(_elem499);
}
iprot.readListEnd();
}
@@ -941,9 +941,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.parts.size()));
- for (Partition _iter493 : struct.parts)
+ for (Partition _iter501 : struct.parts)
{
- _iter493.write(oprot);
+ _iter501.write(oprot);
}
oprot.writeListEnd();
}
@@ -992,9 +992,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.parts.size());
- for (Partition _iter494 : struct.parts)
+ for (Partition _iter502 : struct.parts)
{
- _iter494.write(oprot);
+ _iter502.write(oprot);
}
}
oprot.writeBool(struct.ifNotExists);
@@ -1028,14 +1028,14 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list495 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.parts = new ArrayList<Partition>(_list495.size);
- Partition _elem496;
- for (int _i497 = 0; _i497 < _list495.size; ++_i497)
+ org.apache.thrift.protocol.TList _list503 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.parts = new ArrayList<Partition>(_list503.size);
+ Partition _elem504;
+ for (int _i505 = 0; _i505 < _list503.size; ++_i505)
{
- _elem496 = new Partition();
- _elem496.read(iprot);
- struct.parts.add(_elem496);
+ _elem504 = new Partition();
+ _elem504.read(iprot);
+ struct.parts.add(_elem504);
}
}
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 a00af60..4065d16 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 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list482 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list482.size);
- Partition _elem483;
- for (int _i484 = 0; _i484 < _list482.size; ++_i484)
+ org.apache.thrift.protocol.TList _list490 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list490.size);
+ Partition _elem491;
+ for (int _i492 = 0; _i492 < _list490.size; ++_i492)
{
- _elem483 = new Partition();
- _elem483.read(iprot);
- struct.partitions.add(_elem483);
+ _elem491 = new Partition();
+ _elem491.read(iprot);
+ struct.partitions.add(_elem491);
}
iprot.readListEnd();
}
@@ -468,9 +468,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter485 : struct.partitions)
+ for (Partition _iter493 : struct.partitions)
{
- _iter485.write(oprot);
+ _iter493.write(oprot);
}
oprot.writeListEnd();
}
@@ -510,9 +510,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter486 : struct.partitions)
+ for (Partition _iter494 : struct.partitions)
{
- _iter486.write(oprot);
+ _iter494.write(oprot);
}
}
}
@@ -527,14 +527,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list487.size);
- Partition _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.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list495.size);
+ Partition _elem496;
+ for (int _i497 = 0; _i497 < _list495.size; ++_i497)
{
- _elem488 = new Partition();
- _elem488.read(iprot);
- struct.partitions.add(_elem488);
+ _elem496 = new Partition();
+ _elem496.read(iprot);
+ struct.partitions.add(_elem496);
}
}
struct.setPartitionsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java
index 9069a41..250909a 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // PRIMARY_KEY_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list376 = iprot.readListBegin();
- struct.primaryKeyCols = new ArrayList<SQLPrimaryKey>(_list376.size);
- SQLPrimaryKey _elem377;
- for (int _i378 = 0; _i378 < _list376.size; ++_i378)
+ org.apache.thrift.protocol.TList _list384 = iprot.readListBegin();
+ struct.primaryKeyCols = new ArrayList<SQLPrimaryKey>(_list384.size);
+ SQLPrimaryKey _elem385;
+ for (int _i386 = 0; _i386 < _list384.size; ++_i386)
{
- _elem377 = new SQLPrimaryKey();
- _elem377.read(iprot);
- struct.primaryKeyCols.add(_elem377);
+ _elem385 = new SQLPrimaryKey();
+ _elem385.read(iprot);
+ struct.primaryKeyCols.add(_elem385);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PRIMARY_KEY_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeyCols.size()));
- for (SQLPrimaryKey _iter379 : struct.primaryKeyCols)
+ for (SQLPrimaryKey _iter387 : struct.primaryKeyCols)
{
- _iter379.write(oprot);
+ _iter387.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.primaryKeyCols.size());
- for (SQLPrimaryKey _iter380 : struct.primaryKeyCols)
+ for (SQLPrimaryKey _iter388 : struct.primaryKeyCols)
{
- _iter380.write(oprot);
+ _iter388.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.primaryKeyCols = new ArrayList<SQLPrimaryKey>(_list381.size);
- SQLPrimaryKey _elem382;
- for (int _i383 = 0; _i383 < _list381.size; ++_i383)
+ org.apache.thrift.protocol.TList _list389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.primaryKeyCols = new ArrayList<SQLPrimaryKey>(_list389.size);
+ SQLPrimaryKey _elem390;
+ for (int _i391 = 0; _i391 < _list389.size; ++_i391)
{
- _elem382 = new SQLPrimaryKey();
- _elem382.read(iprot);
- struct.primaryKeyCols.add(_elem382);
+ _elem390 = new SQLPrimaryKey();
+ _elem390.read(iprot);
+ struct.primaryKeyCols.add(_elem390);
}
}
struct.setPrimaryKeyColsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java
index c47db4a..d9df54a 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // UNIQUE_CONSTRAINT_COLS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list392 = iprot.readListBegin();
- struct.uniqueConstraintCols = new ArrayList<SQLUniqueConstraint>(_list392.size);
- SQLUniqueConstraint _elem393;
- for (int _i394 = 0; _i394 < _list392.size; ++_i394)
+ org.apache.thrift.protocol.TList _list400 = iprot.readListBegin();
+ struct.uniqueConstraintCols = new ArrayList<SQLUniqueConstraint>(_list400.size);
+ SQLUniqueConstraint _elem401;
+ for (int _i402 = 0; _i402 < _list400.size; ++_i402)
{
- _elem393 = new SQLUniqueConstraint();
- _elem393.read(iprot);
- struct.uniqueConstraintCols.add(_elem393);
+ _elem401 = new SQLUniqueConstraint();
+ _elem401.read(iprot);
+ struct.uniqueConstraintCols.add(_elem401);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(UNIQUE_CONSTRAINT_COLS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraintCols.size()));
- for (SQLUniqueConstraint _iter395 : struct.uniqueConstraintCols)
+ for (SQLUniqueConstraint _iter403 : struct.uniqueConstraintCols)
{
- _iter395.write(oprot);
+ _iter403.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.uniqueConstraintCols.size());
- for (SQLUniqueConstraint _iter396 : struct.uniqueConstraintCols)
+ for (SQLUniqueConstraint _iter404 : struct.uniqueConstraintCols)
{
- _iter396.write(oprot);
+ _iter404.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraintRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.uniqueConstraintCols = new ArrayList<SQLUniqueConstraint>(_list397.size);
- SQLUniqueConstraint _elem398;
- for (int _i399 = 0; _i399 < _list397.size; ++_i399)
+ org.apache.thrift.protocol.TList _list405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.uniqueConstraintCols = new ArrayList<SQLUniqueConstraint>(_list405.size);
+ SQLUniqueConstraint _elem406;
+ for (int _i407 = 0; _i407 < _list405.size; ++_i407)
{
- _elem398 = new SQLUniqueConstraint();
- _elem398.read(iprot);
- struct.uniqueConstraintCols.add(_elem398);
+ _elem406 = new SQLUniqueConstraint();
+ _elem406.read(iprot);
+ struct.uniqueConstraintCols.add(_elem406);
}
}
struct.setUniqueConstraintColsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
index 67d9b10..ec6f557 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
@@ -516,14 +516,14 @@ import org.slf4j.LoggerFactory;
case 1: // COL_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
- struct.colStats = new ArrayList<ColumnStatisticsObj>(_list284.size);
- ColumnStatisticsObj _elem285;
- for (int _i286 = 0; _i286 < _list284.size; ++_i286)
+ org.apache.thrift.protocol.TList _list292 = iprot.readListBegin();
+ struct.colStats = new ArrayList<ColumnStatisticsObj>(_list292.size);
+ ColumnStatisticsObj _elem293;
+ for (int _i294 = 0; _i294 < _list292.size; ++_i294)
{
- _elem285 = new ColumnStatisticsObj();
- _elem285.read(iprot);
- struct.colStats.add(_elem285);
+ _elem293 = new ColumnStatisticsObj();
+ _elem293.read(iprot);
+ struct.colStats.add(_elem293);
}
iprot.readListEnd();
}
@@ -565,9 +565,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COL_STATS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size()));
- for (ColumnStatisticsObj _iter287 : struct.colStats)
+ for (ColumnStatisticsObj _iter295 : struct.colStats)
{
- _iter287.write(oprot);
+ _iter295.write(oprot);
}
oprot.writeListEnd();
}
@@ -600,9 +600,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.colStats.size());
- for (ColumnStatisticsObj _iter288 : struct.colStats)
+ for (ColumnStatisticsObj _iter296 : struct.colStats)
{
- _iter288.write(oprot);
+ _iter296.write(oprot);
}
}
oprot.writeI64(struct.partsFound);
@@ -620,14 +620,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list289 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.colStats = new ArrayList<ColumnStatisticsObj>(_list289.size);
- ColumnStatisticsObj _elem290;
- for (int _i291 = 0; _i291 < _list289.size; ++_i291)
+ org.apache.thrift.protocol.TList _list297 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.colStats = new ArrayList<ColumnStatisticsObj>(_list297.size);
+ ColumnStatisticsObj _elem298;
+ for (int _i299 = 0; _i299 < _list297.size; ++_i299)
{
- _elem290 = new ColumnStatisticsObj();
- _elem290.read(iprot);
- struct.colStats.add(_elem290);
+ _elem298 = new ColumnStatisticsObj();
+ _elem298.read(iprot);
+ struct.colStats.add(_elem298);
}
}
struct.setColStatsIsSet(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 3dd36da..ae20ef7 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
@@ -142,7 +142,7 @@ import org.slf4j.LoggerFactory;
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.SRC_TXN_TO_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("srcTxnToWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "TxnToWriteId"))));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TxnToWriteId.class))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AllocateTableWriteIdsRequest.class, metaDataMap);
}
@@ -179,7 +179,7 @@ import org.slf4j.LoggerFactory;
if (other.isSetSrcTxnToWriteIdList()) {
List<TxnToWriteId> __this__srcTxnToWriteIdList = new ArrayList<TxnToWriteId>(other.srcTxnToWriteIdList.size());
for (TxnToWriteId other_element : other.srcTxnToWriteIdList) {
- __this__srcTxnToWriteIdList.add(other_element);
+ __this__srcTxnToWriteIdList.add(new TxnToWriteId(other_element));
}
this.srcTxnToWriteIdList = __this__srcTxnToWriteIdList;
}
@@ -716,13 +716,13 @@ import org.slf4j.LoggerFactory;
case 3: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list666 = iprot.readListBegin();
- struct.txnIds = new ArrayList<Long>(_list666.size);
- long _elem667;
- for (int _i668 = 0; _i668 < _list666.size; ++_i668)
+ org.apache.thrift.protocol.TList _list674 = iprot.readListBegin();
+ struct.txnIds = new ArrayList<Long>(_list674.size);
+ long _elem675;
+ for (int _i676 = 0; _i676 < _list674.size; ++_i676)
{
- _elem667 = iprot.readI64();
- struct.txnIds.add(_elem667);
+ _elem675 = iprot.readI64();
+ struct.txnIds.add(_elem675);
}
iprot.readListEnd();
}
@@ -742,14 +742,14 @@ import org.slf4j.LoggerFactory;
case 5: // SRC_TXN_TO_WRITE_ID_LIST
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list669 = iprot.readListBegin();
- struct.srcTxnToWriteIdList = new ArrayList<TxnToWriteId>(_list669.size);
- TxnToWriteId _elem670;
- for (int _i671 = 0; _i671 < _list669.size; ++_i671)
+ org.apache.thrift.protocol.TList _list677 = iprot.readListBegin();
+ struct.srcTxnToWriteIdList = new ArrayList<TxnToWriteId>(_list677.size);
+ TxnToWriteId _elem678;
+ for (int _i679 = 0; _i679 < _list677.size; ++_i679)
{
- _elem670 = new TxnToWriteId();
- _elem670.read(iprot);
- struct.srcTxnToWriteIdList.add(_elem670);
+ _elem678 = new TxnToWriteId();
+ _elem678.read(iprot);
+ struct.srcTxnToWriteIdList.add(_elem678);
}
iprot.readListEnd();
}
@@ -786,9 +786,9 @@ import org.slf4j.LoggerFactory;
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 _iter672 : struct.txnIds)
+ for (long _iter680 : struct.txnIds)
{
- oprot.writeI64(_iter672);
+ oprot.writeI64(_iter680);
}
oprot.writeListEnd();
}
@@ -807,9 +807,9 @@ import org.slf4j.LoggerFactory;
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 _iter673 : struct.srcTxnToWriteIdList)
+ for (TxnToWriteId _iter681 : struct.srcTxnToWriteIdList)
{
- _iter673.write(oprot);
+ _iter681.write(oprot);
}
oprot.writeListEnd();
}
@@ -849,9 +849,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetTxnIds()) {
{
oprot.writeI32(struct.txnIds.size());
- for (long _iter674 : struct.txnIds)
+ for (long _iter682 : struct.txnIds)
{
- oprot.writeI64(_iter674);
+ oprot.writeI64(_iter682);
}
}
}
@@ -861,9 +861,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSrcTxnToWriteIdList()) {
{
oprot.writeI32(struct.srcTxnToWriteIdList.size());
- for (TxnToWriteId _iter675 : struct.srcTxnToWriteIdList)
+ for (TxnToWriteId _iter683 : struct.srcTxnToWriteIdList)
{
- _iter675.write(oprot);
+ _iter683.write(oprot);
}
}
}
@@ -879,13 +879,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list676 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txnIds = new ArrayList<Long>(_list676.size);
- long _elem677;
- for (int _i678 = 0; _i678 < _list676.size; ++_i678)
+ org.apache.thrift.protocol.TList _list684 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.txnIds = new ArrayList<Long>(_list684.size);
+ long _elem685;
+ for (int _i686 = 0; _i686 < _list684.size; ++_i686)
{
- _elem677 = iprot.readI64();
- struct.txnIds.add(_elem677);
+ _elem685 = iprot.readI64();
+ struct.txnIds.add(_elem685);
}
}
struct.setTxnIdsIsSet(true);
@@ -896,14 +896,14 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.srcTxnToWriteIdList = new ArrayList<TxnToWriteId>(_list679.size);
- TxnToWriteId _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.STRUCT, iprot.readI32());
+ struct.srcTxnToWriteIdList = new ArrayList<TxnToWriteId>(_list687.size);
+ TxnToWriteId _elem688;
+ for (int _i689 = 0; _i689 < _list687.size; ++_i689)
{
- _elem680 = new TxnToWriteId();
- _elem680.read(iprot);
- struct.srcTxnToWriteIdList.add(_elem680);
+ _elem688 = new TxnToWriteId();
+ _elem688.read(iprot);
+ struct.srcTxnToWriteIdList.add(_elem688);
}
}
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 dd73a69..bb04c0b 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 @@ import org.slf4j.LoggerFactory;
case 1: // TXN_TO_WRITE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list682 = iprot.readListBegin();
- struct.txnToWriteIds = new ArrayList<TxnToWriteId>(_list682.size);
- TxnToWriteId _elem683;
- for (int _i684 = 0; _i684 < _list682.size; ++_i684)
+ org.apache.thrift.protocol.TList _list690 = iprot.readListBegin();
+ struct.txnToWriteIds = new ArrayList<TxnToWriteId>(_list690.size);
+ TxnToWriteId _elem691;
+ for (int _i692 = 0; _i692 < _list690.size; ++_i692)
{
- _elem683 = new TxnToWriteId();
- _elem683.read(iprot);
- struct.txnToWriteIds.add(_elem683);
+ _elem691 = new TxnToWriteId();
+ _elem691.read(iprot);
+ struct.txnToWriteIds.add(_elem691);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter685 : struct.txnToWriteIds)
+ for (TxnToWriteId _iter693 : struct.txnToWriteIds)
{
- _iter685.write(oprot);
+ _iter693.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txnToWriteIds.size());
- for (TxnToWriteId _iter686 : struct.txnToWriteIds)
+ for (TxnToWriteId _iter694 : struct.txnToWriteIds)
{
- _iter686.write(oprot);
+ _iter694.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
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 _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.txnToWriteIds = new ArrayList<TxnToWriteId>(_list687.size);
- TxnToWriteId _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.STRUCT, iprot.readI32());
+ struct.txnToWriteIds = new ArrayList<TxnToWriteId>(_list695.size);
+ TxnToWriteId _elem696;
+ for (int _i697 = 0; _i697 < _list695.size; ++_i697)
{
- _elem688 = new TxnToWriteId();
- _elem688.read(iprot);
- struct.txnToWriteIds.add(_elem688);
+ _elem696 = new TxnToWriteId();
+ _elem696.read(iprot);
+ struct.txnToWriteIds.add(_elem696);
}
}
struct.setTxnToWriteIdsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java
index 6858205..492a9cc 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // CHECK_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list368 = iprot.readListBegin();
- struct.checkConstraints = new ArrayList<SQLCheckConstraint>(_list368.size);
- SQLCheckConstraint _elem369;
- for (int _i370 = 0; _i370 < _list368.size; ++_i370)
+ org.apache.thrift.protocol.TList _list376 = iprot.readListBegin();
+ struct.checkConstraints = new ArrayList<SQLCheckConstraint>(_list376.size);
+ SQLCheckConstraint _elem377;
+ for (int _i378 = 0; _i378 < _list376.size; ++_i378)
{
- _elem369 = new SQLCheckConstraint();
- _elem369.read(iprot);
- struct.checkConstraints.add(_elem369);
+ _elem377 = new SQLCheckConstraint();
+ _elem377.read(iprot);
+ struct.checkConstraints.add(_elem377);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter371 : struct.checkConstraints)
+ for (SQLCheckConstraint _iter379 : struct.checkConstraints)
{
- _iter371.write(oprot);
+ _iter379.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.checkConstraints.size());
- for (SQLCheckConstraint _iter372 : struct.checkConstraints)
+ for (SQLCheckConstraint _iter380 : struct.checkConstraints)
{
- _iter372.write(oprot);
+ _iter380.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, CheckConstraintsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.checkConstraints = new ArrayList<SQLCheckConstraint>(_list373.size);
- SQLCheckConstraint _elem374;
- for (int _i375 = 0; _i375 < _list373.size; ++_i375)
+ org.apache.thrift.protocol.TList _list381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.checkConstraints = new ArrayList<SQLCheckConstraint>(_list381.size);
+ SQLCheckConstraint _elem382;
+ for (int _i383 = 0; _i383 < _list381.size; ++_i383)
{
- _elem374 = new SQLCheckConstraint();
- _elem374.read(iprot);
- struct.checkConstraints.add(_elem374);
+ _elem382 = new SQLCheckConstraint();
+ _elem382.read(iprot);
+ struct.checkConstraints.add(_elem382);
}
}
struct.setCheckConstraintsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
index fd4619f..99984f4 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
@@ -532,14 +532,14 @@ import org.slf4j.LoggerFactory;
case 2: // STATS_OBJ
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list276 = iprot.readListBegin();
- struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list276.size);
- ColumnStatisticsObj _elem277;
- for (int _i278 = 0; _i278 < _list276.size; ++_i278)
+ org.apache.thrift.protocol.TList _list284 = iprot.readListBegin();
+ struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list284.size);
+ ColumnStatisticsObj _elem285;
+ for (int _i286 = 0; _i286 < _list284.size; ++_i286)
{
- _elem277 = new ColumnStatisticsObj();
- _elem277.read(iprot);
- struct.statsObj.add(_elem277);
+ _elem285 = new ColumnStatisticsObj();
+ _elem285.read(iprot);
+ struct.statsObj.add(_elem285);
}
iprot.readListEnd();
}
@@ -578,9 +578,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size()));
- for (ColumnStatisticsObj _iter279 : struct.statsObj)
+ for (ColumnStatisticsObj _iter287 : struct.statsObj)
{
- _iter279.write(oprot);
+ _iter287.write(oprot);
}
oprot.writeListEnd();
}
@@ -611,9 +611,9 @@ import org.slf4j.LoggerFactory;
struct.statsDesc.write(oprot);
{
oprot.writeI32(struct.statsObj.size());
- for (ColumnStatisticsObj _iter280 : struct.statsObj)
+ for (ColumnStatisticsObj _iter288 : struct.statsObj)
{
- _iter280.write(oprot);
+ _iter288.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -633,14 +633,14 @@ import org.slf4j.LoggerFactory;
struct.statsDesc.read(iprot);
struct.setStatsDescIsSet(true);
{
- org.apache.thrift.protocol.TList _list281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list281.size);
- ColumnStatisticsObj _elem282;
- for (int _i283 = 0; _i283 < _list281.size; ++_i283)
+ org.apache.thrift.protocol.TList _list289 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.statsObj = new ArrayList<ColumnStatisticsObj>(_list289.size);
+ ColumnStatisticsObj _elem290;
+ for (int _i291 = 0; _i291 < _list289.size; ++_i291)
{
- _elem282 = new ColumnStatisticsObj();
- _elem282.read(iprot);
- struct.statsObj.add(_elem282);
+ _elem290 = new ColumnStatisticsObj();
+ _elem290.read(iprot);
+ struct.statsObj.add(_elem290);
}
}
struct.setStatsObjIsSet(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 71a3001..6fe23e1 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
@@ -143,7 +143,7 @@ import org.slf4j.LoggerFactory;
tmpMap.put(_Fields.KEY_VALUE, new org.apache.thrift.meta_data.FieldMetaData("keyValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CommitTxnKeyValue.class)));
tmpMap.put(_Fields.REPL_LAST_ID_INFO, new org.apache.thrift.meta_data.FieldMetaData("replLastIdInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "ReplLastIdInfo")));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReplLastIdInfo.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CommitTxnRequest.class, metaDataMap);
}
@@ -179,7 +179,7 @@ import org.slf4j.LoggerFactory;
this.keyValue = new CommitTxnKeyValue(other.keyValue);
}
if (other.isSetReplLastIdInfo()) {
- this.replLastIdInfo = other.replLastIdInfo;
+ this.replLastIdInfo = new ReplLastIdInfo(other.replLastIdInfo);
}
}
@@ -641,6 +641,9 @@ import org.slf4j.LoggerFactory;
if (keyValue != null) {
keyValue.validate();
}
+ if (replLastIdInfo != null) {
+ replLastIdInfo.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -698,14 +701,14 @@ import org.slf4j.LoggerFactory;
case 3: // WRITE_EVENT_INFOS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list618 = iprot.readListBegin();
- struct.writeEventInfos = new ArrayList<WriteEventInfo>(_list618.size);
- WriteEventInfo _elem619;
- for (int _i620 = 0; _i620 < _list618.size; ++_i620)
+ org.apache.thrift.protocol.TList _list634 = iprot.readListBegin();
+ struct.writeEventInfos = new ArrayList<WriteEventInfo>(_list634.size);
+ WriteEventInfo _elem635;
+ for (int _i636 = 0; _i636 < _list634.size; ++_i636)
{
- _elem619 = new WriteEventInfo();
- _elem619.read(iprot);
- struct.writeEventInfos.add(_elem619);
+ _elem635 = new WriteEventInfo();
+ _elem635.read(iprot);
+ struct.writeEventInfos.add(_elem635);
}
iprot.readListEnd();
}
@@ -760,9 +763,9 @@ import org.slf4j.LoggerFactory;
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 _iter621 : struct.writeEventInfos)
+ for (WriteEventInfo _iter637 : struct.writeEventInfos)
{
- _iter621.write(oprot);
+ _iter637.write(oprot);
}
oprot.writeListEnd();
}
@@ -821,9 +824,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetWriteEventInfos()) {
{
oprot.writeI32(struct.writeEventInfos.size());
- for (WriteEventInfo _iter622 : struct.writeEventInfos)
+ for (WriteEventInfo _iter638 : struct.writeEventInfos)
{
- _iter622.write(oprot);
+ _iter638.write(oprot);
}
}
}
@@ -847,14 +850,14 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.writeEventInfos = new ArrayList<WriteEventInfo>(_list623.size);
- WriteEventInfo _elem624;
- for (int _i625 = 0; _i625 < _list623.size; ++_i625)
+ org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.writeEventInfos = new ArrayList<WriteEventInfo>(_list639.size);
+ WriteEventInfo _elem640;
+ for (int _i641 = 0; _i641 < _list639.size; ++_i641)
{
- _elem624 = new WriteEventInfo();
- _elem624.read(iprot);
- struct.writeEventInfos.add(_elem624);
+ _elem640 = new WriteEventInfo();
+ _elem640.read(iprot);
+ struct.writeEventInfos.add(_elem640);
}
}
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 214d65e..7d73a1e 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 @@ import org.slf4j.LoggerFactory;
case 6: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map722 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map722.size);
- String _key723;
- String _val724;
- for (int _i725 = 0; _i725 < _map722.size; ++_i725)
+ org.apache.thrift.protocol.TMap _map730 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map730.size);
+ String _key731;
+ String _val732;
+ for (int _i733 = 0; _i733 < _map730.size; ++_i733)
{
- _key723 = iprot.readString();
- _val724 = iprot.readString();
- struct.properties.put(_key723, _val724);
+ _key731 = iprot.readString();
+ _val732 = iprot.readString();
+ struct.properties.put(_key731, _val732);
}
iprot.readMapEnd();
}
@@ -878,10 +878,10 @@ import org.slf4j.LoggerFactory;
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<String, String> _iter726 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter734 : struct.properties.entrySet())
{
- oprot.writeString(_iter726.getKey());
- oprot.writeString(_iter726.getValue());
+ oprot.writeString(_iter734.getKey());
+ oprot.writeString(_iter734.getValue());
}
oprot.writeMapEnd();
}
@@ -928,10 +928,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter727 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter735 : struct.properties.entrySet())
{
- oprot.writeString(_iter727.getKey());
- oprot.writeString(_iter727.getValue());
+ oprot.writeString(_iter735.getKey());
+ oprot.writeString(_iter735.getValue());
}
}
}
@@ -957,15 +957,15 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TMap _map728 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.properties = new HashMap<String,String>(2*_map728.size);
- String _key729;
- String _val730;
- for (int _i731 = 0; _i731 < _map728.size; ++_i731)
+ org.apache.thrift.protocol.TMap _map736 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.properties = new HashMap<String,String>(2*_map736.size);
+ String _key737;
+ String _val738;
+ for (int _i739 = 0; _i739 < _map736.size; ++_i739)
{
- _key729 = iprot.readString();
- _val730 = iprot.readString();
- struct.properties.put(_key729, _val730);
+ _key737 = iprot.readString();
+ _val738 = iprot.readString();
+ struct.properties.put(_key737, _val738);
}
}
struct.setPropertiesIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
index 2baea57..1194cc5 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java
@@ -792,13 +792,13 @@ import org.slf4j.LoggerFactory;
case 4: // TABLES_USED
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set748 = iprot.readSetBegin();
- struct.tablesUsed = new HashSet<String>(2*_set748.size);
- String _elem749;
- for (int _i750 = 0; _i750 < _set748.size; ++_i750)
+ org.apache.thrift.protocol.TSet _set206 = iprot.readSetBegin();
+ struct.tablesUsed = new HashSet<String>(2*_set206.size);
+ String _elem207;
+ for (int _i208 = 0; _i208 < _set206.size; ++_i208)
{
- _elem749 = iprot.readString();
- struct.tablesUsed.add(_elem749);
+ _elem207 = iprot.readString();
+ struct.tablesUsed.add(_elem207);
}
iprot.readSetEnd();
}
@@ -855,9 +855,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(TABLES_USED_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size()));
- for (String _iter751 : struct.tablesUsed)
+ for (String _iter209 : struct.tablesUsed)
{
- oprot.writeString(_iter751);
+ oprot.writeString(_iter209);
}
oprot.writeSetEnd();
}
@@ -897,9 +897,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.tablesUsed.size());
- for (String _iter752 : struct.tablesUsed)
+ for (String _iter210 : struct.tablesUsed)
{
- oprot.writeString(_iter752);
+ oprot.writeString(_iter210);
}
}
BitSet optionals = new BitSet();
@@ -928,13 +928,13 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TSet _set753 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.tablesUsed = new HashSet<String>(2*_set753.size);
- String _elem754;
- for (int _i755 = 0; _i755 < _set753.size; ++_i755)
+ org.apache.thrift.protocol.TSet _set211 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tablesUsed = new HashSet<String>(2*_set211.size);
+ String _elem212;
+ for (int _i213 = 0; _i213 < _set211.size; ++_i213)
{
- _elem754 = iprot.readString();
- struct.tablesUsed.add(_elem754);
+ _elem212 = iprot.readString();
+ struct.tablesUsed.add(_elem212);
}
}
struct.setTablesUsedIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java
index e29932c..8924234 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // DEFAULT_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
- struct.defaultConstraints = new ArrayList<SQLDefaultConstraint>(_list360.size);
- SQLDefaultConstraint _elem361;
- for (int _i362 = 0; _i362 < _list360.size; ++_i362)
+ org.apache.thrift.protocol.TList _list368 = iprot.readListBegin();
+ struct.defaultConstraints = new ArrayList<SQLDefaultConstraint>(_list368.size);
+ SQLDefaultConstraint _elem369;
+ for (int _i370 = 0; _i370 < _list368.size; ++_i370)
{
- _elem361 = new SQLDefaultConstraint();
- _elem361.read(iprot);
- struct.defaultConstraints.add(_elem361);
+ _elem369 = new SQLDefaultConstraint();
+ _elem369.read(iprot);
+ struct.defaultConstraints.add(_elem369);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter363 : struct.defaultConstraints)
+ for (SQLDefaultConstraint _iter371 : struct.defaultConstraints)
{
- _iter363.write(oprot);
+ _iter371.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.defaultConstraints.size());
- for (SQLDefaultConstraint _iter364 : struct.defaultConstraints)
+ for (SQLDefaultConstraint _iter372 : struct.defaultConstraints)
{
- _iter364.write(oprot);
+ _iter372.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, DefaultConstraintsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.defaultConstraints = new ArrayList<SQLDefaultConstraint>(_list365.size);
- SQLDefaultConstraint _elem366;
- for (int _i367 = 0; _i367 < _list365.size; ++_i367)
+ org.apache.thrift.protocol.TList _list373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.defaultConstraints = new ArrayList<SQLDefaultConstraint>(_list373.size);
+ SQLDefaultConstraint _elem374;
+ for (int _i375 = 0; _i375 < _list373.size; ++_i375)
{
- _elem366 = new SQLDefaultConstraint();
- _elem366.read(iprot);
- struct.defaultConstraints.add(_elem366);
+ _elem374 = new SQLDefaultConstraint();
+ _elem374.read(iprot);
+ struct.defaultConstraints.add(_elem374);
}
}
struct.setDefaultConstraintsIsSet(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 0a7d3b5..65d8d4e 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 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list498 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list498.size);
- Partition _elem499;
- for (int _i500 = 0; _i500 < _list498.size; ++_i500)
+ org.apache.thrift.protocol.TList _list506 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list506.size);
+ Partition _elem507;
+ for (int _i508 = 0; _i508 < _list506.size; ++_i508)
{
- _elem499 = new Partition();
- _elem499.read(iprot);
- struct.partitions.add(_elem499);
+ _elem507 = new Partition();
+ _elem507.read(iprot);
+ struct.partitions.add(_elem507);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter501 : struct.partitions)
+ for (Partition _iter509 : struct.partitions)
{
- _iter501.write(oprot);
+ _iter509.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter502 : struct.partitions)
+ for (Partition _iter510 : struct.partitions)
{
- _iter502.write(oprot);
+ _iter510.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list503 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list503.size);
- Partition _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.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list511.size);
+ Partition _elem512;
+ for (int _i513 = 0; _i513 < _list511.size; ++_i513)
{
- _elem504 = new Partition();
- _elem504.read(iprot);
- struct.partitions.add(_elem504);
+ _elem512 = new Partition();
+ _elem512.read(iprot);
+ struct.partitions.add(_elem512);
}
}
struct.setPartitionsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
index a128dac..6bcebaf 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
@@ -344,15 +344,15 @@ import org.slf4j.LoggerFactory;
case 1: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map318 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map318.size);
- String _key319;
- String _val320;
- for (int _i321 = 0; _i321 < _map318.size; ++_i321)
+ org.apache.thrift.protocol.TMap _map326 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map326.size);
+ String _key327;
+ String _val328;
+ for (int _i329 = 0; _i329 < _map326.size; ++_i329)
{
- _key319 = iprot.readString();
- _val320 = iprot.readString();
- struct.properties.put(_key319, _val320);
+ _key327 = iprot.readString();
+ _val328 = iprot.readString();
+ struct.properties.put(_key327, _val328);
}
iprot.readMapEnd();
}
@@ -378,10 +378,10 @@ import org.slf4j.LoggerFactory;
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<String, String> _iter322 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter330 : struct.properties.entrySet())
{
- oprot.writeString(_iter322.getKey());
- oprot.writeString(_iter322.getValue());
+ oprot.writeString(_iter330.getKey());
+ oprot.writeString(_iter330.getValue());
}
oprot.writeMapEnd();
}
@@ -412,10 +412,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter323 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter331 : struct.properties.entrySet())
{
- oprot.writeString(_iter323.getKey());
- oprot.writeString(_iter323.getValue());
+ oprot.writeString(_iter331.getKey());
+ oprot.writeString(_iter331.getValue());
}
}
}
@@ -427,15 +427,15 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map324 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.properties = new HashMap<String,String>(2*_map324.size);
- String _key325;
- String _val326;
- for (int _i327 = 0; _i327 < _map324.size; ++_i327)
+ org.apache.thrift.protocol.TMap _map332 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.properties = new HashMap<String,String>(2*_map332.size);
+ String _key333;
+ String _val334;
+ for (int _i335 = 0; _i335 < _map332.size; ++_i335)
{
- _key325 = iprot.readString();
- _val326 = iprot.readString();
- struct.properties.put(_key325, _val326);
+ _key333 = iprot.readString();
+ _val334 = iprot.readString();
+ struct.properties.put(_key333, _val334);
}
}
struct.setPropertiesIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
index 8fae31c..a755ea0 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // FOREIGN_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list336.size);
- SQLForeignKey _elem337;
- for (int _i338 = 0; _i338 < _list336.size; ++_i338)
+ org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list344.size);
+ SQLForeignKey _elem345;
+ for (int _i346 = 0; _i346 < _list344.size; ++_i346)
{
- _elem337 = new SQLForeignKey();
- _elem337.read(iprot);
- struct.foreignKeys.add(_elem337);
+ _elem345 = new SQLForeignKey();
+ _elem345.read(iprot);
+ struct.foreignKeys.add(_elem345);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter339 : struct.foreignKeys)
+ for (SQLForeignKey _iter347 : struct.foreignKeys)
{
- _iter339.write(oprot);
+ _iter347.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.foreignKeys.size());
- for (SQLForeignKey _iter340 : struct.foreignKeys)
+ for (SQLForeignKey _iter348 : struct.foreignKeys)
{
- _iter340.write(oprot);
+ _iter348.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.foreignKeys = new ArrayList<SQLForeignKey>(_list341.size);
- SQLForeignKey _elem342;
- for (int _i343 = 0; _i343 < _list341.size; ++_i343)
+ org.apache.thrift.protocol.TList _list349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.foreignKeys = new ArrayList<SQLForeignKey>(_list349.size);
+ SQLForeignKey _elem350;
+ for (int _i351 = 0; _i351 < _list349.size; ++_i351)
{
- _elem342 = new SQLForeignKey();
- _elem342.read(iprot);
- struct.foreignKeys.add(_elem342);
+ _elem350 = new SQLForeignKey();
+ _elem350.read(iprot);
+ struct.foreignKeys.add(_elem350);
}
}
struct.setForeignKeysIsSet(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 6d4aaf1..56779b8 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 @@ import org.slf4j.LoggerFactory;
case 8: // RESOURCE_URIS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list570 = iprot.readListBegin();
- struct.resourceUris = new ArrayList<ResourceUri>(_list570.size);
- ResourceUri _elem571;
- for (int _i572 = 0; _i572 < _list570.size; ++_i572)
+ org.apache.thrift.protocol.TList _list578 = iprot.readListBegin();
+ struct.resourceUris = new ArrayList<ResourceUri>(_list578.size);
+ ResourceUri _elem579;
+ for (int _i580 = 0; _i580 < _list578.size; ++_i580)
{
- _elem571 = new ResourceUri();
- _elem571.read(iprot);
- struct.resourceUris.add(_elem571);
+ _elem579 = new ResourceUri();
+ _elem579.read(iprot);
+ struct.resourceUris.add(_elem579);
}
iprot.readListEnd();
}
@@ -1153,9 +1153,9 @@ import org.slf4j.LoggerFactory;
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 _iter573 : struct.resourceUris)
+ for (ResourceUri _iter581 : struct.resourceUris)
{
- _iter573.write(oprot);
+ _iter581.write(oprot);
}
oprot.writeListEnd();
}
@@ -1238,9 +1238,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetResourceUris()) {
{
oprot.writeI32(struct.resourceUris.size());
- for (ResourceUri _iter574 : struct.resourceUris)
+ for (ResourceUri _iter582 : struct.resourceUris)
{
- _iter574.write(oprot);
+ _iter582.write(oprot);
}
}
}
@@ -1283,14 +1283,14 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(7)) {
{
- org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.resourceUris = new ArrayList<ResourceUri>(_list575.size);
- ResourceUri _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.resourceUris = new ArrayList<ResourceUri>(_list583.size);
+ ResourceUri _elem584;
+ for (int _i585 = 0; _i585 < _list583.size; ++_i585)
{
- _elem576 = new ResourceUri();
- _elem576.read(iprot);
- struct.resourceUris.add(_elem576);
+ _elem584 = new ResourceUri();
+ _elem584.read(iprot);
+ struct.resourceUris.add(_elem584);
}
}
struct.setResourceUrisIsSet(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 68f7112..9f48dbf 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 @@ import org.slf4j.LoggerFactory;
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list578 = iprot.readListBegin();
- struct.open_txns = new ArrayList<TxnInfo>(_list578.size);
- TxnInfo _elem579;
- for (int _i580 = 0; _i580 < _list578.size; ++_i580)
+ org.apache.thrift.protocol.TList _list586 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<TxnInfo>(_list586.size);
+ TxnInfo _elem587;
+ for (int _i588 = 0; _i588 < _list586.size; ++_i588)
{
- _elem579 = new TxnInfo();
- _elem579.read(iprot);
- struct.open_txns.add(_elem579);
+ _elem587 = new TxnInfo();
+ _elem587.read(iprot);
+ struct.open_txns.add(_elem587);
}
iprot.readListEnd();
}
@@ -483,9 +483,9 @@ import org.slf4j.LoggerFactory;
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 _iter581 : struct.open_txns)
+ for (TxnInfo _iter589 : struct.open_txns)
{
- _iter581.write(oprot);
+ _iter589.write(oprot);
}
oprot.writeListEnd();
}
@@ -511,9 +511,9 @@ import org.slf4j.LoggerFactory;
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (TxnInfo _iter582 : struct.open_txns)
+ for (TxnInfo _iter590 : struct.open_txns)
{
- _iter582.write(oprot);
+ _iter590.write(oprot);
}
}
}
@@ -524,14 +524,14 @@ import org.slf4j.LoggerFactory;
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.open_txns = new ArrayList<TxnInfo>(_list583.size);
- TxnInfo _elem584;
- for (int _i585 = 0; _i585 < _list583.size; ++_i585)
+ org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.open_txns = new ArrayList<TxnInfo>(_list591.size);
+ TxnInfo _elem592;
+ for (int _i593 = 0; _i593 < _list591.size; ++_i593)
{
- _elem584 = new TxnInfo();
- _elem584.read(iprot);
- struct.open_txns.add(_elem584);
+ _elem592 = new TxnInfo();
+ _elem592.read(iprot);
+ struct.open_txns.add(_elem592);
}
}
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 a4284a0..a2c19c2 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 @@ import org.slf4j.LoggerFactory;
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list586 = iprot.readListBegin();
- struct.open_txns = new ArrayList<Long>(_list586.size);
- long _elem587;
- for (int _i588 = 0; _i588 < _list586.size; ++_i588)
+ org.apache.thrift.protocol.TList _list594 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<Long>(_list594.size);
+ long _elem595;
+ for (int _i596 = 0; _i596 < _list594.size; ++_i596)
{
- _elem587 = iprot.readI64();
- struct.open_txns.add(_elem587);
+ _elem595 = iprot.readI64();
+ struct.open_txns.add(_elem595);
}
iprot.readListEnd();
}
@@ -666,9 +666,9 @@ import org.slf4j.LoggerFactory;
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 _iter589 : struct.open_txns)
+ for (long _iter597 : struct.open_txns)
{
- oprot.writeI64(_iter589);
+ oprot.writeI64(_iter597);
}
oprot.writeListEnd();
}
@@ -704,9 +704,9 @@ import org.slf4j.LoggerFactory;
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (long _iter590 : struct.open_txns)
+ for (long _iter598 : struct.open_txns)
{
- oprot.writeI64(_iter590);
+ oprot.writeI64(_iter598);
}
}
oprot.writeBinary(struct.abortedBits);
@@ -726,13 +726,13 @@ import org.slf4j.LoggerFactory;
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.open_txns = new ArrayList<Long>(_list591.size);
- long _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.I64, iprot.readI32());
+ struct.open_txns = new ArrayList<Long>(_list599.size);
+ long _elem600;
+ for (int _i601 = 0; _i601 < _list599.size; ++_i601)
{
- _elem592 = iprot.readI64();
- struct.open_txns.add(_elem592);
+ _elem600 = iprot.readI64();
+ struct.open_txns.add(_elem600);
}
}
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 91199e5..473bc6f 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
@@ -614,13 +614,13 @@ import org.slf4j.LoggerFactory;
case 3: // NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list554 = iprot.readListBegin();
- struct.names = new ArrayList<String>(_list554.size);
- String _elem555;
- for (int _i556 = 0; _i556 < _list554.size; ++_i556)
+ org.apache.thrift.protocol.TList _list562 = iprot.readListBegin();
+ struct.names = new ArrayList<String>(_list562.size);
+ String _elem563;
+ for (int _i564 = 0; _i564 < _list562.size; ++_i564)
{
- _elem555 = iprot.readString();
- struct.names.add(_elem555);
+ _elem563 = iprot.readString();
+ struct.names.add(_elem563);
}
iprot.readListEnd();
}
@@ -665,9 +665,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size()));
- for (String _iter557 : struct.names)
+ for (String _iter565 : struct.names)
{
- oprot.writeString(_iter557);
+ oprot.writeString(_iter565);
}
oprot.writeListEnd();
}
@@ -709,9 +709,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetNames()) {
{
oprot.writeI32(struct.names.size());
- for (String _iter558 : struct.names)
+ for (String _iter566 : struct.names)
{
- oprot.writeString(_iter558);
+ oprot.writeString(_iter566);
}
}
}
@@ -730,13 +730,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.names = new ArrayList<String>(_list559.size);
- String _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.STRING, iprot.readI32());
+ struct.names = new ArrayList<String>(_list567.size);
+ String _elem568;
+ for (int _i569 = 0; _i569 < _list567.size; ++_i569)
{
- _elem560 = iprot.readString();
- struct.names.add(_elem560);
+ _elem568 = iprot.readString();
+ struct.names.add(_elem568);
}
}
struct.setNamesIsSet(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 d32e4c2..afc29ee 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 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list562 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list562.size);
- Partition _elem563;
- for (int _i564 = 0; _i564 < _list562.size; ++_i564)
+ org.apache.thrift.protocol.TList _list570 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list570.size);
+ Partition _elem571;
+ for (int _i572 = 0; _i572 < _list570.size; ++_i572)
{
- _elem563 = new Partition();
- _elem563.read(iprot);
- struct.partitions.add(_elem563);
+ _elem571 = new Partition();
+ _elem571.read(iprot);
+ struct.partitions.add(_elem571);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter565 : struct.partitions)
+ for (Partition _iter573 : struct.partitions)
{
- _iter565.write(oprot);
+ _iter573.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter566 : struct.partitions)
+ for (Partition _iter574 : struct.partitions)
{
- _iter566.write(oprot);
+ _iter574.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
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 _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list567.size);
- Partition _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.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list575.size);
+ Partition _elem576;
+ for (int _i577 = 0; _i577 < _list575.size; ++_i577)
{
- _elem568 = new Partition();
- _elem568.read(iprot);
- struct.partitions.add(_elem568);
+ _elem576 = new Partition();
+ _elem576.read(iprot);
+ struct.partitions.add(_elem576);
}
}
struct.setPartitionsIsSet(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 70bfbd2..7771bdc 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 @@ import org.slf4j.LoggerFactory;
case 1: // FULL_TABLE_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list642 = iprot.readListBegin();
- struct.fullTableNames = new ArrayList<String>(_list642.size);
- String _elem643;
- for (int _i644 = 0; _i644 < _list642.size; ++_i644)
+ org.apache.thrift.protocol.TList _list650 = iprot.readListBegin();
+ struct.fullTableNames = new ArrayList<String>(_list650.size);
+ String _elem651;
+ for (int _i652 = 0; _i652 < _list650.size; ++_i652)
{
- _elem643 = iprot.readString();
- struct.fullTableNames.add(_elem643);
+ _elem651 = iprot.readString();
+ struct.fullTableNames.add(_elem651);
}
iprot.readListEnd();
}
@@ -561,9 +561,9 @@ import org.slf4j.LoggerFactory;
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 _iter645 : struct.fullTableNames)
+ for (String _iter653 : struct.fullTableNames)
{
- oprot.writeString(_iter645);
+ oprot.writeString(_iter653);
}
oprot.writeListEnd();
}
@@ -600,9 +600,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fullTableNames.size());
- for (String _iter646 : struct.fullTableNames)
+ for (String _iter654 : struct.fullTableNames)
{
- oprot.writeString(_iter646);
+ oprot.writeString(_iter654);
}
}
BitSet optionals = new BitSet();
@@ -625,13 +625,13 @@ import org.slf4j.LoggerFactory;
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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.fullTableNames = new ArrayList<String>(_list647.size);
- String _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.STRING, iprot.readI32());
+ struct.fullTableNames = new ArrayList<String>(_list655.size);
+ String _elem656;
+ for (int _i657 = 0; _i657 < _list655.size; ++_i657)
{
- _elem648 = iprot.readString();
- struct.fullTableNames.add(_elem648);
+ _elem656 = iprot.readString();
+ struct.fullTableNames.add(_elem656);
}
}
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 fc94183..8996f8b 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 @@ import org.slf4j.LoggerFactory;
case 1: // TBL_VALID_WRITE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list658 = iprot.readListBegin();
- struct.tblValidWriteIds = new ArrayList<TableValidWriteIds>(_list658.size);
- TableValidWriteIds _elem659;
- for (int _i660 = 0; _i660 < _list658.size; ++_i660)
+ org.apache.thrift.protocol.TList _list666 = iprot.readListBegin();
+ struct.tblValidWriteIds = new ArrayList<TableValidWriteIds>(_list666.size);
+ TableValidWriteIds _elem667;
+ for (int _i668 = 0; _i668 < _list666.size; ++_i668)
{
- _elem659 = new TableValidWriteIds();
- _elem659.read(iprot);
- struct.tblValidWriteIds.add(_elem659);
+ _elem667 = new TableValidWriteIds();
+ _elem667.read(iprot);
+ struct.tblValidWriteIds.add(_elem667);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter661 : struct.tblValidWriteIds)
+ for (TableValidWriteIds _iter669 : struct.tblValidWriteIds)
{
- _iter661.write(oprot);
+ _iter669.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.tblValidWriteIds.size());
- for (TableValidWriteIds _iter662 : struct.tblValidWriteIds)
+ for (TableValidWriteIds _iter670 : struct.tblValidWriteIds)
{
- _iter662.write(oprot);
+ _iter670.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
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 _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.tblValidWriteIds = new ArrayList<TableValidWriteIds>(_list663.size);
- TableValidWriteIds _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.tblValidWriteIds = new ArrayList<TableValidWriteIds>(_list671.size);
+ TableValidWriteIds _elem672;
+ for (int _i673 = 0; _i673 < _list671.size; ++_i673)
{
- _elem664 = new TableValidWriteIds();
- _elem664.read(iprot);
- struct.tblValidWriteIds.add(_elem664);
+ _elem672 = new TableValidWriteIds();
+ _elem672.read(iprot);
+ struct.tblValidWriteIds.add(_elem672);
}
}
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 cfc8740..70ec20c 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 @@ import org.slf4j.LoggerFactory;
case 1: // ABORTED
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set706 = iprot.readSetBegin();
- struct.aborted = new HashSet<Long>(2*_set706.size);
- long _elem707;
- for (int _i708 = 0; _i708 < _set706.size; ++_i708)
+ org.apache.thrift.protocol.TSet _set714 = iprot.readSetBegin();
+ struct.aborted = new HashSet<Long>(2*_set714.size);
+ long _elem715;
+ for (int _i716 = 0; _i716 < _set714.size; ++_i716)
{
- _elem707 = iprot.readI64();
- struct.aborted.add(_elem707);
+ _elem715 = iprot.readI64();
+ struct.aborted.add(_elem715);
}
iprot.readSetEnd();
}
@@ -471,13 +471,13 @@ import org.slf4j.LoggerFactory;
case 2: // NOSUCH
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set709 = iprot.readSetBegin();
- struct.nosuch = new HashSet<Long>(2*_set709.size);
- long _elem710;
- for (int _i711 = 0; _i711 < _set709.size; ++_i711)
+ org.apache.thrift.protocol.TSet _set717 = iprot.readSetBegin();
+ struct.nosuch = new HashSet<Long>(2*_set717.size);
+ long _elem718;
+ for (int _i719 = 0; _i719 < _set717.size; ++_i719)
{
- _elem710 = iprot.readI64();
- struct.nosuch.add(_elem710);
+ _elem718 = iprot.readI64();
+ struct.nosuch.add(_elem718);
}
iprot.readSetEnd();
}
@@ -503,9 +503,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(ABORTED_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size()));
- for (long _iter712 : struct.aborted)
+ for (long _iter720 : struct.aborted)
{
- oprot.writeI64(_iter712);
+ oprot.writeI64(_iter720);
}
oprot.writeSetEnd();
}
@@ -515,9 +515,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(NOSUCH_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size()));
- for (long _iter713 : struct.nosuch)
+ for (long _iter721 : struct.nosuch)
{
- oprot.writeI64(_iter713);
+ oprot.writeI64(_iter721);
}
oprot.writeSetEnd();
}
@@ -542,16 +542,16 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.aborted.size());
- for (long _iter714 : struct.aborted)
+ for (long _iter722 : struct.aborted)
{
- oprot.writeI64(_iter714);
+ oprot.writeI64(_iter722);
}
}
{
oprot.writeI32(struct.nosuch.size());
- for (long _iter715 : struct.nosuch)
+ for (long _iter723 : struct.nosuch)
{
- oprot.writeI64(_iter715);
+ oprot.writeI64(_iter723);
}
}
}
@@ -560,24 +560,24 @@ import org.slf4j.LoggerFactory;
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 _set716 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.aborted = new HashSet<Long>(2*_set716.size);
- long _elem717;
- for (int _i718 = 0; _i718 < _set716.size; ++_i718)
+ org.apache.thrift.protocol.TSet _set724 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.aborted = new HashSet<Long>(2*_set724.size);
+ long _elem725;
+ for (int _i726 = 0; _i726 < _set724.size; ++_i726)
{
- _elem717 = iprot.readI64();
- struct.aborted.add(_elem717);
+ _elem725 = iprot.readI64();
+ struct.aborted.add(_elem725);
}
}
struct.setAbortedIsSet(true);
{
- org.apache.thrift.protocol.TSet _set719 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.nosuch = new HashSet<Long>(2*_set719.size);
- long _elem720;
- for (int _i721 = 0; _i721 < _set719.size; ++_i721)
+ org.apache.thrift.protocol.TSet _set727 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.nosuch = new HashSet<Long>(2*_set727.size);
+ long _elem728;
+ for (int _i729 = 0; _i729 < _set727.size; ++_i729)
{
- _elem720 = iprot.readI64();
- struct.nosuch.add(_elem720);
+ _elem728 = iprot.readI64();
+ struct.nosuch.add(_elem728);
}
}
struct.setNosuchIsSet(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 acac747..f9b5e3d 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 @@ import org.slf4j.LoggerFactory;
case 1: // COMPONENT
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list690 = iprot.readListBegin();
- struct.component = new ArrayList<LockComponent>(_list690.size);
- LockComponent _elem691;
- for (int _i692 = 0; _i692 < _list690.size; ++_i692)
+ org.apache.thrift.protocol.TList _list698 = iprot.readListBegin();
+ struct.component = new ArrayList<LockComponent>(_list698.size);
+ LockComponent _elem699;
+ for (int _i700 = 0; _i700 < _list698.size; ++_i700)
{
- _elem691 = new LockComponent();
- _elem691.read(iprot);
- struct.component.add(_elem691);
+ _elem699 = new LockComponent();
+ _elem699.read(iprot);
+ struct.component.add(_elem699);
}
iprot.readListEnd();
}
@@ -754,9 +754,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COMPONENT_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size()));
- for (LockComponent _iter693 : struct.component)
+ for (LockComponent _iter701 : struct.component)
{
- _iter693.write(oprot);
+ _iter701.write(oprot);
}
oprot.writeListEnd();
}
@@ -803,9 +803,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.component.size());
- for (LockComponent _iter694 : struct.component)
+ for (LockComponent _iter702 : struct.component)
{
- _iter694.write(oprot);
+ _iter702.write(oprot);
}
}
oprot.writeString(struct.user);
@@ -830,14 +830,14 @@ import org.slf4j.LoggerFactory;
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 _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.component = new ArrayList<LockComponent>(_list695.size);
- LockComponent _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.component = new ArrayList<LockComponent>(_list703.size);
+ LockComponent _elem704;
+ for (int _i705 = 0; _i705 < _list703.size; ++_i705)
{
- _elem696 = new LockComponent();
- _elem696.read(iprot);
- struct.component.add(_elem696);
+ _elem704 = new LockComponent();
+ _elem704.read(iprot);
+ struct.component.add(_elem704);
}
}
struct.setComponentIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
index 54070ad..a7944f5 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // NOT_NULL_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
- struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list352.size);
- SQLNotNullConstraint _elem353;
- for (int _i354 = 0; _i354 < _list352.size; ++_i354)
+ org.apache.thrift.protocol.TList _list360 = iprot.readListBegin();
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list360.size);
+ SQLNotNullConstraint _elem361;
+ for (int _i362 = 0; _i362 < _list360.size; ++_i362)
{
- _elem353 = new SQLNotNullConstraint();
- _elem353.read(iprot);
- struct.notNullConstraints.add(_elem353);
+ _elem361 = new SQLNotNullConstraint();
+ _elem361.read(iprot);
+ struct.notNullConstraints.add(_elem361);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter355 : struct.notNullConstraints)
+ for (SQLNotNullConstraint _iter363 : struct.notNullConstraints)
{
- _iter355.write(oprot);
+ _iter363.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.notNullConstraints.size());
- for (SQLNotNullConstraint _iter356 : struct.notNullConstraints)
+ for (SQLNotNullConstraint _iter364 : struct.notNullConstraints)
{
- _iter356.write(oprot);
+ _iter364.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list357.size);
- SQLNotNullConstraint _elem358;
- for (int _i359 = 0; _i359 < _list357.size; ++_i359)
+ org.apache.thrift.protocol.TList _list365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.notNullConstraints = new ArrayList<SQLNotNullConstraint>(_list365.size);
+ SQLNotNullConstraint _elem366;
+ for (int _i367 = 0; _i367 < _list365.size; ++_i367)
{
- _elem358 = new SQLNotNullConstraint();
- _elem358.read(iprot);
- struct.notNullConstraints.add(_elem358);
+ _elem366 = new SQLNotNullConstraint();
+ _elem366.read(iprot);
+ struct.notNullConstraints.add(_elem366);
}
}
struct.setNotNullConstraintsIsSet(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 a8fd4b7..e4f4908 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 @@ import org.slf4j.LoggerFactory;
case 6: // REPL_SRC_TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list594 = iprot.readListBegin();
- struct.replSrcTxnIds = new ArrayList<Long>(_list594.size);
- long _elem595;
- for (int _i596 = 0; _i596 < _list594.size; ++_i596)
+ org.apache.thrift.protocol.TList _list602 = iprot.readListBegin();
+ struct.replSrcTxnIds = new ArrayList<Long>(_list602.size);
+ long _elem603;
+ for (int _i604 = 0; _i604 < _list602.size; ++_i604)
{
- _elem595 = iprot.readI64();
- struct.replSrcTxnIds.add(_elem595);
+ _elem603 = iprot.readI64();
+ struct.replSrcTxnIds.add(_elem603);
}
iprot.readListEnd();
}
@@ -972,9 +972,9 @@ import org.slf4j.LoggerFactory;
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 _iter597 : struct.replSrcTxnIds)
+ for (long _iter605 : struct.replSrcTxnIds)
{
- oprot.writeI64(_iter597);
+ oprot.writeI64(_iter605);
}
oprot.writeListEnd();
}
@@ -1031,9 +1031,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetReplSrcTxnIds()) {
{
oprot.writeI32(struct.replSrcTxnIds.size());
- for (long _iter598 : struct.replSrcTxnIds)
+ for (long _iter606 : struct.replSrcTxnIds)
{
- oprot.writeI64(_iter598);
+ oprot.writeI64(_iter606);
}
}
}
@@ -1062,13 +1062,13 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.replSrcTxnIds = new ArrayList<Long>(_list599.size);
- long _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.I64, iprot.readI32());
+ struct.replSrcTxnIds = new ArrayList<Long>(_list607.size);
+ long _elem608;
+ for (int _i609 = 0; _i609 < _list607.size; ++_i609)
{
- _elem600 = iprot.readI64();
- struct.replSrcTxnIds.add(_elem600);
+ _elem608 = iprot.readI64();
+ struct.replSrcTxnIds.add(_elem608);
}
}
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 f0e6bdb..6534dc5 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 @@ import org.slf4j.LoggerFactory;
case 1: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list602 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list602.size);
- long _elem603;
- for (int _i604 = 0; _i604 < _list602.size; ++_i604)
+ org.apache.thrift.protocol.TList _list610 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list610.size);
+ long _elem611;
+ for (int _i612 = 0; _i612 < _list610.size; ++_i612)
{
- _elem603 = iprot.readI64();
- struct.txn_ids.add(_elem603);
+ _elem611 = iprot.readI64();
+ struct.txn_ids.add(_elem611);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
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 _iter605 : struct.txn_ids)
+ for (long _iter613 : struct.txn_ids)
{
- oprot.writeI64(_iter605);
+ oprot.writeI64(_iter613);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter606 : struct.txn_ids)
+ for (long _iter614 : struct.txn_ids)
{
- oprot.writeI64(_iter606);
+ oprot.writeI64(_iter614);
}
}
}
@@ -421,13 +421,13 @@ import org.slf4j.LoggerFactory;
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 _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list607.size);
- long _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.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list615.size);
+ long _elem616;
+ for (int _i617 = 0; _i617 < _list615.size; ++_i617)
{
- _elem608 = iprot.readI64();
- struct.txn_ids.add(_elem608);
+ _elem616 = iprot.readI64();
+ struct.txn_ids.add(_elem616);
}
}
struct.setTxn_idsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OptionalCompactionInfoStruct.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OptionalCompactionInfoStruct.java
index aabd5be..a595137 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OptionalCompactionInfoStruct.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OptionalCompactionInfoStruct.java
@@ -112,7 +112,7 @@ import org.slf4j.LoggerFactory;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.CI, new org.apache.thrift.meta_data.FieldMetaData("ci", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "CompactionInfoStruct")));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CompactionInfoStruct.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OptionalCompactionInfoStruct.class, metaDataMap);
}
@@ -125,7 +125,7 @@ import org.slf4j.LoggerFactory;
*/
public OptionalCompactionInfoStruct(OptionalCompactionInfoStruct other) {
if (other.isSetCi()) {
- this.ci = other.ci;
+ this.ci = new CompactionInfoStruct(other.ci);
}
}
@@ -287,6 +287,9 @@ import org.slf4j.LoggerFactory;
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
+ if (ci != null) {
+ ci.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
index a191255..2db0fbc 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
@@ -1247,13 +1247,13 @@ import org.slf4j.LoggerFactory;
case 1: // VALUES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list224 = iprot.readListBegin();
- struct.values = new ArrayList<String>(_list224.size);
- String _elem225;
- for (int _i226 = 0; _i226 < _list224.size; ++_i226)
+ org.apache.thrift.protocol.TList _list232 = iprot.readListBegin();
+ struct.values = new ArrayList<String>(_list232.size);
+ String _elem233;
+ for (int _i234 = 0; _i234 < _list232.size; ++_i234)
{
- _elem225 = iprot.readString();
- struct.values.add(_elem225);
+ _elem233 = iprot.readString();
+ struct.values.add(_elem233);
}
iprot.readListEnd();
}
@@ -1306,15 +1306,15 @@ import org.slf4j.LoggerFactory;
case 7: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map227 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map227.size);
- String _key228;
- String _val229;
- for (int _i230 = 0; _i230 < _map227.size; ++_i230)
+ org.apache.thrift.protocol.TMap _map235 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map235.size);
+ String _key236;
+ String _val237;
+ for (int _i238 = 0; _i238 < _map235.size; ++_i238)
{
- _key228 = iprot.readString();
- _val229 = iprot.readString();
- struct.parameters.put(_key228, _val229);
+ _key236 = iprot.readString();
+ _val237 = iprot.readString();
+ struct.parameters.put(_key236, _val237);
}
iprot.readMapEnd();
}
@@ -1382,9 +1382,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size()));
- for (String _iter231 : struct.values)
+ for (String _iter239 : struct.values)
{
- oprot.writeString(_iter231);
+ oprot.writeString(_iter239);
}
oprot.writeListEnd();
}
@@ -1415,10 +1415,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size()));
- for (Map.Entry<String, String> _iter232 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter240 : struct.parameters.entrySet())
{
- oprot.writeString(_iter232.getKey());
- oprot.writeString(_iter232.getValue());
+ oprot.writeString(_iter240.getKey());
+ oprot.writeString(_iter240.getValue());
}
oprot.writeMapEnd();
}
@@ -1513,9 +1513,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetValues()) {
{
oprot.writeI32(struct.values.size());
- for (String _iter233 : struct.values)
+ for (String _iter241 : struct.values)
{
- oprot.writeString(_iter233);
+ oprot.writeString(_iter241);
}
}
}
@@ -1537,10 +1537,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter234 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter242 : struct.parameters.entrySet())
{
- oprot.writeString(_iter234.getKey());
- oprot.writeString(_iter234.getValue());
+ oprot.writeString(_iter242.getKey());
+ oprot.writeString(_iter242.getValue());
}
}
}
@@ -1567,13 +1567,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(12);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.values = new ArrayList<String>(_list235.size);
- String _elem236;
- for (int _i237 = 0; _i237 < _list235.size; ++_i237)
+ org.apache.thrift.protocol.TList _list243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.values = new ArrayList<String>(_list243.size);
+ String _elem244;
+ for (int _i245 = 0; _i245 < _list243.size; ++_i245)
{
- _elem236 = iprot.readString();
- struct.values.add(_elem236);
+ _elem244 = iprot.readString();
+ struct.values.add(_elem244);
}
}
struct.setValuesIsSet(true);
@@ -1601,15 +1601,15 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(6)) {
{
- org.apache.thrift.protocol.TMap _map238 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.parameters = new HashMap<String,String>(2*_map238.size);
- String _key239;
- String _val240;
- for (int _i241 = 0; _i241 < _map238.size; ++_i241)
+ org.apache.thrift.protocol.TMap _map246 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.parameters = new HashMap<String,String>(2*_map246.size);
+ String _key247;
+ String _val248;
+ for (int _i249 = 0; _i249 < _map246.size; ++_i249)
{
- _key239 = iprot.readString();
- _val240 = iprot.readString();
- struct.parameters.put(_key239, _val240);
+ _key247 = iprot.readString();
+ _val248 = iprot.readString();
+ struct.parameters.put(_key247, _val248);
}
}
struct.parameters = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.parameters); struct.setParametersIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
index e1f4021..303c3ed 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
@@ -350,14 +350,14 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list268 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list268.size);
- Partition _elem269;
- for (int _i270 = 0; _i270 < _list268.size; ++_i270)
+ org.apache.thrift.protocol.TList _list276 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list276.size);
+ Partition _elem277;
+ for (int _i278 = 0; _i278 < _list276.size; ++_i278)
{
- _elem269 = new Partition();
- _elem269.read(iprot);
- struct.partitions.add(_elem269);
+ _elem277 = new Partition();
+ _elem277.read(iprot);
+ struct.partitions.add(_elem277);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter271 : struct.partitions)
+ for (Partition _iter279 : struct.partitions)
{
- _iter271.write(oprot);
+ _iter279.write(oprot);
}
oprot.writeListEnd();
}
@@ -416,9 +416,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter272 : struct.partitions)
+ for (Partition _iter280 : struct.partitions)
{
- _iter272.write(oprot);
+ _iter280.write(oprot);
}
}
}
@@ -430,14 +430,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list273.size);
- Partition _elem274;
- for (int _i275 = 0; _i275 < _list273.size; ++_i275)
+ org.apache.thrift.protocol.TList _list281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list281.size);
+ Partition _elem282;
+ for (int _i283 = 0; _i283 < _list281.size; ++_i283)
{
- _elem274 = new Partition();
- _elem274.read(iprot);
- struct.partitions.add(_elem274);
+ _elem282 = new Partition();
+ _elem282.read(iprot);
+ struct.partitions.add(_elem282);
}
}
struct.setPartitionsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
index c3fa2a2..01b9e7d 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
@@ -434,14 +434,14 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list260 = iprot.readListBegin();
- struct.partitions = new ArrayList<PartitionWithoutSD>(_list260.size);
- PartitionWithoutSD _elem261;
- for (int _i262 = 0; _i262 < _list260.size; ++_i262)
+ org.apache.thrift.protocol.TList _list268 = iprot.readListBegin();
+ struct.partitions = new ArrayList<PartitionWithoutSD>(_list268.size);
+ PartitionWithoutSD _elem269;
+ for (int _i270 = 0; _i270 < _list268.size; ++_i270)
{
- _elem261 = new PartitionWithoutSD();
- _elem261.read(iprot);
- struct.partitions.add(_elem261);
+ _elem269 = new PartitionWithoutSD();
+ _elem269.read(iprot);
+ struct.partitions.add(_elem269);
}
iprot.readListEnd();
}
@@ -476,9 +476,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (PartitionWithoutSD _iter263 : struct.partitions)
+ for (PartitionWithoutSD _iter271 : struct.partitions)
{
- _iter263.write(oprot);
+ _iter271.write(oprot);
}
oprot.writeListEnd();
}
@@ -517,9 +517,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitions()) {
{
oprot.writeI32(struct.partitions.size());
- for (PartitionWithoutSD _iter264 : struct.partitions)
+ for (PartitionWithoutSD _iter272 : struct.partitions)
{
- _iter264.write(oprot);
+ _iter272.write(oprot);
}
}
}
@@ -534,14 +534,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<PartitionWithoutSD>(_list265.size);
- PartitionWithoutSD _elem266;
- for (int _i267 = 0; _i267 < _list265.size; ++_i267)
+ org.apache.thrift.protocol.TList _list273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<PartitionWithoutSD>(_list273.size);
+ PartitionWithoutSD _elem274;
+ for (int _i275 = 0; _i275 < _list273.size; ++_i275)
{
- _elem266 = new PartitionWithoutSD();
- _elem266.read(iprot);
- struct.partitions.add(_elem266);
+ _elem274 = new PartitionWithoutSD();
+ _elem274.read(iprot);
+ struct.partitions.add(_elem274);
}
}
struct.setPartitionsIsSet(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 8309769..4f7f322 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 @@ import org.slf4j.LoggerFactory;
case 3: // PARTITION_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list522 = iprot.readListBegin();
- struct.partitionKeys = new ArrayList<FieldSchema>(_list522.size);
- FieldSchema _elem523;
- for (int _i524 = 0; _i524 < _list522.size; ++_i524)
+ org.apache.thrift.protocol.TList _list530 = iprot.readListBegin();
+ struct.partitionKeys = new ArrayList<FieldSchema>(_list530.size);
+ FieldSchema _elem531;
+ for (int _i532 = 0; _i532 < _list530.size; ++_i532)
{
- _elem523 = new FieldSchema();
- _elem523.read(iprot);
- struct.partitionKeys.add(_elem523);
+ _elem531 = new FieldSchema();
+ _elem531.read(iprot);
+ struct.partitionKeys.add(_elem531);
}
iprot.readListEnd();
}
@@ -1077,14 +1077,14 @@ import org.slf4j.LoggerFactory;
case 6: // PARTITION_ORDER
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list525 = iprot.readListBegin();
- struct.partitionOrder = new ArrayList<FieldSchema>(_list525.size);
- FieldSchema _elem526;
- for (int _i527 = 0; _i527 < _list525.size; ++_i527)
+ org.apache.thrift.protocol.TList _list533 = iprot.readListBegin();
+ struct.partitionOrder = new ArrayList<FieldSchema>(_list533.size);
+ FieldSchema _elem534;
+ for (int _i535 = 0; _i535 < _list533.size; ++_i535)
{
- _elem526 = new FieldSchema();
- _elem526.read(iprot);
- struct.partitionOrder.add(_elem526);
+ _elem534 = new FieldSchema();
+ _elem534.read(iprot);
+ struct.partitionOrder.add(_elem534);
}
iprot.readListEnd();
}
@@ -1144,9 +1144,9 @@ import org.slf4j.LoggerFactory;
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 _iter528 : struct.partitionKeys)
+ for (FieldSchema _iter536 : struct.partitionKeys)
{
- _iter528.write(oprot);
+ _iter536.write(oprot);
}
oprot.writeListEnd();
}
@@ -1169,9 +1169,9 @@ import org.slf4j.LoggerFactory;
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 _iter529 : struct.partitionOrder)
+ for (FieldSchema _iter537 : struct.partitionOrder)
{
- _iter529.write(oprot);
+ _iter537.write(oprot);
}
oprot.writeListEnd();
}
@@ -1216,9 +1216,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.partitionKeys.size());
- for (FieldSchema _iter530 : struct.partitionKeys)
+ for (FieldSchema _iter538 : struct.partitionKeys)
{
- _iter530.write(oprot);
+ _iter538.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -1250,9 +1250,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitionOrder()) {
{
oprot.writeI32(struct.partitionOrder.size());
- for (FieldSchema _iter531 : struct.partitionOrder)
+ for (FieldSchema _iter539 : struct.partitionOrder)
{
- _iter531.write(oprot);
+ _iter539.write(oprot);
}
}
}
@@ -1275,14 +1275,14 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list532 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitionKeys = new ArrayList<FieldSchema>(_list532.size);
- FieldSchema _elem533;
- for (int _i534 = 0; _i534 < _list532.size; ++_i534)
+ org.apache.thrift.protocol.TList _list540 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitionKeys = new ArrayList<FieldSchema>(_list540.size);
+ FieldSchema _elem541;
+ for (int _i542 = 0; _i542 < _list540.size; ++_i542)
{
- _elem533 = new FieldSchema();
- _elem533.read(iprot);
- struct.partitionKeys.add(_elem533);
+ _elem541 = new FieldSchema();
+ _elem541.read(iprot);
+ struct.partitionKeys.add(_elem541);
}
}
struct.setPartitionKeysIsSet(true);
@@ -1297,14 +1297,14 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list535 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitionOrder = new ArrayList<FieldSchema>(_list535.size);
- FieldSchema _elem536;
- for (int _i537 = 0; _i537 < _list535.size; ++_i537)
+ org.apache.thrift.protocol.TList _list543 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitionOrder = new ArrayList<FieldSchema>(_list543.size);
+ FieldSchema _elem544;
+ for (int _i545 = 0; _i545 < _list543.size; ++_i545)
{
- _elem536 = new FieldSchema();
- _elem536.read(iprot);
- struct.partitionOrder.add(_elem536);
+ _elem544 = new FieldSchema();
+ _elem544.read(iprot);
+ struct.partitionOrder.add(_elem544);
}
}
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 7bf1c61..e197480 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 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITION_VALUES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list546 = iprot.readListBegin();
- struct.partitionValues = new ArrayList<PartitionValuesRow>(_list546.size);
- PartitionValuesRow _elem547;
- for (int _i548 = 0; _i548 < _list546.size; ++_i548)
+ org.apache.thrift.protocol.TList _list554 = iprot.readListBegin();
+ struct.partitionValues = new ArrayList<PartitionValuesRow>(_list554.size);
+ PartitionValuesRow _elem555;
+ for (int _i556 = 0; _i556 < _list554.size; ++_i556)
{
- _elem547 = new PartitionValuesRow();
- _elem547.read(iprot);
- struct.partitionValues.add(_elem547);
+ _elem555 = new PartitionValuesRow();
+ _elem555.read(iprot);
+ struct.partitionValues.add(_elem555);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter549 : struct.partitionValues)
+ for (PartitionValuesRow _iter557 : struct.partitionValues)
{
- _iter549.write(oprot);
+ _iter557.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitionValues.size());
- for (PartitionValuesRow _iter550 : struct.partitionValues)
+ for (PartitionValuesRow _iter558 : struct.partitionValues)
{
- _iter550.write(oprot);
+ _iter558.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
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 _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitionValues = new ArrayList<PartitionValuesRow>(_list551.size);
- PartitionValuesRow _elem552;
- for (int _i553 = 0; _i553 < _list551.size; ++_i553)
+ org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitionValues = new ArrayList<PartitionValuesRow>(_list559.size);
+ PartitionValuesRow _elem560;
+ for (int _i561 = 0; _i561 < _list559.size; ++_i561)
{
- _elem552 = new PartitionValuesRow();
- _elem552.read(iprot);
- struct.partitionValues.add(_elem552);
+ _elem560 = new PartitionValuesRow();
+ _elem560.read(iprot);
+ struct.partitionValues.add(_elem560);
}
}
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 4c384f6..31fed8f 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 @@ import org.slf4j.LoggerFactory;
case 1: // ROW
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list538 = iprot.readListBegin();
- struct.row = new ArrayList<String>(_list538.size);
- String _elem539;
- for (int _i540 = 0; _i540 < _list538.size; ++_i540)
+ org.apache.thrift.protocol.TList _list546 = iprot.readListBegin();
+ struct.row = new ArrayList<String>(_list546.size);
+ String _elem547;
+ for (int _i548 = 0; _i548 < _list546.size; ++_i548)
{
- _elem539 = iprot.readString();
- struct.row.add(_elem539);
+ _elem547 = iprot.readString();
+ struct.row.add(_elem547);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(ROW_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.row.size()));
- for (String _iter541 : struct.row)
+ for (String _iter549 : struct.row)
{
- oprot.writeString(_iter541);
+ oprot.writeString(_iter549);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.row.size());
- for (String _iter542 : struct.row)
+ for (String _iter550 : struct.row)
{
- oprot.writeString(_iter542);
+ oprot.writeString(_iter550);
}
}
}
@@ -421,13 +421,13 @@ import org.slf4j.LoggerFactory;
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 _list543 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.row = new ArrayList<String>(_list543.size);
- String _elem544;
- for (int _i545 = 0; _i545 < _list543.size; ++_i545)
+ org.apache.thrift.protocol.TList _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.row = new ArrayList<String>(_list551.size);
+ String _elem552;
+ for (int _i553 = 0; _i553 < _list551.size; ++_i553)
{
- _elem544 = iprot.readString();
- struct.row.add(_elem544);
+ _elem552 = iprot.readString();
+ struct.row.add(_elem552);
}
}
struct.setRowIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
index d43be20..f00d5b8 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
@@ -766,13 +766,13 @@ import org.slf4j.LoggerFactory;
case 1: // VALUES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list242 = iprot.readListBegin();
- struct.values = new ArrayList<String>(_list242.size);
- String _elem243;
- for (int _i244 = 0; _i244 < _list242.size; ++_i244)
+ org.apache.thrift.protocol.TList _list250 = iprot.readListBegin();
+ struct.values = new ArrayList<String>(_list250.size);
+ String _elem251;
+ for (int _i252 = 0; _i252 < _list250.size; ++_i252)
{
- _elem243 = iprot.readString();
- struct.values.add(_elem243);
+ _elem251 = iprot.readString();
+ struct.values.add(_elem251);
}
iprot.readListEnd();
}
@@ -808,15 +808,15 @@ import org.slf4j.LoggerFactory;
case 5: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map245 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map245.size);
- String _key246;
- String _val247;
- for (int _i248 = 0; _i248 < _map245.size; ++_i248)
+ org.apache.thrift.protocol.TMap _map253 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map253.size);
+ String _key254;
+ String _val255;
+ for (int _i256 = 0; _i256 < _map253.size; ++_i256)
{
- _key246 = iprot.readString();
- _val247 = iprot.readString();
- struct.parameters.put(_key246, _val247);
+ _key254 = iprot.readString();
+ _val255 = iprot.readString();
+ struct.parameters.put(_key254, _val255);
}
iprot.readMapEnd();
}
@@ -851,9 +851,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size()));
- for (String _iter249 : struct.values)
+ for (String _iter257 : struct.values)
{
- oprot.writeString(_iter249);
+ oprot.writeString(_iter257);
}
oprot.writeListEnd();
}
@@ -874,10 +874,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size()));
- for (Map.Entry<String, String> _iter250 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter258 : struct.parameters.entrySet())
{
- oprot.writeString(_iter250.getKey());
- oprot.writeString(_iter250.getValue());
+ oprot.writeString(_iter258.getKey());
+ oprot.writeString(_iter258.getValue());
}
oprot.writeMapEnd();
}
@@ -930,9 +930,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetValues()) {
{
oprot.writeI32(struct.values.size());
- for (String _iter251 : struct.values)
+ for (String _iter259 : struct.values)
{
- oprot.writeString(_iter251);
+ oprot.writeString(_iter259);
}
}
}
@@ -948,10 +948,10 @@ import org.slf4j.LoggerFactory;
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter252 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter260 : struct.parameters.entrySet())
{
- oprot.writeString(_iter252.getKey());
- oprot.writeString(_iter252.getValue());
+ oprot.writeString(_iter260.getKey());
+ oprot.writeString(_iter260.getValue());
}
}
}
@@ -966,13 +966,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(6);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.values = new ArrayList<String>(_list253.size);
- String _elem254;
- for (int _i255 = 0; _i255 < _list253.size; ++_i255)
+ org.apache.thrift.protocol.TList _list261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.values = new ArrayList<String>(_list261.size);
+ String _elem262;
+ for (int _i263 = 0; _i263 < _list261.size; ++_i263)
{
- _elem254 = iprot.readString();
- struct.values.add(_elem254);
+ _elem262 = iprot.readString();
+ struct.values.add(_elem262);
}
}
struct.setValuesIsSet(true);
@@ -991,15 +991,15 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(4)) {
{
- org.apache.thrift.protocol.TMap _map256 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.parameters = new HashMap<String,String>(2*_map256.size);
- String _key257;
- String _val258;
- for (int _i259 = 0; _i259 < _map256.size; ++_i259)
+ org.apache.thrift.protocol.TMap _map264 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.parameters = new HashMap<String,String>(2*_map264.size);
+ String _key265;
+ String _val266;
+ for (int _i267 = 0; _i267 < _map264.size; ++_i267)
{
- _key257 = iprot.readString();
- _val258 = iprot.readString();
- struct.parameters.put(_key257, _val258);
+ _key265 = iprot.readString();
+ _val266 = iprot.readString();
+ struct.parameters.put(_key265, _val266);
}
}
struct.setParametersIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
index 27cdac6..1f69d2a 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
@@ -439,14 +439,14 @@ import org.slf4j.LoggerFactory;
case 1: // PARTITIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list424 = iprot.readListBegin();
- struct.partitions = new ArrayList<Partition>(_list424.size);
- Partition _elem425;
- for (int _i426 = 0; _i426 < _list424.size; ++_i426)
+ org.apache.thrift.protocol.TList _list432 = iprot.readListBegin();
+ struct.partitions = new ArrayList<Partition>(_list432.size);
+ Partition _elem433;
+ for (int _i434 = 0; _i434 < _list432.size; ++_i434)
{
- _elem425 = new Partition();
- _elem425.read(iprot);
- struct.partitions.add(_elem425);
+ _elem433 = new Partition();
+ _elem433.read(iprot);
+ struct.partitions.add(_elem433);
}
iprot.readListEnd();
}
@@ -480,9 +480,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARTITIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size()));
- for (Partition _iter427 : struct.partitions)
+ for (Partition _iter435 : struct.partitions)
{
- _iter427.write(oprot);
+ _iter435.write(oprot);
}
oprot.writeListEnd();
}
@@ -510,9 +510,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partitions.size());
- for (Partition _iter428 : struct.partitions)
+ for (Partition _iter436 : struct.partitions)
{
- _iter428.write(oprot);
+ _iter436.write(oprot);
}
}
oprot.writeBool(struct.hasUnknownPartitions);
@@ -522,14 +522,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitions = new ArrayList<Partition>(_list429.size);
- Partition _elem430;
- for (int _i431 = 0; _i431 < _list429.size; ++_i431)
+ org.apache.thrift.protocol.TList _list437 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitions = new ArrayList<Partition>(_list437.size);
+ Partition _elem438;
+ for (int _i439 = 0; _i439 < _list437.size; ++_i439)
{
- _elem430 = new Partition();
- _elem430.read(iprot);
- struct.partitions.add(_elem430);
+ _elem438 = new Partition();
+ _elem438.read(iprot);
+ struct.partitions.add(_elem438);
}
}
struct.setPartitionsIsSet(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 7e08420..54beb0e 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
@@ -802,13 +802,13 @@ import org.slf4j.LoggerFactory;
case 3: // COL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list466 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list466.size);
- String _elem467;
- for (int _i468 = 0; _i468 < _list466.size; ++_i468)
+ org.apache.thrift.protocol.TList _list474 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list474.size);
+ String _elem475;
+ for (int _i476 = 0; _i476 < _list474.size; ++_i476)
{
- _elem467 = iprot.readString();
- struct.colNames.add(_elem467);
+ _elem475 = iprot.readString();
+ struct.colNames.add(_elem475);
}
iprot.readListEnd();
}
@@ -820,13 +820,13 @@ import org.slf4j.LoggerFactory;
case 4: // PART_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list469 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list469.size);
- String _elem470;
- for (int _i471 = 0; _i471 < _list469.size; ++_i471)
+ org.apache.thrift.protocol.TList _list477 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list477.size);
+ String _elem478;
+ for (int _i479 = 0; _i479 < _list477.size; ++_i479)
{
- _elem470 = iprot.readString();
- struct.partNames.add(_elem470);
+ _elem478 = iprot.readString();
+ struct.partNames.add(_elem478);
}
iprot.readListEnd();
}
@@ -878,9 +878,9 @@ import org.slf4j.LoggerFactory;
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 _iter472 : struct.colNames)
+ for (String _iter480 : struct.colNames)
{
- oprot.writeString(_iter472);
+ oprot.writeString(_iter480);
}
oprot.writeListEnd();
}
@@ -890,9 +890,9 @@ import org.slf4j.LoggerFactory;
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 _iter473 : struct.partNames)
+ for (String _iter481 : struct.partNames)
{
- oprot.writeString(_iter473);
+ oprot.writeString(_iter481);
}
oprot.writeListEnd();
}
@@ -933,16 +933,16 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter474 : struct.colNames)
+ for (String _iter482 : struct.colNames)
{
- oprot.writeString(_iter474);
+ oprot.writeString(_iter482);
}
}
{
oprot.writeI32(struct.partNames.size());
- for (String _iter475 : struct.partNames)
+ for (String _iter483 : struct.partNames)
{
- oprot.writeString(_iter475);
+ oprot.writeString(_iter483);
}
}
BitSet optionals = new BitSet();
@@ -969,24 +969,24 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list476 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list476.size);
- String _elem477;
- for (int _i478 = 0; _i478 < _list476.size; ++_i478)
+ org.apache.thrift.protocol.TList _list484 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list484.size);
+ String _elem485;
+ for (int _i486 = 0; _i486 < _list484.size; ++_i486)
{
- _elem477 = iprot.readString();
- struct.colNames.add(_elem477);
+ _elem485 = iprot.readString();
+ struct.colNames.add(_elem485);
}
}
struct.setColNamesIsSet(true);
{
- org.apache.thrift.protocol.TList _list479 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list479.size);
- String _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.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list487.size);
+ String _elem488;
+ for (int _i489 = 0; _i489 < _list487.size; ++_i489)
{
- _elem480 = iprot.readString();
- struct.partNames.add(_elem480);
+ _elem488 = iprot.readString();
+ struct.partNames.add(_elem488);
}
}
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 becfcc9..5672259 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 @@ import org.slf4j.LoggerFactory;
case 1: // PART_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map440 = iprot.readMapBegin();
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map440.size);
- String _key441;
- List<ColumnStatisticsObj> _val442;
- for (int _i443 = 0; _i443 < _map440.size; ++_i443)
+ org.apache.thrift.protocol.TMap _map448 = iprot.readMapBegin();
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map448.size);
+ String _key449;
+ List<ColumnStatisticsObj> _val450;
+ for (int _i451 = 0; _i451 < _map448.size; ++_i451)
{
- _key441 = iprot.readString();
+ _key449 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list444 = iprot.readListBegin();
- _val442 = new ArrayList<ColumnStatisticsObj>(_list444.size);
- ColumnStatisticsObj _elem445;
- for (int _i446 = 0; _i446 < _list444.size; ++_i446)
+ org.apache.thrift.protocol.TList _list452 = iprot.readListBegin();
+ _val450 = new ArrayList<ColumnStatisticsObj>(_list452.size);
+ ColumnStatisticsObj _elem453;
+ for (int _i454 = 0; _i454 < _list452.size; ++_i454)
{
- _elem445 = new ColumnStatisticsObj();
- _elem445.read(iprot);
- _val442.add(_elem445);
+ _elem453 = new ColumnStatisticsObj();
+ _elem453.read(iprot);
+ _val450.add(_elem453);
}
iprot.readListEnd();
}
- struct.partStats.put(_key441, _val442);
+ struct.partStats.put(_key449, _val450);
}
iprot.readMapEnd();
}
@@ -497,14 +497,14 @@ import org.slf4j.LoggerFactory;
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<String, List<ColumnStatisticsObj>> _iter447 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter455 : struct.partStats.entrySet())
{
- oprot.writeString(_iter447.getKey());
+ oprot.writeString(_iter455.getKey());
{
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter447.getValue().size()));
- for (ColumnStatisticsObj _iter448 : _iter447.getValue())
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter455.getValue().size()));
+ for (ColumnStatisticsObj _iter456 : _iter455.getValue())
{
- _iter448.write(oprot);
+ _iter456.write(oprot);
}
oprot.writeListEnd();
}
@@ -537,14 +537,14 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.partStats.size());
- for (Map.Entry<String, List<ColumnStatisticsObj>> _iter449 : struct.partStats.entrySet())
+ for (Map.Entry<String, List<ColumnStatisticsObj>> _iter457 : struct.partStats.entrySet())
{
- oprot.writeString(_iter449.getKey());
+ oprot.writeString(_iter457.getKey());
{
- oprot.writeI32(_iter449.getValue().size());
- for (ColumnStatisticsObj _iter450 : _iter449.getValue())
+ oprot.writeI32(_iter457.getValue().size());
+ for (ColumnStatisticsObj _iter458 : _iter457.getValue())
{
- _iter450.write(oprot);
+ _iter458.write(oprot);
}
}
}
@@ -563,25 +563,25 @@ import org.slf4j.LoggerFactory;
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 _map451 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
- struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map451.size);
- String _key452;
- List<ColumnStatisticsObj> _val453;
- for (int _i454 = 0; _i454 < _map451.size; ++_i454)
+ org.apache.thrift.protocol.TMap _map459 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
+ struct.partStats = new HashMap<String,List<ColumnStatisticsObj>>(2*_map459.size);
+ String _key460;
+ List<ColumnStatisticsObj> _val461;
+ for (int _i462 = 0; _i462 < _map459.size; ++_i462)
{
- _key452 = iprot.readString();
+ _key460 = iprot.readString();
{
- org.apache.thrift.protocol.TList _list455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- _val453 = new ArrayList<ColumnStatisticsObj>(_list455.size);
- ColumnStatisticsObj _elem456;
- for (int _i457 = 0; _i457 < _list455.size; ++_i457)
+ org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ _val461 = new ArrayList<ColumnStatisticsObj>(_list463.size);
+ ColumnStatisticsObj _elem464;
+ for (int _i465 = 0; _i465 < _list463.size; ++_i465)
{
- _elem456 = new ColumnStatisticsObj();
- _elem456.read(iprot);
- _val453.add(_elem456);
+ _elem464 = new ColumnStatisticsObj();
+ _elem464.read(iprot);
+ _val461.add(_elem464);
}
}
- struct.partStats.put(_key452, _val453);
+ struct.partStats.put(_key460, _val461);
}
}
struct.setPartStatsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java
index db265ea..fcd1165 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // PRIMARY_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list328 = iprot.readListBegin();
- struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list328.size);
- SQLPrimaryKey _elem329;
- for (int _i330 = 0; _i330 < _list328.size; ++_i330)
+ org.apache.thrift.protocol.TList _list336 = iprot.readListBegin();
+ struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list336.size);
+ SQLPrimaryKey _elem337;
+ for (int _i338 = 0; _i338 < _list336.size; ++_i338)
{
- _elem329 = new SQLPrimaryKey();
- _elem329.read(iprot);
- struct.primaryKeys.add(_elem329);
+ _elem337 = new SQLPrimaryKey();
+ _elem337.read(iprot);
+ struct.primaryKeys.add(_elem337);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter331 : struct.primaryKeys)
+ for (SQLPrimaryKey _iter339 : struct.primaryKeys)
{
- _iter331.write(oprot);
+ _iter339.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.primaryKeys.size());
- for (SQLPrimaryKey _iter332 : struct.primaryKeys)
+ for (SQLPrimaryKey _iter340 : struct.primaryKeys)
{
- _iter332.write(oprot);
+ _iter340.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list333.size);
- SQLPrimaryKey _elem334;
- for (int _i335 = 0; _i335 < _list333.size; ++_i335)
+ org.apache.thrift.protocol.TList _list341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.primaryKeys = new ArrayList<SQLPrimaryKey>(_list341.size);
+ SQLPrimaryKey _elem342;
+ for (int _i343 = 0; _i343 < _list341.size; ++_i343)
{
- _elem334 = new SQLPrimaryKey();
- _elem334.read(iprot);
- struct.primaryKeys.add(_elem334);
+ _elem342 = new SQLPrimaryKey();
+ _elem342.read(iprot);
+ struct.primaryKeys.add(_elem342);
}
}
struct.setPrimaryKeysIsSet(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 1bfe434..2db0060 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 @@ import org.slf4j.LoggerFactory;
case 6: // PART_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list634 = iprot.readListBegin();
- struct.partNames = new ArrayList<String>(_list634.size);
- String _elem635;
- for (int _i636 = 0; _i636 < _list634.size; ++_i636)
+ org.apache.thrift.protocol.TList _list642 = iprot.readListBegin();
+ struct.partNames = new ArrayList<String>(_list642.size);
+ String _elem643;
+ for (int _i644 = 0; _i644 < _list642.size; ++_i644)
{
- _elem635 = iprot.readString();
- struct.partNames.add(_elem635);
+ _elem643 = iprot.readString();
+ struct.partNames.add(_elem643);
}
iprot.readListEnd();
}
@@ -871,9 +871,9 @@ import org.slf4j.LoggerFactory;
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 _iter637 : struct.partNames)
+ for (String _iter645 : struct.partNames)
{
- oprot.writeString(_iter637);
+ oprot.writeString(_iter645);
}
oprot.writeListEnd();
}
@@ -910,9 +910,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartNames()) {
{
oprot.writeI32(struct.partNames.size());
- for (String _iter638 : struct.partNames)
+ for (String _iter646 : struct.partNames)
{
- oprot.writeString(_iter638);
+ oprot.writeString(_iter646);
}
}
}
@@ -934,13 +934,13 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partNames = new ArrayList<String>(_list639.size);
- String _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.STRING, iprot.readI32());
+ struct.partNames = new ArrayList<String>(_list647.size);
+ String _elem648;
+ for (int _i649 = 0; _i649 < _list647.size; ++_i649)
{
- _elem640 = iprot.readString();
- struct.partNames.add(_elem640);
+ _elem648 = iprot.readString();
+ struct.partNames.add(_elem648);
}
}
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 19de923..48159a8 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 @@ import org.slf4j.LoggerFactory;
if (field.type == NAMES_FIELD_DESC.type) {
List<String> names;
{
- org.apache.thrift.protocol.TList _list506 = iprot.readListBegin();
- names = new ArrayList<String>(_list506.size);
- String _elem507;
- for (int _i508 = 0; _i508 < _list506.size; ++_i508)
+ org.apache.thrift.protocol.TList _list514 = iprot.readListBegin();
+ names = new ArrayList<String>(_list514.size);
+ String _elem515;
+ for (int _i516 = 0; _i516 < _list514.size; ++_i516)
{
- _elem507 = iprot.readString();
- names.add(_elem507);
+ _elem515 = iprot.readString();
+ names.add(_elem515);
}
iprot.readListEnd();
}
@@ -187,14 +187,14 @@ import org.slf4j.LoggerFactory;
if (field.type == EXPRS_FIELD_DESC.type) {
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list509 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list509.size);
- DropPartitionsExpr _elem510;
- for (int _i511 = 0; _i511 < _list509.size; ++_i511)
+ org.apache.thrift.protocol.TList _list517 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list517.size);
+ DropPartitionsExpr _elem518;
+ for (int _i519 = 0; _i519 < _list517.size; ++_i519)
{
- _elem510 = new DropPartitionsExpr();
- _elem510.read(iprot);
- exprs.add(_elem510);
+ _elem518 = new DropPartitionsExpr();
+ _elem518.read(iprot);
+ exprs.add(_elem518);
}
iprot.readListEnd();
}
@@ -219,9 +219,9 @@ import org.slf4j.LoggerFactory;
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter512 : names)
+ for (String _iter520 : names)
{
- oprot.writeString(_iter512);
+ oprot.writeString(_iter520);
}
oprot.writeListEnd();
}
@@ -230,9 +230,9 @@ import org.slf4j.LoggerFactory;
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter513 : exprs)
+ for (DropPartitionsExpr _iter521 : exprs)
{
- _iter513.write(oprot);
+ _iter521.write(oprot);
}
oprot.writeListEnd();
}
@@ -250,13 +250,13 @@ import org.slf4j.LoggerFactory;
case NAMES:
List<String> names;
{
- org.apache.thrift.protocol.TList _list514 = iprot.readListBegin();
- names = new ArrayList<String>(_list514.size);
- String _elem515;
- for (int _i516 = 0; _i516 < _list514.size; ++_i516)
+ org.apache.thrift.protocol.TList _list522 = iprot.readListBegin();
+ names = new ArrayList<String>(_list522.size);
+ String _elem523;
+ for (int _i524 = 0; _i524 < _list522.size; ++_i524)
{
- _elem515 = iprot.readString();
- names.add(_elem515);
+ _elem523 = iprot.readString();
+ names.add(_elem523);
}
iprot.readListEnd();
}
@@ -264,14 +264,14 @@ import org.slf4j.LoggerFactory;
case EXPRS:
List<DropPartitionsExpr> exprs;
{
- org.apache.thrift.protocol.TList _list517 = iprot.readListBegin();
- exprs = new ArrayList<DropPartitionsExpr>(_list517.size);
- DropPartitionsExpr _elem518;
- for (int _i519 = 0; _i519 < _list517.size; ++_i519)
+ org.apache.thrift.protocol.TList _list525 = iprot.readListBegin();
+ exprs = new ArrayList<DropPartitionsExpr>(_list525.size);
+ DropPartitionsExpr _elem526;
+ for (int _i527 = 0; _i527 < _list525.size; ++_i527)
{
- _elem518 = new DropPartitionsExpr();
- _elem518.read(iprot);
- exprs.add(_elem518);
+ _elem526 = new DropPartitionsExpr();
+ _elem526.read(iprot);
+ exprs.add(_elem526);
}
iprot.readListEnd();
}
@@ -291,9 +291,9 @@ import org.slf4j.LoggerFactory;
List<String> names = (List<String>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size()));
- for (String _iter520 : names)
+ for (String _iter528 : names)
{
- oprot.writeString(_iter520);
+ oprot.writeString(_iter528);
}
oprot.writeListEnd();
}
@@ -302,9 +302,9 @@ import org.slf4j.LoggerFactory;
List<DropPartitionsExpr> exprs = (List<DropPartitionsExpr>)value_;
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size()));
- for (DropPartitionsExpr _iter521 : exprs)
+ for (DropPartitionsExpr _iter529 : exprs)
{
- _iter521.write(oprot);
+ _iter529.write(oprot);
}
oprot.writeListEnd();
}
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
index b4cd16f..f200df0 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
@@ -445,14 +445,14 @@ import org.slf4j.LoggerFactory;
case 1: // FIELD_SCHEMAS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list300 = iprot.readListBegin();
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list300.size);
- FieldSchema _elem301;
- for (int _i302 = 0; _i302 < _list300.size; ++_i302)
+ org.apache.thrift.protocol.TList _list308 = iprot.readListBegin();
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list308.size);
+ FieldSchema _elem309;
+ for (int _i310 = 0; _i310 < _list308.size; ++_i310)
{
- _elem301 = new FieldSchema();
- _elem301.read(iprot);
- struct.fieldSchemas.add(_elem301);
+ _elem309 = new FieldSchema();
+ _elem309.read(iprot);
+ struct.fieldSchemas.add(_elem309);
}
iprot.readListEnd();
}
@@ -464,15 +464,15 @@ import org.slf4j.LoggerFactory;
case 2: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map303 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map303.size);
- String _key304;
- String _val305;
- for (int _i306 = 0; _i306 < _map303.size; ++_i306)
+ org.apache.thrift.protocol.TMap _map311 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map311.size);
+ String _key312;
+ String _val313;
+ for (int _i314 = 0; _i314 < _map311.size; ++_i314)
{
- _key304 = iprot.readString();
- _val305 = iprot.readString();
- struct.properties.put(_key304, _val305);
+ _key312 = iprot.readString();
+ _val313 = iprot.readString();
+ struct.properties.put(_key312, _val313);
}
iprot.readMapEnd();
}
@@ -498,9 +498,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fieldSchemas.size()));
- for (FieldSchema _iter307 : struct.fieldSchemas)
+ for (FieldSchema _iter315 : struct.fieldSchemas)
{
- _iter307.write(oprot);
+ _iter315.write(oprot);
}
oprot.writeListEnd();
}
@@ -510,10 +510,10 @@ import org.slf4j.LoggerFactory;
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<String, String> _iter308 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter316 : struct.properties.entrySet())
{
- oprot.writeString(_iter308.getKey());
- oprot.writeString(_iter308.getValue());
+ oprot.writeString(_iter316.getKey());
+ oprot.writeString(_iter316.getValue());
}
oprot.writeMapEnd();
}
@@ -547,19 +547,19 @@ import org.slf4j.LoggerFactory;
if (struct.isSetFieldSchemas()) {
{
oprot.writeI32(struct.fieldSchemas.size());
- for (FieldSchema _iter309 : struct.fieldSchemas)
+ for (FieldSchema _iter317 : struct.fieldSchemas)
{
- _iter309.write(oprot);
+ _iter317.write(oprot);
}
}
}
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter310 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter318 : struct.properties.entrySet())
{
- oprot.writeString(_iter310.getKey());
- oprot.writeString(_iter310.getValue());
+ oprot.writeString(_iter318.getKey());
+ oprot.writeString(_iter318.getValue());
}
}
}
@@ -571,29 +571,29 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.fieldSchemas = new ArrayList<FieldSchema>(_list311.size);
- FieldSchema _elem312;
- for (int _i313 = 0; _i313 < _list311.size; ++_i313)
+ org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.fieldSchemas = new ArrayList<FieldSchema>(_list319.size);
+ FieldSchema _elem320;
+ for (int _i321 = 0; _i321 < _list319.size; ++_i321)
{
- _elem312 = new FieldSchema();
- _elem312.read(iprot);
- struct.fieldSchemas.add(_elem312);
+ _elem320 = new FieldSchema();
+ _elem320.read(iprot);
+ struct.fieldSchemas.add(_elem320);
}
}
struct.setFieldSchemasIsSet(true);
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TMap _map314 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.properties = new HashMap<String,String>(2*_map314.size);
- String _key315;
- String _val316;
- for (int _i317 = 0; _i317 < _map314.size; ++_i317)
+ org.apache.thrift.protocol.TMap _map322 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.properties = new HashMap<String,String>(2*_map322.size);
+ String _key323;
+ String _val324;
+ for (int _i325 = 0; _i325 < _map322.size; ++_i325)
{
- _key315 = iprot.readString();
- _val316 = iprot.readString();
- struct.properties.put(_key315, _val316);
+ _key323 = iprot.readString();
+ _val324 = iprot.readString();
+ struct.properties.put(_key323, _val324);
}
}
struct.setPropertiesIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
index 6f9053d..8009eb4 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
@@ -594,14 +594,14 @@ import org.slf4j.LoggerFactory;
case 1: // COL_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list292 = iprot.readListBegin();
- struct.colStats = new ArrayList<ColumnStatistics>(_list292.size);
- ColumnStatistics _elem293;
- for (int _i294 = 0; _i294 < _list292.size; ++_i294)
+ org.apache.thrift.protocol.TList _list300 = iprot.readListBegin();
+ struct.colStats = new ArrayList<ColumnStatistics>(_list300.size);
+ ColumnStatistics _elem301;
+ for (int _i302 = 0; _i302 < _list300.size; ++_i302)
{
- _elem293 = new ColumnStatistics();
- _elem293.read(iprot);
- struct.colStats.add(_elem293);
+ _elem301 = new ColumnStatistics();
+ _elem301.read(iprot);
+ struct.colStats.add(_elem301);
}
iprot.readListEnd();
}
@@ -651,9 +651,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COL_STATS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size()));
- for (ColumnStatistics _iter295 : struct.colStats)
+ for (ColumnStatistics _iter303 : struct.colStats)
{
- _iter295.write(oprot);
+ _iter303.write(oprot);
}
oprot.writeListEnd();
}
@@ -695,9 +695,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.colStats.size());
- for (ColumnStatistics _iter296 : struct.colStats)
+ for (ColumnStatistics _iter304 : struct.colStats)
{
- _iter296.write(oprot);
+ _iter304.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -726,14 +726,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list297 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.colStats = new ArrayList<ColumnStatistics>(_list297.size);
- ColumnStatistics _elem298;
- for (int _i299 = 0; _i299 < _list297.size; ++_i299)
+ org.apache.thrift.protocol.TList _list305 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.colStats = new ArrayList<ColumnStatistics>(_list305.size);
+ ColumnStatistics _elem306;
+ for (int _i307 = 0; _i307 < _list305.size; ++_i307)
{
- _elem298 = new ColumnStatistics();
- _elem298.read(iprot);
- struct.colStats.add(_elem298);
+ _elem306 = new ColumnStatistics();
+ _elem306.read(iprot);
+ struct.colStats.add(_elem306);
}
}
struct.setColStatsIsSet(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 5fcc0dd..0d64491 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 @@ import org.slf4j.LoggerFactory;
case 1: // COMPACTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list732 = iprot.readListBegin();
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list732.size);
- ShowCompactResponseElement _elem733;
- for (int _i734 = 0; _i734 < _list732.size; ++_i734)
+ org.apache.thrift.protocol.TList _list740 = iprot.readListBegin();
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list740.size);
+ ShowCompactResponseElement _elem741;
+ for (int _i742 = 0; _i742 < _list740.size; ++_i742)
{
- _elem733 = new ShowCompactResponseElement();
- _elem733.read(iprot);
- struct.compacts.add(_elem733);
+ _elem741 = new ShowCompactResponseElement();
+ _elem741.read(iprot);
+ struct.compacts.add(_elem741);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(COMPACTS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size()));
- for (ShowCompactResponseElement _iter735 : struct.compacts)
+ for (ShowCompactResponseElement _iter743 : struct.compacts)
{
- _iter735.write(oprot);
+ _iter743.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.compacts.size());
- for (ShowCompactResponseElement _iter736 : struct.compacts)
+ for (ShowCompactResponseElement _iter744 : struct.compacts)
{
- _iter736.write(oprot);
+ _iter744.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
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 _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.compacts = new ArrayList<ShowCompactResponseElement>(_list737.size);
- ShowCompactResponseElement _elem738;
- for (int _i739 = 0; _i739 < _list737.size; ++_i739)
+ org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.compacts = new ArrayList<ShowCompactResponseElement>(_list745.size);
+ ShowCompactResponseElement _elem746;
+ for (int _i747 = 0; _i747 < _list745.size; ++_i747)
{
- _elem738 = new ShowCompactResponseElement();
- _elem738.read(iprot);
- struct.compacts.add(_elem738);
+ _elem746 = new ShowCompactResponseElement();
+ _elem746.read(iprot);
+ struct.compacts.add(_elem746);
}
}
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 3db5327..c462263 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 @@ import org.slf4j.LoggerFactory;
case 1: // LOCKS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list698 = iprot.readListBegin();
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list698.size);
- ShowLocksResponseElement _elem699;
- for (int _i700 = 0; _i700 < _list698.size; ++_i700)
+ org.apache.thrift.protocol.TList _list706 = iprot.readListBegin();
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list706.size);
+ ShowLocksResponseElement _elem707;
+ for (int _i708 = 0; _i708 < _list706.size; ++_i708)
{
- _elem699 = new ShowLocksResponseElement();
- _elem699.read(iprot);
- struct.locks.add(_elem699);
+ _elem707 = new ShowLocksResponseElement();
+ _elem707.read(iprot);
+ struct.locks.add(_elem707);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(LOCKS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size()));
- for (ShowLocksResponseElement _iter701 : struct.locks)
+ for (ShowLocksResponseElement _iter709 : struct.locks)
{
- _iter701.write(oprot);
+ _iter709.write(oprot);
}
oprot.writeListEnd();
}
@@ -416,9 +416,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetLocks()) {
{
oprot.writeI32(struct.locks.size());
- for (ShowLocksResponseElement _iter702 : struct.locks)
+ for (ShowLocksResponseElement _iter710 : struct.locks)
{
- _iter702.write(oprot);
+ _iter710.write(oprot);
}
}
}
@@ -430,14 +430,14 @@ import org.slf4j.LoggerFactory;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.locks = new ArrayList<ShowLocksResponseElement>(_list703.size);
- ShowLocksResponseElement _elem704;
- for (int _i705 = 0; _i705 < _list703.size; ++_i705)
+ org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.locks = new ArrayList<ShowLocksResponseElement>(_list711.size);
+ ShowLocksResponseElement _elem712;
+ for (int _i713 = 0; _i713 < _list711.size; ++_i713)
{
- _elem704 = new ShowLocksResponseElement();
- _elem704.read(iprot);
- struct.locks.add(_elem704);
+ _elem712 = new ShowLocksResponseElement();
+ _elem712.read(iprot);
+ struct.locks.add(_elem712);
}
}
struct.setLocksIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
index 75edb63..95cd19f 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
@@ -265,7 +265,7 @@ import org.slf4j.LoggerFactory;
tmpMap.put(_Fields.REWRITE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("rewriteEnabled", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
tmpMap.put(_Fields.CREATION_METADATA, new org.apache.thrift.meta_data.FieldMetaData("creationMetadata", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "CreationMetadata")));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreationMetadata.class)));
tmpMap.put(_Fields.CAT_NAME, new org.apache.thrift.meta_data.FieldMetaData("catName", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.OWNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("ownerType", org.apache.thrift.TFieldRequirementType.OPTIONAL,
@@ -368,7 +368,7 @@ import org.slf4j.LoggerFactory;
this.temporary = other.temporary;
this.rewriteEnabled = other.rewriteEnabled;
if (other.isSetCreationMetadata()) {
- this.creationMetadata = other.creationMetadata;
+ this.creationMetadata = new CreationMetadata(other.creationMetadata);
}
if (other.isSetCatName()) {
this.catName = other.catName;
@@ -2017,6 +2017,9 @@ import org.slf4j.LoggerFactory;
if (privileges != null) {
privileges.validate();
}
+ if (creationMetadata != null) {
+ creationMetadata.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -2123,14 +2126,14 @@ import org.slf4j.LoggerFactory;
case 9: // PARTITION_KEYS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list206 = iprot.readListBegin();
- struct.partitionKeys = new ArrayList<FieldSchema>(_list206.size);
- FieldSchema _elem207;
- for (int _i208 = 0; _i208 < _list206.size; ++_i208)
+ org.apache.thrift.protocol.TList _list214 = iprot.readListBegin();
+ struct.partitionKeys = new ArrayList<FieldSchema>(_list214.size);
+ FieldSchema _elem215;
+ for (int _i216 = 0; _i216 < _list214.size; ++_i216)
{
- _elem207 = new FieldSchema();
- _elem207.read(iprot);
- struct.partitionKeys.add(_elem207);
+ _elem215 = new FieldSchema();
+ _elem215.read(iprot);
+ struct.partitionKeys.add(_elem215);
}
iprot.readListEnd();
}
@@ -2142,15 +2145,15 @@ import org.slf4j.LoggerFactory;
case 10: // PARAMETERS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map209 = iprot.readMapBegin();
- struct.parameters = new HashMap<String,String>(2*_map209.size);
- String _key210;
- String _val211;
- for (int _i212 = 0; _i212 < _map209.size; ++_i212)
+ org.apache.thrift.protocol.TMap _map217 = iprot.readMapBegin();
+ struct.parameters = new HashMap<String,String>(2*_map217.size);
+ String _key218;
+ String _val219;
+ for (int _i220 = 0; _i220 < _map217.size; ++_i220)
{
- _key210 = iprot.readString();
- _val211 = iprot.readString();
- struct.parameters.put(_key210, _val211);
+ _key218 = iprot.readString();
+ _val219 = iprot.readString();
+ struct.parameters.put(_key218, _val219);
}
iprot.readMapEnd();
}
@@ -2309,9 +2312,9 @@ import org.slf4j.LoggerFactory;
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 _iter213 : struct.partitionKeys)
+ for (FieldSchema _iter221 : struct.partitionKeys)
{
- _iter213.write(oprot);
+ _iter221.write(oprot);
}
oprot.writeListEnd();
}
@@ -2321,10 +2324,10 @@ import org.slf4j.LoggerFactory;
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size()));
- for (Map.Entry<String, String> _iter214 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter222 : struct.parameters.entrySet())
{
- oprot.writeString(_iter214.getKey());
- oprot.writeString(_iter214.getValue());
+ oprot.writeString(_iter222.getKey());
+ oprot.writeString(_iter222.getValue());
}
oprot.writeMapEnd();
}
@@ -2512,19 +2515,19 @@ import org.slf4j.LoggerFactory;
if (struct.isSetPartitionKeys()) {
{
oprot.writeI32(struct.partitionKeys.size());
- for (FieldSchema _iter215 : struct.partitionKeys)
+ for (FieldSchema _iter223 : struct.partitionKeys)
{
- _iter215.write(oprot);
+ _iter223.write(oprot);
}
}
}
if (struct.isSetParameters()) {
{
oprot.writeI32(struct.parameters.size());
- for (Map.Entry<String, String> _iter216 : struct.parameters.entrySet())
+ for (Map.Entry<String, String> _iter224 : struct.parameters.entrySet())
{
- oprot.writeString(_iter216.getKey());
- oprot.writeString(_iter216.getValue());
+ oprot.writeString(_iter224.getKey());
+ oprot.writeString(_iter224.getValue());
}
}
}
@@ -2605,29 +2608,29 @@ import org.slf4j.LoggerFactory;
}
if (incoming.get(8)) {
{
- org.apache.thrift.protocol.TList _list217 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.partitionKeys = new ArrayList<FieldSchema>(_list217.size);
- FieldSchema _elem218;
- for (int _i219 = 0; _i219 < _list217.size; ++_i219)
+ org.apache.thrift.protocol.TList _list225 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.partitionKeys = new ArrayList<FieldSchema>(_list225.size);
+ FieldSchema _elem226;
+ for (int _i227 = 0; _i227 < _list225.size; ++_i227)
{
- _elem218 = new FieldSchema();
- _elem218.read(iprot);
- struct.partitionKeys.add(_elem218);
+ _elem226 = new FieldSchema();
+ _elem226.read(iprot);
+ struct.partitionKeys.add(_elem226);
}
}
struct.setPartitionKeysIsSet(true);
}
if (incoming.get(9)) {
{
- org.apache.thrift.protocol.TMap _map220 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.parameters = new HashMap<String,String>(2*_map220.size);
- String _key221;
- String _val222;
- for (int _i223 = 0; _i223 < _map220.size; ++_i223)
+ org.apache.thrift.protocol.TMap _map228 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.parameters = new HashMap<String,String>(2*_map228.size);
+ String _key229;
+ String _val230;
+ for (int _i231 = 0; _i231 < _map228.size; ++_i231)
{
- _key221 = iprot.readString();
- _val222 = iprot.readString();
- struct.parameters.put(_key221, _val222);
+ _key229 = iprot.readString();
+ _val230 = iprot.readString();
+ struct.parameters.put(_key229, _val230);
}
}
struct.setParametersIsSet(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 ae3a6e2..220b852 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
@@ -700,13 +700,13 @@ import org.slf4j.LoggerFactory;
case 3: // COL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list458 = iprot.readListBegin();
- struct.colNames = new ArrayList<String>(_list458.size);
- String _elem459;
- for (int _i460 = 0; _i460 < _list458.size; ++_i460)
+ org.apache.thrift.protocol.TList _list466 = iprot.readListBegin();
+ struct.colNames = new ArrayList<String>(_list466.size);
+ String _elem467;
+ for (int _i468 = 0; _i468 < _list466.size; ++_i468)
{
- _elem459 = iprot.readString();
- struct.colNames.add(_elem459);
+ _elem467 = iprot.readString();
+ struct.colNames.add(_elem467);
}
iprot.readListEnd();
}
@@ -758,9 +758,9 @@ import org.slf4j.LoggerFactory;
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 _iter461 : struct.colNames)
+ for (String _iter469 : struct.colNames)
{
- oprot.writeString(_iter461);
+ oprot.writeString(_iter469);
}
oprot.writeListEnd();
}
@@ -801,9 +801,9 @@ import org.slf4j.LoggerFactory;
oprot.writeString(struct.tblName);
{
oprot.writeI32(struct.colNames.size());
- for (String _iter462 : struct.colNames)
+ for (String _iter470 : struct.colNames)
{
- oprot.writeString(_iter462);
+ oprot.writeString(_iter470);
}
}
BitSet optionals = new BitSet();
@@ -830,13 +830,13 @@ import org.slf4j.LoggerFactory;
struct.tblName = iprot.readString();
struct.setTblNameIsSet(true);
{
- org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.colNames = new ArrayList<String>(_list463.size);
- String _elem464;
- for (int _i465 = 0; _i465 < _list463.size; ++_i465)
+ org.apache.thrift.protocol.TList _list471 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.colNames = new ArrayList<String>(_list471.size);
+ String _elem472;
+ for (int _i473 = 0; _i473 < _list471.size; ++_i473)
{
- _elem464 = iprot.readString();
- struct.colNames.add(_elem464);
+ _elem472 = iprot.readString();
+ struct.colNames.add(_elem472);
}
}
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 b57f4bf..721a417 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 @@ import org.slf4j.LoggerFactory;
case 1: // TABLE_STATS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list432 = iprot.readListBegin();
- struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list432.size);
- ColumnStatisticsObj _elem433;
- for (int _i434 = 0; _i434 < _list432.size; ++_i434)
+ org.apache.thrift.protocol.TList _list440 = iprot.readListBegin();
+ struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list440.size);
+ ColumnStatisticsObj _elem441;
+ for (int _i442 = 0; _i442 < _list440.size; ++_i442)
{
- _elem433 = new ColumnStatisticsObj();
- _elem433.read(iprot);
- struct.tableStats.add(_elem433);
+ _elem441 = new ColumnStatisticsObj();
+ _elem441.read(iprot);
+ struct.tableStats.add(_elem441);
}
iprot.readListEnd();
}
@@ -476,9 +476,9 @@ import org.slf4j.LoggerFactory;
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 _iter435 : struct.tableStats)
+ for (ColumnStatisticsObj _iter443 : struct.tableStats)
{
- _iter435.write(oprot);
+ _iter443.write(oprot);
}
oprot.writeListEnd();
}
@@ -508,9 +508,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.tableStats.size());
- for (ColumnStatisticsObj _iter436 : struct.tableStats)
+ for (ColumnStatisticsObj _iter444 : struct.tableStats)
{
- _iter436.write(oprot);
+ _iter444.write(oprot);
}
}
BitSet optionals = new BitSet();
@@ -527,14 +527,14 @@ import org.slf4j.LoggerFactory;
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 _list437 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list437.size);
- ColumnStatisticsObj _elem438;
- for (int _i439 = 0; _i439 < _list437.size; ++_i439)
+ org.apache.thrift.protocol.TList _list445 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list445.size);
+ ColumnStatisticsObj _elem446;
+ for (int _i447 = 0; _i447 < _list445.size; ++_i447)
{
- _elem438 = new ColumnStatisticsObj();
- _elem438.read(iprot);
- struct.tableStats.add(_elem438);
+ _elem446 = new ColumnStatisticsObj();
+ _elem446.read(iprot);
+ struct.tableStats.add(_elem446);
}
}
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 e5ba13d..d0ab3b5 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 @@ import org.slf4j.LoggerFactory;
case 3: // INVALID_WRITE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list650 = iprot.readListBegin();
- struct.invalidWriteIds = new ArrayList<Long>(_list650.size);
- long _elem651;
- for (int _i652 = 0; _i652 < _list650.size; ++_i652)
+ org.apache.thrift.protocol.TList _list658 = iprot.readListBegin();
+ struct.invalidWriteIds = new ArrayList<Long>(_list658.size);
+ long _elem659;
+ for (int _i660 = 0; _i660 < _list658.size; ++_i660)
{
- _elem651 = iprot.readI64();
- struct.invalidWriteIds.add(_elem651);
+ _elem659 = iprot.readI64();
+ struct.invalidWriteIds.add(_elem659);
}
iprot.readListEnd();
}
@@ -764,9 +764,9 @@ import org.slf4j.LoggerFactory;
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 _iter653 : struct.invalidWriteIds)
+ for (long _iter661 : struct.invalidWriteIds)
{
- oprot.writeI64(_iter653);
+ oprot.writeI64(_iter661);
}
oprot.writeListEnd();
}
@@ -803,9 +803,9 @@ import org.slf4j.LoggerFactory;
oprot.writeI64(struct.writeIdHighWaterMark);
{
oprot.writeI32(struct.invalidWriteIds.size());
- for (long _iter654 : struct.invalidWriteIds)
+ for (long _iter662 : struct.invalidWriteIds)
{
- oprot.writeI64(_iter654);
+ oprot.writeI64(_iter662);
}
}
oprot.writeBinary(struct.abortedBits);
@@ -827,13 +827,13 @@ import org.slf4j.LoggerFactory;
struct.writeIdHighWaterMark = iprot.readI64();
struct.setWriteIdHighWaterMarkIsSet(true);
{
- org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.invalidWriteIds = new ArrayList<Long>(_list655.size);
- long _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.I64, iprot.readI32());
+ struct.invalidWriteIds = new ArrayList<Long>(_list663.size);
+ long _elem664;
+ for (int _i665 = 0; _i665 < _list663.size; ++_i665)
{
- _elem656 = iprot.readI64();
- struct.invalidWriteIds.add(_elem656);
+ _elem664 = iprot.readI64();
+ struct.invalidWriteIds.add(_elem664);
}
}
struct.setInvalidWriteIdsIsSet(true);
diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
index 1acf6f4..21643d9 100644
--- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
+++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java
@@ -354,14 +354,14 @@ import org.slf4j.LoggerFactory;
case 1: // UNIQUE_CONSTRAINTS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list344 = iprot.readListBegin();
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list344.size);
- SQLUniqueConstraint _elem345;
- for (int _i346 = 0; _i346 < _list344.size; ++_i346)
+ org.apache.thrift.protocol.TList _list352 = iprot.readListBegin();
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list352.size);
+ SQLUniqueConstraint _elem353;
+ for (int _i354 = 0; _i354 < _list352.size; ++_i354)
{
- _elem345 = new SQLUniqueConstraint();
- _elem345.read(iprot);
- struct.uniqueConstraints.add(_elem345);
+ _elem353 = new SQLUniqueConstraint();
+ _elem353.read(iprot);
+ struct.uniqueConstraints.add(_elem353);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ import org.slf4j.LoggerFactory;
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 _iter347 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter355 : struct.uniqueConstraints)
{
- _iter347.write(oprot);
+ _iter355.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ import org.slf4j.LoggerFactory;
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.uniqueConstraints.size());
- for (SQLUniqueConstraint _iter348 : struct.uniqueConstraints)
+ for (SQLUniqueConstraint _iter356 : struct.uniqueConstraints)
{
- _iter348.write(oprot);
+ _iter356.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ import org.slf4j.LoggerFactory;
public void read(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list349.size);
- SQLUniqueConstraint _elem350;
- for (int _i351 = 0; _i351 < _list349.size; ++_i351)
+ org.apache.thrift.protocol.TList _list357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.uniqueConstraints = new ArrayList<SQLUniqueConstraint>(_list357.size);
+ SQLUniqueConstraint _elem358;
+ for (int _i359 = 0; _i359 < _list357.size; ++_i359)
{
- _elem350 = new SQLUniqueConstraint();
- _elem350.read(iprot);
- struct.uniqueConstraints.add(_elem350);
+ _elem358 = new SQLUniqueConstraint();
+ _elem358.read(iprot);
+ struct.uniqueConstraints.add(_elem358);
}
}
struct.setUniqueConstraintsIsSet(true);
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 4f5f8eb..18444a0 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
@@ -6755,6 +6755,230 @@ class StorageDescriptor {
}
+class CreationMetadata {
+ static $_TSPEC;
+
+ /**
+ * @var string
+ */
+ public $catName = null;
+ /**
+ * @var string
+ */
+ public $dbName = null;
+ /**
+ * @var string
+ */
+ public $tblName = null;
+ /**
+ * @var string[]
+ */
+ public $tablesUsed = null;
+ /**
+ * @var string
+ */
+ public $validTxnList = null;
+ /**
+ * @var int
+ */
+ public $materializationTime = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'catName',
+ 'type' => TType::STRING,
+ ),
+ 2 => array(
+ 'var' => 'dbName',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'tblName',
+ 'type' => TType::STRING,
+ ),
+ 4 => array(
+ 'var' => 'tablesUsed',
+ 'type' => TType::SET,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
+ ),
+ 5 => array(
+ 'var' => 'validTxnList',
+ 'type' => TType::STRING,
+ ),
+ 6 => array(
+ 'var' => 'materializationTime',
+ 'type' => TType::I64,
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['catName'])) {
+ $this->catName = $vals['catName'];
+ }
+ if (isset($vals['dbName'])) {
+ $this->dbName = $vals['dbName'];
+ }
+ if (isset($vals['tblName'])) {
+ $this->tblName = $vals['tblName'];
+ }
+ if (isset($vals['tablesUsed'])) {
+ $this->tablesUsed = $vals['tablesUsed'];
+ }
+ if (isset($vals['validTxnList'])) {
+ $this->validTxnList = $vals['validTxnList'];
+ }
+ if (isset($vals['materializationTime'])) {
+ $this->materializationTime = $vals['materializationTime'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'CreationMetadata';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->catName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->dbName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->tblName);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 4:
+ if ($ftype == TType::SET) {
+ $this->tablesUsed = array();
+ $_size182 = 0;
+ $_etype185 = 0;
+ $xfer += $input->readSetBegin($_etype185, $_size182);
+ for ($_i186 = 0; $_i186 < $_size182; ++$_i186)
+ {
+ $elem187 = null;
+ $xfer += $input->readString($elem187);
+ if (is_scalar($elem187)) {
+ $this->tablesUsed[$elem187] = true;
+ } else {
+ $this->tablesUsed []= $elem187;
+ }
+ }
+ $xfer += $input->readSetEnd();
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 5:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->validTxnList);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 6:
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->materializationTime);
+ } 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('CreationMetadata');
+ if ($this->catName !== null) {
+ $xfer += $output->writeFieldBegin('catName', TType::STRING, 1);
+ $xfer += $output->writeString($this->catName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->dbName !== null) {
+ $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2);
+ $xfer += $output->writeString($this->dbName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->tblName !== null) {
+ $xfer += $output->writeFieldBegin('tblName', TType::STRING, 3);
+ $xfer += $output->writeString($this->tblName);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->tablesUsed !== null) {
+ if (!is_array($this->tablesUsed)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 4);
+ {
+ $output->writeSetBegin(TType::STRING, count($this->tablesUsed));
+ {
+ foreach ($this->tablesUsed as $iter188 => $iter189)
+ {
+ if (is_scalar($iter189)) {
+ $xfer += $output->writeString($iter188);
+ } else {
+ $xfer += $output->writeString($iter189);
+ }
+ }
+ }
+ $output->writeSetEnd();
+ }
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->validTxnList !== null) {
+ $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 5);
+ $xfer += $output->writeString($this->validTxnList);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->materializationTime !== null) {
+ $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 6);
+ $xfer += $output->writeI64($this->materializationTime);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
class Table {
static $_TSPEC;
@@ -7106,15 +7330,15 @@ class Table {
case 9:
if ($ftype == TType::LST) {
$this->partitionKeys = array();
- $_size182 = 0;
- $_etype185 = 0;
- $xfer += $input->readListBegin($_etype185, $_size182);
- for ($_i186 = 0; $_i186 < $_size182; ++$_i186)
+ $_size190 = 0;
+ $_etype193 = 0;
+ $xfer += $input->readListBegin($_etype193, $_size190);
+ for ($_i194 = 0; $_i194 < $_size190; ++$_i194)
{
- $elem187 = null;
- $elem187 = new \metastore\FieldSchema();
- $xfer += $elem187->read($input);
- $this->partitionKeys []= $elem187;
+ $elem195 = null;
+ $elem195 = new \metastore\FieldSchema();
+ $xfer += $elem195->read($input);
+ $this->partitionKeys []= $elem195;
}
$xfer += $input->readListEnd();
} else {
@@ -7124,17 +7348,17 @@ class Table {
case 10:
if ($ftype == TType::MAP) {
$this->parameters = array();
- $_size188 = 0;
- $_ktype189 = 0;
- $_vtype190 = 0;
- $xfer += $input->readMapBegin($_ktype189, $_vtype190, $_size188);
- for ($_i192 = 0; $_i192 < $_size188; ++$_i192)
+ $_size196 = 0;
+ $_ktype197 = 0;
+ $_vtype198 = 0;
+ $xfer += $input->readMapBegin($_ktype197, $_vtype198, $_size196);
+ for ($_i200 = 0; $_i200 < $_size196; ++$_i200)
{
- $key193 = '';
- $val194 = '';
- $xfer += $input->readString($key193);
- $xfer += $input->readString($val194);
- $this->parameters[$key193] = $val194;
+ $key201 = '';
+ $val202 = '';
+ $xfer += $input->readString($key201);
+ $xfer += $input->readString($val202);
+ $this->parameters[$key201] = $val202;
}
$xfer += $input->readMapEnd();
} else {
@@ -7292,9 +7516,9 @@ class Table {
{
$output->writeListBegin(TType::STRUCT, count($this->partitionKeys));
{
- foreach ($this->partitionKeys as $iter195)
+ foreach ($this->partitionKeys as $iter203)
{
- $xfer += $iter195->write($output);
+ $xfer += $iter203->write($output);
}
}
$output->writeListEnd();
@@ -7309,10 +7533,10 @@ class Table {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters));
{
- foreach ($this->parameters as $kiter196 => $viter197)
+ foreach ($this->parameters as $kiter204 => $viter205)
{
- $xfer += $output->writeString($kiter196);
- $xfer += $output->writeString($viter197);
+ $xfer += $output->writeString($kiter204);
+ $xfer += $output->writeString($viter205);
}
}
$output->writeMapEnd();
@@ -7577,14 +7801,14 @@ class Partition {
case 1:
if ($ftype == TType::LST) {
$this->values = array();
- $_size198 = 0;
- $_etype201 = 0;
- $xfer += $input->readListBegin($_etype201, $_size198);
- for ($_i202 = 0; $_i202 < $_size198; ++$_i202)
+ $_size206 = 0;
+ $_etype209 = 0;
+ $xfer += $input->readListBegin($_etype209, $_size206);
+ for ($_i210 = 0; $_i210 < $_size206; ++$_i210)
{
- $elem203 = null;
- $xfer += $input->readString($elem203);
- $this->values []= $elem203;
+ $elem211 = null;
+ $xfer += $input->readString($elem211);
+ $this->values []= $elem211;
}
$xfer += $input->readListEnd();
} else {
@@ -7630,17 +7854,17 @@ class Partition {
case 7:
if ($ftype == TType::MAP) {
$this->parameters = array();
- $_size204 = 0;
- $_ktype205 = 0;
- $_vtype206 = 0;
- $xfer += $input->readMapBegin($_ktype205, $_vtype206, $_size204);
- for ($_i208 = 0; $_i208 < $_size204; ++$_i208)
+ $_size212 = 0;
+ $_ktype213 = 0;
+ $_vtype214 = 0;
+ $xfer += $input->readMapBegin($_ktype213, $_vtype214, $_size212);
+ for ($_i216 = 0; $_i216 < $_size212; ++$_i216)
{
- $key209 = '';
- $val210 = '';
- $xfer += $input->readString($key209);
- $xfer += $input->readString($val210);
- $this->parameters[$key209] = $val210;
+ $key217 = '';
+ $val218 = '';
+ $xfer += $input->readString($key217);
+ $xfer += $input->readString($val218);
+ $this->parameters[$key217] = $val218;
}
$xfer += $input->readMapEnd();
} else {
@@ -7705,9 +7929,9 @@ class Partition {
{
$output->writeListBegin(TType::STRING, count($this->values));
{
- foreach ($this->values as $iter211)
+ foreach ($this->values as $iter219)
{
- $xfer += $output->writeString($iter211);
+ $xfer += $output->writeString($iter219);
}
}
$output->writeListEnd();
@@ -7750,10 +7974,10 @@ class Partition {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters));
{
- foreach ($this->parameters as $kiter212 => $viter213)
+ foreach ($this->parameters as $kiter220 => $viter221)
{
- $xfer += $output->writeString($kiter212);
- $xfer += $output->writeString($viter213);
+ $xfer += $output->writeString($kiter220);
+ $xfer += $output->writeString($viter221);
}
}
$output->writeMapEnd();
@@ -7912,14 +8136,14 @@ class PartitionWithoutSD {
case 1:
if ($ftype == TType::LST) {
$this->values = array();
- $_size214 = 0;
- $_etype217 = 0;
- $xfer += $input->readListBegin($_etype217, $_size214);
- for ($_i218 = 0; $_i218 < $_size214; ++$_i218)
+ $_size222 = 0;
+ $_etype225 = 0;
+ $xfer += $input->readListBegin($_etype225, $_size222);
+ for ($_i226 = 0; $_i226 < $_size222; ++$_i226)
{
- $elem219 = null;
- $xfer += $input->readString($elem219);
- $this->values []= $elem219;
+ $elem227 = null;
+ $xfer += $input->readString($elem227);
+ $this->values []= $elem227;
}
$xfer += $input->readListEnd();
} else {
@@ -7950,17 +8174,17 @@ class PartitionWithoutSD {
case 5:
if ($ftype == TType::MAP) {
$this->parameters = array();
- $_size220 = 0;
- $_ktype221 = 0;
- $_vtype222 = 0;
- $xfer += $input->readMapBegin($_ktype221, $_vtype222, $_size220);
- for ($_i224 = 0; $_i224 < $_size220; ++$_i224)
+ $_size228 = 0;
+ $_ktype229 = 0;
+ $_vtype230 = 0;
+ $xfer += $input->readMapBegin($_ktype229, $_vtype230, $_size228);
+ for ($_i232 = 0; $_i232 < $_size228; ++$_i232)
{
- $key225 = '';
- $val226 = '';
- $xfer += $input->readString($key225);
- $xfer += $input->readString($val226);
- $this->parameters[$key225] = $val226;
+ $key233 = '';
+ $val234 = '';
+ $xfer += $input->readString($key233);
+ $xfer += $input->readString($val234);
+ $this->parameters[$key233] = $val234;
}
$xfer += $input->readMapEnd();
} else {
@@ -7996,9 +8220,9 @@ class PartitionWithoutSD {
{
$output->writeListBegin(TType::STRING, count($this->values));
{
- foreach ($this->values as $iter227)
+ foreach ($this->values as $iter235)
{
- $xfer += $output->writeString($iter227);
+ $xfer += $output->writeString($iter235);
}
}
$output->writeListEnd();
@@ -8028,10 +8252,10 @@ class PartitionWithoutSD {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters));
{
- foreach ($this->parameters as $kiter228 => $viter229)
+ foreach ($this->parameters as $kiter236 => $viter237)
{
- $xfer += $output->writeString($kiter228);
- $xfer += $output->writeString($viter229);
+ $xfer += $output->writeString($kiter236);
+ $xfer += $output->writeString($viter237);
}
}
$output->writeMapEnd();
@@ -8116,15 +8340,15 @@ class PartitionSpecWithSharedSD {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size230 = 0;
- $_etype233 = 0;
- $xfer += $input->readListBegin($_etype233, $_size230);
- for ($_i234 = 0; $_i234 < $_size230; ++$_i234)
+ $_size238 = 0;
+ $_etype241 = 0;
+ $xfer += $input->readListBegin($_etype241, $_size238);
+ for ($_i242 = 0; $_i242 < $_size238; ++$_i242)
{
- $elem235 = null;
- $elem235 = new \metastore\PartitionWithoutSD();
- $xfer += $elem235->read($input);
- $this->partitions []= $elem235;
+ $elem243 = null;
+ $elem243 = new \metastore\PartitionWithoutSD();
+ $xfer += $elem243->read($input);
+ $this->partitions []= $elem243;
}
$xfer += $input->readListEnd();
} else {
@@ -8160,9 +8384,9 @@ class PartitionSpecWithSharedSD {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter236)
+ foreach ($this->partitions as $iter244)
{
- $xfer += $iter236->write($output);
+ $xfer += $iter244->write($output);
}
}
$output->writeListEnd();
@@ -8235,15 +8459,15 @@ class PartitionListComposingSpec {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size237 = 0;
- $_etype240 = 0;
- $xfer += $input->readListBegin($_etype240, $_size237);
- for ($_i241 = 0; $_i241 < $_size237; ++$_i241)
+ $_size245 = 0;
+ $_etype248 = 0;
+ $xfer += $input->readListBegin($_etype248, $_size245);
+ for ($_i249 = 0; $_i249 < $_size245; ++$_i249)
{
- $elem242 = null;
- $elem242 = new \metastore\Partition();
- $xfer += $elem242->read($input);
- $this->partitions []= $elem242;
+ $elem250 = null;
+ $elem250 = new \metastore\Partition();
+ $xfer += $elem250->read($input);
+ $this->partitions []= $elem250;
}
$xfer += $input->readListEnd();
} else {
@@ -8271,9 +8495,9 @@ class PartitionListComposingSpec {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter243)
+ foreach ($this->partitions as $iter251)
{
- $xfer += $iter243->write($output);
+ $xfer += $iter251->write($output);
}
}
$output->writeListEnd();
@@ -10495,15 +10719,15 @@ class ColumnStatistics {
case 2:
if ($ftype == TType::LST) {
$this->statsObj = array();
- $_size244 = 0;
- $_etype247 = 0;
- $xfer += $input->readListBegin($_etype247, $_size244);
- for ($_i248 = 0; $_i248 < $_size244; ++$_i248)
+ $_size252 = 0;
+ $_etype255 = 0;
+ $xfer += $input->readListBegin($_etype255, $_size252);
+ for ($_i256 = 0; $_i256 < $_size252; ++$_i256)
{
- $elem249 = null;
- $elem249 = new \metastore\ColumnStatisticsObj();
- $xfer += $elem249->read($input);
- $this->statsObj []= $elem249;
+ $elem257 = null;
+ $elem257 = new \metastore\ColumnStatisticsObj();
+ $xfer += $elem257->read($input);
+ $this->statsObj []= $elem257;
}
$xfer += $input->readListEnd();
} else {
@@ -10546,9 +10770,9 @@ class ColumnStatistics {
{
$output->writeListBegin(TType::STRUCT, count($this->statsObj));
{
- foreach ($this->statsObj as $iter250)
+ foreach ($this->statsObj as $iter258)
{
- $xfer += $iter250->write($output);
+ $xfer += $iter258->write($output);
}
}
$output->writeListEnd();
@@ -10640,15 +10864,15 @@ class AggrStats {
case 1:
if ($ftype == TType::LST) {
$this->colStats = array();
- $_size251 = 0;
- $_etype254 = 0;
- $xfer += $input->readListBegin($_etype254, $_size251);
- for ($_i255 = 0; $_i255 < $_size251; ++$_i255)
+ $_size259 = 0;
+ $_etype262 = 0;
+ $xfer += $input->readListBegin($_etype262, $_size259);
+ for ($_i263 = 0; $_i263 < $_size259; ++$_i263)
{
- $elem256 = null;
- $elem256 = new \metastore\ColumnStatisticsObj();
- $xfer += $elem256->read($input);
- $this->colStats []= $elem256;
+ $elem264 = null;
+ $elem264 = new \metastore\ColumnStatisticsObj();
+ $xfer += $elem264->read($input);
+ $this->colStats []= $elem264;
}
$xfer += $input->readListEnd();
} else {
@@ -10690,9 +10914,9 @@ class AggrStats {
{
$output->writeListBegin(TType::STRUCT, count($this->colStats));
{
- foreach ($this->colStats as $iter257)
+ foreach ($this->colStats as $iter265)
{
- $xfer += $iter257->write($output);
+ $xfer += $iter265->write($output);
}
}
$output->writeListEnd();
@@ -10800,15 +11024,15 @@ class SetPartitionsStatsRequest {
case 1:
if ($ftype == TType::LST) {
$this->colStats = array();
- $_size258 = 0;
- $_etype261 = 0;
- $xfer += $input->readListBegin($_etype261, $_size258);
- for ($_i262 = 0; $_i262 < $_size258; ++$_i262)
+ $_size266 = 0;
+ $_etype269 = 0;
+ $xfer += $input->readListBegin($_etype269, $_size266);
+ for ($_i270 = 0; $_i270 < $_size266; ++$_i270)
{
- $elem263 = null;
- $elem263 = new \metastore\ColumnStatistics();
- $xfer += $elem263->read($input);
- $this->colStats []= $elem263;
+ $elem271 = null;
+ $elem271 = new \metastore\ColumnStatistics();
+ $xfer += $elem271->read($input);
+ $this->colStats []= $elem271;
}
$xfer += $input->readListEnd();
} else {
@@ -10857,9 +11081,9 @@ class SetPartitionsStatsRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->colStats));
{
- foreach ($this->colStats as $iter264)
+ foreach ($this->colStats as $iter272)
{
- $xfer += $iter264->write($output);
+ $xfer += $iter272->write($output);
}
}
$output->writeListEnd();
@@ -11033,15 +11257,15 @@ class Schema {
case 1:
if ($ftype == TType::LST) {
$this->fieldSchemas = array();
- $_size265 = 0;
- $_etype268 = 0;
- $xfer += $input->readListBegin($_etype268, $_size265);
- for ($_i269 = 0; $_i269 < $_size265; ++$_i269)
+ $_size273 = 0;
+ $_etype276 = 0;
+ $xfer += $input->readListBegin($_etype276, $_size273);
+ for ($_i277 = 0; $_i277 < $_size273; ++$_i277)
{
- $elem270 = null;
- $elem270 = new \metastore\FieldSchema();
- $xfer += $elem270->read($input);
- $this->fieldSchemas []= $elem270;
+ $elem278 = null;
+ $elem278 = new \metastore\FieldSchema();
+ $xfer += $elem278->read($input);
+ $this->fieldSchemas []= $elem278;
}
$xfer += $input->readListEnd();
} else {
@@ -11051,17 +11275,17 @@ class Schema {
case 2:
if ($ftype == TType::MAP) {
$this->properties = array();
- $_size271 = 0;
- $_ktype272 = 0;
- $_vtype273 = 0;
- $xfer += $input->readMapBegin($_ktype272, $_vtype273, $_size271);
- for ($_i275 = 0; $_i275 < $_size271; ++$_i275)
+ $_size279 = 0;
+ $_ktype280 = 0;
+ $_vtype281 = 0;
+ $xfer += $input->readMapBegin($_ktype280, $_vtype281, $_size279);
+ for ($_i283 = 0; $_i283 < $_size279; ++$_i283)
{
- $key276 = '';
- $val277 = '';
- $xfer += $input->readString($key276);
- $xfer += $input->readString($val277);
- $this->properties[$key276] = $val277;
+ $key284 = '';
+ $val285 = '';
+ $xfer += $input->readString($key284);
+ $xfer += $input->readString($val285);
+ $this->properties[$key284] = $val285;
}
$xfer += $input->readMapEnd();
} else {
@@ -11089,9 +11313,9 @@ class Schema {
{
$output->writeListBegin(TType::STRUCT, count($this->fieldSchemas));
{
- foreach ($this->fieldSchemas as $iter278)
+ foreach ($this->fieldSchemas as $iter286)
{
- $xfer += $iter278->write($output);
+ $xfer += $iter286->write($output);
}
}
$output->writeListEnd();
@@ -11106,10 +11330,10 @@ class Schema {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties));
{
- foreach ($this->properties as $kiter279 => $viter280)
+ foreach ($this->properties as $kiter287 => $viter288)
{
- $xfer += $output->writeString($kiter279);
- $xfer += $output->writeString($viter280);
+ $xfer += $output->writeString($kiter287);
+ $xfer += $output->writeString($viter288);
}
}
$output->writeMapEnd();
@@ -11177,17 +11401,17 @@ class EnvironmentContext {
case 1:
if ($ftype == TType::MAP) {
$this->properties = array();
- $_size281 = 0;
- $_ktype282 = 0;
- $_vtype283 = 0;
- $xfer += $input->readMapBegin($_ktype282, $_vtype283, $_size281);
- for ($_i285 = 0; $_i285 < $_size281; ++$_i285)
+ $_size289 = 0;
+ $_ktype290 = 0;
+ $_vtype291 = 0;
+ $xfer += $input->readMapBegin($_ktype290, $_vtype291, $_size289);
+ for ($_i293 = 0; $_i293 < $_size289; ++$_i293)
{
- $key286 = '';
- $val287 = '';
- $xfer += $input->readString($key286);
- $xfer += $input->readString($val287);
- $this->properties[$key286] = $val287;
+ $key294 = '';
+ $val295 = '';
+ $xfer += $input->readString($key294);
+ $xfer += $input->readString($val295);
+ $this->properties[$key294] = $val295;
}
$xfer += $input->readMapEnd();
} else {
@@ -11215,10 +11439,10 @@ class EnvironmentContext {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties));
{
- foreach ($this->properties as $kiter288 => $viter289)
+ foreach ($this->properties as $kiter296 => $viter297)
{
- $xfer += $output->writeString($kiter288);
- $xfer += $output->writeString($viter289);
+ $xfer += $output->writeString($kiter296);
+ $xfer += $output->writeString($viter297);
}
}
$output->writeMapEnd();
@@ -11404,15 +11628,15 @@ class PrimaryKeysResponse {
case 1:
if ($ftype == TType::LST) {
$this->primaryKeys = array();
- $_size290 = 0;
- $_etype293 = 0;
- $xfer += $input->readListBegin($_etype293, $_size290);
- for ($_i294 = 0; $_i294 < $_size290; ++$_i294)
+ $_size298 = 0;
+ $_etype301 = 0;
+ $xfer += $input->readListBegin($_etype301, $_size298);
+ for ($_i302 = 0; $_i302 < $_size298; ++$_i302)
{
- $elem295 = null;
- $elem295 = new \metastore\SQLPrimaryKey();
- $xfer += $elem295->read($input);
- $this->primaryKeys []= $elem295;
+ $elem303 = null;
+ $elem303 = new \metastore\SQLPrimaryKey();
+ $xfer += $elem303->read($input);
+ $this->primaryKeys []= $elem303;
}
$xfer += $input->readListEnd();
} else {
@@ -11440,9 +11664,9 @@ class PrimaryKeysResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->primaryKeys));
{
- foreach ($this->primaryKeys as $iter296)
+ foreach ($this->primaryKeys as $iter304)
{
- $xfer += $iter296->write($output);
+ $xfer += $iter304->write($output);
}
}
$output->writeListEnd();
@@ -11674,15 +11898,15 @@ class ForeignKeysResponse {
case 1:
if ($ftype == TType::LST) {
$this->foreignKeys = array();
- $_size297 = 0;
- $_etype300 = 0;
- $xfer += $input->readListBegin($_etype300, $_size297);
- for ($_i301 = 0; $_i301 < $_size297; ++$_i301)
+ $_size305 = 0;
+ $_etype308 = 0;
+ $xfer += $input->readListBegin($_etype308, $_size305);
+ for ($_i309 = 0; $_i309 < $_size305; ++$_i309)
{
- $elem302 = null;
- $elem302 = new \metastore\SQLForeignKey();
- $xfer += $elem302->read($input);
- $this->foreignKeys []= $elem302;
+ $elem310 = null;
+ $elem310 = new \metastore\SQLForeignKey();
+ $xfer += $elem310->read($input);
+ $this->foreignKeys []= $elem310;
}
$xfer += $input->readListEnd();
} else {
@@ -11710,9 +11934,9 @@ class ForeignKeysResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->foreignKeys));
{
- foreach ($this->foreignKeys as $iter303)
+ foreach ($this->foreignKeys as $iter311)
{
- $xfer += $iter303->write($output);
+ $xfer += $iter311->write($output);
}
}
$output->writeListEnd();
@@ -11898,15 +12122,15 @@ class UniqueConstraintsResponse {
case 1:
if ($ftype == TType::LST) {
$this->uniqueConstraints = array();
- $_size304 = 0;
- $_etype307 = 0;
- $xfer += $input->readListBegin($_etype307, $_size304);
- for ($_i308 = 0; $_i308 < $_size304; ++$_i308)
+ $_size312 = 0;
+ $_etype315 = 0;
+ $xfer += $input->readListBegin($_etype315, $_size312);
+ for ($_i316 = 0; $_i316 < $_size312; ++$_i316)
{
- $elem309 = null;
- $elem309 = new \metastore\SQLUniqueConstraint();
- $xfer += $elem309->read($input);
- $this->uniqueConstraints []= $elem309;
+ $elem317 = null;
+ $elem317 = new \metastore\SQLUniqueConstraint();
+ $xfer += $elem317->read($input);
+ $this->uniqueConstraints []= $elem317;
}
$xfer += $input->readListEnd();
} else {
@@ -11934,9 +12158,9 @@ class UniqueConstraintsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints));
{
- foreach ($this->uniqueConstraints as $iter310)
+ foreach ($this->uniqueConstraints as $iter318)
{
- $xfer += $iter310->write($output);
+ $xfer += $iter318->write($output);
}
}
$output->writeListEnd();
@@ -12122,15 +12346,15 @@ class NotNullConstraintsResponse {
case 1:
if ($ftype == TType::LST) {
$this->notNullConstraints = array();
- $_size311 = 0;
- $_etype314 = 0;
- $xfer += $input->readListBegin($_etype314, $_size311);
- for ($_i315 = 0; $_i315 < $_size311; ++$_i315)
+ $_size319 = 0;
+ $_etype322 = 0;
+ $xfer += $input->readListBegin($_etype322, $_size319);
+ for ($_i323 = 0; $_i323 < $_size319; ++$_i323)
{
- $elem316 = null;
- $elem316 = new \metastore\SQLNotNullConstraint();
- $xfer += $elem316->read($input);
- $this->notNullConstraints []= $elem316;
+ $elem324 = null;
+ $elem324 = new \metastore\SQLNotNullConstraint();
+ $xfer += $elem324->read($input);
+ $this->notNullConstraints []= $elem324;
}
$xfer += $input->readListEnd();
} else {
@@ -12158,9 +12382,9 @@ class NotNullConstraintsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->notNullConstraints));
{
- foreach ($this->notNullConstraints as $iter317)
+ foreach ($this->notNullConstraints as $iter325)
{
- $xfer += $iter317->write($output);
+ $xfer += $iter325->write($output);
}
}
$output->writeListEnd();
@@ -12346,15 +12570,15 @@ class DefaultConstraintsResponse {
case 1:
if ($ftype == TType::LST) {
$this->defaultConstraints = array();
- $_size318 = 0;
- $_etype321 = 0;
- $xfer += $input->readListBegin($_etype321, $_size318);
- for ($_i322 = 0; $_i322 < $_size318; ++$_i322)
+ $_size326 = 0;
+ $_etype329 = 0;
+ $xfer += $input->readListBegin($_etype329, $_size326);
+ for ($_i330 = 0; $_i330 < $_size326; ++$_i330)
{
- $elem323 = null;
- $elem323 = new \metastore\SQLDefaultConstraint();
- $xfer += $elem323->read($input);
- $this->defaultConstraints []= $elem323;
+ $elem331 = null;
+ $elem331 = new \metastore\SQLDefaultConstraint();
+ $xfer += $elem331->read($input);
+ $this->defaultConstraints []= $elem331;
}
$xfer += $input->readListEnd();
} else {
@@ -12382,9 +12606,9 @@ class DefaultConstraintsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->defaultConstraints));
{
- foreach ($this->defaultConstraints as $iter324)
+ foreach ($this->defaultConstraints as $iter332)
{
- $xfer += $iter324->write($output);
+ $xfer += $iter332->write($output);
}
}
$output->writeListEnd();
@@ -12570,15 +12794,15 @@ class CheckConstraintsResponse {
case 1:
if ($ftype == TType::LST) {
$this->checkConstraints = array();
- $_size325 = 0;
- $_etype328 = 0;
- $xfer += $input->readListBegin($_etype328, $_size325);
- for ($_i329 = 0; $_i329 < $_size325; ++$_i329)
+ $_size333 = 0;
+ $_etype336 = 0;
+ $xfer += $input->readListBegin($_etype336, $_size333);
+ for ($_i337 = 0; $_i337 < $_size333; ++$_i337)
{
- $elem330 = null;
- $elem330 = new \metastore\SQLCheckConstraint();
- $xfer += $elem330->read($input);
- $this->checkConstraints []= $elem330;
+ $elem338 = null;
+ $elem338 = new \metastore\SQLCheckConstraint();
+ $xfer += $elem338->read($input);
+ $this->checkConstraints []= $elem338;
}
$xfer += $input->readListEnd();
} else {
@@ -12606,9 +12830,9 @@ class CheckConstraintsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->checkConstraints));
{
- foreach ($this->checkConstraints as $iter331)
+ foreach ($this->checkConstraints as $iter339)
{
- $xfer += $iter331->write($output);
+ $xfer += $iter339->write($output);
}
}
$output->writeListEnd();
@@ -12817,15 +13041,15 @@ class AddPrimaryKeyRequest {
case 1:
if ($ftype == TType::LST) {
$this->primaryKeyCols = array();
- $_size332 = 0;
- $_etype335 = 0;
- $xfer += $input->readListBegin($_etype335, $_size332);
- for ($_i336 = 0; $_i336 < $_size332; ++$_i336)
+ $_size340 = 0;
+ $_etype343 = 0;
+ $xfer += $input->readListBegin($_etype343, $_size340);
+ for ($_i344 = 0; $_i344 < $_size340; ++$_i344)
{
- $elem337 = null;
- $elem337 = new \metastore\SQLPrimaryKey();
- $xfer += $elem337->read($input);
- $this->primaryKeyCols []= $elem337;
+ $elem345 = null;
+ $elem345 = new \metastore\SQLPrimaryKey();
+ $xfer += $elem345->read($input);
+ $this->primaryKeyCols []= $elem345;
}
$xfer += $input->readListEnd();
} else {
@@ -12853,9 +13077,9 @@ class AddPrimaryKeyRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->primaryKeyCols));
{
- foreach ($this->primaryKeyCols as $iter338)
+ foreach ($this->primaryKeyCols as $iter346)
{
- $xfer += $iter338->write($output);
+ $xfer += $iter346->write($output);
}
}
$output->writeListEnd();
@@ -12920,15 +13144,15 @@ class AddForeignKeyRequest {
case 1:
if ($ftype == TType::LST) {
$this->foreignKeyCols = array();
- $_size339 = 0;
- $_etype342 = 0;
- $xfer += $input->readListBegin($_etype342, $_size339);
- for ($_i343 = 0; $_i343 < $_size339; ++$_i343)
+ $_size347 = 0;
+ $_etype350 = 0;
+ $xfer += $input->readListBegin($_etype350, $_size347);
+ for ($_i351 = 0; $_i351 < $_size347; ++$_i351)
{
- $elem344 = null;
- $elem344 = new \metastore\SQLForeignKey();
- $xfer += $elem344->read($input);
- $this->foreignKeyCols []= $elem344;
+ $elem352 = null;
+ $elem352 = new \metastore\SQLForeignKey();
+ $xfer += $elem352->read($input);
+ $this->foreignKeyCols []= $elem352;
}
$xfer += $input->readListEnd();
} else {
@@ -12956,9 +13180,9 @@ class AddForeignKeyRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->foreignKeyCols));
{
- foreach ($this->foreignKeyCols as $iter345)
+ foreach ($this->foreignKeyCols as $iter353)
{
- $xfer += $iter345->write($output);
+ $xfer += $iter353->write($output);
}
}
$output->writeListEnd();
@@ -13023,15 +13247,15 @@ class AddUniqueConstraintRequest {
case 1:
if ($ftype == TType::LST) {
$this->uniqueConstraintCols = array();
- $_size346 = 0;
- $_etype349 = 0;
- $xfer += $input->readListBegin($_etype349, $_size346);
- for ($_i350 = 0; $_i350 < $_size346; ++$_i350)
+ $_size354 = 0;
+ $_etype357 = 0;
+ $xfer += $input->readListBegin($_etype357, $_size354);
+ for ($_i358 = 0; $_i358 < $_size354; ++$_i358)
{
- $elem351 = null;
- $elem351 = new \metastore\SQLUniqueConstraint();
- $xfer += $elem351->read($input);
- $this->uniqueConstraintCols []= $elem351;
+ $elem359 = null;
+ $elem359 = new \metastore\SQLUniqueConstraint();
+ $xfer += $elem359->read($input);
+ $this->uniqueConstraintCols []= $elem359;
}
$xfer += $input->readListEnd();
} else {
@@ -13059,9 +13283,9 @@ class AddUniqueConstraintRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->uniqueConstraintCols));
{
- foreach ($this->uniqueConstraintCols as $iter352)
+ foreach ($this->uniqueConstraintCols as $iter360)
{
- $xfer += $iter352->write($output);
+ $xfer += $iter360->write($output);
}
}
$output->writeListEnd();
@@ -13126,15 +13350,15 @@ class AddNotNullConstraintRequest {
case 1:
if ($ftype == TType::LST) {
$this->notNullConstraintCols = array();
- $_size353 = 0;
- $_etype356 = 0;
- $xfer += $input->readListBegin($_etype356, $_size353);
- for ($_i357 = 0; $_i357 < $_size353; ++$_i357)
+ $_size361 = 0;
+ $_etype364 = 0;
+ $xfer += $input->readListBegin($_etype364, $_size361);
+ for ($_i365 = 0; $_i365 < $_size361; ++$_i365)
{
- $elem358 = null;
- $elem358 = new \metastore\SQLNotNullConstraint();
- $xfer += $elem358->read($input);
- $this->notNullConstraintCols []= $elem358;
+ $elem366 = null;
+ $elem366 = new \metastore\SQLNotNullConstraint();
+ $xfer += $elem366->read($input);
+ $this->notNullConstraintCols []= $elem366;
}
$xfer += $input->readListEnd();
} else {
@@ -13162,9 +13386,9 @@ class AddNotNullConstraintRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->notNullConstraintCols));
{
- foreach ($this->notNullConstraintCols as $iter359)
+ foreach ($this->notNullConstraintCols as $iter367)
{
- $xfer += $iter359->write($output);
+ $xfer += $iter367->write($output);
}
}
$output->writeListEnd();
@@ -13229,15 +13453,15 @@ class AddDefaultConstraintRequest {
case 1:
if ($ftype == TType::LST) {
$this->defaultConstraintCols = array();
- $_size360 = 0;
- $_etype363 = 0;
- $xfer += $input->readListBegin($_etype363, $_size360);
- for ($_i364 = 0; $_i364 < $_size360; ++$_i364)
+ $_size368 = 0;
+ $_etype371 = 0;
+ $xfer += $input->readListBegin($_etype371, $_size368);
+ for ($_i372 = 0; $_i372 < $_size368; ++$_i372)
{
- $elem365 = null;
- $elem365 = new \metastore\SQLDefaultConstraint();
- $xfer += $elem365->read($input);
- $this->defaultConstraintCols []= $elem365;
+ $elem373 = null;
+ $elem373 = new \metastore\SQLDefaultConstraint();
+ $xfer += $elem373->read($input);
+ $this->defaultConstraintCols []= $elem373;
}
$xfer += $input->readListEnd();
} else {
@@ -13265,9 +13489,9 @@ class AddDefaultConstraintRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->defaultConstraintCols));
{
- foreach ($this->defaultConstraintCols as $iter366)
+ foreach ($this->defaultConstraintCols as $iter374)
{
- $xfer += $iter366->write($output);
+ $xfer += $iter374->write($output);
}
}
$output->writeListEnd();
@@ -13332,15 +13556,15 @@ class AddCheckConstraintRequest {
case 1:
if ($ftype == TType::LST) {
$this->checkConstraintCols = array();
- $_size367 = 0;
- $_etype370 = 0;
- $xfer += $input->readListBegin($_etype370, $_size367);
- for ($_i371 = 0; $_i371 < $_size367; ++$_i371)
+ $_size375 = 0;
+ $_etype378 = 0;
+ $xfer += $input->readListBegin($_etype378, $_size375);
+ for ($_i379 = 0; $_i379 < $_size375; ++$_i379)
{
- $elem372 = null;
- $elem372 = new \metastore\SQLCheckConstraint();
- $xfer += $elem372->read($input);
- $this->checkConstraintCols []= $elem372;
+ $elem380 = null;
+ $elem380 = new \metastore\SQLCheckConstraint();
+ $xfer += $elem380->read($input);
+ $this->checkConstraintCols []= $elem380;
}
$xfer += $input->readListEnd();
} else {
@@ -13368,9 +13592,9 @@ class AddCheckConstraintRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->checkConstraintCols));
{
- foreach ($this->checkConstraintCols as $iter373)
+ foreach ($this->checkConstraintCols as $iter381)
{
- $xfer += $iter373->write($output);
+ $xfer += $iter381->write($output);
}
}
$output->writeListEnd();
@@ -13446,15 +13670,15 @@ class PartitionsByExprResult {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size374 = 0;
- $_etype377 = 0;
- $xfer += $input->readListBegin($_etype377, $_size374);
- for ($_i378 = 0; $_i378 < $_size374; ++$_i378)
+ $_size382 = 0;
+ $_etype385 = 0;
+ $xfer += $input->readListBegin($_etype385, $_size382);
+ for ($_i386 = 0; $_i386 < $_size382; ++$_i386)
{
- $elem379 = null;
- $elem379 = new \metastore\Partition();
- $xfer += $elem379->read($input);
- $this->partitions []= $elem379;
+ $elem387 = null;
+ $elem387 = new \metastore\Partition();
+ $xfer += $elem387->read($input);
+ $this->partitions []= $elem387;
}
$xfer += $input->readListEnd();
} else {
@@ -13489,9 +13713,9 @@ class PartitionsByExprResult {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter380)
+ foreach ($this->partitions as $iter388)
{
- $xfer += $iter380->write($output);
+ $xfer += $iter388->write($output);
}
}
$output->writeListEnd();
@@ -13762,15 +13986,15 @@ class TableStatsResult {
case 1:
if ($ftype == TType::LST) {
$this->tableStats = array();
- $_size381 = 0;
- $_etype384 = 0;
- $xfer += $input->readListBegin($_etype384, $_size381);
- for ($_i385 = 0; $_i385 < $_size381; ++$_i385)
+ $_size389 = 0;
+ $_etype392 = 0;
+ $xfer += $input->readListBegin($_etype392, $_size389);
+ for ($_i393 = 0; $_i393 < $_size389; ++$_i393)
{
- $elem386 = null;
- $elem386 = new \metastore\ColumnStatisticsObj();
- $xfer += $elem386->read($input);
- $this->tableStats []= $elem386;
+ $elem394 = null;
+ $elem394 = new \metastore\ColumnStatisticsObj();
+ $xfer += $elem394->read($input);
+ $this->tableStats []= $elem394;
}
$xfer += $input->readListEnd();
} else {
@@ -13805,9 +14029,9 @@ class TableStatsResult {
{
$output->writeListBegin(TType::STRUCT, count($this->tableStats));
{
- foreach ($this->tableStats as $iter387)
+ foreach ($this->tableStats as $iter395)
{
- $xfer += $iter387->write($output);
+ $xfer += $iter395->write($output);
}
}
$output->writeListEnd();
@@ -13896,28 +14120,28 @@ class PartitionsStatsResult {
case 1:
if ($ftype == TType::MAP) {
$this->partStats = array();
- $_size388 = 0;
- $_ktype389 = 0;
- $_vtype390 = 0;
- $xfer += $input->readMapBegin($_ktype389, $_vtype390, $_size388);
- for ($_i392 = 0; $_i392 < $_size388; ++$_i392)
+ $_size396 = 0;
+ $_ktype397 = 0;
+ $_vtype398 = 0;
+ $xfer += $input->readMapBegin($_ktype397, $_vtype398, $_size396);
+ for ($_i400 = 0; $_i400 < $_size396; ++$_i400)
{
- $key393 = '';
- $val394 = array();
- $xfer += $input->readString($key393);
- $val394 = array();
- $_size395 = 0;
- $_etype398 = 0;
- $xfer += $input->readListBegin($_etype398, $_size395);
- for ($_i399 = 0; $_i399 < $_size395; ++$_i399)
+ $key401 = '';
+ $val402 = array();
+ $xfer += $input->readString($key401);
+ $val402 = array();
+ $_size403 = 0;
+ $_etype406 = 0;
+ $xfer += $input->readListBegin($_etype406, $_size403);
+ for ($_i407 = 0; $_i407 < $_size403; ++$_i407)
{
- $elem400 = null;
- $elem400 = new \metastore\ColumnStatisticsObj();
- $xfer += $elem400->read($input);
- $val394 []= $elem400;
+ $elem408 = null;
+ $elem408 = new \metastore\ColumnStatisticsObj();
+ $xfer += $elem408->read($input);
+ $val402 []= $elem408;
}
$xfer += $input->readListEnd();
- $this->partStats[$key393] = $val394;
+ $this->partStats[$key401] = $val402;
}
$xfer += $input->readMapEnd();
} else {
@@ -13952,15 +14176,15 @@ class PartitionsStatsResult {
{
$output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats));
{
- foreach ($this->partStats as $kiter401 => $viter402)
+ foreach ($this->partStats as $kiter409 => $viter410)
{
- $xfer += $output->writeString($kiter401);
+ $xfer += $output->writeString($kiter409);
{
- $output->writeListBegin(TType::STRUCT, count($viter402));
+ $output->writeListBegin(TType::STRUCT, count($viter410));
{
- foreach ($viter402 as $iter403)
+ foreach ($viter410 as $iter411)
{
- $xfer += $iter403->write($output);
+ $xfer += $iter411->write($output);
}
}
$output->writeListEnd();
@@ -14091,14 +14315,14 @@ class TableStatsRequest {
case 3:
if ($ftype == TType::LST) {
$this->colNames = array();
- $_size404 = 0;
- $_etype407 = 0;
- $xfer += $input->readListBegin($_etype407, $_size404);
- for ($_i408 = 0; $_i408 < $_size404; ++$_i408)
+ $_size412 = 0;
+ $_etype415 = 0;
+ $xfer += $input->readListBegin($_etype415, $_size412);
+ for ($_i416 = 0; $_i416 < $_size412; ++$_i416)
{
- $elem409 = null;
- $xfer += $input->readString($elem409);
- $this->colNames []= $elem409;
+ $elem417 = null;
+ $xfer += $input->readString($elem417);
+ $this->colNames []= $elem417;
}
$xfer += $input->readListEnd();
} else {
@@ -14150,9 +14374,9 @@ class TableStatsRequest {
{
$output->writeListBegin(TType::STRING, count($this->colNames));
{
- foreach ($this->colNames as $iter410)
+ foreach ($this->colNames as $iter418)
{
- $xfer += $output->writeString($iter410);
+ $xfer += $output->writeString($iter418);
}
}
$output->writeListEnd();
@@ -14299,14 +14523,14 @@ class PartitionsStatsRequest {
case 3:
if ($ftype == TType::LST) {
$this->colNames = array();
- $_size411 = 0;
- $_etype414 = 0;
- $xfer += $input->readListBegin($_etype414, $_size411);
- for ($_i415 = 0; $_i415 < $_size411; ++$_i415)
+ $_size419 = 0;
+ $_etype422 = 0;
+ $xfer += $input->readListBegin($_etype422, $_size419);
+ for ($_i423 = 0; $_i423 < $_size419; ++$_i423)
{
- $elem416 = null;
- $xfer += $input->readString($elem416);
- $this->colNames []= $elem416;
+ $elem424 = null;
+ $xfer += $input->readString($elem424);
+ $this->colNames []= $elem424;
}
$xfer += $input->readListEnd();
} else {
@@ -14316,14 +14540,14 @@ class PartitionsStatsRequest {
case 4:
if ($ftype == TType::LST) {
$this->partNames = array();
- $_size417 = 0;
- $_etype420 = 0;
- $xfer += $input->readListBegin($_etype420, $_size417);
- for ($_i421 = 0; $_i421 < $_size417; ++$_i421)
+ $_size425 = 0;
+ $_etype428 = 0;
+ $xfer += $input->readListBegin($_etype428, $_size425);
+ for ($_i429 = 0; $_i429 < $_size425; ++$_i429)
{
- $elem422 = null;
- $xfer += $input->readString($elem422);
- $this->partNames []= $elem422;
+ $elem430 = null;
+ $xfer += $input->readString($elem430);
+ $this->partNames []= $elem430;
}
$xfer += $input->readListEnd();
} else {
@@ -14375,9 +14599,9 @@ class PartitionsStatsRequest {
{
$output->writeListBegin(TType::STRING, count($this->colNames));
{
- foreach ($this->colNames as $iter423)
+ foreach ($this->colNames as $iter431)
{
- $xfer += $output->writeString($iter423);
+ $xfer += $output->writeString($iter431);
}
}
$output->writeListEnd();
@@ -14392,9 +14616,9 @@ class PartitionsStatsRequest {
{
$output->writeListBegin(TType::STRING, count($this->partNames));
{
- foreach ($this->partNames as $iter424)
+ foreach ($this->partNames as $iter432)
{
- $xfer += $output->writeString($iter424);
+ $xfer += $output->writeString($iter432);
}
}
$output->writeListEnd();
@@ -14480,15 +14704,15 @@ class AddPartitionsResult {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size425 = 0;
- $_etype428 = 0;
- $xfer += $input->readListBegin($_etype428, $_size425);
- for ($_i429 = 0; $_i429 < $_size425; ++$_i429)
+ $_size433 = 0;
+ $_etype436 = 0;
+ $xfer += $input->readListBegin($_etype436, $_size433);
+ for ($_i437 = 0; $_i437 < $_size433; ++$_i437)
{
- $elem430 = null;
- $elem430 = new \metastore\Partition();
- $xfer += $elem430->read($input);
- $this->partitions []= $elem430;
+ $elem438 = null;
+ $elem438 = new \metastore\Partition();
+ $xfer += $elem438->read($input);
+ $this->partitions []= $elem438;
}
$xfer += $input->readListEnd();
} else {
@@ -14523,9 +14747,9 @@ class AddPartitionsResult {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter431)
+ foreach ($this->partitions as $iter439)
{
- $xfer += $iter431->write($output);
+ $xfer += $iter439->write($output);
}
}
$output->writeListEnd();
@@ -14675,15 +14899,15 @@ class AddPartitionsRequest {
case 3:
if ($ftype == TType::LST) {
$this->parts = array();
- $_size432 = 0;
- $_etype435 = 0;
- $xfer += $input->readListBegin($_etype435, $_size432);
- for ($_i436 = 0; $_i436 < $_size432; ++$_i436)
+ $_size440 = 0;
+ $_etype443 = 0;
+ $xfer += $input->readListBegin($_etype443, $_size440);
+ for ($_i444 = 0; $_i444 < $_size440; ++$_i444)
{
- $elem437 = null;
- $elem437 = new \metastore\Partition();
- $xfer += $elem437->read($input);
- $this->parts []= $elem437;
+ $elem445 = null;
+ $elem445 = new \metastore\Partition();
+ $xfer += $elem445->read($input);
+ $this->parts []= $elem445;
}
$xfer += $input->readListEnd();
} else {
@@ -14749,9 +14973,9 @@ class AddPartitionsRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->parts));
{
- foreach ($this->parts as $iter438)
+ foreach ($this->parts as $iter446)
{
- $xfer += $iter438->write($output);
+ $xfer += $iter446->write($output);
}
}
$output->writeListEnd();
@@ -14836,15 +15060,15 @@ class DropPartitionsResult {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size439 = 0;
- $_etype442 = 0;
- $xfer += $input->readListBegin($_etype442, $_size439);
- for ($_i443 = 0; $_i443 < $_size439; ++$_i443)
+ $_size447 = 0;
+ $_etype450 = 0;
+ $xfer += $input->readListBegin($_etype450, $_size447);
+ for ($_i451 = 0; $_i451 < $_size447; ++$_i451)
{
- $elem444 = null;
- $elem444 = new \metastore\Partition();
- $xfer += $elem444->read($input);
- $this->partitions []= $elem444;
+ $elem452 = null;
+ $elem452 = new \metastore\Partition();
+ $xfer += $elem452->read($input);
+ $this->partitions []= $elem452;
}
$xfer += $input->readListEnd();
} else {
@@ -14872,9 +15096,9 @@ class DropPartitionsResult {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter445)
+ foreach ($this->partitions as $iter453)
{
- $xfer += $iter445->write($output);
+ $xfer += $iter453->write($output);
}
}
$output->writeListEnd();
@@ -15052,14 +15276,14 @@ class RequestPartsSpec {
case 1:
if ($ftype == TType::LST) {
$this->names = array();
- $_size446 = 0;
- $_etype449 = 0;
- $xfer += $input->readListBegin($_etype449, $_size446);
- for ($_i450 = 0; $_i450 < $_size446; ++$_i450)
+ $_size454 = 0;
+ $_etype457 = 0;
+ $xfer += $input->readListBegin($_etype457, $_size454);
+ for ($_i458 = 0; $_i458 < $_size454; ++$_i458)
{
- $elem451 = null;
- $xfer += $input->readString($elem451);
- $this->names []= $elem451;
+ $elem459 = null;
+ $xfer += $input->readString($elem459);
+ $this->names []= $elem459;
}
$xfer += $input->readListEnd();
} else {
@@ -15069,15 +15293,15 @@ class RequestPartsSpec {
case 2:
if ($ftype == TType::LST) {
$this->exprs = array();
- $_size452 = 0;
- $_etype455 = 0;
- $xfer += $input->readListBegin($_etype455, $_size452);
- for ($_i456 = 0; $_i456 < $_size452; ++$_i456)
+ $_size460 = 0;
+ $_etype463 = 0;
+ $xfer += $input->readListBegin($_etype463, $_size460);
+ for ($_i464 = 0; $_i464 < $_size460; ++$_i464)
{
- $elem457 = null;
- $elem457 = new \metastore\DropPartitionsExpr();
- $xfer += $elem457->read($input);
- $this->exprs []= $elem457;
+ $elem465 = null;
+ $elem465 = new \metastore\DropPartitionsExpr();
+ $xfer += $elem465->read($input);
+ $this->exprs []= $elem465;
}
$xfer += $input->readListEnd();
} else {
@@ -15105,9 +15329,9 @@ class RequestPartsSpec {
{
$output->writeListBegin(TType::STRING, count($this->names));
{
- foreach ($this->names as $iter458)
+ foreach ($this->names as $iter466)
{
- $xfer += $output->writeString($iter458);
+ $xfer += $output->writeString($iter466);
}
}
$output->writeListEnd();
@@ -15122,9 +15346,9 @@ class RequestPartsSpec {
{
$output->writeListBegin(TType::STRUCT, count($this->exprs));
{
- foreach ($this->exprs as $iter459)
+ foreach ($this->exprs as $iter467)
{
- $xfer += $iter459->write($output);
+ $xfer += $iter467->write($output);
}
}
$output->writeListEnd();
@@ -15565,15 +15789,15 @@ class PartitionValuesRequest {
case 3:
if ($ftype == TType::LST) {
$this->partitionKeys = array();
- $_size460 = 0;
- $_etype463 = 0;
- $xfer += $input->readListBegin($_etype463, $_size460);
- for ($_i464 = 0; $_i464 < $_size460; ++$_i464)
+ $_size468 = 0;
+ $_etype471 = 0;
+ $xfer += $input->readListBegin($_etype471, $_size468);
+ for ($_i472 = 0; $_i472 < $_size468; ++$_i472)
{
- $elem465 = null;
- $elem465 = new \metastore\FieldSchema();
- $xfer += $elem465->read($input);
- $this->partitionKeys []= $elem465;
+ $elem473 = null;
+ $elem473 = new \metastore\FieldSchema();
+ $xfer += $elem473->read($input);
+ $this->partitionKeys []= $elem473;
}
$xfer += $input->readListEnd();
} else {
@@ -15597,15 +15821,15 @@ class PartitionValuesRequest {
case 6:
if ($ftype == TType::LST) {
$this->partitionOrder = array();
- $_size466 = 0;
- $_etype469 = 0;
- $xfer += $input->readListBegin($_etype469, $_size466);
- for ($_i470 = 0; $_i470 < $_size466; ++$_i470)
+ $_size474 = 0;
+ $_etype477 = 0;
+ $xfer += $input->readListBegin($_etype477, $_size474);
+ for ($_i478 = 0; $_i478 < $_size474; ++$_i478)
{
- $elem471 = null;
- $elem471 = new \metastore\FieldSchema();
- $xfer += $elem471->read($input);
- $this->partitionOrder []= $elem471;
+ $elem479 = null;
+ $elem479 = new \metastore\FieldSchema();
+ $xfer += $elem479->read($input);
+ $this->partitionOrder []= $elem479;
}
$xfer += $input->readListEnd();
} else {
@@ -15664,9 +15888,9 @@ class PartitionValuesRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->partitionKeys));
{
- foreach ($this->partitionKeys as $iter472)
+ foreach ($this->partitionKeys as $iter480)
{
- $xfer += $iter472->write($output);
+ $xfer += $iter480->write($output);
}
}
$output->writeListEnd();
@@ -15691,9 +15915,9 @@ class PartitionValuesRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->partitionOrder));
{
- foreach ($this->partitionOrder as $iter473)
+ foreach ($this->partitionOrder as $iter481)
{
- $xfer += $iter473->write($output);
+ $xfer += $iter481->write($output);
}
}
$output->writeListEnd();
@@ -15772,14 +15996,14 @@ class PartitionValuesRow {
case 1:
if ($ftype == TType::LST) {
$this->row = array();
- $_size474 = 0;
- $_etype477 = 0;
- $xfer += $input->readListBegin($_etype477, $_size474);
- for ($_i478 = 0; $_i478 < $_size474; ++$_i478)
+ $_size482 = 0;
+ $_etype485 = 0;
+ $xfer += $input->readListBegin($_etype485, $_size482);
+ for ($_i486 = 0; $_i486 < $_size482; ++$_i486)
{
- $elem479 = null;
- $xfer += $input->readString($elem479);
- $this->row []= $elem479;
+ $elem487 = null;
+ $xfer += $input->readString($elem487);
+ $this->row []= $elem487;
}
$xfer += $input->readListEnd();
} else {
@@ -15807,9 +16031,9 @@ class PartitionValuesRow {
{
$output->writeListBegin(TType::STRING, count($this->row));
{
- foreach ($this->row as $iter480)
+ foreach ($this->row as $iter488)
{
- $xfer += $output->writeString($iter480);
+ $xfer += $output->writeString($iter488);
}
}
$output->writeListEnd();
@@ -15874,15 +16098,15 @@ class PartitionValuesResponse {
case 1:
if ($ftype == TType::LST) {
$this->partitionValues = array();
- $_size481 = 0;
- $_etype484 = 0;
- $xfer += $input->readListBegin($_etype484, $_size481);
- for ($_i485 = 0; $_i485 < $_size481; ++$_i485)
+ $_size489 = 0;
+ $_etype492 = 0;
+ $xfer += $input->readListBegin($_etype492, $_size489);
+ for ($_i493 = 0; $_i493 < $_size489; ++$_i493)
{
- $elem486 = null;
- $elem486 = new \metastore\PartitionValuesRow();
- $xfer += $elem486->read($input);
- $this->partitionValues []= $elem486;
+ $elem494 = null;
+ $elem494 = new \metastore\PartitionValuesRow();
+ $xfer += $elem494->read($input);
+ $this->partitionValues []= $elem494;
}
$xfer += $input->readListEnd();
} else {
@@ -15910,9 +16134,9 @@ class PartitionValuesResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->partitionValues));
{
- foreach ($this->partitionValues as $iter487)
+ foreach ($this->partitionValues as $iter495)
{
- $xfer += $iter487->write($output);
+ $xfer += $iter495->write($output);
}
}
$output->writeListEnd();
@@ -16023,14 +16247,14 @@ class GetPartitionsByNamesRequest {
case 3:
if ($ftype == TType::LST) {
$this->names = array();
- $_size488 = 0;
- $_etype491 = 0;
- $xfer += $input->readListBegin($_etype491, $_size488);
- for ($_i492 = 0; $_i492 < $_size488; ++$_i492)
+ $_size496 = 0;
+ $_etype499 = 0;
+ $xfer += $input->readListBegin($_etype499, $_size496);
+ for ($_i500 = 0; $_i500 < $_size496; ++$_i500)
{
- $elem493 = null;
- $xfer += $input->readString($elem493);
- $this->names []= $elem493;
+ $elem501 = null;
+ $xfer += $input->readString($elem501);
+ $this->names []= $elem501;
}
$xfer += $input->readListEnd();
} else {
@@ -16075,9 +16299,9 @@ class GetPartitionsByNamesRequest {
{
$output->writeListBegin(TType::STRING, count($this->names));
{
- foreach ($this->names as $iter494)
+ foreach ($this->names as $iter502)
{
- $xfer += $output->writeString($iter494);
+ $xfer += $output->writeString($iter502);
}
}
$output->writeListEnd();
@@ -16147,15 +16371,15 @@ class GetPartitionsByNamesResult {
case 1:
if ($ftype == TType::LST) {
$this->partitions = array();
- $_size495 = 0;
- $_etype498 = 0;
- $xfer += $input->readListBegin($_etype498, $_size495);
- for ($_i499 = 0; $_i499 < $_size495; ++$_i499)
+ $_size503 = 0;
+ $_etype506 = 0;
+ $xfer += $input->readListBegin($_etype506, $_size503);
+ for ($_i507 = 0; $_i507 < $_size503; ++$_i507)
{
- $elem500 = null;
- $elem500 = new \metastore\Partition();
- $xfer += $elem500->read($input);
- $this->partitions []= $elem500;
+ $elem508 = null;
+ $elem508 = new \metastore\Partition();
+ $xfer += $elem508->read($input);
+ $this->partitions []= $elem508;
}
$xfer += $input->readListEnd();
} else {
@@ -16183,9 +16407,9 @@ class GetPartitionsByNamesResult {
{
$output->writeListBegin(TType::STRUCT, count($this->partitions));
{
- foreach ($this->partitions as $iter501)
+ foreach ($this->partitions as $iter509)
{
- $xfer += $iter501->write($output);
+ $xfer += $iter509->write($output);
}
}
$output->writeListEnd();
@@ -16485,15 +16709,15 @@ class Function {
case 8:
if ($ftype == TType::LST) {
$this->resourceUris = array();
- $_size502 = 0;
- $_etype505 = 0;
- $xfer += $input->readListBegin($_etype505, $_size502);
- for ($_i506 = 0; $_i506 < $_size502; ++$_i506)
+ $_size510 = 0;
+ $_etype513 = 0;
+ $xfer += $input->readListBegin($_etype513, $_size510);
+ for ($_i514 = 0; $_i514 < $_size510; ++$_i514)
{
- $elem507 = null;
- $elem507 = new \metastore\ResourceUri();
- $xfer += $elem507->read($input);
- $this->resourceUris []= $elem507;
+ $elem515 = null;
+ $elem515 = new \metastore\ResourceUri();
+ $xfer += $elem515->read($input);
+ $this->resourceUris []= $elem515;
}
$xfer += $input->readListEnd();
} else {
@@ -16563,9 +16787,9 @@ class Function {
{
$output->writeListBegin(TType::STRUCT, count($this->resourceUris));
{
- foreach ($this->resourceUris as $iter508)
+ foreach ($this->resourceUris as $iter516)
{
- $xfer += $iter508->write($output);
+ $xfer += $iter516->write($output);
}
}
$output->writeListEnd();
@@ -16912,15 +17136,15 @@ class GetOpenTxnsInfoResponse {
case 2:
if ($ftype == TType::LST) {
$this->open_txns = array();
- $_size509 = 0;
- $_etype512 = 0;
- $xfer += $input->readListBegin($_etype512, $_size509);
- for ($_i513 = 0; $_i513 < $_size509; ++$_i513)
+ $_size517 = 0;
+ $_etype520 = 0;
+ $xfer += $input->readListBegin($_etype520, $_size517);
+ for ($_i521 = 0; $_i521 < $_size517; ++$_i521)
{
- $elem514 = null;
- $elem514 = new \metastore\TxnInfo();
- $xfer += $elem514->read($input);
- $this->open_txns []= $elem514;
+ $elem522 = null;
+ $elem522 = new \metastore\TxnInfo();
+ $xfer += $elem522->read($input);
+ $this->open_txns []= $elem522;
}
$xfer += $input->readListEnd();
} else {
@@ -16953,9 +17177,9 @@ class GetOpenTxnsInfoResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->open_txns));
{
- foreach ($this->open_txns as $iter515)
+ foreach ($this->open_txns as $iter523)
{
- $xfer += $iter515->write($output);
+ $xfer += $iter523->write($output);
}
}
$output->writeListEnd();
@@ -17059,14 +17283,14 @@ class GetOpenTxnsResponse {
case 2:
if ($ftype == TType::LST) {
$this->open_txns = array();
- $_size516 = 0;
- $_etype519 = 0;
- $xfer += $input->readListBegin($_etype519, $_size516);
- for ($_i520 = 0; $_i520 < $_size516; ++$_i520)
+ $_size524 = 0;
+ $_etype527 = 0;
+ $xfer += $input->readListBegin($_etype527, $_size524);
+ for ($_i528 = 0; $_i528 < $_size524; ++$_i528)
{
- $elem521 = null;
- $xfer += $input->readI64($elem521);
- $this->open_txns []= $elem521;
+ $elem529 = null;
+ $xfer += $input->readI64($elem529);
+ $this->open_txns []= $elem529;
}
$xfer += $input->readListEnd();
} else {
@@ -17113,9 +17337,9 @@ class GetOpenTxnsResponse {
{
$output->writeListBegin(TType::I64, count($this->open_txns));
{
- foreach ($this->open_txns as $iter522)
+ foreach ($this->open_txns as $iter530)
{
- $xfer += $output->writeI64($iter522);
+ $xfer += $output->writeI64($iter530);
}
}
$output->writeListEnd();
@@ -17290,14 +17514,14 @@ class OpenTxnRequest {
case 6:
if ($ftype == TType::LST) {
$this->replSrcTxnIds = array();
- $_size523 = 0;
- $_etype526 = 0;
- $xfer += $input->readListBegin($_etype526, $_size523);
- for ($_i527 = 0; $_i527 < $_size523; ++$_i527)
+ $_size531 = 0;
+ $_etype534 = 0;
+ $xfer += $input->readListBegin($_etype534, $_size531);
+ for ($_i535 = 0; $_i535 < $_size531; ++$_i535)
{
- $elem528 = null;
- $xfer += $input->readI64($elem528);
- $this->replSrcTxnIds []= $elem528;
+ $elem536 = null;
+ $xfer += $input->readI64($elem536);
+ $this->replSrcTxnIds []= $elem536;
}
$xfer += $input->readListEnd();
} else {
@@ -17357,9 +17581,9 @@ class OpenTxnRequest {
{
$output->writeListBegin(TType::I64, count($this->replSrcTxnIds));
{
- foreach ($this->replSrcTxnIds as $iter529)
+ foreach ($this->replSrcTxnIds as $iter537)
{
- $xfer += $output->writeI64($iter529);
+ $xfer += $output->writeI64($iter537);
}
}
$output->writeListEnd();
@@ -17428,14 +17652,14 @@ class OpenTxnsResponse {
case 1:
if ($ftype == TType::LST) {
$this->txn_ids = array();
- $_size530 = 0;
- $_etype533 = 0;
- $xfer += $input->readListBegin($_etype533, $_size530);
- for ($_i534 = 0; $_i534 < $_size530; ++$_i534)
+ $_size538 = 0;
+ $_etype541 = 0;
+ $xfer += $input->readListBegin($_etype541, $_size538);
+ for ($_i542 = 0; $_i542 < $_size538; ++$_i542)
{
- $elem535 = null;
- $xfer += $input->readI64($elem535);
- $this->txn_ids []= $elem535;
+ $elem543 = null;
+ $xfer += $input->readI64($elem543);
+ $this->txn_ids []= $elem543;
}
$xfer += $input->readListEnd();
} else {
@@ -17463,9 +17687,9 @@ class OpenTxnsResponse {
{
$output->writeListBegin(TType::I64, count($this->txn_ids));
{
- foreach ($this->txn_ids as $iter536)
+ foreach ($this->txn_ids as $iter544)
{
- $xfer += $output->writeI64($iter536);
+ $xfer += $output->writeI64($iter544);
}
}
$output->writeListEnd();
@@ -17627,14 +17851,14 @@ class AbortTxnsRequest {
case 1:
if ($ftype == TType::LST) {
$this->txn_ids = array();
- $_size537 = 0;
- $_etype540 = 0;
- $xfer += $input->readListBegin($_etype540, $_size537);
- for ($_i541 = 0; $_i541 < $_size537; ++$_i541)
+ $_size545 = 0;
+ $_etype548 = 0;
+ $xfer += $input->readListBegin($_etype548, $_size545);
+ for ($_i549 = 0; $_i549 < $_size545; ++$_i549)
{
- $elem542 = null;
- $xfer += $input->readI64($elem542);
- $this->txn_ids []= $elem542;
+ $elem550 = null;
+ $xfer += $input->readI64($elem550);
+ $this->txn_ids []= $elem550;
}
$xfer += $input->readListEnd();
} else {
@@ -17662,9 +17886,9 @@ class AbortTxnsRequest {
{
$output->writeListBegin(TType::I64, count($this->txn_ids));
{
- foreach ($this->txn_ids as $iter543)
+ foreach ($this->txn_ids as $iter551)
{
- $xfer += $output->writeI64($iter543);
+ $xfer += $output->writeI64($iter551);
}
}
$output->writeListEnd();
@@ -17799,83 +18023,91 @@ class CommitTxnKeyValue {
}
-class CommitTxnRequest {
+class ReplLastIdInfo {
static $_TSPEC;
/**
- * @var int
+ * @var string
*/
- public $txnid = null;
+ public $database = null;
+ /**
+ * @var int
+ */
+ public $lastReplId = null;
/**
* @var string
*/
- public $replPolicy = null;
+ public $table = null;
/**
- * @var \metastore\WriteEventInfo[]
+ * @var string
*/
- public $writeEventInfos = null;
+ public $catalog = null;
/**
- * @var \metastore\CommitTxnKeyValue
+ * @var string[]
*/
- public $keyValue = null;
+ public $partitionList = null;
/**
- * @var \metastore\ReplLastIdInfo
+ * @var bool
*/
- public $replLastIdInfo = null;
+ public $needUpdateDBReplId = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
- 'var' => 'txnid',
- 'type' => TType::I64,
+ 'var' => 'database',
+ 'type' => TType::STRING,
),
2 => array(
- 'var' => 'replPolicy',
- 'type' => TType::STRING,
+ 'var' => 'lastReplId',
+ 'type' => TType::I64,
),
3 => array(
- 'var' => 'writeEventInfos',
- 'type' => TType::LST,
- 'etype' => TType::STRUCT,
- 'elem' => array(
- 'type' => TType::STRUCT,
- 'class' => '\metastore\WriteEventInfo',
- ),
+ 'var' => 'table',
+ 'type' => TType::STRING,
),
4 => array(
- 'var' => 'keyValue',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\CommitTxnKeyValue',
+ 'var' => 'catalog',
+ 'type' => TType::STRING,
),
5 => array(
- 'var' => 'replLastIdInfo',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\ReplLastIdInfo',
+ 'var' => 'partitionList',
+ 'type' => TType::LST,
+ 'etype' => TType::STRING,
+ 'elem' => array(
+ 'type' => TType::STRING,
+ ),
+ ),
+ 6 => array(
+ 'var' => 'needUpdateDBReplId',
+ 'type' => TType::BOOL,
),
);
}
if (is_array($vals)) {
- if (isset($vals['txnid'])) {
- $this->txnid = $vals['txnid'];
+ if (isset($vals['database'])) {
+ $this->database = $vals['database'];
}
- if (isset($vals['replPolicy'])) {
- $this->replPolicy = $vals['replPolicy'];
+ if (isset($vals['lastReplId'])) {
+ $this->lastReplId = $vals['lastReplId'];
}
- if (isset($vals['writeEventInfos'])) {
- $this->writeEventInfos = $vals['writeEventInfos'];
+ if (isset($vals['table'])) {
+ $this->table = $vals['table'];
}
- if (isset($vals['keyValue'])) {
- $this->keyValue = $vals['keyValue'];
+ if (isset($vals['catalog'])) {
+ $this->catalog = $vals['catalog'];
}
- if (isset($vals['replLastIdInfo'])) {
- $this->replLastIdInfo = $vals['replLastIdInfo'];
+ if (isset($vals['partitionList'])) {
+ $this->partitionList = $vals['partitionList'];
+ }
+ if (isset($vals['needUpdateDBReplId'])) {
+ $this->needUpdateDBReplId = $vals['needUpdateDBReplId'];
}
}
}
public function getName() {
- return 'CommitTxnRequest';
+ return 'ReplLastIdInfo';
}
public function read($input)
@@ -17894,49 +18126,53 @@ class CommitTxnRequest {
switch ($fid)
{
case 1:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->txnid);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->database);
} else {
$xfer += $input->skip($ftype);
}
break;
case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->replPolicy);
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->lastReplId);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::LST) {
- $this->writeEventInfos = array();
- $_size544 = 0;
- $_etype547 = 0;
- $xfer += $input->readListBegin($_etype547, $_size544);
- for ($_i548 = 0; $_i548 < $_size544; ++$_i548)
- {
- $elem549 = null;
- $elem549 = new \metastore\WriteEventInfo();
- $xfer += $elem549->read($input);
- $this->writeEventInfos []= $elem549;
- }
- $xfer += $input->readListEnd();
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->table);
} else {
$xfer += $input->skip($ftype);
}
break;
case 4:
- if ($ftype == TType::STRUCT) {
- $this->keyValue = new \metastore\CommitTxnKeyValue();
- $xfer += $this->keyValue->read($input);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->catalog);
} else {
$xfer += $input->skip($ftype);
}
break;
case 5:
- if ($ftype == TType::STRUCT) {
- $this->replLastIdInfo = new \metastore\ReplLastIdInfo();
- $xfer += $this->replLastIdInfo->read($input);
+ if ($ftype == TType::LST) {
+ $this->partitionList = array();
+ $_size552 = 0;
+ $_etype555 = 0;
+ $xfer += $input->readListBegin($_etype555, $_size552);
+ for ($_i556 = 0; $_i556 < $_size552; ++$_i556)
+ {
+ $elem557 = null;
+ $xfer += $input->readString($elem557);
+ $this->partitionList []= $elem557;
+ }
+ $xfer += $input->readListEnd();
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 6:
+ if ($ftype == TType::BOOL) {
+ $xfer += $input->readBool($this->needUpdateDBReplId);
} else {
$xfer += $input->skip($ftype);
}
@@ -17953,48 +18189,47 @@ class CommitTxnRequest {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('CommitTxnRequest');
- if ($this->txnid !== null) {
- $xfer += $output->writeFieldBegin('txnid', TType::I64, 1);
- $xfer += $output->writeI64($this->txnid);
+ $xfer += $output->writeStructBegin('ReplLastIdInfo');
+ if ($this->database !== null) {
+ $xfer += $output->writeFieldBegin('database', TType::STRING, 1);
+ $xfer += $output->writeString($this->database);
$xfer += $output->writeFieldEnd();
}
- if ($this->replPolicy !== null) {
- $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2);
- $xfer += $output->writeString($this->replPolicy);
+ if ($this->lastReplId !== null) {
+ $xfer += $output->writeFieldBegin('lastReplId', TType::I64, 2);
+ $xfer += $output->writeI64($this->lastReplId);
$xfer += $output->writeFieldEnd();
}
- if ($this->writeEventInfos !== null) {
- if (!is_array($this->writeEventInfos)) {
+ if ($this->table !== null) {
+ $xfer += $output->writeFieldBegin('table', TType::STRING, 3);
+ $xfer += $output->writeString($this->table);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->catalog !== null) {
+ $xfer += $output->writeFieldBegin('catalog', TType::STRING, 4);
+ $xfer += $output->writeString($this->catalog);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->partitionList !== null) {
+ if (!is_array($this->partitionList)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('writeEventInfos', TType::LST, 3);
+ $xfer += $output->writeFieldBegin('partitionList', TType::LST, 5);
{
- $output->writeListBegin(TType::STRUCT, count($this->writeEventInfos));
+ $output->writeListBegin(TType::STRING, count($this->partitionList));
{
- foreach ($this->writeEventInfos as $iter550)
+ foreach ($this->partitionList as $iter558)
{
- $xfer += $iter550->write($output);
+ $xfer += $output->writeString($iter558);
}
}
$output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
- if ($this->keyValue !== null) {
- if (!is_object($this->keyValue)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('keyValue', TType::STRUCT, 4);
- $xfer += $this->keyValue->write($output);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->replLastIdInfo !== null) {
- if (!is_object($this->replLastIdInfo)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('replLastIdInfo', TType::STRUCT, 5);
- $xfer += $this->replLastIdInfo->write($output);
+ if ($this->needUpdateDBReplId !== null) {
+ $xfer += $output->writeFieldBegin('needUpdateDBReplId', TType::BOOL, 6);
+ $xfer += $output->writeBool($this->needUpdateDBReplId);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -18004,91 +18239,83 @@ class CommitTxnRequest {
}
-class ReplLastIdInfo {
+class CommitTxnRequest {
static $_TSPEC;
/**
- * @var string
- */
- public $database = null;
- /**
* @var int
*/
- public $lastReplId = null;
+ public $txnid = null;
/**
* @var string
*/
- public $table = null;
+ public $replPolicy = null;
/**
- * @var string
+ * @var \metastore\WriteEventInfo[]
*/
- public $catalog = null;
+ public $writeEventInfos = null;
/**
- * @var string[]
+ * @var \metastore\CommitTxnKeyValue
*/
- public $partitionList = null;
+ public $keyValue = null;
/**
- * @var bool
+ * @var \metastore\ReplLastIdInfo
*/
- public $needUpdateDBReplId = null;
+ public $replLastIdInfo = null;
public function __construct($vals=null) {
if (!isset(self::$_TSPEC)) {
self::$_TSPEC = array(
1 => array(
- 'var' => 'database',
- 'type' => TType::STRING,
- ),
- 2 => array(
- 'var' => 'lastReplId',
+ 'var' => 'txnid',
'type' => TType::I64,
),
- 3 => array(
- 'var' => 'table',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'catalog',
+ 2 => array(
+ 'var' => 'replPolicy',
'type' => TType::STRING,
),
- 5 => array(
- 'var' => 'partitionList',
+ 3 => array(
+ 'var' => 'writeEventInfos',
'type' => TType::LST,
- 'etype' => TType::STRING,
+ 'etype' => TType::STRUCT,
'elem' => array(
- 'type' => TType::STRING,
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\WriteEventInfo',
),
),
- 6 => array(
- 'var' => 'needUpdateDBReplId',
- 'type' => TType::BOOL,
+ 4 => array(
+ 'var' => 'keyValue',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\CommitTxnKeyValue',
+ ),
+ 5 => array(
+ 'var' => 'replLastIdInfo',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\ReplLastIdInfo',
),
);
}
if (is_array($vals)) {
- if (isset($vals['database'])) {
- $this->database = $vals['database'];
- }
- if (isset($vals['lastReplId'])) {
- $this->lastReplId = $vals['lastReplId'];
+ if (isset($vals['txnid'])) {
+ $this->txnid = $vals['txnid'];
}
- if (isset($vals['table'])) {
- $this->table = $vals['table'];
+ if (isset($vals['replPolicy'])) {
+ $this->replPolicy = $vals['replPolicy'];
}
- if (isset($vals['catalog'])) {
- $this->catalog = $vals['catalog'];
+ if (isset($vals['writeEventInfos'])) {
+ $this->writeEventInfos = $vals['writeEventInfos'];
}
- if (isset($vals['partitionList'])) {
- $this->partitionList = $vals['partitionList'];
+ if (isset($vals['keyValue'])) {
+ $this->keyValue = $vals['keyValue'];
}
- if (isset($vals['needUpdateDBReplId'])) {
- $this->needUpdateDBReplId = $vals['needUpdateDBReplId'];
+ if (isset($vals['replLastIdInfo'])) {
+ $this->replLastIdInfo = $vals['replLastIdInfo'];
}
}
}
public function getName() {
- return 'ReplLastIdInfo';
+ return 'CommitTxnRequest';
}
public function read($input)
@@ -18107,53 +18334,49 @@ class ReplLastIdInfo {
switch ($fid)
{
case 1:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->database);
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->txnid);
} else {
$xfer += $input->skip($ftype);
}
break;
case 2:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->lastReplId);
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->replPolicy);
} else {
$xfer += $input->skip($ftype);
}
break;
case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->table);
+ if ($ftype == TType::LST) {
+ $this->writeEventInfos = array();
+ $_size559 = 0;
+ $_etype562 = 0;
+ $xfer += $input->readListBegin($_etype562, $_size559);
+ for ($_i563 = 0; $_i563 < $_size559; ++$_i563)
+ {
+ $elem564 = null;
+ $elem564 = new \metastore\WriteEventInfo();
+ $xfer += $elem564->read($input);
+ $this->writeEventInfos []= $elem564;
+ }
+ $xfer += $input->readListEnd();
} else {
$xfer += $input->skip($ftype);
}
break;
case 4:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->catalog);
+ if ($ftype == TType::STRUCT) {
+ $this->keyValue = new \metastore\CommitTxnKeyValue();
+ $xfer += $this->keyValue->read($input);
} else {
$xfer += $input->skip($ftype);
}
break;
case 5:
- if ($ftype == TType::LST) {
- $this->partitionList = array();
- $_size551 = 0;
- $_etype554 = 0;
- $xfer += $input->readListBegin($_etype554, $_size551);
- for ($_i555 = 0; $_i555 < $_size551; ++$_i555)
- {
- $elem556 = null;
- $xfer += $input->readString($elem556);
- $this->partitionList []= $elem556;
- }
- $xfer += $input->readListEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 6:
- if ($ftype == TType::BOOL) {
- $xfer += $input->readBool($this->needUpdateDBReplId);
+ if ($ftype == TType::STRUCT) {
+ $this->replLastIdInfo = new \metastore\ReplLastIdInfo();
+ $xfer += $this->replLastIdInfo->read($input);
} else {
$xfer += $input->skip($ftype);
}
@@ -18170,47 +18393,48 @@ class ReplLastIdInfo {
public function write($output) {
$xfer = 0;
- $xfer += $output->writeStructBegin('ReplLastIdInfo');
- if ($this->database !== null) {
- $xfer += $output->writeFieldBegin('database', TType::STRING, 1);
- $xfer += $output->writeString($this->database);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->lastReplId !== null) {
- $xfer += $output->writeFieldBegin('lastReplId', TType::I64, 2);
- $xfer += $output->writeI64($this->lastReplId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->table !== null) {
- $xfer += $output->writeFieldBegin('table', TType::STRING, 3);
- $xfer += $output->writeString($this->table);
+ $xfer += $output->writeStructBegin('CommitTxnRequest');
+ if ($this->txnid !== null) {
+ $xfer += $output->writeFieldBegin('txnid', TType::I64, 1);
+ $xfer += $output->writeI64($this->txnid);
$xfer += $output->writeFieldEnd();
}
- if ($this->catalog !== null) {
- $xfer += $output->writeFieldBegin('catalog', TType::STRING, 4);
- $xfer += $output->writeString($this->catalog);
+ if ($this->replPolicy !== null) {
+ $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2);
+ $xfer += $output->writeString($this->replPolicy);
$xfer += $output->writeFieldEnd();
}
- if ($this->partitionList !== null) {
- if (!is_array($this->partitionList)) {
+ if ($this->writeEventInfos !== null) {
+ if (!is_array($this->writeEventInfos)) {
throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
}
- $xfer += $output->writeFieldBegin('partitionList', TType::LST, 5);
+ $xfer += $output->writeFieldBegin('writeEventInfos', TType::LST, 3);
{
- $output->writeListBegin(TType::STRING, count($this->partitionList));
+ $output->writeListBegin(TType::STRUCT, count($this->writeEventInfos));
{
- foreach ($this->partitionList as $iter557)
+ foreach ($this->writeEventInfos as $iter565)
{
- $xfer += $output->writeString($iter557);
+ $xfer += $iter565->write($output);
}
}
$output->writeListEnd();
}
$xfer += $output->writeFieldEnd();
}
- if ($this->needUpdateDBReplId !== null) {
- $xfer += $output->writeFieldBegin('needUpdateDBReplId', TType::BOOL, 6);
- $xfer += $output->writeBool($this->needUpdateDBReplId);
+ if ($this->keyValue !== null) {
+ if (!is_object($this->keyValue)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('keyValue', TType::STRUCT, 4);
+ $xfer += $this->keyValue->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->replLastIdInfo !== null) {
+ if (!is_object($this->replLastIdInfo)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('replLastIdInfo', TType::STRUCT, 5);
+ $xfer += $this->replLastIdInfo->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -18573,14 +18797,14 @@ class ReplTblWriteIdStateRequest {
case 6:
if ($ftype == TType::LST) {
$this->partNames = array();
- $_size558 = 0;
- $_etype561 = 0;
- $xfer += $input->readListBegin($_etype561, $_size558);
- for ($_i562 = 0; $_i562 < $_size558; ++$_i562)
+ $_size566 = 0;
+ $_etype569 = 0;
+ $xfer += $input->readListBegin($_etype569, $_size566);
+ for ($_i570 = 0; $_i570 < $_size566; ++$_i570)
{
- $elem563 = null;
- $xfer += $input->readString($elem563);
- $this->partNames []= $elem563;
+ $elem571 = null;
+ $xfer += $input->readString($elem571);
+ $this->partNames []= $elem571;
}
$xfer += $input->readListEnd();
} else {
@@ -18633,9 +18857,9 @@ class ReplTblWriteIdStateRequest {
{
$output->writeListBegin(TType::STRING, count($this->partNames));
{
- foreach ($this->partNames as $iter564)
+ foreach ($this->partNames as $iter572)
{
- $xfer += $output->writeString($iter564);
+ $xfer += $output->writeString($iter572);
}
}
$output->writeListEnd();
@@ -18721,14 +18945,14 @@ class GetValidWriteIdsRequest {
case 1:
if ($ftype == TType::LST) {
$this->fullTableNames = array();
- $_size565 = 0;
- $_etype568 = 0;
- $xfer += $input->readListBegin($_etype568, $_size565);
- for ($_i569 = 0; $_i569 < $_size565; ++$_i569)
+ $_size573 = 0;
+ $_etype576 = 0;
+ $xfer += $input->readListBegin($_etype576, $_size573);
+ for ($_i577 = 0; $_i577 < $_size573; ++$_i577)
{
- $elem570 = null;
- $xfer += $input->readString($elem570);
- $this->fullTableNames []= $elem570;
+ $elem578 = null;
+ $xfer += $input->readString($elem578);
+ $this->fullTableNames []= $elem578;
}
$xfer += $input->readListEnd();
} else {
@@ -18770,9 +18994,9 @@ class GetValidWriteIdsRequest {
{
$output->writeListBegin(TType::STRING, count($this->fullTableNames));
{
- foreach ($this->fullTableNames as $iter571)
+ foreach ($this->fullTableNames as $iter579)
{
- $xfer += $output->writeString($iter571);
+ $xfer += $output->writeString($iter579);
}
}
$output->writeListEnd();
@@ -18904,14 +19128,14 @@ class TableValidWriteIds {
case 3:
if ($ftype == TType::LST) {
$this->invalidWriteIds = array();
- $_size572 = 0;
- $_etype575 = 0;
- $xfer += $input->readListBegin($_etype575, $_size572);
- for ($_i576 = 0; $_i576 < $_size572; ++$_i576)
+ $_size580 = 0;
+ $_etype583 = 0;
+ $xfer += $input->readListBegin($_etype583, $_size580);
+ for ($_i584 = 0; $_i584 < $_size580; ++$_i584)
{
- $elem577 = null;
- $xfer += $input->readI64($elem577);
- $this->invalidWriteIds []= $elem577;
+ $elem585 = null;
+ $xfer += $input->readI64($elem585);
+ $this->invalidWriteIds []= $elem585;
}
$xfer += $input->readListEnd();
} else {
@@ -18963,9 +19187,9 @@ class TableValidWriteIds {
{
$output->writeListBegin(TType::I64, count($this->invalidWriteIds));
{
- foreach ($this->invalidWriteIds as $iter578)
+ foreach ($this->invalidWriteIds as $iter586)
{
- $xfer += $output->writeI64($iter578);
+ $xfer += $output->writeI64($iter586);
}
}
$output->writeListEnd();
@@ -19040,15 +19264,15 @@ class GetValidWriteIdsResponse {
case 1:
if ($ftype == TType::LST) {
$this->tblValidWriteIds = array();
- $_size579 = 0;
- $_etype582 = 0;
- $xfer += $input->readListBegin($_etype582, $_size579);
- for ($_i583 = 0; $_i583 < $_size579; ++$_i583)
+ $_size587 = 0;
+ $_etype590 = 0;
+ $xfer += $input->readListBegin($_etype590, $_size587);
+ for ($_i591 = 0; $_i591 < $_size587; ++$_i591)
{
- $elem584 = null;
- $elem584 = new \metastore\TableValidWriteIds();
- $xfer += $elem584->read($input);
- $this->tblValidWriteIds []= $elem584;
+ $elem592 = null;
+ $elem592 = new \metastore\TableValidWriteIds();
+ $xfer += $elem592->read($input);
+ $this->tblValidWriteIds []= $elem592;
}
$xfer += $input->readListEnd();
} else {
@@ -19076,9 +19300,9 @@ class GetValidWriteIdsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds));
{
- foreach ($this->tblValidWriteIds as $iter585)
+ foreach ($this->tblValidWriteIds as $iter593)
{
- $xfer += $iter585->write($output);
+ $xfer += $iter593->write($output);
}
}
$output->writeListEnd();
@@ -19092,6 +19316,104 @@ class GetValidWriteIdsResponse {
}
+class TxnToWriteId {
+ static $_TSPEC;
+
+ /**
+ * @var int
+ */
+ public $txnId = null;
+ /**
+ * @var int
+ */
+ public $writeId = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'txnId',
+ 'type' => TType::I64,
+ ),
+ 2 => array(
+ 'var' => 'writeId',
+ 'type' => TType::I64,
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['txnId'])) {
+ $this->txnId = $vals['txnId'];
+ }
+ if (isset($vals['writeId'])) {
+ $this->writeId = $vals['writeId'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'TxnToWriteId';
+ }
+
+ 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::I64) {
+ $xfer += $input->readI64($this->txnId);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::I64) {
+ $xfer += $input->readI64($this->writeId);
+ } 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('TxnToWriteId');
+ if ($this->txnId !== null) {
+ $xfer += $output->writeFieldBegin('txnId', TType::I64, 1);
+ $xfer += $output->writeI64($this->txnId);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->writeId !== null) {
+ $xfer += $output->writeFieldBegin('writeId', TType::I64, 2);
+ $xfer += $output->writeI64($this->writeId);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
class AllocateTableWriteIdsRequest {
static $_TSPEC;
@@ -19205,14 +19527,14 @@ class AllocateTableWriteIdsRequest {
case 3:
if ($ftype == TType::LST) {
$this->txnIds = array();
- $_size586 = 0;
- $_etype589 = 0;
- $xfer += $input->readListBegin($_etype589, $_size586);
- for ($_i590 = 0; $_i590 < $_size586; ++$_i590)
+ $_size594 = 0;
+ $_etype597 = 0;
+ $xfer += $input->readListBegin($_etype597, $_size594);
+ for ($_i598 = 0; $_i598 < $_size594; ++$_i598)
{
- $elem591 = null;
- $xfer += $input->readI64($elem591);
- $this->txnIds []= $elem591;
+ $elem599 = null;
+ $xfer += $input->readI64($elem599);
+ $this->txnIds []= $elem599;
}
$xfer += $input->readListEnd();
} else {
@@ -19229,15 +19551,15 @@ class AllocateTableWriteIdsRequest {
case 5:
if ($ftype == TType::LST) {
$this->srcTxnToWriteIdList = array();
- $_size592 = 0;
- $_etype595 = 0;
- $xfer += $input->readListBegin($_etype595, $_size592);
- for ($_i596 = 0; $_i596 < $_size592; ++$_i596)
+ $_size600 = 0;
+ $_etype603 = 0;
+ $xfer += $input->readListBegin($_etype603, $_size600);
+ for ($_i604 = 0; $_i604 < $_size600; ++$_i604)
{
- $elem597 = null;
- $elem597 = new \metastore\TxnToWriteId();
- $xfer += $elem597->read($input);
- $this->srcTxnToWriteIdList []= $elem597;
+ $elem605 = null;
+ $elem605 = new \metastore\TxnToWriteId();
+ $xfer += $elem605->read($input);
+ $this->srcTxnToWriteIdList []= $elem605;
}
$xfer += $input->readListEnd();
} else {
@@ -19275,9 +19597,9 @@ class AllocateTableWriteIdsRequest {
{
$output->writeListBegin(TType::I64, count($this->txnIds));
{
- foreach ($this->txnIds as $iter598)
+ foreach ($this->txnIds as $iter606)
{
- $xfer += $output->writeI64($iter598);
+ $xfer += $output->writeI64($iter606);
}
}
$output->writeListEnd();
@@ -19297,9 +19619,9 @@ class AllocateTableWriteIdsRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->srcTxnToWriteIdList));
{
- foreach ($this->srcTxnToWriteIdList as $iter599)
+ foreach ($this->srcTxnToWriteIdList as $iter607)
{
- $xfer += $iter599->write($output);
+ $xfer += $iter607->write($output);
}
}
$output->writeListEnd();
@@ -19313,104 +19635,6 @@ class AllocateTableWriteIdsRequest {
}
-class TxnToWriteId {
- static $_TSPEC;
-
- /**
- * @var int
- */
- public $txnId = null;
- /**
- * @var int
- */
- public $writeId = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'txnId',
- 'type' => TType::I64,
- ),
- 2 => array(
- 'var' => 'writeId',
- 'type' => TType::I64,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['txnId'])) {
- $this->txnId = $vals['txnId'];
- }
- if (isset($vals['writeId'])) {
- $this->writeId = $vals['writeId'];
- }
- }
- }
-
- public function getName() {
- return 'TxnToWriteId';
- }
-
- 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::I64) {
- $xfer += $input->readI64($this->txnId);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->writeId);
- } 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('TxnToWriteId');
- if ($this->txnId !== null) {
- $xfer += $output->writeFieldBegin('txnId', TType::I64, 1);
- $xfer += $output->writeI64($this->txnId);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->writeId !== null) {
- $xfer += $output->writeFieldBegin('writeId', TType::I64, 2);
- $xfer += $output->writeI64($this->writeId);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
class AllocateTableWriteIdsResponse {
static $_TSPEC;
@@ -19462,15 +19686,15 @@ class AllocateTableWriteIdsResponse {
case 1:
if ($ftype == TType::LST) {
$this->txnToWriteIds = array();
- $_size600 = 0;
- $_etype603 = 0;
- $xfer += $input->readListBegin($_etype603, $_size600);
- for ($_i604 = 0; $_i604 < $_size600; ++$_i604)
+ $_size608 = 0;
+ $_etype611 = 0;
+ $xfer += $input->readListBegin($_etype611, $_size608);
+ for ($_i612 = 0; $_i612 < $_size608; ++$_i612)
{
- $elem605 = null;
- $elem605 = new \metastore\TxnToWriteId();
- $xfer += $elem605->read($input);
- $this->txnToWriteIds []= $elem605;
+ $elem613 = null;
+ $elem613 = new \metastore\TxnToWriteId();
+ $xfer += $elem613->read($input);
+ $this->txnToWriteIds []= $elem613;
}
$xfer += $input->readListEnd();
} else {
@@ -19498,9 +19722,9 @@ class AllocateTableWriteIdsResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds));
{
- foreach ($this->txnToWriteIds as $iter606)
+ foreach ($this->txnToWriteIds as $iter614)
{
- $xfer += $iter606->write($output);
+ $xfer += $iter614->write($output);
}
}
$output->writeListEnd();
@@ -19845,15 +20069,15 @@ class LockRequest {
case 1:
if ($ftype == TType::LST) {
$this->component = array();
- $_size607 = 0;
- $_etype610 = 0;
- $xfer += $input->readListBegin($_etype610, $_size607);
- for ($_i611 = 0; $_i611 < $_size607; ++$_i611)
+ $_size615 = 0;
+ $_etype618 = 0;
+ $xfer += $input->readListBegin($_etype618, $_size615);
+ for ($_i619 = 0; $_i619 < $_size615; ++$_i619)
{
- $elem612 = null;
- $elem612 = new \metastore\LockComponent();
- $xfer += $elem612->read($input);
- $this->component []= $elem612;
+ $elem620 = null;
+ $elem620 = new \metastore\LockComponent();
+ $xfer += $elem620->read($input);
+ $this->component []= $elem620;
}
$xfer += $input->readListEnd();
} else {
@@ -19909,9 +20133,9 @@ class LockRequest {
{
$output->writeListBegin(TType::STRUCT, count($this->component));
{
- foreach ($this->component as $iter613)
+ foreach ($this->component as $iter621)
{
- $xfer += $iter613->write($output);
+ $xfer += $iter621->write($output);
}
}
$output->writeListEnd();
@@ -20854,15 +21078,15 @@ class ShowLocksResponse {
case 1:
if ($ftype == TType::LST) {
$this->locks = array();
- $_size614 = 0;
- $_etype617 = 0;
- $xfer += $input->readListBegin($_etype617, $_size614);
- for ($_i618 = 0; $_i618 < $_size614; ++$_i618)
+ $_size622 = 0;
+ $_etype625 = 0;
+ $xfer += $input->readListBegin($_etype625, $_size622);
+ for ($_i626 = 0; $_i626 < $_size622; ++$_i626)
{
- $elem619 = null;
- $elem619 = new \metastore\ShowLocksResponseElement();
- $xfer += $elem619->read($input);
- $this->locks []= $elem619;
+ $elem627 = null;
+ $elem627 = new \metastore\ShowLocksResponseElement();
+ $xfer += $elem627->read($input);
+ $this->locks []= $elem627;
}
$xfer += $input->readListEnd();
} else {
@@ -20890,9 +21114,9 @@ class ShowLocksResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->locks));
{
- foreach ($this->locks as $iter620)
+ foreach ($this->locks as $iter628)
{
- $xfer += $iter620->write($output);
+ $xfer += $iter628->write($output);
}
}
$output->writeListEnd();
@@ -21167,17 +21391,17 @@ class HeartbeatTxnRangeResponse {
case 1:
if ($ftype == TType::SET) {
$this->aborted = array();
- $_size621 = 0;
- $_etype624 = 0;
- $xfer += $input->readSetBegin($_etype624, $_size621);
- for ($_i625 = 0; $_i625 < $_size621; ++$_i625)
+ $_size629 = 0;
+ $_etype632 = 0;
+ $xfer += $input->readSetBegin($_etype632, $_size629);
+ for ($_i633 = 0; $_i633 < $_size629; ++$_i633)
{
- $elem626 = null;
- $xfer += $input->readI64($elem626);
- if (is_scalar($elem626)) {
- $this->aborted[$elem626] = true;
+ $elem634 = null;
+ $xfer += $input->readI64($elem634);
+ if (is_scalar($elem634)) {
+ $this->aborted[$elem634] = true;
} else {
- $this->aborted []= $elem626;
+ $this->aborted []= $elem634;
}
}
$xfer += $input->readSetEnd();
@@ -21188,17 +21412,17 @@ class HeartbeatTxnRangeResponse {
case 2:
if ($ftype == TType::SET) {
$this->nosuch = array();
- $_size627 = 0;
- $_etype630 = 0;
- $xfer += $input->readSetBegin($_etype630, $_size627);
- for ($_i631 = 0; $_i631 < $_size627; ++$_i631)
+ $_size635 = 0;
+ $_etype638 = 0;
+ $xfer += $input->readSetBegin($_etype638, $_size635);
+ for ($_i639 = 0; $_i639 < $_size635; ++$_i639)
{
- $elem632 = null;
- $xfer += $input->readI64($elem632);
- if (is_scalar($elem632)) {
- $this->nosuch[$elem632] = true;
+ $elem640 = null;
+ $xfer += $input->readI64($elem640);
+ if (is_scalar($elem640)) {
+ $this->nosuch[$elem640] = true;
} else {
- $this->nosuch []= $elem632;
+ $this->nosuch []= $elem640;
}
}
$xfer += $input->readSetEnd();
@@ -21227,12 +21451,12 @@ class HeartbeatTxnRangeResponse {
{
$output->writeSetBegin(TType::I64, count($this->aborted));
{
- foreach ($this->aborted as $iter633 => $iter634)
+ foreach ($this->aborted as $iter641 => $iter642)
{
- if (is_scalar($iter634)) {
- $xfer += $output->writeI64($iter633);
+ if (is_scalar($iter642)) {
+ $xfer += $output->writeI64($iter641);
} else {
- $xfer += $output->writeI64($iter634);
+ $xfer += $output->writeI64($iter642);
}
}
}
@@ -21248,12 +21472,12 @@ class HeartbeatTxnRangeResponse {
{
$output->writeSetBegin(TType::I64, count($this->nosuch));
{
- foreach ($this->nosuch as $iter635 => $iter636)
+ foreach ($this->nosuch as $iter643 => $iter644)
{
- if (is_scalar($iter636)) {
- $xfer += $output->writeI64($iter635);
+ if (is_scalar($iter644)) {
+ $xfer += $output->writeI64($iter643);
} else {
- $xfer += $output->writeI64($iter636);
+ $xfer += $output->writeI64($iter644);
}
}
}
@@ -21412,17 +21636,17 @@ class CompactionRequest {
case 6:
if ($ftype == TType::MAP) {
$this->properties = array();
- $_size637 = 0;
- $_ktype638 = 0;
- $_vtype639 = 0;
- $xfer += $input->readMapBegin($_ktype638, $_vtype639, $_size637);
- for ($_i641 = 0; $_i641 < $_size637; ++$_i641)
+ $_size645 = 0;
+ $_ktype646 = 0;
+ $_vtype647 = 0;
+ $xfer += $input->readMapBegin($_ktype646, $_vtype647, $_size645);
+ for ($_i649 = 0; $_i649 < $_size645; ++$_i649)
{
- $key642 = '';
- $val643 = '';
- $xfer += $input->readString($key642);
- $xfer += $input->readString($val643);
- $this->properties[$key642] = $val643;
+ $key650 = '';
+ $val651 = '';
+ $xfer += $input->readString($key650);
+ $xfer += $input->readString($val651);
+ $this->properties[$key650] = $val651;
}
$xfer += $input->readMapEnd();
} else {
@@ -21475,10 +21699,10 @@ class CompactionRequest {
{
$output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties));
{
- foreach ($this->properties as $kiter644 => $viter645)
+ foreach ($this->properties as $kiter652 => $viter653)
{
- $xfer += $output->writeString($kiter644);
- $xfer += $output->writeString($viter645);
+ $xfer += $output->writeString($kiter652);
+ $xfer += $output->writeString($viter653);
}
}
$output->writeMapEnd();
@@ -21492,86 +21716,6 @@ class CompactionRequest {
}
-class OptionalCompactionInfoStruct {
- static $_TSPEC;
-
- /**
- * @var \metastore\CompactionInfoStruct
- */
- public $ci = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'ci',
- 'type' => TType::STRUCT,
- 'class' => '\metastore\CompactionInfoStruct',
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['ci'])) {
- $this->ci = $vals['ci'];
- }
- }
- }
-
- public function getName() {
- return 'OptionalCompactionInfoStruct';
- }
-
- 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->ci = new \metastore\CompactionInfoStruct();
- $xfer += $this->ci->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('OptionalCompactionInfoStruct');
- if ($this->ci !== null) {
- if (!is_object($this->ci)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('ci', TType::STRUCT, 1);
- $xfer += $this->ci->write($output);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
class CompactionInfoStruct {
static $_TSPEC;
@@ -21888,9 +22032,89 @@ class CompactionInfoStruct {
$xfer += $output->writeI64($this->start);
$xfer += $output->writeFieldEnd();
}
- if ($this->highestWriteId !== null) {
- $xfer += $output->writeFieldBegin('highestWriteId', TType::I64, 12);
- $xfer += $output->writeI64($this->highestWriteId);
+ if ($this->highestWriteId !== null) {
+ $xfer += $output->writeFieldBegin('highestWriteId', TType::I64, 12);
+ $xfer += $output->writeI64($this->highestWriteId);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class OptionalCompactionInfoStruct {
+ static $_TSPEC;
+
+ /**
+ * @var \metastore\CompactionInfoStruct
+ */
+ public $ci = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'ci',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\CompactionInfoStruct',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['ci'])) {
+ $this->ci = $vals['ci'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'OptionalCompactionInfoStruct';
+ }
+
+ 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->ci = new \metastore\CompactionInfoStruct();
+ $xfer += $this->ci->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('OptionalCompactionInfoStruct');
+ if ($this->ci !== null) {
+ if (!is_object($this->ci)) {
+ throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
+ }
+ $xfer += $output->writeFieldBegin('ci', TType::STRUCT, 1);
+ $xfer += $this->ci->write($output);
$xfer += $output->writeFieldEnd();
}
$xfer += $output->writeFieldStop();
@@ -22473,15 +22697,15 @@ class ShowCompactResponse {
case 1:
if ($ftype == TType::LST) {
$this->compacts = array();
- $_size646 = 0;
- $_etype649 = 0;
- $xfer += $input->readListBegin($_etype649, $_size646);
- for ($_i650 = 0; $_i650 < $_size646; ++$_i650)
+ $_size654 = 0;
+ $_etype657 = 0;
+ $xfer += $input->readListBegin($_etype657, $_size654);
+ for ($_i658 = 0; $_i658 < $_size654; ++$_i658)
{
- $elem651 = null;
- $elem651 = new \metastore\ShowCompactResponseElement();
- $xfer += $elem651->read($input);
- $this->compacts []= $elem651;
+ $elem659 = null;
+ $elem659 = new \metastore\ShowCompactResponseElement();
+ $xfer += $elem659->read($input);
+ $this->compacts []= $elem659;
}
$xfer += $input->readListEnd();
} else {
@@ -22509,9 +22733,9 @@ class ShowCompactResponse {
{
$output->writeListBegin(TType::STRUCT, count($this->compacts));
{
- foreach ($this->compacts as $iter652)
+ foreach ($this->compacts as $iter660)
{
- $xfer += $iter652->write($output);
+ $xfer += $iter660->write($output);
}
}
$output->writeListEnd();
@@ -22658,14 +22882,14 @@ class AddDynamicPartitions {
case 5:
if ($ftype == TType::LST) {
$this->partitionnames = array();
- $_size653 = 0;
- $_etype656 = 0;
- $xfer += $input->readListBegin($_etype656, $_size653);
- for ($_i657 = 0; $_i657 < $_size653; ++$_i657)
+ $_size661 = 0;
+ $_etype664 = 0;
+ $xfer += $input->readListBegin($_etype664, $_size661);
+ for ($_i665 = 0; $_i665 < $_size661; ++$_i665)
{
- $elem658 = null;
- $xfer += $input->readString($elem658);
- $this->partitionnames []= $elem658;
+ $elem666 = null;
+ $xfer += $input->readString($elem666);
+ $this->partitionnames []= $elem666;
}
$xfer += $input->readListEnd();
} else {
@@ -22720,9 +22944,9 @@ class AddDynamicPartitions {
{
$output->writeListBegin(TType::STRING, count($this->partitionnames));
{
- foreach ($this->partitionnames as $iter659)
+ foreach ($this->partitionnames as $iter667)
{
- $xfer += $output->writeString($iter659);
+ $xfer += $output->writeString($iter667);
}
}
$output->writeListEnd();
@@ -22931,230 +23155,6 @@ class BasicTxnInfo {
}
-class CreationMetadata {
- static $_TSPEC;
-
- /**
- * @var string
- */
- public $catName = null;
- /**
- * @var string
- */
- public $dbName = null;
- /**
- * @var string
- */
- public $tblName = null;
- /**
- * @var string[]
- */
- public $tablesUsed = null;
- /**
- * @var string
- */
- public $validTxnList = null;
- /**
- * @var int
- */
- public $materializationTime = null;
-
- public function __construct($vals=null) {
- if (!isset(self::$_TSPEC)) {
- self::$_TSPEC = array(
- 1 => array(
- 'var' => 'catName',
- 'type' => TType::STRING,
- ),
- 2 => array(
- 'var' => 'dbName',
- 'type' => TType::STRING,
- ),
- 3 => array(
- 'var' => 'tblName',
- 'type' => TType::STRING,
- ),
- 4 => array(
- 'var' => 'tablesUsed',
- 'type' => TType::SET,
- 'etype' => TType::STRING,
- 'elem' => array(
- 'type' => TType::STRING,
- ),
- ),
- 5 => array(
- 'var' => 'validTxnList',
- 'type' => TType::STRING,
- ),
- 6 => array(
- 'var' => 'materializationTime',
- 'type' => TType::I64,
- ),
- );
- }
- if (is_array($vals)) {
- if (isset($vals['catName'])) {
- $this->catName = $vals['catName'];
- }
- if (isset($vals['dbName'])) {
- $this->dbName = $vals['dbName'];
- }
- if (isset($vals['tblName'])) {
- $this->tblName = $vals['tblName'];
- }
- if (isset($vals['tablesUsed'])) {
- $this->tablesUsed = $vals['tablesUsed'];
- }
- if (isset($vals['validTxnList'])) {
- $this->validTxnList = $vals['validTxnList'];
- }
- if (isset($vals['materializationTime'])) {
- $this->materializationTime = $vals['materializationTime'];
- }
- }
- }
-
- public function getName() {
- return 'CreationMetadata';
- }
-
- public function read($input)
- {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true)
- {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- switch ($fid)
- {
- case 1:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->catName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 2:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->dbName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 3:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->tblName);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 4:
- if ($ftype == TType::SET) {
- $this->tablesUsed = array();
- $_size660 = 0;
- $_etype663 = 0;
- $xfer += $input->readSetBegin($_etype663, $_size660);
- for ($_i664 = 0; $_i664 < $_size660; ++$_i664)
- {
- $elem665 = null;
- $xfer += $input->readString($elem665);
- if (is_scalar($elem665)) {
- $this->tablesUsed[$elem665] = true;
- } else {
- $this->tablesUsed []= $elem665;
- }
- }
- $xfer += $input->readSetEnd();
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 5:
- if ($ftype == TType::STRING) {
- $xfer += $input->readString($this->validTxnList);
- } else {
- $xfer += $input->skip($ftype);
- }
- break;
- case 6:
- if ($ftype == TType::I64) {
- $xfer += $input->readI64($this->materializationTime);
- } 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('CreationMetadata');
- if ($this->catName !== null) {
- $xfer += $output->writeFieldBegin('catName', TType::STRING, 1);
- $xfer += $output->writeString($this->catName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->dbName !== null) {
- $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2);
- $xfer += $output->writeString($this->dbName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->tblName !== null) {
- $xfer += $output->writeFieldBegin('tblName', TType::STRING, 3);
- $xfer += $output->writeString($this->tblName);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->tablesUsed !== null) {
- if (!is_array($this->tablesUsed)) {
- throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA);
- }
- $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 4);
- {
- $output->writeSetBegin(TType::STRING, count($this->tablesUsed));
- {
- foreach ($this->tablesUsed as $iter666 => $iter667)
- {
- if (is_scalar($iter667)) {
- $xfer += $output->writeString($iter666);
- } else {
- $xfer += $output->writeString($iter667);
- }
- }
- }
- $output->writeSetEnd();
- }
- $xfer += $output->writeFieldEnd();
- }
- if ($this->validTxnList !== null) {
- $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 5);
- $xfer += $output->writeString($this->validTxnList);
- $xfer += $output->writeFieldEnd();
- }
- if ($this->materializationTime !== null) {
- $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 6);
- $xfer += $output->writeI64($this->materializationTime);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
class NotificationEventRequest {
static $_TSPEC;
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 dee644c..487d8c4 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
@@ -4767,6 +4767,152 @@ class StorageDescriptor:
def __ne__(self, other):
return not (self == other)
+class CreationMetadata:
+ """
+ Attributes:
+ - catName
+ - dbName
+ - tblName
+ - tablesUsed
+ - validTxnList
+ - materializationTime
+ """
+
+ thrift_spec = (
+ None, # 0
+ (1, TType.STRING, 'catName', None, None, ), # 1
+ (2, TType.STRING, 'dbName', None, None, ), # 2
+ (3, TType.STRING, 'tblName', None, None, ), # 3
+ (4, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 4
+ (5, TType.STRING, 'validTxnList', None, None, ), # 5
+ (6, TType.I64, 'materializationTime', None, None, ), # 6
+ )
+
+ def __init__(self, catName=None, dbName=None, tblName=None, tablesUsed=None, validTxnList=None, materializationTime=None,):
+ self.catName = catName
+ self.dbName = dbName
+ self.tblName = tblName
+ self.tablesUsed = tablesUsed
+ self.validTxnList = validTxnList
+ self.materializationTime = materializationTime
+
+ 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.catName = iprot.readString()
+ else:
+ iprot.skip(ftype)
+ elif fid == 2:
+ if ftype == TType.STRING:
+ self.dbName = iprot.readString()
+ else:
+ iprot.skip(ftype)
+ elif fid == 3:
+ if ftype == TType.STRING:
+ self.tblName = iprot.readString()
+ else:
+ iprot.skip(ftype)
+ elif fid == 4:
+ if ftype == TType.SET:
+ self.tablesUsed = set()
+ (_etype185, _size182) = iprot.readSetBegin()
+ for _i186 in xrange(_size182):
+ _elem187 = iprot.readString()
+ self.tablesUsed.add(_elem187)
+ iprot.readSetEnd()
+ else:
+ iprot.skip(ftype)
+ elif fid == 5:
+ if ftype == TType.STRING:
+ self.validTxnList = iprot.readString()
+ else:
+ iprot.skip(ftype)
+ elif fid == 6:
+ if ftype == TType.I64:
+ self.materializationTime = iprot.readI64()
+ else:
+ iprot.skip(ftype)
+ else:
+ iprot.skip(ftype)
+ iprot.readFieldEnd()
+ iprot.readStructEnd()
+
+ def write(self, oprot):
+ if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
+ oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
+ return
+ oprot.writeStructBegin('CreationMetadata')
+ if self.catName is not None:
+ oprot.writeFieldBegin('catName', TType.STRING, 1)
+ oprot.writeString(self.catName)
+ oprot.writeFieldEnd()
+ if self.dbName is not None:
+ oprot.writeFieldBegin('dbName', TType.STRING, 2)
+ oprot.writeString(self.dbName)
+ oprot.writeFieldEnd()
+ if self.tblName is not None:
+ oprot.writeFieldBegin('tblName', TType.STRING, 3)
+ oprot.writeString(self.tblName)
+ oprot.writeFieldEnd()
+ if self.tablesUsed is not None:
+ oprot.writeFieldBegin('tablesUsed', TType.SET, 4)
+ oprot.writeSetBegin(TType.STRING, len(self.tablesUsed))
+ for iter188 in self.tablesUsed:
+ oprot.writeString(iter188)
+ oprot.writeSetEnd()
+ oprot.writeFieldEnd()
+ if self.validTxnList is not None:
+ oprot.writeFieldBegin('validTxnList', TType.STRING, 5)
+ oprot.writeString(self.validTxnList)
+ oprot.writeFieldEnd()
+ if self.materializationTime is not None:
+ oprot.writeFieldBegin('materializationTime', TType.I64, 6)
+ oprot.writeI64(self.materializationTime)
+ oprot.writeFieldEnd()
+ oprot.writeFieldStop()
+ oprot.writeStructEnd()
+
+ def validate(self):
+ if self.catName is None:
+ raise TProtocol.TProtocolException(message='Required field catName is unset!')
+ if self.dbName is None:
+ raise TProtocol.TProtocolException(message='Required field dbName is unset!')
+ if self.tblName is None:
+ raise TProtocol.TProtocolException(message='Required field tblName is unset!')
+ if self.tablesUsed is None:
+ raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!')
+ return
+
+
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.catName)
+ value = (value * 31) ^ hash(self.dbName)
+ value = (value * 31) ^ hash(self.tblName)
+ value = (value * 31) ^ hash(self.tablesUsed)
+ value = (value * 31) ^ hash(self.validTxnList)
+ value = (value * 31) ^ hash(self.materializationTime)
+ 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 Table:
"""
Attributes:
@@ -4897,22 +5043,22 @@ class Table:
elif fid == 9:
if ftype == TType.LIST:
self.partitionKeys = []
- (_etype185, _size182) = iprot.readListBegin()
- for _i186 in xrange(_size182):
- _elem187 = FieldSchema()
- _elem187.read(iprot)
- self.partitionKeys.append(_elem187)
+ (_etype192, _size189) = iprot.readListBegin()
+ for _i193 in xrange(_size189):
+ _elem194 = FieldSchema()
+ _elem194.read(iprot)
+ self.partitionKeys.append(_elem194)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 10:
if ftype == TType.MAP:
self.parameters = {}
- (_ktype189, _vtype190, _size188 ) = iprot.readMapBegin()
- for _i192 in xrange(_size188):
- _key193 = iprot.readString()
- _val194 = iprot.readString()
- self.parameters[_key193] = _val194
+ (_ktype196, _vtype197, _size195 ) = iprot.readMapBegin()
+ for _i199 in xrange(_size195):
+ _key200 = iprot.readString()
+ _val201 = iprot.readString()
+ self.parameters[_key200] = _val201
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -5024,16 +5170,16 @@ class Table:
if self.partitionKeys is not None:
oprot.writeFieldBegin('partitionKeys', TType.LIST, 9)
oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys))
- for iter195 in self.partitionKeys:
- iter195.write(oprot)
+ for iter202 in self.partitionKeys:
+ iter202.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.parameters is not None:
oprot.writeFieldBegin('parameters', TType.MAP, 10)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters))
- for kiter196,viter197 in self.parameters.items():
- oprot.writeString(kiter196)
- oprot.writeString(viter197)
+ for kiter203,viter204 in self.parameters.items():
+ oprot.writeString(kiter203)
+ oprot.writeString(viter204)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.viewOriginalText is not None:
@@ -5187,10 +5333,10 @@ class Partition:
if fid == 1:
if ftype == TType.LIST:
self.values = []
- (_etype201, _size198) = iprot.readListBegin()
- for _i202 in xrange(_size198):
- _elem203 = iprot.readString()
- self.values.append(_elem203)
+ (_etype208, _size205) = iprot.readListBegin()
+ for _i209 in xrange(_size205):
+ _elem210 = iprot.readString()
+ self.values.append(_elem210)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -5223,11 +5369,11 @@ class Partition:
elif fid == 7:
if ftype == TType.MAP:
self.parameters = {}
- (_ktype205, _vtype206, _size204 ) = iprot.readMapBegin()
- for _i208 in xrange(_size204):
- _key209 = iprot.readString()
- _val210 = iprot.readString()
- self.parameters[_key209] = _val210
+ (_ktype212, _vtype213, _size211 ) = iprot.readMapBegin()
+ for _i215 in xrange(_size211):
+ _key216 = iprot.readString()
+ _val217 = iprot.readString()
+ self.parameters[_key216] = _val217
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -5271,8 +5417,8 @@ class Partition:
if self.values is not None:
oprot.writeFieldBegin('values', TType.LIST, 1)
oprot.writeListBegin(TType.STRING, len(self.values))
- for iter211 in self.values:
- oprot.writeString(iter211)
+ for iter218 in self.values:
+ oprot.writeString(iter218)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.dbName is not None:
@@ -5298,9 +5444,9 @@ class Partition:
if self.parameters is not None:
oprot.writeFieldBegin('parameters', TType.MAP, 7)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters))
- for kiter212,viter213 in self.parameters.items():
- oprot.writeString(kiter212)
- oprot.writeString(viter213)
+ for kiter219,viter220 in self.parameters.items():
+ oprot.writeString(kiter219)
+ oprot.writeString(viter220)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.privileges is not None:
@@ -5398,10 +5544,10 @@ class PartitionWithoutSD:
if fid == 1:
if ftype == TType.LIST:
self.values = []
- (_etype217, _size214) = iprot.readListBegin()
- for _i218 in xrange(_size214):
- _elem219 = iprot.readString()
- self.values.append(_elem219)
+ (_etype224, _size221) = iprot.readListBegin()
+ for _i225 in xrange(_size221):
+ _elem226 = iprot.readString()
+ self.values.append(_elem226)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -5423,11 +5569,11 @@ class PartitionWithoutSD:
elif fid == 5:
if ftype == TType.MAP:
self.parameters = {}
- (_ktype221, _vtype222, _size220 ) = iprot.readMapBegin()
- for _i224 in xrange(_size220):
- _key225 = iprot.readString()
- _val226 = iprot.readString()
- self.parameters[_key225] = _val226
+ (_ktype228, _vtype229, _size227 ) = iprot.readMapBegin()
+ for _i231 in xrange(_size227):
+ _key232 = iprot.readString()
+ _val233 = iprot.readString()
+ self.parameters[_key232] = _val233
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -5450,8 +5596,8 @@ class PartitionWithoutSD:
if self.values is not None:
oprot.writeFieldBegin('values', TType.LIST, 1)
oprot.writeListBegin(TType.STRING, len(self.values))
- for iter227 in self.values:
- oprot.writeString(iter227)
+ for iter234 in self.values:
+ oprot.writeString(iter234)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.createTime is not None:
@@ -5469,9 +5615,9 @@ class PartitionWithoutSD:
if self.parameters is not None:
oprot.writeFieldBegin('parameters', TType.MAP, 5)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters))
- for kiter228,viter229 in self.parameters.items():
- oprot.writeString(kiter228)
- oprot.writeString(viter229)
+ for kiter235,viter236 in self.parameters.items():
+ oprot.writeString(kiter235)
+ oprot.writeString(viter236)
oprot.writeMapEnd()
oprot.writeFieldEnd()
if self.privileges is not None:
@@ -5535,11 +5681,11 @@ class PartitionSpecWithSharedSD:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype233, _size230) = iprot.readListBegin()
- for _i234 in xrange(_size230):
- _elem235 = PartitionWithoutSD()
- _elem235.read(iprot)
- self.partitions.append(_elem235)
+ (_etype240, _size237) = iprot.readListBegin()
+ for _i241 in xrange(_size237):
+ _elem242 = PartitionWithoutSD()
+ _elem242.read(iprot)
+ self.partitions.append(_elem242)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -5562,8 +5708,8 @@ class PartitionSpecWithSharedSD:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter236 in self.partitions:
- iter236.write(oprot)
+ for iter243 in self.partitions:
+ iter243.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.sd is not None:
@@ -5620,11 +5766,11 @@ class PartitionListComposingSpec:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype240, _size237) = iprot.readListBegin()
- for _i241 in xrange(_size237):
- _elem242 = Partition()
- _elem242.read(iprot)
- self.partitions.append(_elem242)
+ (_etype247, _size244) = iprot.readListBegin()
+ for _i248 in xrange(_size244):
+ _elem249 = Partition()
+ _elem249.read(iprot)
+ self.partitions.append(_elem249)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -5641,8 +5787,8 @@ class PartitionListComposingSpec:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter243 in self.partitions:
- iter243.write(oprot)
+ for iter250 in self.partitions:
+ iter250.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -7231,11 +7377,11 @@ class ColumnStatistics:
elif fid == 2:
if ftype == TType.LIST:
self.statsObj = []
- (_etype247, _size244) = iprot.readListBegin()
- for _i248 in xrange(_size244):
- _elem249 = ColumnStatisticsObj()
- _elem249.read(iprot)
- self.statsObj.append(_elem249)
+ (_etype254, _size251) = iprot.readListBegin()
+ for _i255 in xrange(_size251):
+ _elem256 = ColumnStatisticsObj()
+ _elem256.read(iprot)
+ self.statsObj.append(_elem256)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -7261,8 +7407,8 @@ class ColumnStatistics:
if self.statsObj is not None:
oprot.writeFieldBegin('statsObj', TType.LIST, 2)
oprot.writeListBegin(TType.STRUCT, len(self.statsObj))
- for iter250 in self.statsObj:
- iter250.write(oprot)
+ for iter257 in self.statsObj:
+ iter257.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.isStatsCompliant is not None:
@@ -7330,11 +7476,11 @@ class AggrStats:
if fid == 1:
if ftype == TType.LIST:
self.colStats = []
- (_etype254, _size251) = iprot.readListBegin()
- for _i255 in xrange(_size251):
- _elem256 = ColumnStatisticsObj()
- _elem256.read(iprot)
- self.colStats.append(_elem256)
+ (_etype261, _size258) = iprot.readListBegin()
+ for _i262 in xrange(_size258):
+ _elem263 = ColumnStatisticsObj()
+ _elem263.read(iprot)
+ self.colStats.append(_elem263)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -7361,8 +7507,8 @@ class AggrStats:
if self.colStats is not None:
oprot.writeFieldBegin('colStats', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.colStats))
- for iter257 in self.colStats:
- iter257.write(oprot)
+ for iter264 in self.colStats:
+ iter264.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.partsFound is not None:
@@ -7437,11 +7583,11 @@ class SetPartitionsStatsRequest:
if fid == 1:
if ftype == TType.LIST:
self.colStats = []
- (_etype261, _size258) = iprot.readListBegin()
- for _i262 in xrange(_size258):
- _elem263 = ColumnStatistics()
- _elem263.read(iprot)
- self.colStats.append(_elem263)
+ (_etype268, _size265) = iprot.readListBegin()
+ for _i269 in xrange(_size265):
+ _elem270 = ColumnStatistics()
+ _elem270.read(iprot)
+ self.colStats.append(_elem270)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -7473,8 +7619,8 @@ class SetPartitionsStatsRequest:
if self.colStats is not None:
oprot.writeFieldBegin('colStats', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.colStats))
- for iter264 in self.colStats:
- iter264.write(oprot)
+ for iter271 in self.colStats:
+ iter271.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.needMerge is not None:
@@ -7613,22 +7759,22 @@ class Schema:
if fid == 1:
if ftype == TType.LIST:
self.fieldSchemas = []
- (_etype268, _size265) = iprot.readListBegin()
- for _i269 in xrange(_size265):
- _elem270 = FieldSchema()
- _elem270.read(iprot)
- self.fieldSchemas.append(_elem270)
+ (_etype275, _size272) = iprot.readListBegin()
+ for _i276 in xrange(_size272):
+ _elem277 = FieldSchema()
+ _elem277.read(iprot)
+ self.fieldSchemas.append(_elem277)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.MAP:
self.properties = {}
- (_ktype272, _vtype273, _size271 ) = iprot.readMapBegin()
- for _i275 in xrange(_size271):
- _key276 = iprot.readString()
- _val277 = iprot.readString()
- self.properties[_key276] = _val277
+ (_ktype279, _vtype280, _size278 ) = iprot.readMapBegin()
+ for _i282 in xrange(_size278):
+ _key283 = iprot.readString()
+ _val284 = iprot.readString()
+ self.properties[_key283] = _val284
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -7645,16 +7791,16 @@ class Schema:
if self.fieldSchemas is not None:
oprot.writeFieldBegin('fieldSchemas', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.fieldSchemas))
- for iter278 in self.fieldSchemas:
- iter278.write(oprot)
+ for iter285 in self.fieldSchemas:
+ iter285.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.properties is not None:
oprot.writeFieldBegin('properties', TType.MAP, 2)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties))
- for kiter279,viter280 in self.properties.items():
- oprot.writeString(kiter279)
- oprot.writeString(viter280)
+ for kiter286,viter287 in self.properties.items():
+ oprot.writeString(kiter286)
+ oprot.writeString(viter287)
oprot.writeMapEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -7707,11 +7853,11 @@ class EnvironmentContext:
if fid == 1:
if ftype == TType.MAP:
self.properties = {}
- (_ktype282, _vtype283, _size281 ) = iprot.readMapBegin()
- for _i285 in xrange(_size281):
- _key286 = iprot.readString()
- _val287 = iprot.readString()
- self.properties[_key286] = _val287
+ (_ktype289, _vtype290, _size288 ) = iprot.readMapBegin()
+ for _i292 in xrange(_size288):
+ _key293 = iprot.readString()
+ _val294 = iprot.readString()
+ self.properties[_key293] = _val294
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -7728,9 +7874,9 @@ class EnvironmentContext:
if self.properties is not None:
oprot.writeFieldBegin('properties', TType.MAP, 1)
oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties))
- for kiter288,viter289 in self.properties.items():
- oprot.writeString(kiter288)
- oprot.writeString(viter289)
+ for kiter295,viter296 in self.properties.items():
+ oprot.writeString(kiter295)
+ oprot.writeString(viter296)
oprot.writeMapEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -7877,11 +8023,11 @@ class PrimaryKeysResponse:
if fid == 1:
if ftype == TType.LIST:
self.primaryKeys = []
- (_etype293, _size290) = iprot.readListBegin()
- for _i294 in xrange(_size290):
- _elem295 = SQLPrimaryKey()
- _elem295.read(iprot)
- self.primaryKeys.append(_elem295)
+ (_etype300, _size297) = iprot.readListBegin()
+ for _i301 in xrange(_size297):
+ _elem302 = SQLPrimaryKey()
+ _elem302.read(iprot)
+ self.primaryKeys.append(_elem302)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -7898,8 +8044,8 @@ class PrimaryKeysResponse:
if self.primaryKeys is not None:
oprot.writeFieldBegin('primaryKeys', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys))
- for iter296 in self.primaryKeys:
- iter296.write(oprot)
+ for iter303 in self.primaryKeys:
+ iter303.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8070,11 +8216,11 @@ class ForeignKeysResponse:
if fid == 1:
if ftype == TType.LIST:
self.foreignKeys = []
- (_etype300, _size297) = iprot.readListBegin()
- for _i301 in xrange(_size297):
- _elem302 = SQLForeignKey()
- _elem302.read(iprot)
- self.foreignKeys.append(_elem302)
+ (_etype307, _size304) = iprot.readListBegin()
+ for _i308 in xrange(_size304):
+ _elem309 = SQLForeignKey()
+ _elem309.read(iprot)
+ self.foreignKeys.append(_elem309)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8091,8 +8237,8 @@ class ForeignKeysResponse:
if self.foreignKeys is not None:
oprot.writeFieldBegin('foreignKeys', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys))
- for iter303 in self.foreignKeys:
- iter303.write(oprot)
+ for iter310 in self.foreignKeys:
+ iter310.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8243,11 +8389,11 @@ class UniqueConstraintsResponse:
if fid == 1:
if ftype == TType.LIST:
self.uniqueConstraints = []
- (_etype307, _size304) = iprot.readListBegin()
- for _i308 in xrange(_size304):
- _elem309 = SQLUniqueConstraint()
- _elem309.read(iprot)
- self.uniqueConstraints.append(_elem309)
+ (_etype314, _size311) = iprot.readListBegin()
+ for _i315 in xrange(_size311):
+ _elem316 = SQLUniqueConstraint()
+ _elem316.read(iprot)
+ self.uniqueConstraints.append(_elem316)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8264,8 +8410,8 @@ class UniqueConstraintsResponse:
if self.uniqueConstraints is not None:
oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints))
- for iter310 in self.uniqueConstraints:
- iter310.write(oprot)
+ for iter317 in self.uniqueConstraints:
+ iter317.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8416,11 +8562,11 @@ class NotNullConstraintsResponse:
if fid == 1:
if ftype == TType.LIST:
self.notNullConstraints = []
- (_etype314, _size311) = iprot.readListBegin()
- for _i315 in xrange(_size311):
- _elem316 = SQLNotNullConstraint()
- _elem316.read(iprot)
- self.notNullConstraints.append(_elem316)
+ (_etype321, _size318) = iprot.readListBegin()
+ for _i322 in xrange(_size318):
+ _elem323 = SQLNotNullConstraint()
+ _elem323.read(iprot)
+ self.notNullConstraints.append(_elem323)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8437,8 +8583,8 @@ class NotNullConstraintsResponse:
if self.notNullConstraints is not None:
oprot.writeFieldBegin('notNullConstraints', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints))
- for iter317 in self.notNullConstraints:
- iter317.write(oprot)
+ for iter324 in self.notNullConstraints:
+ iter324.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8589,11 +8735,11 @@ class DefaultConstraintsResponse:
if fid == 1:
if ftype == TType.LIST:
self.defaultConstraints = []
- (_etype321, _size318) = iprot.readListBegin()
- for _i322 in xrange(_size318):
- _elem323 = SQLDefaultConstraint()
- _elem323.read(iprot)
- self.defaultConstraints.append(_elem323)
+ (_etype328, _size325) = iprot.readListBegin()
+ for _i329 in xrange(_size325):
+ _elem330 = SQLDefaultConstraint()
+ _elem330.read(iprot)
+ self.defaultConstraints.append(_elem330)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8610,8 +8756,8 @@ class DefaultConstraintsResponse:
if self.defaultConstraints is not None:
oprot.writeFieldBegin('defaultConstraints', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints))
- for iter324 in self.defaultConstraints:
- iter324.write(oprot)
+ for iter331 in self.defaultConstraints:
+ iter331.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8762,11 +8908,11 @@ class CheckConstraintsResponse:
if fid == 1:
if ftype == TType.LIST:
self.checkConstraints = []
- (_etype328, _size325) = iprot.readListBegin()
- for _i329 in xrange(_size325):
- _elem330 = SQLCheckConstraint()
- _elem330.read(iprot)
- self.checkConstraints.append(_elem330)
+ (_etype335, _size332) = iprot.readListBegin()
+ for _i336 in xrange(_size332):
+ _elem337 = SQLCheckConstraint()
+ _elem337.read(iprot)
+ self.checkConstraints.append(_elem337)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8783,8 +8929,8 @@ class CheckConstraintsResponse:
if self.checkConstraints is not None:
oprot.writeFieldBegin('checkConstraints', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints))
- for iter331 in self.checkConstraints:
- iter331.write(oprot)
+ for iter338 in self.checkConstraints:
+ iter338.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -8948,11 +9094,11 @@ class AddPrimaryKeyRequest:
if fid == 1:
if ftype == TType.LIST:
self.primaryKeyCols = []
- (_etype335, _size332) = iprot.readListBegin()
- for _i336 in xrange(_size332):
- _elem337 = SQLPrimaryKey()
- _elem337.read(iprot)
- self.primaryKeyCols.append(_elem337)
+ (_etype342, _size339) = iprot.readListBegin()
+ for _i343 in xrange(_size339):
+ _elem344 = SQLPrimaryKey()
+ _elem344.read(iprot)
+ self.primaryKeyCols.append(_elem344)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -8969,8 +9115,8 @@ class AddPrimaryKeyRequest:
if self.primaryKeyCols is not None:
oprot.writeFieldBegin('primaryKeyCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.primaryKeyCols))
- for iter338 in self.primaryKeyCols:
- iter338.write(oprot)
+ for iter345 in self.primaryKeyCols:
+ iter345.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9024,11 +9170,11 @@ class AddForeignKeyRequest:
if fid == 1:
if ftype == TType.LIST:
self.foreignKeyCols = []
- (_etype342, _size339) = iprot.readListBegin()
- for _i343 in xrange(_size339):
- _elem344 = SQLForeignKey()
- _elem344.read(iprot)
- self.foreignKeyCols.append(_elem344)
+ (_etype349, _size346) = iprot.readListBegin()
+ for _i350 in xrange(_size346):
+ _elem351 = SQLForeignKey()
+ _elem351.read(iprot)
+ self.foreignKeyCols.append(_elem351)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9045,8 +9191,8 @@ class AddForeignKeyRequest:
if self.foreignKeyCols is not None:
oprot.writeFieldBegin('foreignKeyCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.foreignKeyCols))
- for iter345 in self.foreignKeyCols:
- iter345.write(oprot)
+ for iter352 in self.foreignKeyCols:
+ iter352.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9100,11 +9246,11 @@ class AddUniqueConstraintRequest:
if fid == 1:
if ftype == TType.LIST:
self.uniqueConstraintCols = []
- (_etype349, _size346) = iprot.readListBegin()
- for _i350 in xrange(_size346):
- _elem351 = SQLUniqueConstraint()
- _elem351.read(iprot)
- self.uniqueConstraintCols.append(_elem351)
+ (_etype356, _size353) = iprot.readListBegin()
+ for _i357 in xrange(_size353):
+ _elem358 = SQLUniqueConstraint()
+ _elem358.read(iprot)
+ self.uniqueConstraintCols.append(_elem358)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9121,8 +9267,8 @@ class AddUniqueConstraintRequest:
if self.uniqueConstraintCols is not None:
oprot.writeFieldBegin('uniqueConstraintCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraintCols))
- for iter352 in self.uniqueConstraintCols:
- iter352.write(oprot)
+ for iter359 in self.uniqueConstraintCols:
+ iter359.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9176,11 +9322,11 @@ class AddNotNullConstraintRequest:
if fid == 1:
if ftype == TType.LIST:
self.notNullConstraintCols = []
- (_etype356, _size353) = iprot.readListBegin()
- for _i357 in xrange(_size353):
- _elem358 = SQLNotNullConstraint()
- _elem358.read(iprot)
- self.notNullConstraintCols.append(_elem358)
+ (_etype363, _size360) = iprot.readListBegin()
+ for _i364 in xrange(_size360):
+ _elem365 = SQLNotNullConstraint()
+ _elem365.read(iprot)
+ self.notNullConstraintCols.append(_elem365)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9197,8 +9343,8 @@ class AddNotNullConstraintRequest:
if self.notNullConstraintCols is not None:
oprot.writeFieldBegin('notNullConstraintCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraintCols))
- for iter359 in self.notNullConstraintCols:
- iter359.write(oprot)
+ for iter366 in self.notNullConstraintCols:
+ iter366.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9252,11 +9398,11 @@ class AddDefaultConstraintRequest:
if fid == 1:
if ftype == TType.LIST:
self.defaultConstraintCols = []
- (_etype363, _size360) = iprot.readListBegin()
- for _i364 in xrange(_size360):
- _elem365 = SQLDefaultConstraint()
- _elem365.read(iprot)
- self.defaultConstraintCols.append(_elem365)
+ (_etype370, _size367) = iprot.readListBegin()
+ for _i371 in xrange(_size367):
+ _elem372 = SQLDefaultConstraint()
+ _elem372.read(iprot)
+ self.defaultConstraintCols.append(_elem372)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9273,8 +9419,8 @@ class AddDefaultConstraintRequest:
if self.defaultConstraintCols is not None:
oprot.writeFieldBegin('defaultConstraintCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraintCols))
- for iter366 in self.defaultConstraintCols:
- iter366.write(oprot)
+ for iter373 in self.defaultConstraintCols:
+ iter373.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9328,11 +9474,11 @@ class AddCheckConstraintRequest:
if fid == 1:
if ftype == TType.LIST:
self.checkConstraintCols = []
- (_etype370, _size367) = iprot.readListBegin()
- for _i371 in xrange(_size367):
- _elem372 = SQLCheckConstraint()
- _elem372.read(iprot)
- self.checkConstraintCols.append(_elem372)
+ (_etype377, _size374) = iprot.readListBegin()
+ for _i378 in xrange(_size374):
+ _elem379 = SQLCheckConstraint()
+ _elem379.read(iprot)
+ self.checkConstraintCols.append(_elem379)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9349,8 +9495,8 @@ class AddCheckConstraintRequest:
if self.checkConstraintCols is not None:
oprot.writeFieldBegin('checkConstraintCols', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.checkConstraintCols))
- for iter373 in self.checkConstraintCols:
- iter373.write(oprot)
+ for iter380 in self.checkConstraintCols:
+ iter380.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -9407,11 +9553,11 @@ class PartitionsByExprResult:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype377, _size374) = iprot.readListBegin()
- for _i378 in xrange(_size374):
- _elem379 = Partition()
- _elem379.read(iprot)
- self.partitions.append(_elem379)
+ (_etype384, _size381) = iprot.readListBegin()
+ for _i385 in xrange(_size381):
+ _elem386 = Partition()
+ _elem386.read(iprot)
+ self.partitions.append(_elem386)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9433,8 +9579,8 @@ class PartitionsByExprResult:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter380 in self.partitions:
- iter380.write(oprot)
+ for iter387 in self.partitions:
+ iter387.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.hasUnknownPartitions is not None:
@@ -9634,11 +9780,11 @@ class TableStatsResult:
if fid == 1:
if ftype == TType.LIST:
self.tableStats = []
- (_etype384, _size381) = iprot.readListBegin()
- for _i385 in xrange(_size381):
- _elem386 = ColumnStatisticsObj()
- _elem386.read(iprot)
- self.tableStats.append(_elem386)
+ (_etype391, _size388) = iprot.readListBegin()
+ for _i392 in xrange(_size388):
+ _elem393 = ColumnStatisticsObj()
+ _elem393.read(iprot)
+ self.tableStats.append(_elem393)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9660,8 +9806,8 @@ class TableStatsResult:
if self.tableStats is not None:
oprot.writeFieldBegin('tableStats', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.tableStats))
- for iter387 in self.tableStats:
- iter387.write(oprot)
+ for iter394 in self.tableStats:
+ iter394.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.isStatsCompliant is not None:
@@ -9723,17 +9869,17 @@ class PartitionsStatsResult:
if fid == 1:
if ftype == TType.MAP:
self.partStats = {}
- (_ktype389, _vtype390, _size388 ) = iprot.readMapBegin()
- for _i392 in xrange(_size388):
- _key393 = iprot.readString()
- _val394 = []
- (_etype398, _size395) = iprot.readListBegin()
- for _i399 in xrange(_size395):
- _elem400 = ColumnStatisticsObj()
- _elem400.read(iprot)
- _val394.append(_elem400)
+ (_ktype396, _vtype397, _size395 ) = iprot.readMapBegin()
+ for _i399 in xrange(_size395):
+ _key400 = iprot.readString()
+ _val401 = []
+ (_etype405, _size402) = iprot.readListBegin()
+ for _i406 in xrange(_size402):
+ _elem407 = ColumnStatisticsObj()
+ _elem407.read(iprot)
+ _val401.append(_elem407)
iprot.readListEnd()
- self.partStats[_key393] = _val394
+ self.partStats[_key400] = _val401
iprot.readMapEnd()
else:
iprot.skip(ftype)
@@ -9755,11 +9901,11 @@ class PartitionsStatsResult:
if self.partStats is not None:
oprot.writeFieldBegin('partStats', TType.MAP, 1)
oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.partStats))
- for kiter401,viter402 in self.partStats.items():
- oprot.writeString(kiter401)
- oprot.writeListBegin(TType.STRUCT, len(viter402))
- for iter403 in viter402:
- iter403.write(oprot)
+ for kiter408,viter409 in self.partStats.items():
+ oprot.writeString(kiter408)
+ oprot.writeListBegin(TType.STRUCT, len(viter409))
+ for iter410 in viter409:
+ iter410.write(oprot)
oprot.writeListEnd()
oprot.writeMapEnd()
oprot.writeFieldEnd()
@@ -9841,10 +9987,10 @@ class TableStatsRequest:
elif fid == 3:
if ftype == TType.LIST:
self.colNames = []
- (_etype407, _size404) = iprot.readListBegin()
- for _i408 in xrange(_size404):
- _elem409 = iprot.readString()
- self.colNames.append(_elem409)
+ (_etype414, _size411) = iprot.readListBegin()
+ for _i415 in xrange(_size411):
+ _elem416 = iprot.readString()
+ self.colNames.append(_elem416)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -9879,8 +10025,8 @@ class TableStatsRequest:
if self.colNames is not None:
oprot.writeFieldBegin('colNames', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.colNames))
- for iter410 in self.colNames:
- oprot.writeString(iter410)
+ for iter417 in self.colNames:
+ oprot.writeString(iter417)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.catName is not None:
@@ -9975,20 +10121,20 @@ class PartitionsStatsRequest:
elif fid == 3:
if ftype == TType.LIST:
self.colNames = []
- (_etype414, _size411) = iprot.readListBegin()
- for _i415 in xrange(_size411):
- _elem416 = iprot.readString()
- self.colNames.append(_elem416)
+ (_etype421, _size418) = iprot.readListBegin()
+ for _i422 in xrange(_size418):
+ _elem423 = iprot.readString()
+ self.colNames.append(_elem423)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.LIST:
self.partNames = []
- (_etype420, _size417) = iprot.readListBegin()
- for _i421 in xrange(_size417):
- _elem422 = iprot.readString()
- self.partNames.append(_elem422)
+ (_etype427, _size424) = iprot.readListBegin()
+ for _i428 in xrange(_size424):
+ _elem429 = iprot.readString()
+ self.partNames.append(_elem429)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10023,15 +10169,15 @@ class PartitionsStatsRequest:
if self.colNames is not None:
oprot.writeFieldBegin('colNames', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.colNames))
- for iter423 in self.colNames:
- oprot.writeString(iter423)
+ for iter430 in self.colNames:
+ oprot.writeString(iter430)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.partNames is not None:
oprot.writeFieldBegin('partNames', TType.LIST, 4)
oprot.writeListBegin(TType.STRING, len(self.partNames))
- for iter424 in self.partNames:
- oprot.writeString(iter424)
+ for iter431 in self.partNames:
+ oprot.writeString(iter431)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.catName is not None:
@@ -10107,11 +10253,11 @@ class AddPartitionsResult:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype428, _size425) = iprot.readListBegin()
- for _i429 in xrange(_size425):
- _elem430 = Partition()
- _elem430.read(iprot)
- self.partitions.append(_elem430)
+ (_etype435, _size432) = iprot.readListBegin()
+ for _i436 in xrange(_size432):
+ _elem437 = Partition()
+ _elem437.read(iprot)
+ self.partitions.append(_elem437)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10133,8 +10279,8 @@ class AddPartitionsResult:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter431 in self.partitions:
- iter431.write(oprot)
+ for iter438 in self.partitions:
+ iter438.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.isStatsCompliant is not None:
@@ -10219,11 +10365,11 @@ class AddPartitionsRequest:
elif fid == 3:
if ftype == TType.LIST:
self.parts = []
- (_etype435, _size432) = iprot.readListBegin()
- for _i436 in xrange(_size432):
- _elem437 = Partition()
- _elem437.read(iprot)
- self.parts.append(_elem437)
+ (_etype442, _size439) = iprot.readListBegin()
+ for _i443 in xrange(_size439):
+ _elem444 = Partition()
+ _elem444.read(iprot)
+ self.parts.append(_elem444)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10268,8 +10414,8 @@ class AddPartitionsRequest:
if self.parts is not None:
oprot.writeFieldBegin('parts', TType.LIST, 3)
oprot.writeListBegin(TType.STRUCT, len(self.parts))
- for iter438 in self.parts:
- iter438.write(oprot)
+ for iter445 in self.parts:
+ iter445.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ifNotExists is not None:
@@ -10351,11 +10497,11 @@ class DropPartitionsResult:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype442, _size439) = iprot.readListBegin()
- for _i443 in xrange(_size439):
- _elem444 = Partition()
- _elem444.read(iprot)
- self.partitions.append(_elem444)
+ (_etype449, _size446) = iprot.readListBegin()
+ for _i450 in xrange(_size446):
+ _elem451 = Partition()
+ _elem451.read(iprot)
+ self.partitions.append(_elem451)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10372,8 +10518,8 @@ class DropPartitionsResult:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter445 in self.partitions:
- iter445.write(oprot)
+ for iter452 in self.partitions:
+ iter452.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -10508,21 +10654,21 @@ class RequestPartsSpec:
if fid == 1:
if ftype == TType.LIST:
self.names = []
- (_etype449, _size446) = iprot.readListBegin()
- for _i450 in xrange(_size446):
- _elem451 = iprot.readString()
- self.names.append(_elem451)
+ (_etype456, _size453) = iprot.readListBegin()
+ for _i457 in xrange(_size453):
+ _elem458 = iprot.readString()
+ self.names.append(_elem458)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.LIST:
self.exprs = []
- (_etype455, _size452) = iprot.readListBegin()
- for _i456 in xrange(_size452):
- _elem457 = DropPartitionsExpr()
- _elem457.read(iprot)
- self.exprs.append(_elem457)
+ (_etype462, _size459) = iprot.readListBegin()
+ for _i463 in xrange(_size459):
+ _elem464 = DropPartitionsExpr()
+ _elem464.read(iprot)
+ self.exprs.append(_elem464)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10539,15 +10685,15 @@ class RequestPartsSpec:
if self.names is not None:
oprot.writeFieldBegin('names', TType.LIST, 1)
oprot.writeListBegin(TType.STRING, len(self.names))
- for iter458 in self.names:
- oprot.writeString(iter458)
+ for iter465 in self.names:
+ oprot.writeString(iter465)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.exprs is not None:
oprot.writeFieldBegin('exprs', TType.LIST, 2)
oprot.writeListBegin(TType.STRUCT, len(self.exprs))
- for iter459 in self.exprs:
- iter459.write(oprot)
+ for iter466 in self.exprs:
+ iter466.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -10811,11 +10957,11 @@ class PartitionValuesRequest:
elif fid == 3:
if ftype == TType.LIST:
self.partitionKeys = []
- (_etype463, _size460) = iprot.readListBegin()
- for _i464 in xrange(_size460):
- _elem465 = FieldSchema()
- _elem465.read(iprot)
- self.partitionKeys.append(_elem465)
+ (_etype470, _size467) = iprot.readListBegin()
+ for _i471 in xrange(_size467):
+ _elem472 = FieldSchema()
+ _elem472.read(iprot)
+ self.partitionKeys.append(_elem472)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10832,11 +10978,11 @@ class PartitionValuesRequest:
elif fid == 6:
if ftype == TType.LIST:
self.partitionOrder = []
- (_etype469, _size466) = iprot.readListBegin()
- for _i470 in xrange(_size466):
- _elem471 = FieldSchema()
- _elem471.read(iprot)
- self.partitionOrder.append(_elem471)
+ (_etype476, _size473) = iprot.readListBegin()
+ for _i477 in xrange(_size473):
+ _elem478 = FieldSchema()
+ _elem478.read(iprot)
+ self.partitionOrder.append(_elem478)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10876,8 +11022,8 @@ class PartitionValuesRequest:
if self.partitionKeys is not None:
oprot.writeFieldBegin('partitionKeys', TType.LIST, 3)
oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys))
- for iter472 in self.partitionKeys:
- iter472.write(oprot)
+ for iter479 in self.partitionKeys:
+ iter479.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.applyDistinct is not None:
@@ -10891,8 +11037,8 @@ class PartitionValuesRequest:
if self.partitionOrder is not None:
oprot.writeFieldBegin('partitionOrder', TType.LIST, 6)
oprot.writeListBegin(TType.STRUCT, len(self.partitionOrder))
- for iter473 in self.partitionOrder:
- iter473.write(oprot)
+ for iter480 in self.partitionOrder:
+ iter480.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.ascending is not None:
@@ -10970,10 +11116,10 @@ class PartitionValuesRow:
if fid == 1:
if ftype == TType.LIST:
self.row = []
- (_etype477, _size474) = iprot.readListBegin()
- for _i478 in xrange(_size474):
- _elem479 = iprot.readString()
- self.row.append(_elem479)
+ (_etype484, _size481) = iprot.readListBegin()
+ for _i485 in xrange(_size481):
+ _elem486 = iprot.readString()
+ self.row.append(_elem486)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -10990,8 +11136,8 @@ class PartitionValuesRow:
if self.row is not None:
oprot.writeFieldBegin('row', TType.LIST, 1)
oprot.writeListBegin(TType.STRING, len(self.row))
- for iter480 in self.row:
- oprot.writeString(iter480)
+ for iter487 in self.row:
+ oprot.writeString(iter487)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -11045,11 +11191,11 @@ class PartitionValuesResponse:
if fid == 1:
if ftype == TType.LIST:
self.partitionValues = []
- (_etype484, _size481) = iprot.readListBegin()
- for _i485 in xrange(_size481):
- _elem486 = PartitionValuesRow()
- _elem486.read(iprot)
- self.partitionValues.append(_elem486)
+ (_etype491, _size488) = iprot.readListBegin()
+ for _i492 in xrange(_size488):
+ _elem493 = PartitionValuesRow()
+ _elem493.read(iprot)
+ self.partitionValues.append(_elem493)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11066,8 +11212,8 @@ class PartitionValuesResponse:
if self.partitionValues is not None:
oprot.writeFieldBegin('partitionValues', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitionValues))
- for iter487 in self.partitionValues:
- iter487.write(oprot)
+ for iter494 in self.partitionValues:
+ iter494.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -11140,10 +11286,10 @@ class GetPartitionsByNamesRequest:
elif fid == 3:
if ftype == TType.LIST:
self.names = []
- (_etype491, _size488) = iprot.readListBegin()
- for _i492 in xrange(_size488):
- _elem493 = iprot.readString()
- self.names.append(_elem493)
+ (_etype498, _size495) = iprot.readListBegin()
+ for _i499 in xrange(_size495):
+ _elem500 = iprot.readString()
+ self.names.append(_elem500)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11173,8 +11319,8 @@ class GetPartitionsByNamesRequest:
if self.names is not None:
oprot.writeFieldBegin('names', TType.LIST, 3)
oprot.writeListBegin(TType.STRING, len(self.names))
- for iter494 in self.names:
- oprot.writeString(iter494)
+ for iter501 in self.names:
+ oprot.writeString(iter501)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.get_col_stats is not None:
@@ -11237,11 +11383,11 @@ class GetPartitionsByNamesResult:
if fid == 1:
if ftype == TType.LIST:
self.partitions = []
- (_etype498, _size495) = iprot.readListBegin()
- for _i499 in xrange(_size495):
- _elem500 = Partition()
- _elem500.read(iprot)
- self.partitions.append(_elem500)
+ (_etype505, _size502) = iprot.readListBegin()
+ for _i506 in xrange(_size502):
+ _elem507 = Partition()
+ _elem507.read(iprot)
+ self.partitions.append(_elem507)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11258,8 +11404,8 @@ class GetPartitionsByNamesResult:
if self.partitions is not None:
oprot.writeFieldBegin('partitions', TType.LIST, 1)
oprot.writeListBegin(TType.STRUCT, len(self.partitions))
- for iter501 in self.partitions:
- iter501.write(oprot)
+ for iter508 in self.partitions:
+ iter508.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -11450,11 +11596,11 @@ class Function:
elif fid == 8:
if ftype == TType.LIST:
self.resourceUris = []
- (_etype505, _size502) = iprot.readListBegin()
- for _i506 in xrange(_size502):
- _elem507 = ResourceUri()
- _elem507.read(iprot)
- self.resourceUris.append(_elem507)
+ (_etype512, _size509) = iprot.readListBegin()
+ for _i513 in xrange(_size509):
+ _elem514 = ResourceUri()
+ _elem514.read(iprot)
+ self.resourceUris.append(_elem514)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11504,8 +11650,8 @@ class Function:
if self.resourceUris is not None:
oprot.writeFieldBegin('resourceUris', TType.LIST, 8)
oprot.writeListBegin(TType.STRUCT, len(self.resourceUris))
- for iter508 in self.resourceUris:
- iter508.write(oprot)
+ for iter515 in self.resourceUris:
+ iter515.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
if self.catName is not None:
@@ -11754,11 +11900,11 @@ class GetOpenTxnsInfoResponse:
elif fid == 2:
if ftype == TType.LIST:
self.open_txns = []
- (_etype512, _size509) = iprot.readListBegin()
- for _i513 in xrange(_size509):
- _elem514 = TxnInfo()
- _elem514.read(iprot)
- self.open_txns.append(_elem514)
+ (_etype519, _size516) = iprot.readListBegin()
+ for _i520 in xrange(_size516):
+ _elem521 = TxnInfo()
+ _elem521.read(iprot)
+ self.open_txns.append(_elem521)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11779,8 +11925,8 @@ class GetOpenTxnsInfoResponse:
if self.open_txns is not None:
oprot.writeFieldBegin('open_txns', TType.LIST, 2)
oprot.writeListBegin(TType.STRUCT, len(self.open_txns))
- for iter515 in self.open_txns:
- iter515.write(oprot)
+ for iter522 in self.open_txns:
+ iter522.write(oprot)
oprot.writeListEnd()
oprot.writeFieldEnd()
oprot.writeFieldStop()
@@ -11851,10 +11997,10 @@ class GetOpenTxnsResponse:
elif fid == 2:
if ftype == TType.LIST:
self.open_txns = []
- (_etype519, _size516) = iprot.readListBegin()
- for _i520 in xrange(_size516):
- _elem521 = iprot.readI64()
- self.open_txns.append(_elem521)
+ (_etype526, _size523) = iprot.readListBegin()
+ for _i527 in xrange(_size523):
+ _elem528 = iprot.readI64()
+ self.open_txns.append(_elem528)
iprot.readListEnd()
else:
iprot.skip(ftype)
@@ -11885,8 +12031,8 @@ class GetOpenTxnsResponse:
if self.open_txns is not None:
oprot.writeFieldBegin('open_txns', TType.LIST, 2)
oprot.writeListBegin(TType.I64, len(self.open_txns))
... 1769 lines suppressed ...