You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2017/10/21 01:05:07 UTC
[10/12] hive git commit: HIVE-17771 : Implement commands to manage
resource plan (Harish Jaiprakash, reviewed by Sergey Shelukhin)
http://git-wip-us.apache.org/repos/asf/hive/blob/a7e34455/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
----------------------------------------------------------------------
diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index 878b6f0..bbd0f00 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size903;
- ::apache::thrift::protocol::TType _etype906;
- xfer += iprot->readListBegin(_etype906, _size903);
- this->success.resize(_size903);
- uint32_t _i907;
- for (_i907 = 0; _i907 < _size903; ++_i907)
+ uint32_t _size934;
+ ::apache::thrift::protocol::TType _etype937;
+ xfer += iprot->readListBegin(_etype937, _size934);
+ this->success.resize(_size934);
+ uint32_t _i938;
+ for (_i938 = 0; _i938 < _size934; ++_i938)
{
- xfer += iprot->readString(this->success[_i907]);
+ xfer += iprot->readString(this->success[_i938]);
}
xfer += iprot->readListEnd();
}
@@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter908;
- for (_iter908 = this->success.begin(); _iter908 != this->success.end(); ++_iter908)
+ std::vector<std::string> ::const_iterator _iter939;
+ for (_iter939 = this->success.begin(); _iter939 != this->success.end(); ++_iter939)
{
- xfer += oprot->writeString((*_iter908));
+ xfer += oprot->writeString((*_iter939));
}
xfer += oprot->writeListEnd();
}
@@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size909;
- ::apache::thrift::protocol::TType _etype912;
- xfer += iprot->readListBegin(_etype912, _size909);
- (*(this->success)).resize(_size909);
- uint32_t _i913;
- for (_i913 = 0; _i913 < _size909; ++_i913)
+ uint32_t _size940;
+ ::apache::thrift::protocol::TType _etype943;
+ xfer += iprot->readListBegin(_etype943, _size940);
+ (*(this->success)).resize(_size940);
+ uint32_t _i944;
+ for (_i944 = 0; _i944 < _size940; ++_i944)
{
- xfer += iprot->readString((*(this->success))[_i913]);
+ xfer += iprot->readString((*(this->success))[_i944]);
}
xfer += iprot->readListEnd();
}
@@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size914;
- ::apache::thrift::protocol::TType _etype917;
- xfer += iprot->readListBegin(_etype917, _size914);
- this->success.resize(_size914);
- uint32_t _i918;
- for (_i918 = 0; _i918 < _size914; ++_i918)
+ uint32_t _size945;
+ ::apache::thrift::protocol::TType _etype948;
+ xfer += iprot->readListBegin(_etype948, _size945);
+ this->success.resize(_size945);
+ uint32_t _i949;
+ for (_i949 = 0; _i949 < _size945; ++_i949)
{
- xfer += iprot->readString(this->success[_i918]);
+ xfer += iprot->readString(this->success[_i949]);
}
xfer += iprot->readListEnd();
}
@@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter919;
- for (_iter919 = this->success.begin(); _iter919 != this->success.end(); ++_iter919)
+ std::vector<std::string> ::const_iterator _iter950;
+ for (_iter950 = this->success.begin(); _iter950 != this->success.end(); ++_iter950)
{
- xfer += oprot->writeString((*_iter919));
+ xfer += oprot->writeString((*_iter950));
}
xfer += oprot->writeListEnd();
}
@@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size920;
- ::apache::thrift::protocol::TType _etype923;
- xfer += iprot->readListBegin(_etype923, _size920);
- (*(this->success)).resize(_size920);
- uint32_t _i924;
- for (_i924 = 0; _i924 < _size920; ++_i924)
+ uint32_t _size951;
+ ::apache::thrift::protocol::TType _etype954;
+ xfer += iprot->readListBegin(_etype954, _size951);
+ (*(this->success)).resize(_size951);
+ uint32_t _i955;
+ for (_i955 = 0; _i955 < _size951; ++_i955)
{
- xfer += iprot->readString((*(this->success))[_i924]);
+ xfer += iprot->readString((*(this->success))[_i955]);
}
xfer += iprot->readListEnd();
}
@@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
- uint32_t _size925;
- ::apache::thrift::protocol::TType _ktype926;
- ::apache::thrift::protocol::TType _vtype927;
- xfer += iprot->readMapBegin(_ktype926, _vtype927, _size925);
- uint32_t _i929;
- for (_i929 = 0; _i929 < _size925; ++_i929)
+ uint32_t _size956;
+ ::apache::thrift::protocol::TType _ktype957;
+ ::apache::thrift::protocol::TType _vtype958;
+ xfer += iprot->readMapBegin(_ktype957, _vtype958, _size956);
+ uint32_t _i960;
+ for (_i960 = 0; _i960 < _size956; ++_i960)
{
- std::string _key930;
- xfer += iprot->readString(_key930);
- Type& _val931 = this->success[_key930];
- xfer += _val931.read(iprot);
+ std::string _key961;
+ xfer += iprot->readString(_key961);
+ Type& _val962 = this->success[_key961];
+ xfer += _val962.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::map<std::string, Type> ::const_iterator _iter932;
- for (_iter932 = this->success.begin(); _iter932 != this->success.end(); ++_iter932)
+ std::map<std::string, Type> ::const_iterator _iter963;
+ for (_iter963 = this->success.begin(); _iter963 != this->success.end(); ++_iter963)
{
- xfer += oprot->writeString(_iter932->first);
- xfer += _iter932->second.write(oprot);
+ xfer += oprot->writeString(_iter963->first);
+ xfer += _iter963->second.write(oprot);
}
xfer += oprot->writeMapEnd();
}
@@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
- uint32_t _size933;
- ::apache::thrift::protocol::TType _ktype934;
- ::apache::thrift::protocol::TType _vtype935;
- xfer += iprot->readMapBegin(_ktype934, _vtype935, _size933);
- uint32_t _i937;
- for (_i937 = 0; _i937 < _size933; ++_i937)
+ uint32_t _size964;
+ ::apache::thrift::protocol::TType _ktype965;
+ ::apache::thrift::protocol::TType _vtype966;
+ xfer += iprot->readMapBegin(_ktype965, _vtype966, _size964);
+ uint32_t _i968;
+ for (_i968 = 0; _i968 < _size964; ++_i968)
{
- std::string _key938;
- xfer += iprot->readString(_key938);
- Type& _val939 = (*(this->success))[_key938];
- xfer += _val939.read(iprot);
+ std::string _key969;
+ xfer += iprot->readString(_key969);
+ Type& _val970 = (*(this->success))[_key969];
+ xfer += _val970.read(iprot);
}
xfer += iprot->readMapEnd();
}
@@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size940;
- ::apache::thrift::protocol::TType _etype943;
- xfer += iprot->readListBegin(_etype943, _size940);
- this->success.resize(_size940);
- uint32_t _i944;
- for (_i944 = 0; _i944 < _size940; ++_i944)
+ uint32_t _size971;
+ ::apache::thrift::protocol::TType _etype974;
+ xfer += iprot->readListBegin(_etype974, _size971);
+ this->success.resize(_size971);
+ uint32_t _i975;
+ for (_i975 = 0; _i975 < _size971; ++_i975)
{
- xfer += this->success[_i944].read(iprot);
+ xfer += this->success[_i975].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter945;
- for (_iter945 = this->success.begin(); _iter945 != this->success.end(); ++_iter945)
+ std::vector<FieldSchema> ::const_iterator _iter976;
+ for (_iter976 = this->success.begin(); _iter976 != this->success.end(); ++_iter976)
{
- xfer += (*_iter945).write(oprot);
+ xfer += (*_iter976).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size946;
- ::apache::thrift::protocol::TType _etype949;
- xfer += iprot->readListBegin(_etype949, _size946);
- (*(this->success)).resize(_size946);
- uint32_t _i950;
- for (_i950 = 0; _i950 < _size946; ++_i950)
+ uint32_t _size977;
+ ::apache::thrift::protocol::TType _etype980;
+ xfer += iprot->readListBegin(_etype980, _size977);
+ (*(this->success)).resize(_size977);
+ uint32_t _i981;
+ for (_i981 = 0; _i981 < _size977; ++_i981)
{
- xfer += (*(this->success))[_i950].read(iprot);
+ xfer += (*(this->success))[_i981].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3194,14 +3194,309 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size951;
- ::apache::thrift::protocol::TType _etype954;
- xfer += iprot->readListBegin(_etype954, _size951);
- this->success.resize(_size951);
- uint32_t _i955;
- for (_i955 = 0; _i955 < _size951; ++_i955)
+ uint32_t _size982;
+ ::apache::thrift::protocol::TType _etype985;
+ xfer += iprot->readListBegin(_etype985, _size982);
+ this->success.resize(_size982);
+ uint32_t _i986;
+ for (_i986 = 0; _i986 < _size982; ++_i986)
+ {
+ xfer += this->success[_i986].read(iprot);
+ }
+ xfer += iprot->readListEnd();
+ }
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o1.read(iprot);
+ this->__isset.o1 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o2.read(iprot);
+ this->__isset.o2 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o3.read(iprot);
+ this->__isset.o3 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_result");
+
+ if (this->__isset.success) {
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
+ {
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
+ std::vector<FieldSchema> ::const_iterator _iter987;
+ for (_iter987 = this->success.begin(); _iter987 != this->success.end(); ++_iter987)
+ {
+ xfer += (*_iter987).write(oprot);
+ }
+ xfer += oprot->writeListEnd();
+ }
+ xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.o1) {
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->o1.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.o2) {
+ xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
+ xfer += this->o2.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.o3) {
+ xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += this->o3.write(oprot);
+ xfer += oprot->writeFieldEnd();
+ }
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_get_fields_with_environment_context_presult::~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw() {
+}
+
+
+uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
+ {
+ (*(this->success)).clear();
+ uint32_t _size988;
+ ::apache::thrift::protocol::TType _etype991;
+ xfer += iprot->readListBegin(_etype991, _size988);
+ (*(this->success)).resize(_size988);
+ uint32_t _i992;
+ for (_i992 = 0; _i992 < _size988; ++_i992)
+ {
+ xfer += (*(this->success))[_i992].read(iprot);
+ }
+ xfer += iprot->readListEnd();
+ }
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o1.read(iprot);
+ this->__isset.o1 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o2.read(iprot);
+ this->__isset.o2 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o3.read(iprot);
+ this->__isset.o3 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+
+ThriftHiveMetastore_get_schema_args::~ThriftHiveMetastore_get_schema_args() throw() {
+}
+
+
+uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->db_name);
+ this->__isset.db_name = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->table_name);
+ this->__isset.table_name = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args");
+
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeString(this->db_name);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString(this->table_name);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_get_schema_pargs::~ThriftHiveMetastore_get_schema_pargs() throw() {
+}
+
+
+uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs");
+
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeString((*(this->db_name)));
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeString((*(this->table_name)));
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+
+ThriftHiveMetastore_get_schema_result::~ThriftHiveMetastore_get_schema_result() throw() {
+}
+
+
+uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
+ {
+ this->success.clear();
+ uint32_t _size993;
+ ::apache::thrift::protocol::TType _etype996;
+ xfer += iprot->readListBegin(_etype996, _size993);
+ this->success.resize(_size993);
+ uint32_t _i997;
+ for (_i997 = 0; _i997 < _size993; ++_i997)
{
- xfer += this->success[_i955].read(iprot);
+ xfer += this->success[_i997].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3246,20 +3541,20 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_result");
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter956;
- for (_iter956 = this->success.begin(); _iter956 != this->success.end(); ++_iter956)
+ std::vector<FieldSchema> ::const_iterator _iter998;
+ for (_iter998 = this->success.begin(); _iter998 != this->success.end(); ++_iter998)
{
- xfer += (*_iter956).write(oprot);
+ xfer += (*_iter998).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3283,11 +3578,11 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(:
}
-ThriftHiveMetastore_get_fields_with_environment_context_presult::~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw() {
+ThriftHiveMetastore_get_schema_presult::~ThriftHiveMetastore_get_schema_presult() throw() {
}
-uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3312,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size957;
- ::apache::thrift::protocol::TType _etype960;
- xfer += iprot->readListBegin(_etype960, _size957);
- (*(this->success)).resize(_size957);
- uint32_t _i961;
- for (_i961 = 0; _i961 < _size957; ++_i961)
+ uint32_t _size999;
+ ::apache::thrift::protocol::TType _etype1002;
+ xfer += iprot->readListBegin(_etype1002, _size999);
+ (*(this->success)).resize(_size999);
+ uint32_t _i1003;
+ for (_i1003 = 0; _i1003 < _size999; ++_i1003)
{
- xfer += (*(this->success))[_i961].read(iprot);
+ xfer += (*(this->success))[_i1003].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3365,11 +3660,11 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(:
}
-ThriftHiveMetastore_get_schema_args::~ThriftHiveMetastore_get_schema_args() throw() {
+ThriftHiveMetastore_get_schema_with_environment_context_args::~ThriftHiveMetastore_get_schema_with_environment_context_args() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3406,6 +3701,14 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::T
xfer += iprot->skip(ftype);
}
break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->environment_context.read(iprot);
+ this->__isset.environment_context = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -3418,10 +3721,10 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args");
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
@@ -3431,20 +3734,24 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::
xfer += oprot->writeString(this->table_name);
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("environment_context", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += this->environment_context.write(oprot);
+ xfer += oprot->writeFieldEnd();
+
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-ThriftHiveMetastore_get_schema_pargs::~ThriftHiveMetastore_get_schema_pargs() throw() {
+ThriftHiveMetastore_get_schema_with_environment_context_pargs::~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs");
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
@@ -3454,17 +3761,21 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeString((*(this->table_name)));
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("environment_context", ::apache::thrift::protocol::T_STRUCT, 3);
+ xfer += (*(this->environment_context)).write(oprot);
+ xfer += oprot->writeFieldEnd();
+
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-ThriftHiveMetastore_get_schema_result::~ThriftHiveMetastore_get_schema_result() throw() {
+ThriftHiveMetastore_get_schema_with_environment_context_result::~ThriftHiveMetastore_get_schema_with_environment_context_result() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3489,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size962;
- ::apache::thrift::protocol::TType _etype965;
- xfer += iprot->readListBegin(_etype965, _size962);
- this->success.resize(_size962);
- uint32_t _i966;
- for (_i966 = 0; _i966 < _size962; ++_i966)
+ uint32_t _size1004;
+ ::apache::thrift::protocol::TType _etype1007;
+ xfer += iprot->readListBegin(_etype1007, _size1004);
+ this->success.resize(_size1004);
+ uint32_t _i1008;
+ for (_i1008 = 0; _i1008 < _size1004; ++_i1008)
{
- xfer += this->success[_i966].read(iprot);
+ xfer += this->success[_i1008].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3541,20 +3852,20 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_result");
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter967;
- for (_iter967 = this->success.begin(); _iter967 != this->success.end(); ++_iter967)
+ std::vector<FieldSchema> ::const_iterator _iter1009;
+ for (_iter1009 = this->success.begin(); _iter1009 != this->success.end(); ++_iter1009)
{
- xfer += (*_iter967).write(oprot);
+ xfer += (*_iter1009).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -3578,11 +3889,11 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol
}
-ThriftHiveMetastore_get_schema_presult::~ThriftHiveMetastore_get_schema_presult() throw() {
+ThriftHiveMetastore_get_schema_with_environment_context_presult::~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3607,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size968;
- ::apache::thrift::protocol::TType _etype971;
- xfer += iprot->readListBegin(_etype971, _size968);
- (*(this->success)).resize(_size968);
- uint32_t _i972;
- for (_i972 = 0; _i972 < _size968; ++_i972)
+ uint32_t _size1010;
+ ::apache::thrift::protocol::TType _etype1013;
+ xfer += iprot->readListBegin(_etype1013, _size1010);
+ (*(this->success)).resize(_size1010);
+ uint32_t _i1014;
+ for (_i1014 = 0; _i1014 < _size1010; ++_i1014)
{
- xfer += (*(this->success))[_i972].read(iprot);
+ xfer += (*(this->success))[_i1014].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -3660,11 +3971,11 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol
}
-ThriftHiveMetastore_get_schema_with_environment_context_args::~ThriftHiveMetastore_get_schema_with_environment_context_args() throw() {
+ThriftHiveMetastore_create_table_args::~ThriftHiveMetastore_create_table_args() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3686,25 +3997,9 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::ap
switch (fid)
{
case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->db_name);
- this->__isset.db_name = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->table_name);
- this->__isset.table_name = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->environment_context.read(iprot);
- this->__isset.environment_context = true;
+ xfer += this->tbl.read(iprot);
+ this->__isset.tbl = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -3721,21 +4016,13 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::ap
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args");
-
- xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->db_name);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->table_name);
- xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args");
- xfer += oprot->writeFieldBegin("environment_context", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->environment_context.write(oprot);
+ xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += this->tbl.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3744,25 +4031,17 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::a
}
-ThriftHiveMetastore_get_schema_with_environment_context_pargs::~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw() {
+ThriftHiveMetastore_create_table_pargs::~ThriftHiveMetastore_create_table_pargs() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs");
-
- xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString((*(this->db_name)));
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString((*(this->table_name)));
- xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs");
- xfer += oprot->writeFieldBegin("environment_context", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += (*(this->environment_context)).write(oprot);
+ xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
+ xfer += (*(this->tbl)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3771,11 +4050,11 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::
}
-ThriftHiveMetastore_get_schema_with_environment_context_result::~ThriftHiveMetastore_get_schema_with_environment_context_result() throw() {
+ThriftHiveMetastore_create_table_result::~ThriftHiveMetastore_create_table_result() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3796,26 +4075,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::
}
switch (fid)
{
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->success.clear();
- uint32_t _size973;
- ::apache::thrift::protocol::TType _etype976;
- xfer += iprot->readListBegin(_etype976, _size973);
- this->success.resize(_size973);
- uint32_t _i977;
- for (_i977 = 0; _i977 < _size973; ++_i977)
- {
- xfer += this->success[_i977].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
case 1:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
@@ -3840,6 +4099,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::
xfer += iprot->skip(ftype);
}
break;
+ case 4:
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+ xfer += this->o4.read(iprot);
+ this->__isset.o4 = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -3852,25 +4119,13 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_result");
+ xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_result");
- if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<FieldSchema> ::const_iterator _iter978;
- for (_iter978 = this->success.begin(); _iter978 != this->success.end(); ++_iter978)
- {
- xfer += (*_iter978).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.o1) {
+ if (this->__isset.o1) {
xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
@@ -3882,6 +4137,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(:
xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
+ } else if (this->__isset.o4) {
+ xfer += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4);
+ xfer += this->o4.write(oprot);
+ xfer += oprot->writeFieldEnd();
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
@@ -3889,11 +4148,11 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(:
}
-ThriftHiveMetastore_get_schema_with_environment_context_presult::~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw() {
+ThriftHiveMetastore_create_table_presult::~ThriftHiveMetastore_create_table_presult() throw() {
}
-uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -3914,26 +4173,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(:
}
switch (fid)
{
- case 0:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- (*(this->success)).clear();
- uint32_t _size979;
- ::apache::thrift::protocol::TType _etype982;
- xfer += iprot->readListBegin(_etype982, _size979);
- (*(this->success)).resize(_size979);
- uint32_t _i983;
- for (_i983 = 0; _i983 < _size979; ++_i983)
- {
- xfer += (*(this->success))[_i983].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.success = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
case 1:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
@@ -3958,48 +4197,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(:
xfer += iprot->skip(ftype);
}
break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-ThriftHiveMetastore_create_table_args::~ThriftHiveMetastore_create_table_args() throw() {
-}
-
-
-uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
+ case 4:
if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->tbl.read(iprot);
- this->__isset.tbl = true;
+ xfer += this->o4.read(iprot);
+ this->__isset.o4 = true;
} else {
xfer += iprot->skip(ftype);
}
@@ -4016,213 +4217,12 @@ uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args");
- xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->tbl.write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-ThriftHiveMetastore_create_table_pargs::~ThriftHiveMetastore_create_table_pargs() throw() {
-}
-
-
-uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs");
-
- xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += (*(this->tbl)).write(oprot);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-ThriftHiveMetastore_create_table_result::~ThriftHiveMetastore_create_table_result() throw() {
+ThriftHiveMetastore_create_table_with_environment_context_args::~ThriftHiveMetastore_create_table_with_environment_context_args() throw() {
}
-uint32_t ThriftHiveMetastore_create_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o1.read(iprot);
- this->__isset.o1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o2.read(iprot);
- this->__isset.o2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o3.read(iprot);
- this->__isset.o3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o4.read(iprot);
- this->__isset.o4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-uint32_t ThriftHiveMetastore_create_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
-
- uint32_t xfer = 0;
-
- xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_result");
-
- if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
- xfer += this->o1.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.o2) {
- xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
- xfer += this->o2.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.o3) {
- xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
- xfer += this->o3.write(oprot);
- xfer += oprot->writeFieldEnd();
- } else if (this->__isset.o4) {
- xfer += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4);
- xfer += this->o4.write(oprot);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-
-ThriftHiveMetastore_create_table_presult::~ThriftHiveMetastore_create_table_presult() throw() {
-}
-
-
-uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o1.read(iprot);
- this->__isset.o1 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o2.read(iprot);
- this->__isset.o2 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o3.read(iprot);
- this->__isset.o3 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRUCT) {
- xfer += this->o4.read(iprot);
- this->__isset.o4 = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- return xfer;
-}
-
-
-ThriftHiveMetastore_create_table_with_environment_context_args::~ThriftHiveMetastore_create_table_with_environment_context_args() throw() {
-}
-
-
-uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
@@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->primaryKeys.clear();
- uint32_t _size984;
- ::apache::thrift::protocol::TType _etype987;
- xfer += iprot->readListBegin(_etype987, _size984);
- this->primaryKeys.resize(_size984);
- uint32_t _i988;
- for (_i988 = 0; _i988 < _size984; ++_i988)
+ uint32_t _size1015;
+ ::apache::thrift::protocol::TType _etype1018;
+ xfer += iprot->readListBegin(_etype1018, _size1015);
+ this->primaryKeys.resize(_size1015);
+ uint32_t _i1019;
+ for (_i1019 = 0; _i1019 < _size1015; ++_i1019)
{
- xfer += this->primaryKeys[_i988].read(iprot);
+ xfer += this->primaryKeys[_i1019].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->foreignKeys.clear();
- uint32_t _size989;
- ::apache::thrift::protocol::TType _etype992;
- xfer += iprot->readListBegin(_etype992, _size989);
- this->foreignKeys.resize(_size989);
- uint32_t _i993;
- for (_i993 = 0; _i993 < _size989; ++_i993)
+ uint32_t _size1020;
+ ::apache::thrift::protocol::TType _etype1023;
+ xfer += iprot->readListBegin(_etype1023, _size1020);
+ this->foreignKeys.resize(_size1020);
+ uint32_t _i1024;
+ for (_i1024 = 0; _i1024 < _size1020; ++_i1024)
{
- xfer += this->foreignKeys[_i993].read(iprot);
+ xfer += this->foreignKeys[_i1024].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->uniqueConstraints.clear();
- uint32_t _size994;
- ::apache::thrift::protocol::TType _etype997;
- xfer += iprot->readListBegin(_etype997, _size994);
- this->uniqueConstraints.resize(_size994);
- uint32_t _i998;
- for (_i998 = 0; _i998 < _size994; ++_i998)
+ uint32_t _size1025;
+ ::apache::thrift::protocol::TType _etype1028;
+ xfer += iprot->readListBegin(_etype1028, _size1025);
+ this->uniqueConstraints.resize(_size1025);
+ uint32_t _i1029;
+ for (_i1029 = 0; _i1029 < _size1025; ++_i1029)
{
- xfer += this->uniqueConstraints[_i998].read(iprot);
+ xfer += this->uniqueConstraints[_i1029].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->notNullConstraints.clear();
- uint32_t _size999;
- ::apache::thrift::protocol::TType _etype1002;
- xfer += iprot->readListBegin(_etype1002, _size999);
- this->notNullConstraints.resize(_size999);
- uint32_t _i1003;
- for (_i1003 = 0; _i1003 < _size999; ++_i1003)
+ uint32_t _size1030;
+ ::apache::thrift::protocol::TType _etype1033;
+ xfer += iprot->readListBegin(_etype1033, _size1030);
+ this->notNullConstraints.resize(_size1030);
+ uint32_t _i1034;
+ for (_i1034 = 0; _i1034 < _size1030; ++_i1034)
{
- xfer += this->notNullConstraints[_i1003].read(iprot);
+ xfer += this->notNullConstraints[_i1034].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -4618,10 +4618,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->primaryKeys.size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter1004;
- for (_iter1004 = this->primaryKeys.begin(); _iter1004 != this->primaryKeys.end(); ++_iter1004)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1035;
+ for (_iter1035 = this->primaryKeys.begin(); _iter1035 != this->primaryKeys.end(); ++_iter1035)
{
- xfer += (*_iter1004).write(oprot);
+ xfer += (*_iter1035).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4630,10 +4630,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->foreignKeys.size()));
- std::vector<SQLForeignKey> ::const_iterator _iter1005;
- for (_iter1005 = this->foreignKeys.begin(); _iter1005 != this->foreignKeys.end(); ++_iter1005)
+ std::vector<SQLForeignKey> ::const_iterator _iter1036;
+ for (_iter1036 = this->foreignKeys.begin(); _iter1036 != this->foreignKeys.end(); ++_iter1036)
{
- xfer += (*_iter1005).write(oprot);
+ xfer += (*_iter1036).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4642,10 +4642,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->uniqueConstraints.size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter1006;
- for (_iter1006 = this->uniqueConstraints.begin(); _iter1006 != this->uniqueConstraints.end(); ++_iter1006)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1037;
+ for (_iter1037 = this->uniqueConstraints.begin(); _iter1037 != this->uniqueConstraints.end(); ++_iter1037)
{
- xfer += (*_iter1006).write(oprot);
+ xfer += (*_iter1037).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4654,10 +4654,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache:
xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->notNullConstraints.size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter1007;
- for (_iter1007 = this->notNullConstraints.begin(); _iter1007 != this->notNullConstraints.end(); ++_iter1007)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1038;
+ for (_iter1038 = this->notNullConstraints.begin(); _iter1038 != this->notNullConstraints.end(); ++_iter1038)
{
- xfer += (*_iter1007).write(oprot);
+ xfer += (*_iter1038).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4685,10 +4685,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->primaryKeys)).size()));
- std::vector<SQLPrimaryKey> ::const_iterator _iter1008;
- for (_iter1008 = (*(this->primaryKeys)).begin(); _iter1008 != (*(this->primaryKeys)).end(); ++_iter1008)
+ std::vector<SQLPrimaryKey> ::const_iterator _iter1039;
+ for (_iter1039 = (*(this->primaryKeys)).begin(); _iter1039 != (*(this->primaryKeys)).end(); ++_iter1039)
{
- xfer += (*_iter1008).write(oprot);
+ xfer += (*_iter1039).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4697,10 +4697,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->foreignKeys)).size()));
- std::vector<SQLForeignKey> ::const_iterator _iter1009;
- for (_iter1009 = (*(this->foreignKeys)).begin(); _iter1009 != (*(this->foreignKeys)).end(); ++_iter1009)
+ std::vector<SQLForeignKey> ::const_iterator _iter1040;
+ for (_iter1040 = (*(this->foreignKeys)).begin(); _iter1040 != (*(this->foreignKeys)).end(); ++_iter1040)
{
- xfer += (*_iter1009).write(oprot);
+ xfer += (*_iter1040).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4709,10 +4709,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->uniqueConstraints)).size()));
- std::vector<SQLUniqueConstraint> ::const_iterator _iter1010;
- for (_iter1010 = (*(this->uniqueConstraints)).begin(); _iter1010 != (*(this->uniqueConstraints)).end(); ++_iter1010)
+ std::vector<SQLUniqueConstraint> ::const_iterator _iter1041;
+ for (_iter1041 = (*(this->uniqueConstraints)).begin(); _iter1041 != (*(this->uniqueConstraints)).end(); ++_iter1041)
{
- xfer += (*_iter1010).write(oprot);
+ xfer += (*_iter1041).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -4721,10 +4721,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache
xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->notNullConstraints)).size()));
- std::vector<SQLNotNullConstraint> ::const_iterator _iter1011;
- for (_iter1011 = (*(this->notNullConstraints)).begin(); _iter1011 != (*(this->notNullConstraints)).end(); ++_iter1011)
+ std::vector<SQLNotNullConstraint> ::const_iterator _iter1042;
+ for (_iter1042 = (*(this->notNullConstraints)).begin(); _iter1042 != (*(this->notNullConstraints)).end(); ++_iter1042)
{
- xfer += (*_iter1011).write(oprot);
+ xfer += (*_iter1042).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -6478,14 +6478,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partNames.clear();
- uint32_t _size1012;
- ::apache::thrift::protocol::TType _etype1015;
- xfer += iprot->readListBegin(_etype1015, _size1012);
- this->partNames.resize(_size1012);
- uint32_t _i1016;
- for (_i1016 = 0; _i1016 < _size1012; ++_i1016)
+ uint32_t _size1043;
+ ::apache::thrift::protocol::TType _etype1046;
+ xfer += iprot->readListBegin(_etype1046, _size1043);
+ this->partNames.resize(_size1043);
+ uint32_t _i1047;
+ for (_i1047 = 0; _i1047 < _size1043; ++_i1047)
{
- xfer += iprot->readString(this->partNames[_i1016]);
+ xfer += iprot->readString(this->partNames[_i1047]);
}
xfer += iprot->readListEnd();
}
@@ -6522,10 +6522,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->partNames.size()));
- std::vector<std::string> ::const_iterator _iter1017;
- for (_iter1017 = this->partNames.begin(); _iter1017 != this->partNames.end(); ++_iter1017)
+ std::vector<std::string> ::const_iterator _iter1048;
+ for (_iter1048 = this->partNames.begin(); _iter1048 != this->partNames.end(); ++_iter1048)
{
- xfer += oprot->writeString((*_iter1017));
+ xfer += oprot->writeString((*_iter1048));
}
xfer += oprot->writeListEnd();
}
@@ -6557,10 +6557,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->partNames)).size()));
- std::vector<std::string> ::const_iterator _iter1018;
- for (_iter1018 = (*(this->partNames)).begin(); _iter1018 != (*(this->partNames)).end(); ++_iter1018)
+ std::vector<std::string> ::const_iterator _iter1049;
+ for (_iter1049 = (*(this->partNames)).begin(); _iter1049 != (*(this->partNames)).end(); ++_iter1049)
{
- xfer += oprot->writeString((*_iter1018));
+ xfer += oprot->writeString((*_iter1049));
}
xfer += oprot->writeListEnd();
}
@@ -6804,14 +6804,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1019;
- ::apache::thrift::protocol::TType _etype1022;
- xfer += iprot->readListBegin(_etype1022, _size1019);
- this->success.resize(_size1019);
- uint32_t _i1023;
- for (_i1023 = 0; _i1023 < _size1019; ++_i1023)
+ uint32_t _size1050;
+ ::apache::thrift::protocol::TType _etype1053;
+ xfer += iprot->readListBegin(_etype1053, _size1050);
+ this->success.resize(_size1050);
+ uint32_t _i1054;
+ for (_i1054 = 0; _i1054 < _size1050; ++_i1054)
{
- xfer += iprot->readString(this->success[_i1023]);
+ xfer += iprot->readString(this->success[_i1054]);
}
xfer += iprot->readListEnd();
}
@@ -6850,10 +6850,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1024;
- for (_iter1024 = this->success.begin(); _iter1024 != this->success.end(); ++_iter1024)
+ std::vector<std::string> ::const_iterator _iter1055;
+ for (_iter1055 = this->success.begin(); _iter1055 != this->success.end(); ++_iter1055)
{
- xfer += oprot->writeString((*_iter1024));
+ xfer += oprot->writeString((*_iter1055));
}
xfer += oprot->writeListEnd();
}
@@ -6898,14 +6898,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1025;
- ::apache::thrift::protocol::TType _etype1028;
- xfer += iprot->readListBegin(_etype1028, _size1025);
- (*(this->success)).resize(_size1025);
- uint32_t _i1029;
- for (_i1029 = 0; _i1029 < _size1025; ++_i1029)
+ uint32_t _size1056;
+ ::apache::thrift::protocol::TType _etype1059;
+ xfer += iprot->readListBegin(_etype1059, _size1056);
+ (*(this->success)).resize(_size1056);
+ uint32_t _i1060;
+ for (_i1060 = 0; _i1060 < _size1056; ++_i1060)
{
- xfer += iprot->readString((*(this->success))[_i1029]);
+ xfer += iprot->readString((*(this->success))[_i1060]);
}
xfer += iprot->readListEnd();
}
@@ -7075,14 +7075,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1030;
- ::apache::thrift::protocol::TType _etype1033;
- xfer += iprot->readListBegin(_etype1033, _size1030);
- this->success.resize(_size1030);
- uint32_t _i1034;
- for (_i1034 = 0; _i1034 < _size1030; ++_i1034)
+ uint32_t _size1061;
+ ::apache::thrift::protocol::TType _etype1064;
+ xfer += iprot->readListBegin(_etype1064, _size1061);
+ this->success.resize(_size1061);
+ uint32_t _i1065;
+ for (_i1065 = 0; _i1065 < _size1061; ++_i1065)
{
- xfer += iprot->readString(this->success[_i1034]);
+ xfer += iprot->readString(this->success[_i1065]);
}
xfer += iprot->readListEnd();
}
@@ -7121,10 +7121,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift::
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1035;
- for (_iter1035 = this->success.begin(); _iter1035 != this->success.end(); ++_iter1035)
+ std::vector<std::string> ::const_iterator _iter1066;
+ for (_iter1066 = this->success.begin(); _iter1066 != this->success.end(); ++_iter1066)
{
- xfer += oprot->writeString((*_iter1035));
+ xfer += oprot->writeString((*_iter1066));
}
xfer += oprot->writeListEnd();
}
@@ -7169,14 +7169,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift::
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1036;
- ::apache::thrift::protocol::TType _etype1039;
- xfer += iprot->readListBegin(_etype1039, _size1036);
- (*(this->success)).resize(_size1036);
- uint32_t _i1040;
- for (_i1040 = 0; _i1040 < _size1036; ++_i1040)
+ uint32_t _size1067;
+ ::apache::thrift::protocol::TType _etype1070;
+ xfer += iprot->readListBegin(_etype1070, _size1067);
+ (*(this->success)).resize(_size1067);
+ uint32_t _i1071;
+ for (_i1071 = 0; _i1071 < _size1067; ++_i1071)
{
- xfer += iprot->readString((*(this->success))[_i1040]);
+ xfer += iprot->readString((*(this->success))[_i1071]);
}
xfer += iprot->readListEnd();
}
@@ -7251,14 +7251,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->tbl_types.clear();
- uint32_t _size1041;
- ::apache::thrift::protocol::TType _etype1044;
- xfer += iprot->readListBegin(_etype1044, _size1041);
- this->tbl_types.resize(_size1041);
- uint32_t _i1045;
- for (_i1045 = 0; _i1045 < _size1041; ++_i1045)
+ uint32_t _size1072;
+ ::apache::thrift::protocol::TType _etype1075;
+ xfer += iprot->readListBegin(_etype1075, _size1072);
+ this->tbl_types.resize(_size1072);
+ uint32_t _i1076;
+ for (_i1076 = 0; _i1076 < _size1072; ++_i1076)
{
- xfer += iprot->readString(this->tbl_types[_i1045]);
+ xfer += iprot->readString(this->tbl_types[_i1076]);
}
xfer += iprot->readListEnd();
}
@@ -7295,10 +7295,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tbl_types.size()));
- std::vector<std::string> ::const_iterator _iter1046;
- for (_iter1046 = this->tbl_types.begin(); _iter1046 != this->tbl_types.end(); ++_iter1046)
+ std::vector<std::string> ::const_iterator _iter1077;
+ for (_iter1077 = this->tbl_types.begin(); _iter1077 != this->tbl_types.end(); ++_iter1077)
{
- xfer += oprot->writeString((*_iter1046));
+ xfer += oprot->writeString((*_iter1077));
}
xfer += oprot->writeListEnd();
}
@@ -7330,10 +7330,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->tbl_types)).size()));
- std::vector<std::string> ::const_iterator _iter1047;
- for (_iter1047 = (*(this->tbl_types)).begin(); _iter1047 != (*(this->tbl_types)).end(); ++_iter1047)
+ std::vector<std::string> ::const_iterator _iter1078;
+ for (_iter1078 = (*(this->tbl_types)).begin(); _iter1078 != (*(this->tbl_types)).end(); ++_iter1078)
{
- xfer += oprot->writeString((*_iter1047));
+ xfer += oprot->writeString((*_iter1078));
}
xfer += oprot->writeListEnd();
}
@@ -7374,14 +7374,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1048;
- ::apache::thrift::protocol::TType _etype1051;
- xfer += iprot->readListBegin(_etype1051, _size1048);
- this->success.resize(_size1048);
- uint32_t _i1052;
- for (_i1052 = 0; _i1052 < _size1048; ++_i1052)
+ uint32_t _size1079;
+ ::apache::thrift::protocol::TType _etype1082;
+ xfer += iprot->readListBegin(_etype1082, _size1079);
+ this->success.resize(_size1079);
+ uint32_t _i1083;
+ for (_i1083 = 0; _i1083 < _size1079; ++_i1083)
{
- xfer += this->success[_i1052].read(iprot);
+ xfer += this->success[_i1083].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7420,10 +7420,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<TableMeta> ::const_iterator _iter1053;
- for (_iter1053 = this->success.begin(); _iter1053 != this->success.end(); ++_iter1053)
+ std::vector<TableMeta> ::const_iterator _iter1084;
+ for (_iter1084 = this->success.begin(); _iter1084 != this->success.end(); ++_iter1084)
{
- xfer += (*_iter1053).write(oprot);
+ xfer += (*_iter1084).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -7468,14 +7468,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1054;
- ::apache::thrift::protocol::TType _etype1057;
- xfer += iprot->readListBegin(_etype1057, _size1054);
- (*(this->success)).resize(_size1054);
- uint32_t _i1058;
- for (_i1058 = 0; _i1058 < _size1054; ++_i1058)
+ uint32_t _size1085;
+ ::apache::thrift::protocol::TType _etype1088;
+ xfer += iprot->readListBegin(_etype1088, _size1085);
+ (*(this->success)).resize(_size1085);
+ uint32_t _i1089;
+ for (_i1089 = 0; _i1089 < _size1085; ++_i1089)
{
- xfer += (*(this->success))[_i1058].read(iprot);
+ xfer += (*(this->success))[_i1089].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -7613,14 +7613,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1059;
- ::apache::thrift::protocol::TType _etype1062;
- xfer += iprot->readListBegin(_etype1062, _size1059);
- this->success.resize(_size1059);
- uint32_t _i1063;
- for (_i1063 = 0; _i1063 < _size1059; ++_i1063)
+ uint32_t _size1090;
+ ::apache::thrift::protocol::TType _etype1093;
+ xfer += iprot->readListBegin(_etype1093, _size1090);
+ this->success.resize(_size1090);
+ uint32_t _i1094;
+ for (_i1094 = 0; _i1094 < _size1090; ++_i1094)
{
- xfer += iprot->readString(this->success[_i1063]);
+ xfer += iprot->readString(this->success[_i1094]);
}
xfer += iprot->readListEnd();
}
@@ -7659,10 +7659,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1064;
- for (_iter1064 = this->success.begin(); _iter1064 != this->success.end(); ++_iter1064)
+ std::vector<std::string> ::const_iterator _iter1095;
+ for (_iter1095 = this->success.begin(); _iter1095 != this->success.end(); ++_iter1095)
{
- xfer += oprot->writeString((*_iter1064));
+ xfer += oprot->writeString((*_iter1095));
}
xfer += oprot->writeListEnd();
}
@@ -7707,14 +7707,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1065;
- ::apache::thrift::protocol::TType _etype1068;
- xfer += iprot->readListBegin(_etype1068, _size1065);
- (*(this->success)).resize(_size1065);
- uint32_t _i1069;
- for (_i1069 = 0; _i1069 < _size1065; ++_i1069)
+ uint32_t _size1096;
+ ::apache::thrift::protocol::TType _etype1099;
+ xfer += iprot->readListBegin(_etype1099, _size1096);
+ (*(this->success)).resize(_size1096);
+ uint32_t _i1100;
+ for (_i1100 = 0; _i1100 < _size1096; ++_i1100)
{
- xfer += iprot->readString((*(this->success))[_i1069]);
+ xfer += iprot->readString((*(this->success))[_i1100]);
}
xfer += iprot->readListEnd();
}
@@ -8024,14 +8024,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->tbl_names.clear();
- uint32_t _size1070;
- ::apache::thrift::protocol::TType _etype1073;
- xfer += iprot->readListBegin(_etype1073, _size1070);
- this->tbl_names.resize(_size1070);
- uint32_t _i1074;
- for (_i1074 = 0; _i1074 < _size1070; ++_i1074)
+ uint32_t _size1101;
+ ::apache::thrift::protocol::TType _etype1104;
+ xfer += iprot->readListBegin(_etype1104, _size1101);
+ this->tbl_names.resize(_size1101);
+ uint32_t _i1105;
+ for (_i1105 = 0; _i1105 < _size1101; ++_i1105)
{
- xfer += iprot->readString(this->tbl_names[_i1074]);
+ xfer += iprot->readString(this->tbl_names[_i1105]);
}
xfer += iprot->readListEnd();
}
@@ -8064,10 +8064,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr
xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->tbl_names.size()));
- std::vector<std::string> ::const_iterator _iter1075;
- for (_iter1075 = this->tbl_names.begin(); _iter1075 != this->tbl_names.end(); ++_iter1075)
+ std::vector<std::string> ::const_iterator _iter1106;
+ for (_iter1106 = this->tbl_names.begin(); _iter1106 != this->tbl_names.end(); ++_iter1106)
{
- xfer += oprot->writeString((*_iter1075));
+ xfer += oprot->writeString((*_iter1106));
}
xfer += oprot->writeListEnd();
}
@@ -8095,10 +8095,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th
xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>((*(this->tbl_names)).size()));
- std::vector<std::string> ::const_iterator _iter1076;
- for (_iter1076 = (*(this->tbl_names)).begin(); _iter1076 != (*(this->tbl_names)).end(); ++_iter1076)
+ std::vector<std::string> ::const_iterator _iter1107;
+ for (_iter1107 = (*(this->tbl_names)).begin(); _iter1107 != (*(this->tbl_names)).end(); ++_iter1107)
{
- xfer += oprot->writeString((*_iter1076));
+ xfer += oprot->writeString((*_iter1107));
}
xfer += oprot->writeListEnd();
}
@@ -8139,14 +8139,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1077;
- ::apache::thrift::protocol::TType _etype1080;
- xfer += iprot->readListBegin(_etype1080, _size1077);
- this->success.resize(_size1077);
- uint32_t _i1081;
- for (_i1081 = 0; _i1081 < _size1077; ++_i1081)
+ uint32_t _size1108;
+ ::apache::thrift::protocol::TType _etype1111;
+ xfer += iprot->readListBegin(_etype1111, _size1108);
+ this->success.resize(_size1108);
+ uint32_t _i1112;
+ for (_i1112 = 0; _i1112 < _size1108; ++_i1112)
{
- xfer += this->success[_i1081].read(iprot);
+ xfer += this->success[_i1112].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8177,10 +8177,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->success.size()));
- std::vector<Table> ::const_iterator _iter1082;
- for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082)
+ std::vector<Table> ::const_iterator _iter1113;
+ for (_iter1113 = this->success.begin(); _iter1113 != this->success.end(); ++_iter1113)
{
- xfer += (*_iter1082).write(oprot);
+ xfer += (*_iter1113).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -8221,14 +8221,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1083;
- ::apache::thrift::protocol::TType _etype1086;
- xfer += iprot->readListBegin(_etype1086, _size1083);
- (*(this->success)).resize(_size1083);
- uint32_t _i1087;
- for (_i1087 = 0; _i1087 < _size1083; ++_i1087)
+ uint32_t _size1114;
+ ::apache::thrift::protocol::TType _etype1117;
+ xfer += iprot->readListBegin(_etype1117, _size1114);
+ (*(this->success)).resize(_size1114);
+ uint32_t _i1118;
+ for (_i1118 = 0; _i1118 < _size1114; ++_i1118)
{
- xfer += (*(this->success))[_i1087].read(iprot);
+ xfer += (*(this->success))[_i1118].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -8864,14 +8864,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
- uint32_t _size1088;
- ::apache::thrift::protocol::TType _etype1091;
- xfer += iprot->readListBegin(_etype1091, _size1088);
- this->success.resize(_size1088);
- uint32_t _i1092;
- for (_i1092 = 0; _i1092 < _size1088; ++_i1092)
+ uint32_t _size1119;
+ ::apache::thrift::protocol::TType _etype1122;
+ xfer += iprot->readListBegin(_etype1122, _size1119);
+ this->success.resize(_size1119);
+ uint32_t _i1123;
+ for (_i1123 = 0; _i1123 < _size1119; ++_i1123)
{
- xfer += iprot->readString(this->success[_i1092]);
+ xfer += iprot->readString(this->success[_i1123]);
}
xfer += iprot->readListEnd();
}
@@ -8926,10 +8926,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->success.size()));
- std::vector<std::string> ::const_iterator _iter1093;
- for (_iter1093 = this->success.begin(); _iter1093 != this->success.end(); ++_iter1093)
+ std::vector<std::string> ::const_iterator _iter1124;
+ for (_iter1124 = this->success.begin(); _iter1124 != this->success.end(); ++_iter1124)
{
- xfer += oprot->writeString((*_iter1093));
+ xfer += oprot->writeString((*_iter1124));
}
xfer += oprot->writeListEnd();
}
@@ -8982,14 +8982,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
- uint32_t _size1094;
- ::apache::thrift::protocol::TType _etype1097;
- xfer += iprot->readListBegin(_etype1097, _size1094);
- (*(this->success)).resize(_size1094);
- uint32_t _i1098;
- for (_i1098 = 0; _i1098 < _size1094; ++_i1098)
+ uint32_t _size1125;
+ ::apache::thrift::protocol::TType _etype1128;
+ xfer += iprot->readListBegin(_etype1128, _size1125);
+ (*(this->success)).resize(_size1125);
+ uint32_t _i1129;
+ for (_i1129 = 0; _i1129 < _size1125; ++_i1129)
{
- xfer += iprot->readString((*(this->success))[_i1098]);
+ xfer += iprot->readString((*(this->success))[_i1129]);
}
xfer += iprot->readListEnd();
}
@@ -10323,14 +10323,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->new_parts.clear();
- uint32_t _size1099;
- ::apache::thrift::protocol::TType _etype1102;
- xfer += iprot->readListBegin(_etype1102, _size1099);
- this->new_parts.resize(_size1099);
- uint32_t _i1103;
- for (_i1103 = 0; _i1103 < _size1099; ++_i1103)
+ uint32_t _size1130;
+ ::apache::thrift::protocol::TType _etype1133;
+ xfer += iprot->readListBegin(_etype1133, _size1130);
+ this->new_parts.resize(_size1130);
+ uint32_t _i1134;
+ for (_i1134 = 0; _i1134 < _size1130; ++_i1134)
{
- xfer += this->new_parts[_i1103].read(iprot);
+ xfer += this->new_parts[_i1134].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -10359,10 +10359,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->new_parts.size()));
- std::vector<Partition> ::const_iterator _iter1104;
- for (_iter1104 = this->new_parts.begin(); _iter1104 != this->new_parts.end(); ++_iter1104)
+ std::vector<Partition> ::const_iterator _iter1135;
+ for (_iter1135 = this->new_parts.begin(); _iter1135 != this->new_parts.end(); ++_iter1135)
{
- xfer += (*_iter1104).write(oprot);
+ xfer += (*_iter1135).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -10386,10 +10386,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>((*(this->new_parts)).size()));
- std::vector<Partition> ::const_iterator _iter1105;
- for (_iter1105 = (*(this->new_parts)).begin(); _iter1105 != (*(this->new_parts)).end(); ++_iter1105)
+ std::vector<Partition> ::const_iterator _iter1136;
+ for
<TRUNCATED>