You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by mi...@apache.org on 2017/09/19 20:50:04 UTC
[08/12] hive git commit: HIVE-17466: Metastore API to list unique
partition-key-value combinations (Thiruvel Thirumoolan,
reviewed by Mithun Radhakrishnan)
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
index d5963f3..fd9014d 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
@@ -318,6 +318,12 @@ class RequestPartsSpec;
class DropPartitionsRequest;
+class PartitionValuesRequest;
+
+class PartitionValuesRow;
+
+class PartitionValuesResponse;
+
class ResourceUri;
class Function;
@@ -5084,6 +5090,181 @@ inline std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest&
return out;
}
+typedef struct _PartitionValuesRequest__isset {
+ _PartitionValuesRequest__isset() : applyDistinct(true), filter(false), partitionOrder(false), ascending(true), maxParts(true) {}
+ bool applyDistinct :1;
+ bool filter :1;
+ bool partitionOrder :1;
+ bool ascending :1;
+ bool maxParts :1;
+} _PartitionValuesRequest__isset;
+
+class PartitionValuesRequest {
+ public:
+
+ PartitionValuesRequest(const PartitionValuesRequest&);
+ PartitionValuesRequest& operator=(const PartitionValuesRequest&);
+ PartitionValuesRequest() : dbName(), tblName(), applyDistinct(true), filter(), ascending(true), maxParts(-1LL) {
+ }
+
+ virtual ~PartitionValuesRequest() throw();
+ std::string dbName;
+ std::string tblName;
+ std::vector<FieldSchema> partitionKeys;
+ bool applyDistinct;
+ std::string filter;
+ std::vector<FieldSchema> partitionOrder;
+ bool ascending;
+ int64_t maxParts;
+
+ _PartitionValuesRequest__isset __isset;
+
+ void __set_dbName(const std::string& val);
+
+ void __set_tblName(const std::string& val);
+
+ void __set_partitionKeys(const std::vector<FieldSchema> & val);
+
+ void __set_applyDistinct(const bool val);
+
+ void __set_filter(const std::string& val);
+
+ void __set_partitionOrder(const std::vector<FieldSchema> & val);
+
+ void __set_ascending(const bool val);
+
+ void __set_maxParts(const int64_t val);
+
+ bool operator == (const PartitionValuesRequest & rhs) const
+ {
+ if (!(dbName == rhs.dbName))
+ return false;
+ if (!(tblName == rhs.tblName))
+ return false;
+ if (!(partitionKeys == rhs.partitionKeys))
+ return false;
+ if (__isset.applyDistinct != rhs.__isset.applyDistinct)
+ return false;
+ else if (__isset.applyDistinct && !(applyDistinct == rhs.applyDistinct))
+ return false;
+ if (__isset.filter != rhs.__isset.filter)
+ return false;
+ else if (__isset.filter && !(filter == rhs.filter))
+ return false;
+ if (__isset.partitionOrder != rhs.__isset.partitionOrder)
+ return false;
+ else if (__isset.partitionOrder && !(partitionOrder == rhs.partitionOrder))
+ return false;
+ if (__isset.ascending != rhs.__isset.ascending)
+ return false;
+ else if (__isset.ascending && !(ascending == rhs.ascending))
+ return false;
+ if (__isset.maxParts != rhs.__isset.maxParts)
+ return false;
+ else if (__isset.maxParts && !(maxParts == rhs.maxParts))
+ return false;
+ return true;
+ }
+ bool operator != (const PartitionValuesRequest &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const PartitionValuesRequest & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+ virtual void printTo(std::ostream& out) const;
+};
+
+void swap(PartitionValuesRequest &a, PartitionValuesRequest &b);
+
+inline std::ostream& operator<<(std::ostream& out, const PartitionValuesRequest& obj)
+{
+ obj.printTo(out);
+ return out;
+}
+
+
+class PartitionValuesRow {
+ public:
+
+ PartitionValuesRow(const PartitionValuesRow&);
+ PartitionValuesRow& operator=(const PartitionValuesRow&);
+ PartitionValuesRow() {
+ }
+
+ virtual ~PartitionValuesRow() throw();
+ std::vector<std::string> row;
+
+ void __set_row(const std::vector<std::string> & val);
+
+ bool operator == (const PartitionValuesRow & rhs) const
+ {
+ if (!(row == rhs.row))
+ return false;
+ return true;
+ }
+ bool operator != (const PartitionValuesRow &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const PartitionValuesRow & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+ virtual void printTo(std::ostream& out) const;
+};
+
+void swap(PartitionValuesRow &a, PartitionValuesRow &b);
+
+inline std::ostream& operator<<(std::ostream& out, const PartitionValuesRow& obj)
+{
+ obj.printTo(out);
+ return out;
+}
+
+
+class PartitionValuesResponse {
+ public:
+
+ PartitionValuesResponse(const PartitionValuesResponse&);
+ PartitionValuesResponse& operator=(const PartitionValuesResponse&);
+ PartitionValuesResponse() {
+ }
+
+ virtual ~PartitionValuesResponse() throw();
+ std::vector<PartitionValuesRow> partitionValues;
+
+ void __set_partitionValues(const std::vector<PartitionValuesRow> & val);
+
+ bool operator == (const PartitionValuesResponse & rhs) const
+ {
+ if (!(partitionValues == rhs.partitionValues))
+ return false;
+ return true;
+ }
+ bool operator != (const PartitionValuesResponse &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const PartitionValuesResponse & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+ virtual void printTo(std::ostream& out) const;
+};
+
+void swap(PartitionValuesResponse &a, PartitionValuesResponse &b);
+
+inline std::ostream& operator<<(std::ostream& out, const PartitionValuesResponse& obj)
+{
+ obj.printTo(out);
+ return out;
+}
+
typedef struct _ResourceUri__isset {
_ResourceUri__isset() : resourceType(false), uri(false) {}
bool resourceType :1;
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java
index eee1e64..a7bce0b 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java
@@ -351,13 +351,13 @@ public class AbortTxnsRequest implements org.apache.thrift.TBase<AbortTxnsReques
case 1: // TXN_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
- struct.txn_ids = new ArrayList<Long>(_list516.size);
- long _elem517;
- for (int _i518 = 0; _i518 < _list516.size; ++_i518)
+ org.apache.thrift.protocol.TList _list548 = iprot.readListBegin();
+ struct.txn_ids = new ArrayList<Long>(_list548.size);
+ long _elem549;
+ for (int _i550 = 0; _i550 < _list548.size; ++_i550)
{
- _elem517 = iprot.readI64();
- struct.txn_ids.add(_elem517);
+ _elem549 = iprot.readI64();
+ struct.txn_ids.add(_elem549);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ public class AbortTxnsRequest implements org.apache.thrift.TBase<AbortTxnsReques
oprot.writeFieldBegin(TXN_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size()));
- for (long _iter519 : struct.txn_ids)
+ for (long _iter551 : struct.txn_ids)
{
- oprot.writeI64(_iter519);
+ oprot.writeI64(_iter551);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class AbortTxnsRequest implements org.apache.thrift.TBase<AbortTxnsReques
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.txn_ids.size());
- for (long _iter520 : struct.txn_ids)
+ for (long _iter552 : struct.txn_ids)
{
- oprot.writeI64(_iter520);
+ oprot.writeI64(_iter552);
}
}
}
@@ -421,13 +421,13 @@ public class AbortTxnsRequest implements org.apache.thrift.TBase<AbortTxnsReques
public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.txn_ids = new ArrayList<Long>(_list521.size);
- long _elem522;
- for (int _i523 = 0; _i523 < _list521.size; ++_i523)
+ org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.txn_ids = new ArrayList<Long>(_list553.size);
+ long _elem554;
+ for (int _i555 = 0; _i555 < _list553.size; ++_i555)
{
- _elem522 = iprot.readI64();
- struct.txn_ids.add(_elem522);
+ _elem554 = iprot.readI64();
+ struct.txn_ids.add(_elem554);
}
}
struct.setTxn_idsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
index 054cf1b..fc74e41 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
@@ -727,13 +727,13 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
case 4: // PARTITIONNAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list574 = iprot.readListBegin();
- struct.partitionnames = new ArrayList<String>(_list574.size);
- String _elem575;
- for (int _i576 = 0; _i576 < _list574.size; ++_i576)
+ org.apache.thrift.protocol.TList _list606 = iprot.readListBegin();
+ struct.partitionnames = new ArrayList<String>(_list606.size);
+ String _elem607;
+ for (int _i608 = 0; _i608 < _list606.size; ++_i608)
{
- _elem575 = iprot.readString();
- struct.partitionnames.add(_elem575);
+ _elem607 = iprot.readString();
+ struct.partitionnames.add(_elem607);
}
iprot.readListEnd();
}
@@ -780,9 +780,9 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size()));
- for (String _iter577 : struct.partitionnames)
+ for (String _iter609 : struct.partitionnames)
{
- oprot.writeString(_iter577);
+ oprot.writeString(_iter609);
}
oprot.writeListEnd();
}
@@ -817,9 +817,9 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
oprot.writeString(struct.tablename);
{
oprot.writeI32(struct.partitionnames.size());
- for (String _iter578 : struct.partitionnames)
+ for (String _iter610 : struct.partitionnames)
{
- oprot.writeString(_iter578);
+ oprot.writeString(_iter610);
}
}
BitSet optionals = new BitSet();
@@ -842,13 +842,13 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
struct.tablename = iprot.readString();
struct.setTablenameIsSet(true);
{
- org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partitionnames = new ArrayList<String>(_list579.size);
- String _elem580;
- for (int _i581 = 0; _i581 < _list579.size; ++_i581)
+ org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partitionnames = new ArrayList<String>(_list611.size);
+ String _elem612;
+ for (int _i613 = 0; _i613 < _list611.size; ++_i613)
{
- _elem580 = iprot.readString();
- struct.partitionnames.add(_elem580);
+ _elem612 = iprot.readString();
+ struct.partitionnames.add(_elem612);
}
}
struct.setPartitionnamesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
index 0b6574d..5ab1da9 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
@@ -351,13 +351,13 @@ public class ClearFileMetadataRequest implements org.apache.thrift.TBase<ClearFi
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list666 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list666.size);
- long _elem667;
- for (int _i668 = 0; _i668 < _list666.size; ++_i668)
+ org.apache.thrift.protocol.TList _list698 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list698.size);
+ long _elem699;
+ for (int _i700 = 0; _i700 < _list698.size; ++_i700)
{
- _elem667 = iprot.readI64();
- struct.fileIds.add(_elem667);
+ _elem699 = iprot.readI64();
+ struct.fileIds.add(_elem699);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ public class ClearFileMetadataRequest implements org.apache.thrift.TBase<ClearFi
oprot.writeFieldBegin(FILE_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size()));
- for (long _iter669 : struct.fileIds)
+ for (long _iter701 : struct.fileIds)
{
- oprot.writeI64(_iter669);
+ oprot.writeI64(_iter701);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class ClearFileMetadataRequest implements org.apache.thrift.TBase<ClearFi
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter670 : struct.fileIds)
+ for (long _iter702 : struct.fileIds)
{
- oprot.writeI64(_iter670);
+ oprot.writeI64(_iter702);
}
}
}
@@ -421,13 +421,13 @@ public class ClearFileMetadataRequest implements org.apache.thrift.TBase<ClearFi
public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list671.size);
- long _elem672;
- for (int _i673 = 0; _i673 < _list671.size; ++_i673)
+ org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list703.size);
+ long _elem704;
+ for (int _i705 = 0; _i705 < _list703.size; ++_i705)
{
- _elem672 = iprot.readI64();
- struct.fileIds.add(_elem672);
+ _elem704 = iprot.readI64();
+ struct.fileIds.add(_elem704);
}
}
struct.setFileIdsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java
index 19e671b..acb6a92 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java
@@ -354,13 +354,13 @@ public class ClientCapabilities implements org.apache.thrift.TBase<ClientCapabil
case 1: // VALUES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list682 = iprot.readListBegin();
- struct.values = new ArrayList<ClientCapability>(_list682.size);
- ClientCapability _elem683;
- for (int _i684 = 0; _i684 < _list682.size; ++_i684)
+ org.apache.thrift.protocol.TList _list714 = iprot.readListBegin();
+ struct.values = new ArrayList<ClientCapability>(_list714.size);
+ ClientCapability _elem715;
+ for (int _i716 = 0; _i716 < _list714.size; ++_i716)
{
- _elem683 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32());
- struct.values.add(_elem683);
+ _elem715 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32());
+ struct.values.add(_elem715);
}
iprot.readListEnd();
}
@@ -386,9 +386,9 @@ public class ClientCapabilities implements org.apache.thrift.TBase<ClientCapabil
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size()));
- for (ClientCapability _iter685 : struct.values)
+ for (ClientCapability _iter717 : struct.values)
{
- oprot.writeI32(_iter685.getValue());
+ oprot.writeI32(_iter717.getValue());
}
oprot.writeListEnd();
}
@@ -413,9 +413,9 @@ public class ClientCapabilities implements org.apache.thrift.TBase<ClientCapabil
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.values.size());
- for (ClientCapability _iter686 : struct.values)
+ for (ClientCapability _iter718 : struct.values)
{
- oprot.writeI32(_iter686.getValue());
+ oprot.writeI32(_iter718.getValue());
}
}
}
@@ -424,13 +424,13 @@ public class ClientCapabilities implements org.apache.thrift.TBase<ClientCapabil
public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
- struct.values = new ArrayList<ClientCapability>(_list687.size);
- ClientCapability _elem688;
- for (int _i689 = 0; _i689 < _list687.size; ++_i689)
+ org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
+ struct.values = new ArrayList<ClientCapability>(_list719.size);
+ ClientCapability _elem720;
+ for (int _i721 = 0; _i721 < _list719.size; ++_i721)
{
- _elem688 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32());
- struct.values.add(_elem688);
+ _elem720 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32());
+ struct.values.add(_elem720);
}
}
struct.setValuesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
index 3acb203..e17a8b9 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
@@ -814,15 +814,15 @@ public class CompactionRequest implements org.apache.thrift.TBase<CompactionRequ
case 6: // PROPERTIES
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map556 = iprot.readMapBegin();
- struct.properties = new HashMap<String,String>(2*_map556.size);
- String _key557;
- String _val558;
- for (int _i559 = 0; _i559 < _map556.size; ++_i559)
+ org.apache.thrift.protocol.TMap _map588 = iprot.readMapBegin();
+ struct.properties = new HashMap<String,String>(2*_map588.size);
+ String _key589;
+ String _val590;
+ for (int _i591 = 0; _i591 < _map588.size; ++_i591)
{
- _key557 = iprot.readString();
- _val558 = iprot.readString();
- struct.properties.put(_key557, _val558);
+ _key589 = iprot.readString();
+ _val590 = iprot.readString();
+ struct.properties.put(_key589, _val590);
}
iprot.readMapEnd();
}
@@ -878,10 +878,10 @@ public class CompactionRequest implements org.apache.thrift.TBase<CompactionRequ
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> _iter560 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter592 : struct.properties.entrySet())
{
- oprot.writeString(_iter560.getKey());
- oprot.writeString(_iter560.getValue());
+ oprot.writeString(_iter592.getKey());
+ oprot.writeString(_iter592.getValue());
}
oprot.writeMapEnd();
}
@@ -928,10 +928,10 @@ public class CompactionRequest implements org.apache.thrift.TBase<CompactionRequ
if (struct.isSetProperties()) {
{
oprot.writeI32(struct.properties.size());
- for (Map.Entry<String, String> _iter561 : struct.properties.entrySet())
+ for (Map.Entry<String, String> _iter593 : struct.properties.entrySet())
{
- oprot.writeString(_iter561.getKey());
- oprot.writeString(_iter561.getValue());
+ oprot.writeString(_iter593.getKey());
+ oprot.writeString(_iter593.getValue());
}
}
}
@@ -957,15 +957,15 @@ public class CompactionRequest implements org.apache.thrift.TBase<CompactionRequ
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TMap _map562 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.properties = new HashMap<String,String>(2*_map562.size);
- String _key563;
- String _val564;
- for (int _i565 = 0; _i565 < _map562.size; ++_i565)
+ org.apache.thrift.protocol.TMap _map594 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.properties = new HashMap<String,String>(2*_map594.size);
+ String _key595;
+ String _val596;
+ for (int _i597 = 0; _i597 < _map594.size; ++_i597)
{
- _key563 = iprot.readString();
- _val564 = iprot.readString();
- struct.properties.put(_key563, _val564);
+ _key595 = iprot.readString();
+ _val596 = iprot.readString();
+ struct.properties.put(_key595, _val596);
}
}
struct.setPropertiesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
index cc336c5..19b8e01 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
@@ -713,13 +713,13 @@ public class FireEventRequest implements org.apache.thrift.TBase<FireEventReques
case 5: // PARTITION_VALS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list606 = iprot.readListBegin();
- struct.partitionVals = new ArrayList<String>(_list606.size);
- String _elem607;
- for (int _i608 = 0; _i608 < _list606.size; ++_i608)
+ org.apache.thrift.protocol.TList _list638 = iprot.readListBegin();
+ struct.partitionVals = new ArrayList<String>(_list638.size);
+ String _elem639;
+ for (int _i640 = 0; _i640 < _list638.size; ++_i640)
{
- _elem607 = iprot.readString();
- struct.partitionVals.add(_elem607);
+ _elem639 = iprot.readString();
+ struct.partitionVals.add(_elem639);
}
iprot.readListEnd();
}
@@ -768,9 +768,9 @@ public class FireEventRequest implements org.apache.thrift.TBase<FireEventReques
oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size()));
- for (String _iter609 : struct.partitionVals)
+ for (String _iter641 : struct.partitionVals)
{
- oprot.writeString(_iter609);
+ oprot.writeString(_iter641);
}
oprot.writeListEnd();
}
@@ -816,9 +816,9 @@ public class FireEventRequest implements org.apache.thrift.TBase<FireEventReques
if (struct.isSetPartitionVals()) {
{
oprot.writeI32(struct.partitionVals.size());
- for (String _iter610 : struct.partitionVals)
+ for (String _iter642 : struct.partitionVals)
{
- oprot.writeString(_iter610);
+ oprot.writeString(_iter642);
}
}
}
@@ -843,13 +843,13 @@ public class FireEventRequest implements org.apache.thrift.TBase<FireEventReques
}
if (incoming.get(2)) {
{
- org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.partitionVals = new ArrayList<String>(_list611.size);
- String _elem612;
- for (int _i613 = 0; _i613 < _list611.size; ++_i613)
+ org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.partitionVals = new ArrayList<String>(_list643.size);
+ String _elem644;
+ for (int _i645 = 0; _i645 < _list643.size; ++_i645)
{
- _elem612 = iprot.readString();
- struct.partitionVals.add(_elem612);
+ _elem644 = iprot.readString();
+ struct.partitionVals.add(_elem644);
}
}
struct.setPartitionValsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
index ad12ab1..96300e8 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
@@ -997,14 +997,14 @@ public class Function implements org.apache.thrift.TBase<Function, Function._Fie
case 8: // RESOURCE_URIS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list484 = iprot.readListBegin();
- struct.resourceUris = new ArrayList<ResourceUri>(_list484.size);
- ResourceUri _elem485;
- for (int _i486 = 0; _i486 < _list484.size; ++_i486)
+ org.apache.thrift.protocol.TList _list516 = iprot.readListBegin();
+ struct.resourceUris = new ArrayList<ResourceUri>(_list516.size);
+ ResourceUri _elem517;
+ for (int _i518 = 0; _i518 < _list516.size; ++_i518)
{
- _elem485 = new ResourceUri();
- _elem485.read(iprot);
- struct.resourceUris.add(_elem485);
+ _elem517 = new ResourceUri();
+ _elem517.read(iprot);
+ struct.resourceUris.add(_elem517);
}
iprot.readListEnd();
}
@@ -1063,9 +1063,9 @@ public class Function implements org.apache.thrift.TBase<Function, Function._Fie
oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size()));
- for (ResourceUri _iter487 : struct.resourceUris)
+ for (ResourceUri _iter519 : struct.resourceUris)
{
- _iter487.write(oprot);
+ _iter519.write(oprot);
}
oprot.writeListEnd();
}
@@ -1138,9 +1138,9 @@ public class Function implements org.apache.thrift.TBase<Function, Function._Fie
if (struct.isSetResourceUris()) {
{
oprot.writeI32(struct.resourceUris.size());
- for (ResourceUri _iter488 : struct.resourceUris)
+ for (ResourceUri _iter520 : struct.resourceUris)
{
- _iter488.write(oprot);
+ _iter520.write(oprot);
}
}
}
@@ -1180,14 +1180,14 @@ public class Function implements org.apache.thrift.TBase<Function, Function._Fie
}
if (incoming.get(7)) {
{
- org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.resourceUris = new ArrayList<ResourceUri>(_list489.size);
- ResourceUri _elem490;
- for (int _i491 = 0; _i491 < _list489.size; ++_i491)
+ org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.resourceUris = new ArrayList<ResourceUri>(_list521.size);
+ ResourceUri _elem522;
+ for (int _i523 = 0; _i523 < _list521.size; ++_i523)
{
- _elem490 = new ResourceUri();
- _elem490.read(iprot);
- struct.resourceUris.add(_elem490);
+ _elem522 = new ResourceUri();
+ _elem522.read(iprot);
+ struct.resourceUris.add(_elem522);
}
}
struct.setResourceUrisIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
index bb11fe3..bcbc7e0 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
@@ -346,14 +346,14 @@ public class GetAllFunctionsResponse implements org.apache.thrift.TBase<GetAllFu
case 1: // FUNCTIONS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list674 = iprot.readListBegin();
- struct.functions = new ArrayList<Function>(_list674.size);
- Function _elem675;
- for (int _i676 = 0; _i676 < _list674.size; ++_i676)
+ org.apache.thrift.protocol.TList _list706 = iprot.readListBegin();
+ struct.functions = new ArrayList<Function>(_list706.size);
+ Function _elem707;
+ for (int _i708 = 0; _i708 < _list706.size; ++_i708)
{
- _elem675 = new Function();
- _elem675.read(iprot);
- struct.functions.add(_elem675);
+ _elem707 = new Function();
+ _elem707.read(iprot);
+ struct.functions.add(_elem707);
}
iprot.readListEnd();
}
@@ -380,9 +380,9 @@ public class GetAllFunctionsResponse implements org.apache.thrift.TBase<GetAllFu
oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size()));
- for (Function _iter677 : struct.functions)
+ for (Function _iter709 : struct.functions)
{
- _iter677.write(oprot);
+ _iter709.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ public class GetAllFunctionsResponse implements org.apache.thrift.TBase<GetAllFu
if (struct.isSetFunctions()) {
{
oprot.writeI32(struct.functions.size());
- for (Function _iter678 : struct.functions)
+ for (Function _iter710 : struct.functions)
{
- _iter678.write(oprot);
+ _iter710.write(oprot);
}
}
}
@@ -428,14 +428,14 @@ public class GetAllFunctionsResponse implements org.apache.thrift.TBase<GetAllFu
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.functions = new ArrayList<Function>(_list679.size);
- Function _elem680;
- for (int _i681 = 0; _i681 < _list679.size; ++_i681)
+ org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.functions = new ArrayList<Function>(_list711.size);
+ Function _elem712;
+ for (int _i713 = 0; _i713 < _list711.size; ++_i713)
{
- _elem680 = new Function();
- _elem680.read(iprot);
- struct.functions.add(_elem680);
+ _elem712 = new Function();
+ _elem712.read(iprot);
+ struct.functions.add(_elem712);
}
}
struct.setFunctionsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
index ef758cd..b416d62 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
@@ -619,13 +619,13 @@ public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<Get
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list624 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list624.size);
- long _elem625;
- for (int _i626 = 0; _i626 < _list624.size; ++_i626)
+ org.apache.thrift.protocol.TList _list656 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list656.size);
+ long _elem657;
+ for (int _i658 = 0; _i658 < _list656.size; ++_i658)
{
- _elem625 = iprot.readI64();
- struct.fileIds.add(_elem625);
+ _elem657 = iprot.readI64();
+ struct.fileIds.add(_elem657);
}
iprot.readListEnd();
}
@@ -675,9 +675,9 @@ public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<Get
oprot.writeFieldBegin(FILE_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size()));
- for (long _iter627 : struct.fileIds)
+ for (long _iter659 : struct.fileIds)
{
- oprot.writeI64(_iter627);
+ oprot.writeI64(_iter659);
}
oprot.writeListEnd();
}
@@ -719,9 +719,9 @@ public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<Get
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter628 : struct.fileIds)
+ for (long _iter660 : struct.fileIds)
{
- oprot.writeI64(_iter628);
+ oprot.writeI64(_iter660);
}
}
oprot.writeBinary(struct.expr);
@@ -745,13 +745,13 @@ public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<Get
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list629.size);
- long _elem630;
- for (int _i631 = 0; _i631 < _list629.size; ++_i631)
+ org.apache.thrift.protocol.TList _list661 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list661.size);
+ long _elem662;
+ for (int _i663 = 0; _i663 < _list661.size; ++_i663)
{
- _elem630 = iprot.readI64();
- struct.fileIds.add(_elem630);
+ _elem662 = iprot.readI64();
+ struct.fileIds.add(_elem662);
}
}
struct.setFileIdsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
index ee94380..fc85a17 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
@@ -444,16 +444,16 @@ public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetF
case 1: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map614 = iprot.readMapBegin();
- struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map614.size);
- long _key615;
- MetadataPpdResult _val616;
- for (int _i617 = 0; _i617 < _map614.size; ++_i617)
+ org.apache.thrift.protocol.TMap _map646 = iprot.readMapBegin();
+ struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map646.size);
+ long _key647;
+ MetadataPpdResult _val648;
+ for (int _i649 = 0; _i649 < _map646.size; ++_i649)
{
- _key615 = iprot.readI64();
- _val616 = new MetadataPpdResult();
- _val616.read(iprot);
- struct.metadata.put(_key615, _val616);
+ _key647 = iprot.readI64();
+ _val648 = new MetadataPpdResult();
+ _val648.read(iprot);
+ struct.metadata.put(_key647, _val648);
}
iprot.readMapEnd();
}
@@ -487,10 +487,10 @@ public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetF
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size()));
- for (Map.Entry<Long, MetadataPpdResult> _iter618 : struct.metadata.entrySet())
+ for (Map.Entry<Long, MetadataPpdResult> _iter650 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter618.getKey());
- _iter618.getValue().write(oprot);
+ oprot.writeI64(_iter650.getKey());
+ _iter650.getValue().write(oprot);
}
oprot.writeMapEnd();
}
@@ -518,10 +518,10 @@ public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetF
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.metadata.size());
- for (Map.Entry<Long, MetadataPpdResult> _iter619 : struct.metadata.entrySet())
+ for (Map.Entry<Long, MetadataPpdResult> _iter651 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter619.getKey());
- _iter619.getValue().write(oprot);
+ oprot.writeI64(_iter651.getKey());
+ _iter651.getValue().write(oprot);
}
}
oprot.writeBool(struct.isSupported);
@@ -531,16 +531,16 @@ public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetF
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TMap _map620 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map620.size);
- long _key621;
- MetadataPpdResult _val622;
- for (int _i623 = 0; _i623 < _map620.size; ++_i623)
+ org.apache.thrift.protocol.TMap _map652 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.metadata = new HashMap<Long,MetadataPpdResult>(2*_map652.size);
+ long _key653;
+ MetadataPpdResult _val654;
+ for (int _i655 = 0; _i655 < _map652.size; ++_i655)
{
- _key621 = iprot.readI64();
- _val622 = new MetadataPpdResult();
- _val622.read(iprot);
- struct.metadata.put(_key621, _val622);
+ _key653 = iprot.readI64();
+ _val654 = new MetadataPpdResult();
+ _val654.read(iprot);
+ struct.metadata.put(_key653, _val654);
}
}
struct.setMetadataIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
index f8c8258..54c2733 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
@@ -351,13 +351,13 @@ public class GetFileMetadataRequest implements org.apache.thrift.TBase<GetFileMe
case 1: // FILE_IDS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list642 = iprot.readListBegin();
- struct.fileIds = new ArrayList<Long>(_list642.size);
- long _elem643;
- for (int _i644 = 0; _i644 < _list642.size; ++_i644)
+ org.apache.thrift.protocol.TList _list674 = iprot.readListBegin();
+ struct.fileIds = new ArrayList<Long>(_list674.size);
+ long _elem675;
+ for (int _i676 = 0; _i676 < _list674.size; ++_i676)
{
- _elem643 = iprot.readI64();
- struct.fileIds.add(_elem643);
+ _elem675 = iprot.readI64();
+ struct.fileIds.add(_elem675);
}
iprot.readListEnd();
}
@@ -383,9 +383,9 @@ public class GetFileMetadataRequest implements org.apache.thrift.TBase<GetFileMe
oprot.writeFieldBegin(FILE_IDS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size()));
- for (long _iter645 : struct.fileIds)
+ for (long _iter677 : struct.fileIds)
{
- oprot.writeI64(_iter645);
+ oprot.writeI64(_iter677);
}
oprot.writeListEnd();
}
@@ -410,9 +410,9 @@ public class GetFileMetadataRequest implements org.apache.thrift.TBase<GetFileMe
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.fileIds.size());
- for (long _iter646 : struct.fileIds)
+ for (long _iter678 : struct.fileIds)
{
- oprot.writeI64(_iter646);
+ oprot.writeI64(_iter678);
}
}
}
@@ -421,13 +421,13 @@ public class GetFileMetadataRequest implements org.apache.thrift.TBase<GetFileMe
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.fileIds = new ArrayList<Long>(_list647.size);
- long _elem648;
- for (int _i649 = 0; _i649 < _list647.size; ++_i649)
+ org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.fileIds = new ArrayList<Long>(_list679.size);
+ long _elem680;
+ for (int _i681 = 0; _i681 < _list679.size; ++_i681)
{
- _elem648 = iprot.readI64();
- struct.fileIds.add(_elem648);
+ _elem680 = iprot.readI64();
+ struct.fileIds.add(_elem680);
}
}
struct.setFileIdsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
index 73888e9..f78ceff 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
@@ -433,15 +433,15 @@ public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMet
case 1: // METADATA
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map632 = iprot.readMapBegin();
- struct.metadata = new HashMap<Long,ByteBuffer>(2*_map632.size);
- long _key633;
- ByteBuffer _val634;
- for (int _i635 = 0; _i635 < _map632.size; ++_i635)
+ org.apache.thrift.protocol.TMap _map664 = iprot.readMapBegin();
+ struct.metadata = new HashMap<Long,ByteBuffer>(2*_map664.size);
+ long _key665;
+ ByteBuffer _val666;
+ for (int _i667 = 0; _i667 < _map664.size; ++_i667)
{
- _key633 = iprot.readI64();
- _val634 = iprot.readBinary();
- struct.metadata.put(_key633, _val634);
+ _key665 = iprot.readI64();
+ _val666 = iprot.readBinary();
+ struct.metadata.put(_key665, _val666);
}
iprot.readMapEnd();
}
@@ -475,10 +475,10 @@ public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMet
oprot.writeFieldBegin(METADATA_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size()));
- for (Map.Entry<Long, ByteBuffer> _iter636 : struct.metadata.entrySet())
+ for (Map.Entry<Long, ByteBuffer> _iter668 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter636.getKey());
- oprot.writeBinary(_iter636.getValue());
+ oprot.writeI64(_iter668.getKey());
+ oprot.writeBinary(_iter668.getValue());
}
oprot.writeMapEnd();
}
@@ -506,10 +506,10 @@ public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMet
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.metadata.size());
- for (Map.Entry<Long, ByteBuffer> _iter637 : struct.metadata.entrySet())
+ for (Map.Entry<Long, ByteBuffer> _iter669 : struct.metadata.entrySet())
{
- oprot.writeI64(_iter637.getKey());
- oprot.writeBinary(_iter637.getValue());
+ oprot.writeI64(_iter669.getKey());
+ oprot.writeBinary(_iter669.getValue());
}
}
oprot.writeBool(struct.isSupported);
@@ -519,15 +519,15 @@ public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMet
public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TMap _map638 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.metadata = new HashMap<Long,ByteBuffer>(2*_map638.size);
- long _key639;
- ByteBuffer _val640;
- for (int _i641 = 0; _i641 < _map638.size; ++_i641)
+ org.apache.thrift.protocol.TMap _map670 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.metadata = new HashMap<Long,ByteBuffer>(2*_map670.size);
+ long _key671;
+ ByteBuffer _val672;
+ for (int _i673 = 0; _i673 < _map670.size; ++_i673)
{
- _key639 = iprot.readI64();
- _val640 = iprot.readBinary();
- struct.metadata.put(_key639, _val640);
+ _key671 = iprot.readI64();
+ _val672 = iprot.readBinary();
+ struct.metadata.put(_key671, _val672);
}
}
struct.setMetadataIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
index 18a8e62..7d80426 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
@@ -447,14 +447,14 @@ public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenT
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list492 = iprot.readListBegin();
- struct.open_txns = new ArrayList<TxnInfo>(_list492.size);
- TxnInfo _elem493;
- for (int _i494 = 0; _i494 < _list492.size; ++_i494)
+ org.apache.thrift.protocol.TList _list524 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<TxnInfo>(_list524.size);
+ TxnInfo _elem525;
+ for (int _i526 = 0; _i526 < _list524.size; ++_i526)
{
- _elem493 = new TxnInfo();
- _elem493.read(iprot);
- struct.open_txns.add(_elem493);
+ _elem525 = new TxnInfo();
+ _elem525.read(iprot);
+ struct.open_txns.add(_elem525);
}
iprot.readListEnd();
}
@@ -483,9 +483,9 @@ public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenT
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size()));
- for (TxnInfo _iter495 : struct.open_txns)
+ for (TxnInfo _iter527 : struct.open_txns)
{
- _iter495.write(oprot);
+ _iter527.write(oprot);
}
oprot.writeListEnd();
}
@@ -511,9 +511,9 @@ public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenT
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (TxnInfo _iter496 : struct.open_txns)
+ for (TxnInfo _iter528 : struct.open_txns)
{
- _iter496.write(oprot);
+ _iter528.write(oprot);
}
}
}
@@ -524,14 +524,14 @@ public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenT
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.open_txns = new ArrayList<TxnInfo>(_list497.size);
- TxnInfo _elem498;
- for (int _i499 = 0; _i499 < _list497.size; ++_i499)
+ org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.open_txns = new ArrayList<TxnInfo>(_list529.size);
+ TxnInfo _elem530;
+ for (int _i531 = 0; _i531 < _list529.size; ++_i531)
{
- _elem498 = new TxnInfo();
- _elem498.read(iprot);
- struct.open_txns.add(_elem498);
+ _elem530 = new TxnInfo();
+ _elem530.read(iprot);
+ struct.open_txns.add(_elem530);
}
}
struct.setOpen_txnsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
index 386c105..a0944a6 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
@@ -615,13 +615,13 @@ public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsR
case 2: // OPEN_TXNS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list500 = iprot.readListBegin();
- struct.open_txns = new ArrayList<Long>(_list500.size);
- long _elem501;
- for (int _i502 = 0; _i502 < _list500.size; ++_i502)
+ org.apache.thrift.protocol.TList _list532 = iprot.readListBegin();
+ struct.open_txns = new ArrayList<Long>(_list532.size);
+ long _elem533;
+ for (int _i534 = 0; _i534 < _list532.size; ++_i534)
{
- _elem501 = iprot.readI64();
- struct.open_txns.add(_elem501);
+ _elem533 = iprot.readI64();
+ struct.open_txns.add(_elem533);
}
iprot.readListEnd();
}
@@ -666,9 +666,9 @@ public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsR
oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size()));
- for (long _iter503 : struct.open_txns)
+ for (long _iter535 : struct.open_txns)
{
- oprot.writeI64(_iter503);
+ oprot.writeI64(_iter535);
}
oprot.writeListEnd();
}
@@ -704,9 +704,9 @@ public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsR
oprot.writeI64(struct.txn_high_water_mark);
{
oprot.writeI32(struct.open_txns.size());
- for (long _iter504 : struct.open_txns)
+ for (long _iter536 : struct.open_txns)
{
- oprot.writeI64(_iter504);
+ oprot.writeI64(_iter536);
}
}
oprot.writeBinary(struct.abortedBits);
@@ -726,13 +726,13 @@ public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsR
struct.txn_high_water_mark = iprot.readI64();
struct.setTxn_high_water_markIsSet(true);
{
- org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.open_txns = new ArrayList<Long>(_list505.size);
- long _elem506;
- for (int _i507 = 0; _i507 < _list505.size; ++_i507)
+ org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.open_txns = new ArrayList<Long>(_list537.size);
+ long _elem538;
+ for (int _i539 = 0; _i539 < _list537.size; ++_i539)
{
- _elem506 = iprot.readI64();
- struct.open_txns.add(_elem506);
+ _elem538 = iprot.readI64();
+ struct.open_txns.add(_elem538);
}
}
struct.setOpen_txnsIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
index 5195427..8cd3e37 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java
@@ -525,13 +525,13 @@ public class GetTablesRequest implements org.apache.thrift.TBase<GetTablesReques
case 2: // TBL_NAMES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list690 = iprot.readListBegin();
- struct.tblNames = new ArrayList<String>(_list690.size);
- String _elem691;
- for (int _i692 = 0; _i692 < _list690.size; ++_i692)
+ org.apache.thrift.protocol.TList _list722 = iprot.readListBegin();
+ struct.tblNames = new ArrayList<String>(_list722.size);
+ String _elem723;
+ for (int _i724 = 0; _i724 < _list722.size; ++_i724)
{
- _elem691 = iprot.readString();
- struct.tblNames.add(_elem691);
+ _elem723 = iprot.readString();
+ struct.tblNames.add(_elem723);
}
iprot.readListEnd();
}
@@ -572,9 +572,9 @@ public class GetTablesRequest implements org.apache.thrift.TBase<GetTablesReques
oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size()));
- for (String _iter693 : struct.tblNames)
+ for (String _iter725 : struct.tblNames)
{
- oprot.writeString(_iter693);
+ oprot.writeString(_iter725);
}
oprot.writeListEnd();
}
@@ -617,9 +617,9 @@ public class GetTablesRequest implements org.apache.thrift.TBase<GetTablesReques
if (struct.isSetTblNames()) {
{
oprot.writeI32(struct.tblNames.size());
- for (String _iter694 : struct.tblNames)
+ for (String _iter726 : struct.tblNames)
{
- oprot.writeString(_iter694);
+ oprot.writeString(_iter726);
}
}
}
@@ -636,13 +636,13 @@ public class GetTablesRequest implements org.apache.thrift.TBase<GetTablesReques
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.tblNames = new ArrayList<String>(_list695.size);
- String _elem696;
- for (int _i697 = 0; _i697 < _list695.size; ++_i697)
+ org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.tblNames = new ArrayList<String>(_list727.size);
+ String _elem728;
+ for (int _i729 = 0; _i729 < _list727.size; ++_i729)
{
- _elem696 = iprot.readString();
- struct.tblNames.add(_elem696);
+ _elem728 = iprot.readString();
+ struct.tblNames.add(_elem728);
}
}
struct.setTblNamesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
index 1ade2f5..f0aefcc 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java
@@ -354,14 +354,14 @@ public class GetTablesResult implements org.apache.thrift.TBase<GetTablesResult,
case 1: // TABLES
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list698 = iprot.readListBegin();
- struct.tables = new ArrayList<Table>(_list698.size);
- Table _elem699;
- for (int _i700 = 0; _i700 < _list698.size; ++_i700)
+ org.apache.thrift.protocol.TList _list730 = iprot.readListBegin();
+ struct.tables = new ArrayList<Table>(_list730.size);
+ Table _elem731;
+ for (int _i732 = 0; _i732 < _list730.size; ++_i732)
{
- _elem699 = new Table();
- _elem699.read(iprot);
- struct.tables.add(_elem699);
+ _elem731 = new Table();
+ _elem731.read(iprot);
+ struct.tables.add(_elem731);
}
iprot.readListEnd();
}
@@ -387,9 +387,9 @@ public class GetTablesResult implements org.apache.thrift.TBase<GetTablesResult,
oprot.writeFieldBegin(TABLES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size()));
- for (Table _iter701 : struct.tables)
+ for (Table _iter733 : struct.tables)
{
- _iter701.write(oprot);
+ _iter733.write(oprot);
}
oprot.writeListEnd();
}
@@ -414,9 +414,9 @@ public class GetTablesResult implements org.apache.thrift.TBase<GetTablesResult,
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.tables.size());
- for (Table _iter702 : struct.tables)
+ for (Table _iter734 : struct.tables)
{
- _iter702.write(oprot);
+ _iter734.write(oprot);
}
}
}
@@ -425,14 +425,14 @@ public class GetTablesResult implements org.apache.thrift.TBase<GetTablesResult,
public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.tables = new ArrayList<Table>(_list703.size);
- Table _elem704;
- for (int _i705 = 0; _i705 < _list703.size; ++_i705)
+ org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.tables = new ArrayList<Table>(_list735.size);
+ Table _elem736;
+ for (int _i737 = 0; _i737 < _list735.size; ++_i737)
{
- _elem704 = new Table();
- _elem704.read(iprot);
- struct.tables.add(_elem704);
+ _elem736 = new Table();
+ _elem736.read(iprot);
+ struct.tables.add(_elem736);
}
}
struct.setTablesIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
index a33210d..e823d59 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
@@ -453,13 +453,13 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
case 1: // ABORTED
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set540 = iprot.readSetBegin();
- struct.aborted = new HashSet<Long>(2*_set540.size);
- long _elem541;
- for (int _i542 = 0; _i542 < _set540.size; ++_i542)
+ org.apache.thrift.protocol.TSet _set572 = iprot.readSetBegin();
+ struct.aborted = new HashSet<Long>(2*_set572.size);
+ long _elem573;
+ for (int _i574 = 0; _i574 < _set572.size; ++_i574)
{
- _elem541 = iprot.readI64();
- struct.aborted.add(_elem541);
+ _elem573 = iprot.readI64();
+ struct.aborted.add(_elem573);
}
iprot.readSetEnd();
}
@@ -471,13 +471,13 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
case 2: // NOSUCH
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
- org.apache.thrift.protocol.TSet _set543 = iprot.readSetBegin();
- struct.nosuch = new HashSet<Long>(2*_set543.size);
- long _elem544;
- for (int _i545 = 0; _i545 < _set543.size; ++_i545)
+ org.apache.thrift.protocol.TSet _set575 = iprot.readSetBegin();
+ struct.nosuch = new HashSet<Long>(2*_set575.size);
+ long _elem576;
+ for (int _i577 = 0; _i577 < _set575.size; ++_i577)
{
- _elem544 = iprot.readI64();
- struct.nosuch.add(_elem544);
+ _elem576 = iprot.readI64();
+ struct.nosuch.add(_elem576);
}
iprot.readSetEnd();
}
@@ -503,9 +503,9 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
oprot.writeFieldBegin(ABORTED_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size()));
- for (long _iter546 : struct.aborted)
+ for (long _iter578 : struct.aborted)
{
- oprot.writeI64(_iter546);
+ oprot.writeI64(_iter578);
}
oprot.writeSetEnd();
}
@@ -515,9 +515,9 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
oprot.writeFieldBegin(NOSUCH_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size()));
- for (long _iter547 : struct.nosuch)
+ for (long _iter579 : struct.nosuch)
{
- oprot.writeI64(_iter547);
+ oprot.writeI64(_iter579);
}
oprot.writeSetEnd();
}
@@ -542,16 +542,16 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.aborted.size());
- for (long _iter548 : struct.aborted)
+ for (long _iter580 : struct.aborted)
{
- oprot.writeI64(_iter548);
+ oprot.writeI64(_iter580);
}
}
{
oprot.writeI32(struct.nosuch.size());
- for (long _iter549 : struct.nosuch)
+ for (long _iter581 : struct.nosuch)
{
- oprot.writeI64(_iter549);
+ oprot.writeI64(_iter581);
}
}
}
@@ -560,24 +560,24 @@ public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<Heartb
public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TSet _set550 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.aborted = new HashSet<Long>(2*_set550.size);
- long _elem551;
- for (int _i552 = 0; _i552 < _set550.size; ++_i552)
+ org.apache.thrift.protocol.TSet _set582 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.aborted = new HashSet<Long>(2*_set582.size);
+ long _elem583;
+ for (int _i584 = 0; _i584 < _set582.size; ++_i584)
{
- _elem551 = iprot.readI64();
- struct.aborted.add(_elem551);
+ _elem583 = iprot.readI64();
+ struct.aborted.add(_elem583);
}
}
struct.setAbortedIsSet(true);
{
- org.apache.thrift.protocol.TSet _set553 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
- struct.nosuch = new HashSet<Long>(2*_set553.size);
- long _elem554;
- for (int _i555 = 0; _i555 < _set553.size; ++_i555)
+ org.apache.thrift.protocol.TSet _set585 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32());
+ struct.nosuch = new HashSet<Long>(2*_set585.size);
+ long _elem586;
+ for (int _i587 = 0; _i587 < _set585.size; ++_i587)
{
- _elem554 = iprot.readI64();
- struct.nosuch.add(_elem554);
+ _elem586 = iprot.readI64();
+ struct.nosuch.add(_elem586);
}
}
struct.setNosuchIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
index 84f1df1..fe4cf63 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
@@ -538,13 +538,13 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
case 2: // FILES_ADDED
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list590 = iprot.readListBegin();
- struct.filesAdded = new ArrayList<String>(_list590.size);
- String _elem591;
- for (int _i592 = 0; _i592 < _list590.size; ++_i592)
+ org.apache.thrift.protocol.TList _list622 = iprot.readListBegin();
+ struct.filesAdded = new ArrayList<String>(_list622.size);
+ String _elem623;
+ for (int _i624 = 0; _i624 < _list622.size; ++_i624)
{
- _elem591 = iprot.readString();
- struct.filesAdded.add(_elem591);
+ _elem623 = iprot.readString();
+ struct.filesAdded.add(_elem623);
}
iprot.readListEnd();
}
@@ -556,13 +556,13 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
case 3: // FILES_ADDED_CHECKSUM
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list593 = iprot.readListBegin();
- struct.filesAddedChecksum = new ArrayList<String>(_list593.size);
- String _elem594;
- for (int _i595 = 0; _i595 < _list593.size; ++_i595)
+ org.apache.thrift.protocol.TList _list625 = iprot.readListBegin();
+ struct.filesAddedChecksum = new ArrayList<String>(_list625.size);
+ String _elem626;
+ for (int _i627 = 0; _i627 < _list625.size; ++_i627)
{
- _elem594 = iprot.readString();
- struct.filesAddedChecksum.add(_elem594);
+ _elem626 = iprot.readString();
+ struct.filesAddedChecksum.add(_elem626);
}
iprot.readListEnd();
}
@@ -593,9 +593,9 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size()));
- for (String _iter596 : struct.filesAdded)
+ for (String _iter628 : struct.filesAdded)
{
- oprot.writeString(_iter596);
+ oprot.writeString(_iter628);
}
oprot.writeListEnd();
}
@@ -606,9 +606,9 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size()));
- for (String _iter597 : struct.filesAddedChecksum)
+ for (String _iter629 : struct.filesAddedChecksum)
{
- oprot.writeString(_iter597);
+ oprot.writeString(_iter629);
}
oprot.writeListEnd();
}
@@ -634,9 +634,9 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.filesAdded.size());
- for (String _iter598 : struct.filesAdded)
+ for (String _iter630 : struct.filesAdded)
{
- oprot.writeString(_iter598);
+ oprot.writeString(_iter630);
}
}
BitSet optionals = new BitSet();
@@ -653,9 +653,9 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
if (struct.isSetFilesAddedChecksum()) {
{
oprot.writeI32(struct.filesAddedChecksum.size());
- for (String _iter599 : struct.filesAddedChecksum)
+ for (String _iter631 : struct.filesAddedChecksum)
{
- oprot.writeString(_iter599);
+ oprot.writeString(_iter631);
}
}
}
@@ -665,13 +665,13 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list600 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.filesAdded = new ArrayList<String>(_list600.size);
- String _elem601;
- for (int _i602 = 0; _i602 < _list600.size; ++_i602)
+ org.apache.thrift.protocol.TList _list632 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.filesAdded = new ArrayList<String>(_list632.size);
+ String _elem633;
+ for (int _i634 = 0; _i634 < _list632.size; ++_i634)
{
- _elem601 = iprot.readString();
- struct.filesAdded.add(_elem601);
+ _elem633 = iprot.readString();
+ struct.filesAdded.add(_elem633);
}
}
struct.setFilesAddedIsSet(true);
@@ -682,13 +682,13 @@ public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEve
}
if (incoming.get(1)) {
{
- org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.filesAddedChecksum = new ArrayList<String>(_list603.size);
- String _elem604;
- for (int _i605 = 0; _i605 < _list603.size; ++_i605)
+ org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.filesAddedChecksum = new ArrayList<String>(_list635.size);
+ String _elem636;
+ for (int _i637 = 0; _i637 < _list635.size; ++_i637)
{
- _elem604 = iprot.readString();
- struct.filesAddedChecksum.add(_elem604);
+ _elem636 = iprot.readString();
+ struct.filesAddedChecksum.add(_elem636);
}
}
struct.setFilesAddedChecksumIsSet(true);
http://git-wip-us.apache.org/repos/asf/hive/blob/9a149843/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
index 833adbb..75d9d56 100644
--- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
+++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
@@ -689,14 +689,14 @@ public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockReq
case 1: // COMPONENT
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list524 = iprot.readListBegin();
- struct.component = new ArrayList<LockComponent>(_list524.size);
- LockComponent _elem525;
- for (int _i526 = 0; _i526 < _list524.size; ++_i526)
+ org.apache.thrift.protocol.TList _list556 = iprot.readListBegin();
+ struct.component = new ArrayList<LockComponent>(_list556.size);
+ LockComponent _elem557;
+ for (int _i558 = 0; _i558 < _list556.size; ++_i558)
{
- _elem525 = new LockComponent();
- _elem525.read(iprot);
- struct.component.add(_elem525);
+ _elem557 = new LockComponent();
+ _elem557.read(iprot);
+ struct.component.add(_elem557);
}
iprot.readListEnd();
}
@@ -754,9 +754,9 @@ public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockReq
oprot.writeFieldBegin(COMPONENT_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size()));
- for (LockComponent _iter527 : struct.component)
+ for (LockComponent _iter559 : struct.component)
{
- _iter527.write(oprot);
+ _iter559.write(oprot);
}
oprot.writeListEnd();
}
@@ -803,9 +803,9 @@ public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockReq
TTupleProtocol oprot = (TTupleProtocol) prot;
{
oprot.writeI32(struct.component.size());
- for (LockComponent _iter528 : struct.component)
+ for (LockComponent _iter560 : struct.component)
{
- _iter528.write(oprot);
+ _iter560.write(oprot);
}
}
oprot.writeString(struct.user);
@@ -830,14 +830,14 @@ public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockReq
public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
{
- org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.component = new ArrayList<LockComponent>(_list529.size);
- LockComponent _elem530;
- for (int _i531 = 0; _i531 < _list529.size; ++_i531)
+ org.apache.thrift.protocol.TList _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.component = new ArrayList<LockComponent>(_list561.size);
+ LockComponent _elem562;
+ for (int _i563 = 0; _i563 < _list561.size; ++_i563)
{
- _elem530 = new LockComponent();
- _elem530.read(iprot);
- struct.component.add(_elem530);
+ _elem562 = new LockComponent();
+ _elem562.read(iprot);
+ struct.component.add(_elem562);
}
}
struct.setComponentIsSet(true);