You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by cw...@apache.org on 2012/06/04 01:44:15 UTC
svn commit: r1345806 [3/7] - in /hive/trunk: metastore/if/
metastore/scripts/upgrade/mysql/ metastore/scripts/upgrade/oracle/
metastore/src/gen/thrift/gen-cpp/
metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/
metastore/src/ge...
Modified: hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp Sun Jun 3 23:44:13 2012
@@ -1490,73 +1490,8 @@ uint32_t StorageDescriptor::write(::apac
return xfer;
}
-const char* TableIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
-const uint8_t TableIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-
-uint32_t TableIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->dbName);
- this->__isset.dbName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->tableName);
- this->__isset.tableName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t TableIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("TableIdentifier");
- xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->dbName);
- xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->tableName);
- xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-const char* Table::ascii_fingerprint = "06C17A4A74B309FF2357999371777D0D";
-const uint8_t Table::binary_fingerprint[16] = {0x06,0xC1,0x7A,0x4A,0x74,0xB3,0x09,0xFF,0x23,0x57,0x99,0x93,0x71,0x77,0x7D,0x0D};
+const char* Table::ascii_fingerprint = "26BE788C09746068A2616712C9262900";
+const uint8_t Table::binary_fingerprint[16] = {0x26,0xBE,0x78,0x8C,0x09,0x74,0x60,0x68,0xA2,0x61,0x67,0x12,0xC9,0x26,0x29,0x00};
uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
@@ -1709,34 +1644,6 @@ uint32_t Table::read(::apache::thrift::p
xfer += iprot->skip(ftype);
}
break;
- case 14:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->linkTarget.read(iprot);
- this->__isset.linkTarget = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 15:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->linkTables.clear();
- uint32_t _size117;
- ::apache::thrift::protocol::TType _etype120;
- iprot->readListBegin(_etype120, _size117);
- this->linkTables.resize(_size117);
- uint32_t _i121;
- for (_i121 = 0; _i121 < _size117; ++_i121)
- {
- xfer += this->linkTables[_i121].read(iprot);
- }
- iprot->readListEnd();
- }
- this->__isset.linkTables = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
default:
xfer += iprot->skip(ftype);
break;
@@ -1776,10 +1683,10 @@ uint32_t Table::write(::apache::thrift::
xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->partitionKeys.size()));
- std::vector<FieldSchema> ::const_iterator _iter122;
- for (_iter122 = this->partitionKeys.begin(); _iter122 != this->partitionKeys.end(); ++_iter122)
+ std::vector<FieldSchema> ::const_iterator _iter117;
+ for (_iter117 = this->partitionKeys.begin(); _iter117 != this->partitionKeys.end(); ++_iter117)
{
- xfer += (*_iter122).write(oprot);
+ xfer += (*_iter117).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -1787,11 +1694,11 @@ uint32_t Table::write(::apache::thrift::
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter123;
- for (_iter123 = this->parameters.begin(); _iter123 != this->parameters.end(); ++_iter123)
+ std::map<std::string, std::string> ::const_iterator _iter118;
+ for (_iter118 = this->parameters.begin(); _iter118 != this->parameters.end(); ++_iter118)
{
- xfer += oprot->writeString(_iter123->first);
- xfer += oprot->writeString(_iter123->second);
+ xfer += oprot->writeString(_iter118->first);
+ xfer += oprot->writeString(_iter118->second);
}
xfer += oprot->writeMapEnd();
}
@@ -1810,24 +1717,6 @@ uint32_t Table::write(::apache::thrift::
xfer += this->privileges.write(oprot);
xfer += oprot->writeFieldEnd();
}
- if (this->__isset.linkTarget) {
- xfer += oprot->writeFieldBegin("linkTarget", ::apache::thrift::protocol::T_STRUCT, 14);
- xfer += this->linkTarget.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.linkTables) {
- xfer += oprot->writeFieldBegin("linkTables", ::apache::thrift::protocol::T_LIST, 15);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->linkTables.size()));
- std::vector<TableIdentifier> ::const_iterator _iter124;
- for (_iter124 = this->linkTables.begin(); _iter124 != this->linkTables.end(); ++_iter124)
- {
- xfer += (*_iter124).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
@@ -1860,14 +1749,14 @@ uint32_t Partition::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->values.clear();
- uint32_t _size125;
- ::apache::thrift::protocol::TType _etype128;
- iprot->readListBegin(_etype128, _size125);
- this->values.resize(_size125);
- uint32_t _i129;
- for (_i129 = 0; _i129 < _size125; ++_i129)
+ uint32_t _size119;
+ ::apache::thrift::protocol::TType _etype122;
+ iprot->readListBegin(_etype122, _size119);
+ this->values.resize(_size119);
+ uint32_t _i123;
+ for (_i123 = 0; _i123 < _size119; ++_i123)
{
- xfer += iprot->readString(this->values[_i129]);
+ xfer += iprot->readString(this->values[_i123]);
}
iprot->readListEnd();
}
@@ -1920,17 +1809,17 @@ uint32_t Partition::read(::apache::thrif
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
- uint32_t _size130;
- ::apache::thrift::protocol::TType _ktype131;
- ::apache::thrift::protocol::TType _vtype132;
- iprot->readMapBegin(_ktype131, _vtype132, _size130);
- uint32_t _i134;
- for (_i134 = 0; _i134 < _size130; ++_i134)
+ uint32_t _size124;
+ ::apache::thrift::protocol::TType _ktype125;
+ ::apache::thrift::protocol::TType _vtype126;
+ iprot->readMapBegin(_ktype125, _vtype126, _size124);
+ uint32_t _i128;
+ for (_i128 = 0; _i128 < _size124; ++_i128)
{
- std::string _key135;
- xfer += iprot->readString(_key135);
- std::string& _val136 = this->parameters[_key135];
- xfer += iprot->readString(_val136);
+ std::string _key129;
+ xfer += iprot->readString(_key129);
+ std::string& _val130 = this->parameters[_key129];
+ xfer += iprot->readString(_val130);
}
iprot->readMapEnd();
}
@@ -1965,10 +1854,10 @@ uint32_t Partition::write(::apache::thri
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->values.size()));
- std::vector<std::string> ::const_iterator _iter137;
- for (_iter137 = this->values.begin(); _iter137 != this->values.end(); ++_iter137)
+ std::vector<std::string> ::const_iterator _iter131;
+ for (_iter131 = this->values.begin(); _iter131 != this->values.end(); ++_iter131)
{
- xfer += oprot->writeString((*_iter137));
+ xfer += oprot->writeString((*_iter131));
}
xfer += oprot->writeListEnd();
}
@@ -1991,11 +1880,11 @@ uint32_t Partition::write(::apache::thri
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter138;
- for (_iter138 = this->parameters.begin(); _iter138 != this->parameters.end(); ++_iter138)
+ std::map<std::string, std::string> ::const_iterator _iter132;
+ for (_iter132 = this->parameters.begin(); _iter132 != this->parameters.end(); ++_iter132)
{
- xfer += oprot->writeString(_iter138->first);
- xfer += oprot->writeString(_iter138->second);
+ xfer += oprot->writeString(_iter132->first);
+ xfer += oprot->writeString(_iter132->second);
}
xfer += oprot->writeMapEnd();
}
@@ -2101,17 +1990,17 @@ uint32_t Index::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
- uint32_t _size139;
- ::apache::thrift::protocol::TType _ktype140;
- ::apache::thrift::protocol::TType _vtype141;
- iprot->readMapBegin(_ktype140, _vtype141, _size139);
- uint32_t _i143;
- for (_i143 = 0; _i143 < _size139; ++_i143)
+ uint32_t _size133;
+ ::apache::thrift::protocol::TType _ktype134;
+ ::apache::thrift::protocol::TType _vtype135;
+ iprot->readMapBegin(_ktype134, _vtype135, _size133);
+ uint32_t _i137;
+ for (_i137 = 0; _i137 < _size133; ++_i137)
{
- std::string _key144;
- xfer += iprot->readString(_key144);
- std::string& _val145 = this->parameters[_key144];
- xfer += iprot->readString(_val145);
+ std::string _key138;
+ xfer += iprot->readString(_key138);
+ std::string& _val139 = this->parameters[_key138];
+ xfer += iprot->readString(_val139);
}
iprot->readMapEnd();
}
@@ -2170,11 +2059,11 @@ uint32_t Index::write(::apache::thrift::
xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->parameters.size()));
- std::map<std::string, std::string> ::const_iterator _iter146;
- for (_iter146 = this->parameters.begin(); _iter146 != this->parameters.end(); ++_iter146)
+ std::map<std::string, std::string> ::const_iterator _iter140;
+ for (_iter140 = this->parameters.begin(); _iter140 != this->parameters.end(); ++_iter140)
{
- xfer += oprot->writeString(_iter146->first);
- xfer += oprot->writeString(_iter146->second);
+ xfer += oprot->writeString(_iter140->first);
+ xfer += oprot->writeString(_iter140->second);
}
xfer += oprot->writeMapEnd();
}
@@ -2214,14 +2103,14 @@ uint32_t Schema::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->fieldSchemas.clear();
- uint32_t _size147;
- ::apache::thrift::protocol::TType _etype150;
- iprot->readListBegin(_etype150, _size147);
- this->fieldSchemas.resize(_size147);
- uint32_t _i151;
- for (_i151 = 0; _i151 < _size147; ++_i151)
+ uint32_t _size141;
+ ::apache::thrift::protocol::TType _etype144;
+ iprot->readListBegin(_etype144, _size141);
+ this->fieldSchemas.resize(_size141);
+ uint32_t _i145;
+ for (_i145 = 0; _i145 < _size141; ++_i145)
{
- xfer += this->fieldSchemas[_i151].read(iprot);
+ xfer += this->fieldSchemas[_i145].read(iprot);
}
iprot->readListEnd();
}
@@ -2234,17 +2123,17 @@ uint32_t Schema::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->properties.clear();
- uint32_t _size152;
- ::apache::thrift::protocol::TType _ktype153;
- ::apache::thrift::protocol::TType _vtype154;
- iprot->readMapBegin(_ktype153, _vtype154, _size152);
- uint32_t _i156;
- for (_i156 = 0; _i156 < _size152; ++_i156)
+ uint32_t _size146;
+ ::apache::thrift::protocol::TType _ktype147;
+ ::apache::thrift::protocol::TType _vtype148;
+ iprot->readMapBegin(_ktype147, _vtype148, _size146);
+ uint32_t _i150;
+ for (_i150 = 0; _i150 < _size146; ++_i150)
{
- std::string _key157;
- xfer += iprot->readString(_key157);
- std::string& _val158 = this->properties[_key157];
- xfer += iprot->readString(_val158);
+ std::string _key151;
+ xfer += iprot->readString(_key151);
+ std::string& _val152 = this->properties[_key151];
+ xfer += iprot->readString(_val152);
}
iprot->readMapEnd();
}
@@ -2271,10 +2160,10 @@ uint32_t Schema::write(::apache::thrift:
xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->fieldSchemas.size()));
- std::vector<FieldSchema> ::const_iterator _iter159;
- for (_iter159 = this->fieldSchemas.begin(); _iter159 != this->fieldSchemas.end(); ++_iter159)
+ std::vector<FieldSchema> ::const_iterator _iter153;
+ for (_iter153 = this->fieldSchemas.begin(); _iter153 != this->fieldSchemas.end(); ++_iter153)
{
- xfer += (*_iter159).write(oprot);
+ xfer += (*_iter153).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -2282,11 +2171,11 @@ uint32_t Schema::write(::apache::thrift:
xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->properties.size()));
- std::map<std::string, std::string> ::const_iterator _iter160;
- for (_iter160 = this->properties.begin(); _iter160 != this->properties.end(); ++_iter160)
+ std::map<std::string, std::string> ::const_iterator _iter154;
+ for (_iter154 = this->properties.begin(); _iter154 != this->properties.end(); ++_iter154)
{
- xfer += oprot->writeString(_iter160->first);
- xfer += oprot->writeString(_iter160->second);
+ xfer += oprot->writeString(_iter154->first);
+ xfer += oprot->writeString(_iter154->second);
}
xfer += oprot->writeMapEnd();
}
@@ -2323,17 +2212,17 @@ uint32_t EnvironmentContext::read(::apac
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->properties.clear();
- uint32_t _size161;
- ::apache::thrift::protocol::TType _ktype162;
- ::apache::thrift::protocol::TType _vtype163;
- iprot->readMapBegin(_ktype162, _vtype163, _size161);
- uint32_t _i165;
- for (_i165 = 0; _i165 < _size161; ++_i165)
+ uint32_t _size155;
+ ::apache::thrift::protocol::TType _ktype156;
+ ::apache::thrift::protocol::TType _vtype157;
+ iprot->readMapBegin(_ktype156, _vtype157, _size155);
+ uint32_t _i159;
+ for (_i159 = 0; _i159 < _size155; ++_i159)
{
- std::string _key166;
- xfer += iprot->readString(_key166);
- std::string& _val167 = this->properties[_key166];
- xfer += iprot->readString(_val167);
+ std::string _key160;
+ xfer += iprot->readString(_key160);
+ std::string& _val161 = this->properties[_key160];
+ xfer += iprot->readString(_val161);
}
iprot->readMapEnd();
}
@@ -2360,11 +2249,11 @@ uint32_t EnvironmentContext::write(::apa
xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->properties.size()));
- std::map<std::string, std::string> ::const_iterator _iter168;
- for (_iter168 = this->properties.begin(); _iter168 != this->properties.end(); ++_iter168)
+ std::map<std::string, std::string> ::const_iterator _iter162;
+ for (_iter162 = this->properties.begin(); _iter162 != this->properties.end(); ++_iter162)
{
- xfer += oprot->writeString(_iter168->first);
- xfer += oprot->writeString(_iter168->second);
+ xfer += oprot->writeString(_iter162->first);
+ xfer += oprot->writeString(_iter162->second);
}
xfer += oprot->writeMapEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h Sun Jun 3 23:44:13 2012
@@ -887,57 +887,8 @@ class StorageDescriptor {
};
-typedef struct _TableIdentifier__isset {
- _TableIdentifier__isset() : dbName(false), tableName(false) {}
- bool dbName;
- bool tableName;
-} _TableIdentifier__isset;
-
-class TableIdentifier {
- public:
-
- static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
- static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-
- TableIdentifier() : dbName(""), tableName("") {
- }
-
- virtual ~TableIdentifier() throw() {}
-
- std::string dbName;
- std::string tableName;
-
- _TableIdentifier__isset __isset;
-
- void __set_dbName(const std::string& val) {
- dbName = val;
- }
-
- void __set_tableName(const std::string& val) {
- tableName = val;
- }
-
- bool operator == (const TableIdentifier & rhs) const
- {
- if (!(dbName == rhs.dbName))
- return false;
- if (!(tableName == rhs.tableName))
- return false;
- return true;
- }
- bool operator != (const TableIdentifier &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const TableIdentifier & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
typedef struct _Table__isset {
- _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), linkTarget(false), linkTables(false) {}
+ _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false) {}
bool tableName;
bool dbName;
bool owner;
@@ -951,15 +902,13 @@ typedef struct _Table__isset {
bool viewExpandedText;
bool tableType;
bool privileges;
- bool linkTarget;
- bool linkTables;
} _Table__isset;
class Table {
public:
- static const char* ascii_fingerprint; // = "06C17A4A74B309FF2357999371777D0D";
- static const uint8_t binary_fingerprint[16]; // = {0x06,0xC1,0x7A,0x4A,0x74,0xB3,0x09,0xFF,0x23,0x57,0x99,0x93,0x71,0x77,0x7D,0x0D};
+ static const char* ascii_fingerprint; // = "26BE788C09746068A2616712C9262900";
+ static const uint8_t binary_fingerprint[16]; // = {0x26,0xBE,0x78,0x8C,0x09,0x74,0x60,0x68,0xA2,0x61,0x67,0x12,0xC9,0x26,0x29,0x00};
Table() : tableName(""), dbName(""), owner(""), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(""), viewExpandedText(""), tableType("") {
}
@@ -979,8 +928,6 @@ class Table {
std::string viewExpandedText;
std::string tableType;
PrincipalPrivilegeSet privileges;
- TableIdentifier linkTarget;
- std::vector<TableIdentifier> linkTables;
_Table__isset __isset;
@@ -1037,16 +984,6 @@ class Table {
__isset.privileges = true;
}
- void __set_linkTarget(const TableIdentifier& val) {
- linkTarget = val;
- __isset.linkTarget = true;
- }
-
- void __set_linkTables(const std::vector<TableIdentifier> & val) {
- linkTables = val;
- __isset.linkTables = true;
- }
-
bool operator == (const Table & rhs) const
{
if (!(tableName == rhs.tableName))
@@ -1077,14 +1014,6 @@ class Table {
return false;
else if (__isset.privileges && !(privileges == rhs.privileges))
return false;
- if (__isset.linkTarget != rhs.__isset.linkTarget)
- return false;
- else if (__isset.linkTarget && !(linkTarget == rhs.linkTarget))
- return false;
- if (__isset.linkTables != rhs.__isset.linkTables)
- return false;
- else if (__isset.linkTables && !(linkTables == rhs.linkTables))
- return false;
return true;
}
bool operator != (const Table &rhs) const {
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java Sun Jun 3 23:44:13 2012
@@ -275,15 +275,15 @@ public class EnvironmentContext implemen
case 1: // PROPERTIES
if (field.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map102 = iprot.readMapBegin();
- this.properties = new HashMap<String,String>(2*_map102.size);
- for (int _i103 = 0; _i103 < _map102.size; ++_i103)
+ org.apache.thrift.protocol.TMap _map98 = iprot.readMapBegin();
+ this.properties = new HashMap<String,String>(2*_map98.size);
+ for (int _i99 = 0; _i99 < _map98.size; ++_i99)
{
- String _key104; // required
- String _val105; // required
- _key104 = iprot.readString();
- _val105 = iprot.readString();
- this.properties.put(_key104, _val105);
+ String _key100; // required
+ String _val101; // required
+ _key100 = iprot.readString();
+ _val101 = iprot.readString();
+ this.properties.put(_key100, _val101);
}
iprot.readMapEnd();
}
@@ -308,10 +308,10 @@ public class EnvironmentContext implemen
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, this.properties.size()));
- for (Map.Entry<String, String> _iter106 : this.properties.entrySet())
+ for (Map.Entry<String, String> _iter102 : this.properties.entrySet())
{
- oprot.writeString(_iter106.getKey());
- oprot.writeString(_iter106.getValue());
+ oprot.writeString(_iter102.getKey());
+ oprot.writeString(_iter102.getValue());
}
oprot.writeMapEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java Sun Jun 3 23:44:13 2012
@@ -949,15 +949,15 @@ public class Index implements org.apache
case 9: // PARAMETERS
if (field.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map88 = iprot.readMapBegin();
- this.parameters = new HashMap<String,String>(2*_map88.size);
- for (int _i89 = 0; _i89 < _map88.size; ++_i89)
+ org.apache.thrift.protocol.TMap _map84 = iprot.readMapBegin();
+ this.parameters = new HashMap<String,String>(2*_map84.size);
+ for (int _i85 = 0; _i85 < _map84.size; ++_i85)
{
- String _key90; // required
- String _val91; // required
- _key90 = iprot.readString();
- _val91 = iprot.readString();
- this.parameters.put(_key90, _val91);
+ String _key86; // required
+ String _val87; // required
+ _key86 = iprot.readString();
+ _val87 = iprot.readString();
+ this.parameters.put(_key86, _val87);
}
iprot.readMapEnd();
}
@@ -1026,10 +1026,10 @@ public class Index implements org.apache
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, this.parameters.size()));
- for (Map.Entry<String, String> _iter92 : this.parameters.entrySet())
+ for (Map.Entry<String, String> _iter88 : this.parameters.entrySet())
{
- oprot.writeString(_iter92.getKey());
- oprot.writeString(_iter92.getValue());
+ oprot.writeString(_iter88.getKey());
+ oprot.writeString(_iter88.getValue());
}
oprot.writeMapEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java Sun Jun 3 23:44:13 2012
@@ -772,13 +772,13 @@ public class Partition implements org.ap
case 1: // VALUES
if (field.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list79 = iprot.readListBegin();
- this.values = new ArrayList<String>(_list79.size);
- for (int _i80 = 0; _i80 < _list79.size; ++_i80)
+ org.apache.thrift.protocol.TList _list75 = iprot.readListBegin();
+ this.values = new ArrayList<String>(_list75.size);
+ for (int _i76 = 0; _i76 < _list75.size; ++_i76)
{
- String _elem81; // required
- _elem81 = iprot.readString();
- this.values.add(_elem81);
+ String _elem77; // required
+ _elem77 = iprot.readString();
+ this.values.add(_elem77);
}
iprot.readListEnd();
}
@@ -827,15 +827,15 @@ public class Partition implements org.ap
case 7: // PARAMETERS
if (field.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map82 = iprot.readMapBegin();
- this.parameters = new HashMap<String,String>(2*_map82.size);
- for (int _i83 = 0; _i83 < _map82.size; ++_i83)
+ org.apache.thrift.protocol.TMap _map78 = iprot.readMapBegin();
+ this.parameters = new HashMap<String,String>(2*_map78.size);
+ for (int _i79 = 0; _i79 < _map78.size; ++_i79)
{
- String _key84; // required
- String _val85; // required
- _key84 = iprot.readString();
- _val85 = iprot.readString();
- this.parameters.put(_key84, _val85);
+ String _key80; // required
+ String _val81; // required
+ _key80 = iprot.readString();
+ _val81 = iprot.readString();
+ this.parameters.put(_key80, _val81);
}
iprot.readMapEnd();
}
@@ -868,9 +868,9 @@ public class Partition implements org.ap
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.values.size()));
- for (String _iter86 : this.values)
+ for (String _iter82 : this.values)
{
- oprot.writeString(_iter86);
+ oprot.writeString(_iter82);
}
oprot.writeListEnd();
}
@@ -901,10 +901,10 @@ public class Partition implements org.ap
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, this.parameters.size()));
- for (Map.Entry<String, String> _iter87 : this.parameters.entrySet())
+ for (Map.Entry<String, String> _iter83 : this.parameters.entrySet())
{
- oprot.writeString(_iter87.getKey());
- oprot.writeString(_iter87.getValue());
+ oprot.writeString(_iter83.getKey());
+ oprot.writeString(_iter83.getValue());
}
oprot.writeMapEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java Sun Jun 3 23:44:13 2012
@@ -363,14 +363,14 @@ public class Schema implements org.apach
case 1: // FIELD_SCHEMAS
if (field.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
- this.fieldSchemas = new ArrayList<FieldSchema>(_list93.size);
- for (int _i94 = 0; _i94 < _list93.size; ++_i94)
+ org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
+ this.fieldSchemas = new ArrayList<FieldSchema>(_list89.size);
+ for (int _i90 = 0; _i90 < _list89.size; ++_i90)
{
- FieldSchema _elem95; // required
- _elem95 = new FieldSchema();
- _elem95.read(iprot);
- this.fieldSchemas.add(_elem95);
+ FieldSchema _elem91; // required
+ _elem91 = new FieldSchema();
+ _elem91.read(iprot);
+ this.fieldSchemas.add(_elem91);
}
iprot.readListEnd();
}
@@ -381,15 +381,15 @@ public class Schema implements org.apach
case 2: // PROPERTIES
if (field.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TMap _map96 = iprot.readMapBegin();
- this.properties = new HashMap<String,String>(2*_map96.size);
- for (int _i97 = 0; _i97 < _map96.size; ++_i97)
+ org.apache.thrift.protocol.TMap _map92 = iprot.readMapBegin();
+ this.properties = new HashMap<String,String>(2*_map92.size);
+ for (int _i93 = 0; _i93 < _map92.size; ++_i93)
{
- String _key98; // required
- String _val99; // required
- _key98 = iprot.readString();
- _val99 = iprot.readString();
- this.properties.put(_key98, _val99);
+ String _key94; // required
+ String _val95; // required
+ _key94 = iprot.readString();
+ _val95 = iprot.readString();
+ this.properties.put(_key94, _val95);
}
iprot.readMapEnd();
}
@@ -414,9 +414,9 @@ public class Schema implements org.apach
oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.fieldSchemas.size()));
- for (FieldSchema _iter100 : this.fieldSchemas)
+ for (FieldSchema _iter96 : this.fieldSchemas)
{
- _iter100.write(oprot);
+ _iter96.write(oprot);
}
oprot.writeListEnd();
}
@@ -426,10 +426,10 @@ public class Schema implements org.apach
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, this.properties.size()));
- for (Map.Entry<String, String> _iter101 : this.properties.entrySet())
+ for (Map.Entry<String, String> _iter97 : this.properties.entrySet())
{
- oprot.writeString(_iter101.getKey());
- oprot.writeString(_iter101.getValue());
+ oprot.writeString(_iter97.getKey());
+ oprot.writeString(_iter97.getValue());
}
oprot.writeMapEnd();
}
Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java?rev=1345806&r1=1345805&r2=1345806&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java Sun Jun 3 23:44:13 2012
@@ -36,8 +36,6 @@ public class Table implements org.apache
private static final org.apache.thrift.protocol.TField VIEW_EXPANDED_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("viewExpandedText", org.apache.thrift.protocol.TType.STRING, (short)11);
private static final org.apache.thrift.protocol.TField TABLE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tableType", org.apache.thrift.protocol.TType.STRING, (short)12);
private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)13);
- private static final org.apache.thrift.protocol.TField LINK_TARGET_FIELD_DESC = new org.apache.thrift.protocol.TField("linkTarget", org.apache.thrift.protocol.TType.STRUCT, (short)14);
- private static final org.apache.thrift.protocol.TField LINK_TABLES_FIELD_DESC = new org.apache.thrift.protocol.TField("linkTables", org.apache.thrift.protocol.TType.LIST, (short)15);
private String tableName; // required
private String dbName; // required
@@ -52,8 +50,6 @@ public class Table implements org.apache
private String viewExpandedText; // required
private String tableType; // required
private PrincipalPrivilegeSet privileges; // required
- private TableIdentifier linkTarget; // required
- private List<TableIdentifier> linkTables; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@@ -69,9 +65,7 @@ public class Table implements org.apache
VIEW_ORIGINAL_TEXT((short)10, "viewOriginalText"),
VIEW_EXPANDED_TEXT((short)11, "viewExpandedText"),
TABLE_TYPE((short)12, "tableType"),
- PRIVILEGES((short)13, "privileges"),
- LINK_TARGET((short)14, "linkTarget"),
- LINK_TABLES((short)15, "linkTables");
+ PRIVILEGES((short)13, "privileges");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -112,10 +106,6 @@ public class Table implements org.apache
return TABLE_TYPE;
case 13: // PRIVILEGES
return PRIVILEGES;
- case 14: // LINK_TARGET
- return LINK_TARGET;
- case 15: // LINK_TABLES
- return LINK_TABLES;
default:
return null;
}
@@ -193,11 +183,6 @@ public class Table implements org.apache
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.PRIVILEGES, new org.apache.thrift.meta_data.FieldMetaData("privileges", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PrincipalPrivilegeSet.class)));
- tmpMap.put(_Fields.LINK_TARGET, new org.apache.thrift.meta_data.FieldMetaData("linkTarget", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableIdentifier.class)));
- tmpMap.put(_Fields.LINK_TABLES, new org.apache.thrift.meta_data.FieldMetaData("linkTables", org.apache.thrift.TFieldRequirementType.OPTIONAL,
- new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableIdentifier.class))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Table.class, metaDataMap);
}
@@ -292,16 +277,6 @@ public class Table implements org.apache
if (other.isSetPrivileges()) {
this.privileges = new PrincipalPrivilegeSet(other.privileges);
}
- if (other.isSetLinkTarget()) {
- this.linkTarget = new TableIdentifier(other.linkTarget);
- }
- if (other.isSetLinkTables()) {
- List<TableIdentifier> __this__linkTables = new ArrayList<TableIdentifier>();
- for (TableIdentifier other_element : other.linkTables) {
- __this__linkTables.add(new TableIdentifier(other_element));
- }
- this.linkTables = __this__linkTables;
- }
}
public Table deepCopy() {
@@ -326,8 +301,6 @@ public class Table implements org.apache
this.viewExpandedText = null;
this.tableType = null;
this.privileges = null;
- this.linkTarget = null;
- this.linkTables = null;
}
public String getTableName() {
@@ -652,67 +625,6 @@ public class Table implements org.apache
}
}
- public TableIdentifier getLinkTarget() {
- return this.linkTarget;
- }
-
- public void setLinkTarget(TableIdentifier linkTarget) {
- this.linkTarget = linkTarget;
- }
-
- public void unsetLinkTarget() {
- this.linkTarget = null;
- }
-
- /** Returns true if field linkTarget is set (has been assigned a value) and false otherwise */
- public boolean isSetLinkTarget() {
- return this.linkTarget != null;
- }
-
- public void setLinkTargetIsSet(boolean value) {
- if (!value) {
- this.linkTarget = null;
- }
- }
-
- public int getLinkTablesSize() {
- return (this.linkTables == null) ? 0 : this.linkTables.size();
- }
-
- public java.util.Iterator<TableIdentifier> getLinkTablesIterator() {
- return (this.linkTables == null) ? null : this.linkTables.iterator();
- }
-
- public void addToLinkTables(TableIdentifier elem) {
- if (this.linkTables == null) {
- this.linkTables = new ArrayList<TableIdentifier>();
- }
- this.linkTables.add(elem);
- }
-
- public List<TableIdentifier> getLinkTables() {
- return this.linkTables;
- }
-
- public void setLinkTables(List<TableIdentifier> linkTables) {
- this.linkTables = linkTables;
- }
-
- public void unsetLinkTables() {
- this.linkTables = null;
- }
-
- /** Returns true if field linkTables is set (has been assigned a value) and false otherwise */
- public boolean isSetLinkTables() {
- return this.linkTables != null;
- }
-
- public void setLinkTablesIsSet(boolean value) {
- if (!value) {
- this.linkTables = null;
- }
- }
-
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case TABLE_NAME:
@@ -819,22 +731,6 @@ public class Table implements org.apache
}
break;
- case LINK_TARGET:
- if (value == null) {
- unsetLinkTarget();
- } else {
- setLinkTarget((TableIdentifier)value);
- }
- break;
-
- case LINK_TABLES:
- if (value == null) {
- unsetLinkTables();
- } else {
- setLinkTables((List<TableIdentifier>)value);
- }
- break;
-
}
}
@@ -879,12 +775,6 @@ public class Table implements org.apache
case PRIVILEGES:
return getPrivileges();
- case LINK_TARGET:
- return getLinkTarget();
-
- case LINK_TABLES:
- return getLinkTables();
-
}
throw new IllegalStateException();
}
@@ -922,10 +812,6 @@ public class Table implements org.apache
return isSetTableType();
case PRIVILEGES:
return isSetPrivileges();
- case LINK_TARGET:
- return isSetLinkTarget();
- case LINK_TABLES:
- return isSetLinkTables();
}
throw new IllegalStateException();
}
@@ -1060,24 +946,6 @@ public class Table implements org.apache
return false;
}
- boolean this_present_linkTarget = true && this.isSetLinkTarget();
- boolean that_present_linkTarget = true && that.isSetLinkTarget();
- if (this_present_linkTarget || that_present_linkTarget) {
- if (!(this_present_linkTarget && that_present_linkTarget))
- return false;
- if (!this.linkTarget.equals(that.linkTarget))
- return false;
- }
-
- boolean this_present_linkTables = true && this.isSetLinkTables();
- boolean that_present_linkTables = true && that.isSetLinkTables();
- if (this_present_linkTables || that_present_linkTables) {
- if (!(this_present_linkTables && that_present_linkTables))
- return false;
- if (!this.linkTables.equals(that.linkTables))
- return false;
- }
-
return true;
}
@@ -1224,26 +1092,6 @@ public class Table implements org.apache
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetLinkTarget()).compareTo(typedOther.isSetLinkTarget());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetLinkTarget()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.linkTarget, typedOther.linkTarget);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = Boolean.valueOf(isSetLinkTables()).compareTo(typedOther.isSetLinkTables());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetLinkTables()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.linkTables, typedOther.linkTables);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
return 0;
}
@@ -1380,32 +1228,6 @@ public class Table implements org.apache
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
}
break;
- case 14: // LINK_TARGET
- if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
- this.linkTarget = new TableIdentifier();
- this.linkTarget.read(iprot);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
- }
- break;
- case 15: // LINK_TABLES
- if (field.type == org.apache.thrift.protocol.TType.LIST) {
- {
- org.apache.thrift.protocol.TList _list73 = iprot.readListBegin();
- this.linkTables = new ArrayList<TableIdentifier>(_list73.size);
- for (int _i74 = 0; _i74 < _list73.size; ++_i74)
- {
- TableIdentifier _elem75; // required
- _elem75 = new TableIdentifier();
- _elem75.read(iprot);
- this.linkTables.add(_elem75);
- }
- iprot.readListEnd();
- }
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
- }
- break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
}
@@ -1452,9 +1274,9 @@ public class Table implements org.apache
oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC);
{
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.partitionKeys.size()));
- for (FieldSchema _iter76 : this.partitionKeys)
+ for (FieldSchema _iter73 : this.partitionKeys)
{
- _iter76.write(oprot);
+ _iter73.write(oprot);
}
oprot.writeListEnd();
}
@@ -1464,10 +1286,10 @@ public class Table implements org.apache
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, this.parameters.size()));
- for (Map.Entry<String, String> _iter77 : this.parameters.entrySet())
+ for (Map.Entry<String, String> _iter74 : this.parameters.entrySet())
{
- oprot.writeString(_iter77.getKey());
- oprot.writeString(_iter77.getValue());
+ oprot.writeString(_iter74.getKey());
+ oprot.writeString(_iter74.getValue());
}
oprot.writeMapEnd();
}
@@ -1495,27 +1317,6 @@ public class Table implements org.apache
oprot.writeFieldEnd();
}
}
- if (this.linkTarget != null) {
- if (isSetLinkTarget()) {
- oprot.writeFieldBegin(LINK_TARGET_FIELD_DESC);
- this.linkTarget.write(oprot);
- oprot.writeFieldEnd();
- }
- }
- if (this.linkTables != null) {
- if (isSetLinkTables()) {
- oprot.writeFieldBegin(LINK_TABLES_FIELD_DESC);
- {
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.linkTables.size()));
- for (TableIdentifier _iter78 : this.linkTables)
- {
- _iter78.write(oprot);
- }
- oprot.writeListEnd();
- }
- oprot.writeFieldEnd();
- }
- }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@@ -1618,26 +1419,6 @@ public class Table implements org.apache
}
first = false;
}
- if (isSetLinkTarget()) {
- if (!first) sb.append(", ");
- sb.append("linkTarget:");
- if (this.linkTarget == null) {
- sb.append("null");
- } else {
- sb.append(this.linkTarget);
- }
- first = false;
- }
- if (isSetLinkTables()) {
- if (!first) sb.append(", ");
- sb.append("linkTables:");
- if (this.linkTables == null) {
- sb.append("null");
- } else {
- sb.append(this.linkTables);
- }
- first = false;
- }
sb.append(")");
return sb.toString();
}