diff --git .classpath._hbase .classpath._hbase
deleted file mode 100644
index 15fd1c5..0000000
--- .classpath._hbase
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git build-common.xml build-common.xml
index 53fd1b1..805b73c 100644
--- build-common.xml
+++ build-common.xml
@@ -25,6 +25,8 @@
+
+
@@ -34,6 +36,8 @@
+
+
@@ -101,7 +105,7 @@
-
+
@@ -159,18 +163,18 @@
log="${ivyresolvelog}"/>
-
-
-
-
-
+
+
+
+
-
+
@@ -461,4 +465,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git build.xml build.xml
index dc20725..753fd22 100644
--- build.xml
+++ build.xml
@@ -25,6 +25,8 @@
+
+
@@ -91,6 +93,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -121,7 +134,7 @@
-
@@ -165,6 +178,10 @@
+
+
+
+
@@ -212,7 +229,7 @@
-
+
@@ -320,7 +337,7 @@
-
+
@@ -452,6 +469,7 @@
+
@@ -461,6 +479,8 @@
+
+
diff --git eclipse-templates/.classpath eclipse-templates/.classpath
index d06d6bd..c0434ef 100644
--- eclipse-templates/.classpath
+++ eclipse-templates/.classpath
@@ -16,10 +16,10 @@
-
-
-
-
+
+
+
+
@@ -33,8 +33,10 @@
-
-
+
+
+
+
@@ -48,7 +50,7 @@
-
+
diff --git eclipse-templates/.classpath._hbase eclipse-templates/.classpath._hbase
index b81c24a..3229053 100644
--- eclipse-templates/.classpath._hbase
+++ eclipse-templates/.classpath._hbase
@@ -6,29 +6,29 @@
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -42,7 +42,7 @@
-
+
@@ -53,7 +53,7 @@
-
+
-
+
diff --git ivy/libraries.properties ivy/libraries.properties
index fdd54c8..ef24aff 100644
--- ivy/libraries.properties
+++ ivy/libraries.properties
@@ -35,11 +35,16 @@ commons-lang.version=2.4
commons-logging.version=1.0.4
commons-logging-api.version=1.0.4
commons-pool.version=1.5.4
+hbase.version=0.20.3
+hbase-test.version=0.20.3
jdo-api.version=3.0.0
jdom.version=1.1
jline.version=0.9.94
junit.version=3.8.1
ivy.version=2.1.0
log4j.version=1.2.15
+slf4j-api.version=1.6.1
+slf4j-log4j12.version=1.6.1
+thrift.version=0.5.0
+thrift-fb303.version=0.5.0
zookeeper.version=3.2.2
-
diff --git lib/README lib/README
index 72d90b7..1c2f0b1 100644
--- lib/README
+++ lib/README
@@ -1,8 +1,8 @@
Folowing is the list of external jars contained in this directory and the sources from where they were obtained:
---------------------------------------------------------------------------------------------------------------
-* libfb303.jar - http://developers.facebook.com/thrift/
-* libthrift.jar - http://developers.facebook.com/thrift/
+* thrift-0.5.0.jar - http://thrift.apache.org/
+* thrift-fb303-0.5.0.jar - http://thrift.apache.org/
* jpox-core-1.2.2.jar - http://www.jpox.org/docs/download.html
* derby.jar - http://db.apache.org/derby/derby_downloads.html
* asm-3.1.jar - http://forge.objectweb.org/projects/asm/
diff --git lib/libfb303.LICENSE lib/libfb303.LICENSE
deleted file mode 100644
index 6b5c3b1..0000000
--- lib/libfb303.LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Thrift Software License
-
-Copyright © 2006- Facebook, Inc.
-
-Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the
-software and accompanying documentation covered by this license (the "Software") to use, reproduce,
-display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software,
-and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
-
-The copyright notices in the Software and this entire statement, including the above license grant,
-this restriction and the following disclaimer, must be included in all copies of the Software, in whole
-or in part, and all derivative works of the Software, unless such copies or derivative works are solely
-in the form of machine-executable object code generated by a source language processor.
-
-The software is provided "as is", without warranty of any kind, express or implied, including but not
-limited to the warranties of merchantability, fitness for a particular purpose, title and non-infringement.
-In no event shall the copyright holders or anyone distributing the software be liable for any damages or
-other liability, whether in contract, tort, or otherwise, arising from, out of or in connection with the
-software or the use or other dealings in the software.
diff --git lib/libfb303.jar lib/libfb303.jar
deleted file mode 100644
index 516b597..0000000
Binary files lib/libfb303.jar and /dev/null differ
diff --git lib/libthrift.LICENSE lib/libthrift.LICENSE
deleted file mode 100644
index 6b5c3b1..0000000
--- lib/libthrift.LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Thrift Software License
-
-Copyright © 2006- Facebook, Inc.
-
-Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the
-software and accompanying documentation covered by this license (the "Software") to use, reproduce,
-display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software,
-and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
-
-The copyright notices in the Software and this entire statement, including the above license grant,
-this restriction and the following disclaimer, must be included in all copies of the Software, in whole
-or in part, and all derivative works of the Software, unless such copies or derivative works are solely
-in the form of machine-executable object code generated by a source language processor.
-
-The software is provided "as is", without warranty of any kind, express or implied, including but not
-limited to the warranties of merchantability, fitness for a particular purpose, title and non-infringement.
-In no event shall the copyright holders or anyone distributing the software be liable for any damages or
-other liability, whether in contract, tort, or otherwise, arising from, out of or in connection with the
-software or the use or other dealings in the software.
diff --git lib/libthrift.jar lib/libthrift.jar
deleted file mode 100644
index 7e7f90e..0000000
Binary files lib/libthrift.jar and /dev/null differ
diff --git lib/thrift-0.5.0.jar lib/thrift-0.5.0.jar
new file mode 100644
index 0000000..f38617b
Binary files /dev/null and lib/thrift-0.5.0.jar differ
diff --git lib/thrift-fb303-0.5.0.jar lib/thrift-fb303-0.5.0.jar
new file mode 100644
index 0000000..bad90ce
Binary files /dev/null and lib/thrift-fb303-0.5.0.jar differ
diff --git lib/thrift-fb303.LICENSE lib/thrift-fb303.LICENSE
new file mode 100644
index 0000000..4eacb64
--- /dev/null
+++ lib/thrift-fb303.LICENSE
@@ -0,0 +1,16 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
diff --git lib/thrift.LICENSE lib/thrift.LICENSE
new file mode 100644
index 0000000..9d189ef
--- /dev/null
+++ lib/thrift.LICENSE
@@ -0,0 +1,324 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+--------------------------------------------------
+SOFTWARE DISTRIBUTED WITH THRIFT:
+
+The Apache Thrift software includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses.
+
+--------------------------------------------------
+Portions of the following files are licensed under the MIT License:
+
+ lib/erl/src/Makefile.am
+
+Please see doc/otp-base-license.txt for the full terms of this license.
+
+
+--------------------------------------------------
+The following files contain some portions of code contributed under
+the Thrift Software License (see doc/old-thrift-license.txt), and relicensed
+under the Apache 2.0 License:
+
+ compiler/cpp/Makefile.am
+ compiler/cpp/src/generate/t_cocoa_generator.cc
+ compiler/cpp/src/generate/t_cpp_generator.cc
+ compiler/cpp/src/generate/t_csharp_generator.cc
+ compiler/cpp/src/generate/t_erl_generator.cc
+ compiler/cpp/src/generate/t_hs_generator.cc
+ compiler/cpp/src/generate/t_java_generator.cc
+ compiler/cpp/src/generate/t_ocaml_generator.cc
+ compiler/cpp/src/generate/t_perl_generator.cc
+ compiler/cpp/src/generate/t_php_generator.cc
+ compiler/cpp/src/generate/t_py_generator.cc
+ compiler/cpp/src/generate/t_rb_generator.cc
+ compiler/cpp/src/generate/t_st_generator.cc
+ compiler/cpp/src/generate/t_xsd_generator.cc
+ compiler/cpp/src/main.cc
+ compiler/cpp/src/parse/t_field.h
+ compiler/cpp/src/parse/t_program.h
+ compiler/cpp/src/platform.h
+ compiler/cpp/src/thriftl.ll
+ compiler/cpp/src/thrifty.yy
+ lib/csharp/src/Protocol/TBinaryProtocol.cs
+ lib/csharp/src/Protocol/TField.cs
+ lib/csharp/src/Protocol/TList.cs
+ lib/csharp/src/Protocol/TMap.cs
+ lib/csharp/src/Protocol/TMessage.cs
+ lib/csharp/src/Protocol/TMessageType.cs
+ lib/csharp/src/Protocol/TProtocol.cs
+ lib/csharp/src/Protocol/TProtocolException.cs
+ lib/csharp/src/Protocol/TProtocolFactory.cs
+ lib/csharp/src/Protocol/TProtocolUtil.cs
+ lib/csharp/src/Protocol/TSet.cs
+ lib/csharp/src/Protocol/TStruct.cs
+ lib/csharp/src/Protocol/TType.cs
+ lib/csharp/src/Server/TServer.cs
+ lib/csharp/src/Server/TSimpleServer.cs
+ lib/csharp/src/Server/TThreadPoolServer.cs
+ lib/csharp/src/TApplicationException.cs
+ lib/csharp/src/Thrift.csproj
+ lib/csharp/src/Thrift.sln
+ lib/csharp/src/TProcessor.cs
+ lib/csharp/src/Transport/TServerSocket.cs
+ lib/csharp/src/Transport/TServerTransport.cs
+ lib/csharp/src/Transport/TSocket.cs
+ lib/csharp/src/Transport/TStreamTransport.cs
+ lib/csharp/src/Transport/TTransport.cs
+ lib/csharp/src/Transport/TTransportException.cs
+ lib/csharp/src/Transport/TTransportFactory.cs
+ lib/csharp/ThriftMSBuildTask/Properties/AssemblyInfo.cs
+ lib/csharp/ThriftMSBuildTask/ThriftBuild.cs
+ lib/csharp/ThriftMSBuildTask/ThriftMSBuildTask.csproj
+ lib/rb/lib/thrift.rb
+ lib/st/README
+ lib/st/thrift.st
+ test/OptionalRequiredTest.cpp
+ test/OptionalRequiredTest.thrift
+ test/ThriftTest.thrift
+
+--------------------------------------------------
+For the aclocal/ax_boost_base.m4 and contrib/fb303/aclocal/ax_boost_base.m4 components:
+
+# Copyright (c) 2007 Thomas Porschberg
+#
+# Copying and distribution of this file, with or without
+# modification, are permitted in any medium without royalty provided
+# the copyright notice and this notice are preserved.
+
+--------------------------------------------------
+For the compiler/cpp/src/md5.[ch] components:
+
+/*
+ Copyright (C) 1999, 2000, 2002 Aladdin Enterprises. All rights reserved.
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ L. Peter Deutsch
+ ghost@aladdin.com
+
+ */
+
+---------------------------------------------------
+For the lib/rb/setup.rb: Copyright (c) 2000-2005 Minero Aoki,
+lib/ocaml/OCamlMakefile and lib/ocaml/README-OCamlMakefile components:
+ Copyright (C) 1999 - 2007 Markus Mottl
+
+Licensed under the terms of the GNU Lesser General Public License 2.1
+(see doc/lgpl-2.1.txt for the full terms of this license)
diff --git metastore/build.xml metastore/build.xml
index ffb86c1..b05d6f1 100755
--- metastore/build.xml
+++ metastore/build.xml
@@ -22,10 +22,10 @@
-
- Executing thrift (which needs to be in your path) to build java metastore APIs....
-
-
+
+ Executing ${thrift.home}/bin/thrift on ${ant.project.name}/if/hive_metastore.thrift
+
+
diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift
index 9c314cc..8a10bfc 100755
--- metastore/if/hive_metastore.thrift
+++ metastore/if/hive_metastore.thrift
@@ -3,7 +3,7 @@
# Thrift Service that the MetaStore is built on
#
-include "thrift/fb303/if/fb303.thrift"
+include "share/fb303/if/fb303.thrift"
namespace java org.apache.hadoop.hive.metastore.api
namespace php metastore
diff --git metastore/ivy.xml metastore/ivy.xml
index 2e39eb8..eb65e1b 100644
--- metastore/ivy.xml
+++ metastore/ivy.xml
@@ -1,3 +1,19 @@
+
@@ -47,5 +63,7 @@
+
+
diff --git metastore/src/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen-cpp/ThriftHiveMetastore.cpp
index 566e4e9..bbcc23a 100644
--- metastore/src/gen-cpp/ThriftHiveMetastore.cpp
+++ metastore/src/gen-cpp/ThriftHiveMetastore.cpp
@@ -7,28 +7,28 @@
namespace Apache { namespace Hadoop { namespace Hive {
-uint32_t ThriftHiveMetastore_create_database_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->database.read(iprot);
this->__isset.database = true;
} else {
@@ -47,10 +47,10 @@ uint32_t ThriftHiveMetastore_create_database_args::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_create_database_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args");
- xfer += oprot->writeFieldBegin("database", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->database.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -58,10 +58,10 @@ uint32_t ThriftHiveMetastore_create_database_args::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_create_database_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs");
- xfer += oprot->writeFieldBegin("database", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->database)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -69,28 +69,28 @@ uint32_t ThriftHiveMetastore_create_database_pargs::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_create_database_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -98,7 +98,7 @@ uint32_t ThriftHiveMetastore_create_database_result::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -106,7 +106,7 @@ uint32_t ThriftHiveMetastore_create_database_result::read(apache::thrift::protoc
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -125,22 +125,22 @@ uint32_t ThriftHiveMetastore_create_database_result::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_create_database_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_database_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -149,28 +149,28 @@ uint32_t ThriftHiveMetastore_create_database_result::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_create_database_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -178,7 +178,7 @@ uint32_t ThriftHiveMetastore_create_database_presult::read(apache::thrift::proto
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -186,7 +186,7 @@ uint32_t ThriftHiveMetastore_create_database_presult::read(apache::thrift::proto
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -205,28 +205,28 @@ uint32_t ThriftHiveMetastore_create_database_presult::read(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -245,10 +245,10 @@ uint32_t ThriftHiveMetastore_get_database_args::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -256,10 +256,10 @@ uint32_t ThriftHiveMetastore_get_database_args::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -267,28 +267,28 @@ uint32_t ThriftHiveMetastore_get_database_pargs::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -296,7 +296,7 @@ uint32_t ThriftHiveMetastore_get_database_result::read(apache::thrift::protocol:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -304,7 +304,7 @@ uint32_t ThriftHiveMetastore_get_database_result::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -323,22 +323,22 @@ uint32_t ThriftHiveMetastore_get_database_result::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_database_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -347,28 +347,28 @@ uint32_t ThriftHiveMetastore_get_database_result::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_database_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -376,7 +376,7 @@ uint32_t ThriftHiveMetastore_get_database_presult::read(apache::thrift::protocol
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -384,7 +384,7 @@ uint32_t ThriftHiveMetastore_get_database_presult::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -403,28 +403,28 @@ uint32_t ThriftHiveMetastore_get_database_presult::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -432,7 +432,7 @@ uint32_t ThriftHiveMetastore_drop_database_args::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deleteData);
this->__isset.deleteData = true;
} else {
@@ -451,13 +451,13 @@ uint32_t ThriftHiveMetastore_drop_database_args::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 2);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 2);
xfer += oprot->writeBool(this->deleteData);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -465,13 +465,13 @@ uint32_t ThriftHiveMetastore_drop_database_args::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 2);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 2);
xfer += oprot->writeBool((*(this->deleteData)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -479,28 +479,28 @@ uint32_t ThriftHiveMetastore_drop_database_pargs::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -508,7 +508,7 @@ uint32_t ThriftHiveMetastore_drop_database_result::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -516,7 +516,7 @@ uint32_t ThriftHiveMetastore_drop_database_result::read(apache::thrift::protocol
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -535,22 +535,22 @@ uint32_t ThriftHiveMetastore_drop_database_result::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_database_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -559,28 +559,28 @@ uint32_t ThriftHiveMetastore_drop_database_result::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_database_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -588,7 +588,7 @@ uint32_t ThriftHiveMetastore_drop_database_presult::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -596,7 +596,7 @@ uint32_t ThriftHiveMetastore_drop_database_presult::read(apache::thrift::protoco
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -615,28 +615,28 @@ uint32_t ThriftHiveMetastore_drop_database_presult::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->pattern);
this->__isset.pattern = true;
} else {
@@ -655,10 +655,10 @@ uint32_t ThriftHiveMetastore_get_databases_args::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args");
- xfer += oprot->writeFieldBegin("pattern", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->pattern);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -666,10 +666,10 @@ uint32_t ThriftHiveMetastore_get_databases_args::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs");
- xfer += oprot->writeFieldBegin("pattern", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->pattern)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -677,32 +677,32 @@ uint32_t ThriftHiveMetastore_get_databases_pargs::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size90;
- apache::thrift::protocol::TType _etype93;
+ ::apache::thrift::protocol::TType _etype93;
iprot->readListBegin(_etype93, _size90);
this->success.resize(_size90);
uint32_t _i94;
@@ -718,7 +718,7 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(apache::thrift::protocol
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -737,16 +737,16 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter95;
for (_iter95 = this->success.begin(); _iter95 != this->success.end(); ++_iter95)
{
@@ -756,7 +756,7 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(apache::thrift::protoco
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -765,32 +765,32 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_databases_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size96;
- apache::thrift::protocol::TType _etype99;
+ ::apache::thrift::protocol::TType _etype99;
iprot->readListBegin(_etype99, _size96);
(*(this->success)).resize(_size96);
uint32_t _i100;
@@ -806,7 +806,7 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -825,22 +825,22 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
@@ -857,7 +857,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_args::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args");
xfer += oprot->writeFieldStop();
@@ -865,7 +865,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_args::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs");
xfer += oprot->writeFieldStop();
@@ -873,32 +873,32 @@ uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size101;
- apache::thrift::protocol::TType _etype104;
+ ::apache::thrift::protocol::TType _etype104;
iprot->readListBegin(_etype104, _size101);
this->success.resize(_size101);
uint32_t _i105;
@@ -914,7 +914,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(apache::thrift::prot
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -933,16 +933,16 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter106;
for (_iter106 = this->success.begin(); _iter106 != this->success.end(); ++_iter106)
{
@@ -952,7 +952,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(apache::thrift::pro
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -961,32 +961,32 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_databases_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size107;
- apache::thrift::protocol::TType _etype110;
+ ::apache::thrift::protocol::TType _etype110;
iprot->readListBegin(_etype110, _size107);
(*(this->success)).resize(_size107);
uint32_t _i111;
@@ -1002,7 +1002,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(apache::thrift::pro
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1021,28 +1021,28 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -1061,10 +1061,10 @@ uint32_t ThriftHiveMetastore_get_type_args::read(apache::thrift::protocol::TProt
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1072,10 +1072,10 @@ uint32_t ThriftHiveMetastore_get_type_args::write(apache::thrift::protocol::TPro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1083,28 +1083,28 @@ uint32_t ThriftHiveMetastore_get_type_pargs::write(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -1112,7 +1112,7 @@ uint32_t ThriftHiveMetastore_get_type_result::read(apache::thrift::protocol::TPr
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1120,7 +1120,7 @@ uint32_t ThriftHiveMetastore_get_type_result::read(apache::thrift::protocol::TPr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1139,22 +1139,22 @@ uint32_t ThriftHiveMetastore_get_type_result::read(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -1163,28 +1163,28 @@ uint32_t ThriftHiveMetastore_get_type_result::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -1192,7 +1192,7 @@ uint32_t ThriftHiveMetastore_get_type_presult::read(apache::thrift::protocol::TP
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1200,7 +1200,7 @@ uint32_t ThriftHiveMetastore_get_type_presult::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1219,28 +1219,28 @@ uint32_t ThriftHiveMetastore_get_type_presult::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->type.read(iprot);
this->__isset.type = true;
} else {
@@ -1259,10 +1259,10 @@ uint32_t ThriftHiveMetastore_create_type_args::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args");
- xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->type.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1270,10 +1270,10 @@ uint32_t ThriftHiveMetastore_create_type_args::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs");
- xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->type)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1281,28 +1281,28 @@ uint32_t ThriftHiveMetastore_create_type_pargs::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
@@ -1310,7 +1310,7 @@ uint32_t ThriftHiveMetastore_create_type_result::read(apache::thrift::protocol::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1318,7 +1318,7 @@ uint32_t ThriftHiveMetastore_create_type_result::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1326,7 +1326,7 @@ uint32_t ThriftHiveMetastore_create_type_result::read(apache::thrift::protocol::
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -1345,26 +1345,26 @@ uint32_t ThriftHiveMetastore_create_type_result::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_create_type_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -1373,28 +1373,28 @@ uint32_t ThriftHiveMetastore_create_type_result::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_create_type_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
@@ -1402,7 +1402,7 @@ uint32_t ThriftHiveMetastore_create_type_presult::read(apache::thrift::protocol:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1410,7 +1410,7 @@ uint32_t ThriftHiveMetastore_create_type_presult::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1418,7 +1418,7 @@ uint32_t ThriftHiveMetastore_create_type_presult::read(apache::thrift::protocol:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -1437,28 +1437,28 @@ uint32_t ThriftHiveMetastore_create_type_presult::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->type);
this->__isset.type = true;
} else {
@@ -1477,10 +1477,10 @@ uint32_t ThriftHiveMetastore_drop_type_args::read(apache::thrift::protocol::TPro
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args");
- xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->type);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1488,10 +1488,10 @@ uint32_t ThriftHiveMetastore_drop_type_args::write(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs");
- xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->type)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1499,28 +1499,28 @@ uint32_t ThriftHiveMetastore_drop_type_pargs::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
@@ -1528,7 +1528,7 @@ uint32_t ThriftHiveMetastore_drop_type_result::read(apache::thrift::protocol::TP
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1536,7 +1536,7 @@ uint32_t ThriftHiveMetastore_drop_type_result::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1555,22 +1555,22 @@ uint32_t ThriftHiveMetastore_drop_type_result::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_type_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -1579,28 +1579,28 @@ uint32_t ThriftHiveMetastore_drop_type_result::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_type_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
@@ -1608,7 +1608,7 @@ uint32_t ThriftHiveMetastore_drop_type_presult::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1616,7 +1616,7 @@ uint32_t ThriftHiveMetastore_drop_type_presult::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1635,28 +1635,28 @@ uint32_t ThriftHiveMetastore_drop_type_presult::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -1675,10 +1675,10 @@ uint32_t ThriftHiveMetastore_get_type_all_args::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1686,10 +1686,10 @@ uint32_t ThriftHiveMetastore_get_type_all_args::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1697,33 +1697,33 @@ uint32_t ThriftHiveMetastore_get_type_all_pargs::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
uint32_t _size112;
- apache::thrift::protocol::TType _ktype113;
- apache::thrift::protocol::TType _vtype114;
+ ::apache::thrift::protocol::TType _ktype113;
+ ::apache::thrift::protocol::TType _vtype114;
iprot->readMapBegin(_ktype113, _vtype114, _size112);
uint32_t _i116;
for (_i116 = 0; _i116 < _size112; ++_i116)
@@ -1741,7 +1741,7 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(apache::thrift::protocol:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1760,16 +1760,16 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_MAP, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, this->success.size());
std::map ::const_iterator _iter119;
for (_iter119 = this->success.begin(); _iter119 != this->success.end(); ++_iter119)
{
@@ -1780,7 +1780,7 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(apache::thrift::protocol
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o2) {
- xfer += oprot->writeFieldBegin("o2", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -1789,33 +1789,33 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_type_all_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
uint32_t _size120;
- apache::thrift::protocol::TType _ktype121;
- apache::thrift::protocol::TType _vtype122;
+ ::apache::thrift::protocol::TType _ktype121;
+ ::apache::thrift::protocol::TType _vtype122;
iprot->readMapBegin(_ktype121, _vtype122, _size120);
uint32_t _i124;
for (_i124 = 0; _i124 < _size120; ++_i124)
@@ -1833,7 +1833,7 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(apache::thrift::protocol
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1852,28 +1852,28 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -1881,7 +1881,7 @@ uint32_t ThriftHiveMetastore_get_fields_args::read(apache::thrift::protocol::TPr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->table_name);
this->__isset.table_name = true;
} else {
@@ -1900,13 +1900,13 @@ uint32_t ThriftHiveMetastore_get_fields_args::read(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ 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->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->table_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1914,13 +1914,13 @@ uint32_t ThriftHiveMetastore_get_fields_args::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ 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->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->table_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1928,32 +1928,32 @@ uint32_t ThriftHiveMetastore_get_fields_pargs::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size127;
- apache::thrift::protocol::TType _etype130;
+ ::apache::thrift::protocol::TType _etype130;
iprot->readListBegin(_etype130, _size127);
this->success.resize(_size127);
uint32_t _i131;
@@ -1969,7 +1969,7 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -1977,7 +1977,7 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -1985,7 +1985,7 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(apache::thrift::protocol::T
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2004,16 +2004,16 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter132;
for (_iter132 = this->success.begin(); _iter132 != this->success.end(); ++_iter132)
{
@@ -2023,15 +2023,15 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(apache::thrift::protocol::
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -2040,32 +2040,32 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_fields_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size133;
- apache::thrift::protocol::TType _etype136;
+ ::apache::thrift::protocol::TType _etype136;
iprot->readListBegin(_etype136, _size133);
(*(this->success)).resize(_size133);
uint32_t _i137;
@@ -2081,7 +2081,7 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(apache::thrift::protocol::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2089,7 +2089,7 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -2097,7 +2097,7 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(apache::thrift::protocol::
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2116,28 +2116,28 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -2145,7 +2145,7 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(apache::thrift::protocol::TPr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->table_name);
this->__isset.table_name = true;
} else {
@@ -2164,13 +2164,13 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ 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->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->table_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2178,13 +2178,13 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ 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->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->table_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2192,32 +2192,32 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size138;
- apache::thrift::protocol::TType _etype141;
+ ::apache::thrift::protocol::TType _etype141;
iprot->readListBegin(_etype141, _size138);
this->success.resize(_size138);
uint32_t _i142;
@@ -2233,7 +2233,7 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2241,7 +2241,7 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -2249,7 +2249,7 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(apache::thrift::protocol::T
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2268,16 +2268,16 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_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_schema_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter143;
for (_iter143 = this->success.begin(); _iter143 != this->success.end(); ++_iter143)
{
@@ -2287,15 +2287,15 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(apache::thrift::protocol::
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -2304,32 +2304,32 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_schema_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size144;
- apache::thrift::protocol::TType _etype147;
+ ::apache::thrift::protocol::TType _etype147;
iprot->readListBegin(_etype147, _size144);
(*(this->success)).resize(_size144);
uint32_t _i148;
@@ -2345,7 +2345,7 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(apache::thrift::protocol::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2353,7 +2353,7 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -2361,7 +2361,7 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(apache::thrift::protocol::
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2380,28 +2380,28 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->tbl.read(iprot);
this->__isset.tbl = true;
} else {
@@ -2420,10 +2420,10 @@ uint32_t ThriftHiveMetastore_create_table_args::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_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;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args");
- xfer += oprot->writeFieldBegin("tbl", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->tbl.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2431,10 +2431,10 @@ uint32_t ThriftHiveMetastore_create_table_args::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_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;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs");
- xfer += oprot->writeFieldBegin("tbl", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->tbl)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2442,28 +2442,28 @@ uint32_t ThriftHiveMetastore_create_table_pargs::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2471,7 +2471,7 @@ uint32_t ThriftHiveMetastore_create_table_result::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -2479,7 +2479,7 @@ uint32_t ThriftHiveMetastore_create_table_result::read(apache::thrift::protocol:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2487,7 +2487,7 @@ uint32_t ThriftHiveMetastore_create_table_result::read(apache::thrift::protocol:
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o4.read(iprot);
this->__isset.o4 = true;
} else {
@@ -2506,26 +2506,26 @@ uint32_t ThriftHiveMetastore_create_table_result::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_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_create_table_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += 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 += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4);
xfer += this->o4.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -2534,28 +2534,28 @@ uint32_t ThriftHiveMetastore_create_table_result::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_create_table_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2563,7 +2563,7 @@ uint32_t ThriftHiveMetastore_create_table_presult::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -2571,7 +2571,7 @@ uint32_t ThriftHiveMetastore_create_table_presult::read(apache::thrift::protocol
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2579,7 +2579,7 @@ uint32_t ThriftHiveMetastore_create_table_presult::read(apache::thrift::protocol
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o4.read(iprot);
this->__isset.o4 = true;
} else {
@@ -2598,28 +2598,28 @@ uint32_t ThriftHiveMetastore_create_table_presult::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbname);
this->__isset.dbname = true;
} else {
@@ -2627,7 +2627,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(apache::thrift::protocol::TPr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -2635,7 +2635,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(apache::thrift::protocol::TPr
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deleteData);
this->__isset.deleteData = true;
} else {
@@ -2654,16 +2654,16 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_args");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->dbname);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 3);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 3);
xfer += oprot->writeBool(this->deleteData);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2671,16 +2671,16 @@ uint32_t ThriftHiveMetastore_drop_table_args::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_pargs");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->dbname)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 3);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 3);
xfer += oprot->writeBool((*(this->deleteData)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2688,28 +2688,28 @@ uint32_t ThriftHiveMetastore_drop_table_pargs::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2717,7 +2717,7 @@ uint32_t ThriftHiveMetastore_drop_table_result::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2736,18 +2736,18 @@ uint32_t ThriftHiveMetastore_drop_table_result::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o3) {
- xfer += oprot->writeFieldBegin("o3", apache::thrift::protocol::T_STRUCT, 2);
+ xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -2756,28 +2756,28 @@ uint32_t ThriftHiveMetastore_drop_table_result::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_table_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2785,7 +2785,7 @@ uint32_t ThriftHiveMetastore_drop_table_presult::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -2804,28 +2804,28 @@ uint32_t ThriftHiveMetastore_drop_table_presult::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -2833,7 +2833,7 @@ uint32_t ThriftHiveMetastore_get_tables_args::read(apache::thrift::protocol::TPr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->pattern);
this->__isset.pattern = true;
} else {
@@ -2852,13 +2852,13 @@ uint32_t ThriftHiveMetastore_get_tables_args::read(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("pattern", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->pattern);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2866,13 +2866,13 @@ uint32_t ThriftHiveMetastore_get_tables_args::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("pattern", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->pattern)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -2880,32 +2880,32 @@ uint32_t ThriftHiveMetastore_get_tables_pargs::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size149;
- apache::thrift::protocol::TType _etype152;
+ ::apache::thrift::protocol::TType _etype152;
iprot->readListBegin(_etype152, _size149);
this->success.resize(_size149);
uint32_t _i153;
@@ -2921,7 +2921,7 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -2940,16 +2940,16 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter154;
for (_iter154 = this->success.begin(); _iter154 != this->success.end(); ++_iter154)
{
@@ -2959,7 +2959,7 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(apache::thrift::protocol::
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -2968,32 +2968,32 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_tables_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size155;
- apache::thrift::protocol::TType _etype158;
+ ::apache::thrift::protocol::TType _etype158;
iprot->readListBegin(_etype158, _size155);
(*(this->success)).resize(_size155);
uint32_t _i159;
@@ -3009,7 +3009,7 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(apache::thrift::protocol::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3028,28 +3028,28 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -3068,10 +3068,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3079,10 +3079,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3090,32 +3090,32 @@ uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size160;
- apache::thrift::protocol::TType _etype163;
+ ::apache::thrift::protocol::TType _etype163;
iprot->readListBegin(_etype163, _size160);
this->success.resize(_size160);
uint32_t _i164;
@@ -3131,7 +3131,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3150,16 +3150,16 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter165;
for (_iter165 = this->success.begin(); _iter165 != this->success.end(); ++_iter165)
{
@@ -3169,7 +3169,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(apache::thrift::protoc
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -3178,32 +3178,32 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_all_tables_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size166;
- apache::thrift::protocol::TType _etype169;
+ ::apache::thrift::protocol::TType _etype169;
iprot->readListBegin(_etype169, _size166);
(*(this->success)).resize(_size166);
uint32_t _i170;
@@ -3219,7 +3219,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(apache::thrift::protoc
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3238,28 +3238,28 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbname);
this->__isset.dbname = true;
} else {
@@ -3267,7 +3267,7 @@ uint32_t ThriftHiveMetastore_get_table_args::read(apache::thrift::protocol::TPro
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -3286,13 +3286,13 @@ uint32_t ThriftHiveMetastore_get_table_args::read(apache::thrift::protocol::TPro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_args");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->dbname);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3300,13 +3300,13 @@ uint32_t ThriftHiveMetastore_get_table_args::write(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_pargs");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->dbname)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3314,28 +3314,28 @@ uint32_t ThriftHiveMetastore_get_table_pargs::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -3343,7 +3343,7 @@ uint32_t ThriftHiveMetastore_get_table_result::read(apache::thrift::protocol::TP
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3351,7 +3351,7 @@ uint32_t ThriftHiveMetastore_get_table_result::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3370,22 +3370,22 @@ uint32_t ThriftHiveMetastore_get_table_result::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -3394,28 +3394,28 @@ uint32_t ThriftHiveMetastore_get_table_result::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_table_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -3423,7 +3423,7 @@ uint32_t ThriftHiveMetastore_get_table_presult::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3431,7 +3431,7 @@ uint32_t ThriftHiveMetastore_get_table_presult::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3450,28 +3450,28 @@ uint32_t ThriftHiveMetastore_get_table_presult::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbname);
this->__isset.dbname = true;
} else {
@@ -3479,7 +3479,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -3487,7 +3487,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(apache::thrift::protocol::TP
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->new_tbl.read(iprot);
this->__isset.new_tbl = true;
} else {
@@ -3506,16 +3506,16 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_args");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->dbname);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("new_tbl", apache::thrift::protocol::T_STRUCT, 3);
+ xfer += oprot->writeFieldBegin("new_tbl", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->new_tbl.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3523,16 +3523,16 @@ uint32_t ThriftHiveMetastore_alter_table_args::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_pargs");
- xfer += oprot->writeFieldBegin("dbname", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->dbname)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("new_tbl", apache::thrift::protocol::T_STRUCT, 3);
+ xfer += oprot->writeFieldBegin("new_tbl", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += (*(this->new_tbl)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3540,28 +3540,28 @@ uint32_t ThriftHiveMetastore_alter_table_pargs::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3569,7 +3569,7 @@ uint32_t ThriftHiveMetastore_alter_table_result::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3588,18 +3588,18 @@ uint32_t ThriftHiveMetastore_alter_table_result::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -3608,28 +3608,28 @@ uint32_t ThriftHiveMetastore_alter_table_result::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_table_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3637,7 +3637,7 @@ uint32_t ThriftHiveMetastore_alter_table_presult::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3656,28 +3656,28 @@ uint32_t ThriftHiveMetastore_alter_table_presult::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->new_part.read(iprot);
this->__isset.new_part = true;
} else {
@@ -3696,10 +3696,10 @@ uint32_t ThriftHiveMetastore_add_partition_args::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_args");
- xfer += oprot->writeFieldBegin("new_part", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->new_part.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3707,10 +3707,10 @@ uint32_t ThriftHiveMetastore_add_partition_args::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_pargs");
- xfer += oprot->writeFieldBegin("new_part", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->new_part)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -3718,28 +3718,28 @@ uint32_t ThriftHiveMetastore_add_partition_pargs::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -3747,7 +3747,7 @@ uint32_t ThriftHiveMetastore_add_partition_result::read(apache::thrift::protocol
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3755,7 +3755,7 @@ uint32_t ThriftHiveMetastore_add_partition_result::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3763,7 +3763,7 @@ uint32_t ThriftHiveMetastore_add_partition_result::read(apache::thrift::protocol
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -3782,26 +3782,26 @@ uint32_t ThriftHiveMetastore_add_partition_result::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_partition_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -3810,28 +3810,28 @@ uint32_t ThriftHiveMetastore_add_partition_result::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_add_partition_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -3839,7 +3839,7 @@ uint32_t ThriftHiveMetastore_add_partition_presult::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -3847,7 +3847,7 @@ uint32_t ThriftHiveMetastore_add_partition_presult::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -3855,7 +3855,7 @@ uint32_t ThriftHiveMetastore_add_partition_presult::read(apache::thrift::protoco
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -3874,28 +3874,28 @@ uint32_t ThriftHiveMetastore_add_partition_presult::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -3903,7 +3903,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -3911,11 +3911,11 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(apache::thrift::protoco
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
uint32_t _size171;
- apache::thrift::protocol::TType _etype174;
+ ::apache::thrift::protocol::TType _etype174;
iprot->readListBegin(_etype174, _size171);
this->part_vals.resize(_size171);
uint32_t _i175;
@@ -3942,18 +3942,18 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
std::vector ::const_iterator _iter176;
for (_iter176 = this->part_vals.begin(); _iter176 != this->part_vals.end(); ++_iter176)
{
@@ -3967,18 +3967,18 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
std::vector ::const_iterator _iter177;
for (_iter177 = (*(this->part_vals)).begin(); _iter177 != (*(this->part_vals)).end(); ++_iter177)
{
@@ -3992,28 +3992,28 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -4021,7 +4021,7 @@ uint32_t ThriftHiveMetastore_append_partition_result::read(apache::thrift::proto
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4029,7 +4029,7 @@ uint32_t ThriftHiveMetastore_append_partition_result::read(apache::thrift::proto
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4037,7 +4037,7 @@ uint32_t ThriftHiveMetastore_append_partition_result::read(apache::thrift::proto
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -4056,26 +4056,26 @@ uint32_t ThriftHiveMetastore_append_partition_result::read(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -4084,28 +4084,28 @@ uint32_t ThriftHiveMetastore_append_partition_result::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -4113,7 +4113,7 @@ uint32_t ThriftHiveMetastore_append_partition_presult::read(apache::thrift::prot
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4121,7 +4121,7 @@ uint32_t ThriftHiveMetastore_append_partition_presult::read(apache::thrift::prot
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4129,7 +4129,7 @@ uint32_t ThriftHiveMetastore_append_partition_presult::read(apache::thrift::prot
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -4148,28 +4148,28 @@ uint32_t ThriftHiveMetastore_append_partition_presult::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -4177,7 +4177,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(apache::thrift:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -4185,7 +4185,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(apache::thrift:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->part_name);
this->__isset.part_name = true;
} else {
@@ -4204,16 +4204,16 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->part_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4221,16 +4221,16 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->part_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4238,28 +4238,28 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(apache::thrif
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -4267,7 +4267,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(apache::thrif
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4275,7 +4275,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(apache::thrif
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4283,7 +4283,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(apache::thrif
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -4302,26 +4302,26 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(apache::thrif
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_append_partition_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -4330,28 +4330,28 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::write(apache::thri
return xfer;
}
-uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -4359,7 +4359,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(apache::thri
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4367,7 +4367,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(apache::thri
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4375,7 +4375,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(apache::thri
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -4394,28 +4394,28 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(apache::thri
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -4423,7 +4423,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -4431,11 +4431,11 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(apache::thrift::protocol:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
uint32_t _size178;
- apache::thrift::protocol::TType _etype181;
+ ::apache::thrift::protocol::TType _etype181;
iprot->readListBegin(_etype181, _size178);
this->part_vals.resize(_size178);
uint32_t _i182;
@@ -4451,7 +4451,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(apache::thrift::protocol:
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deleteData);
this->__isset.deleteData = true;
} else {
@@ -4470,18 +4470,18 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
std::vector ::const_iterator _iter183;
for (_iter183 = this->part_vals.begin(); _iter183 != this->part_vals.end(); ++_iter183)
{
@@ -4490,7 +4490,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(apache::thrift::protocol
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool(this->deleteData);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4498,18 +4498,18 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
std::vector ::const_iterator _iter184;
for (_iter184 = (*(this->part_vals)).begin(); _iter184 != (*(this->part_vals)).end(); ++_iter184)
{
@@ -4518,7 +4518,7 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(apache::thrift::protoco
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool((*(this->deleteData)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4526,28 +4526,28 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
@@ -4555,7 +4555,7 @@ uint32_t ThriftHiveMetastore_drop_partition_result::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4563,7 +4563,7 @@ uint32_t ThriftHiveMetastore_drop_partition_result::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4582,22 +4582,22 @@ uint32_t ThriftHiveMetastore_drop_partition_result::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -4606,28 +4606,28 @@ uint32_t ThriftHiveMetastore_drop_partition_result::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
@@ -4635,7 +4635,7 @@ uint32_t ThriftHiveMetastore_drop_partition_presult::read(apache::thrift::protoc
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4643,7 +4643,7 @@ uint32_t ThriftHiveMetastore_drop_partition_presult::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4662,28 +4662,28 @@ uint32_t ThriftHiveMetastore_drop_partition_presult::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -4691,7 +4691,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(apache::thrift::p
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -4699,7 +4699,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(apache::thrift::p
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->part_name);
this->__isset.part_name = true;
} else {
@@ -4707,7 +4707,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(apache::thrift::p
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deleteData);
this->__isset.deleteData = true;
} else {
@@ -4726,19 +4726,19 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->part_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool(this->deleteData);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4746,19 +4746,19 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->part_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool((*(this->deleteData)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -4766,28 +4766,28 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
@@ -4795,7 +4795,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(apache::thrift:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4803,7 +4803,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(apache::thrift:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4822,22 +4822,22 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -4846,28 +4846,28 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_result::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
@@ -4875,7 +4875,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(apache::thrift
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -4883,7 +4883,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(apache::thrift
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -4902,28 +4902,28 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -4931,7 +4931,7 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -4939,11 +4939,11 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(apache::thrift::protocol::
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
uint32_t _size185;
- apache::thrift::protocol::TType _etype188;
+ ::apache::thrift::protocol::TType _etype188;
iprot->readListBegin(_etype188, _size185);
this->part_vals.resize(_size185);
uint32_t _i189;
@@ -4970,18 +4970,18 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
std::vector ::const_iterator _iter190;
for (_iter190 = this->part_vals.begin(); _iter190 != this->part_vals.end(); ++_iter190)
{
@@ -4995,18 +4995,18 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
std::vector ::const_iterator _iter191;
for (_iter191 = (*(this->part_vals)).begin(); _iter191 != (*(this->part_vals)).end(); ++_iter191)
{
@@ -5020,28 +5020,28 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -5049,7 +5049,7 @@ uint32_t ThriftHiveMetastore_get_partition_result::read(apache::thrift::protocol
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5057,7 +5057,7 @@ uint32_t ThriftHiveMetastore_get_partition_result::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5076,22 +5076,22 @@ uint32_t ThriftHiveMetastore_get_partition_result::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -5100,28 +5100,28 @@ uint32_t ThriftHiveMetastore_get_partition_result::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -5129,7 +5129,7 @@ uint32_t ThriftHiveMetastore_get_partition_presult::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5137,7 +5137,7 @@ uint32_t ThriftHiveMetastore_get_partition_presult::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5156,28 +5156,28 @@ uint32_t ThriftHiveMetastore_get_partition_presult::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -5185,7 +5185,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(apache::thrift::pr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -5193,7 +5193,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(apache::thrift::pr
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->part_name);
this->__isset.part_name = true;
} else {
@@ -5212,16 +5212,16 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(apache::thrift::pr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->part_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5229,16 +5229,16 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->part_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5246,28 +5246,28 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -5275,7 +5275,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(apache::thrift::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5283,7 +5283,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(apache::thrift::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5302,22 +5302,22 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -5326,28 +5326,28 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_result::write(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -5355,7 +5355,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(apache::thrift:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5363,7 +5363,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(apache::thrift:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5382,28 +5382,28 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -5411,7 +5411,7 @@ uint32_t ThriftHiveMetastore_get_partitions_args::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -5419,7 +5419,7 @@ uint32_t ThriftHiveMetastore_get_partitions_args::read(apache::thrift::protocol:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_parts);
this->__isset.max_parts = true;
} else {
@@ -5438,16 +5438,16 @@ uint32_t ThriftHiveMetastore_get_partitions_args::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16(this->max_parts);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5455,16 +5455,16 @@ uint32_t ThriftHiveMetastore_get_partitions_args::write(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16((*(this->max_parts)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5472,32 +5472,32 @@ uint32_t ThriftHiveMetastore_get_partitions_pargs::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size192;
- apache::thrift::protocol::TType _etype195;
+ ::apache::thrift::protocol::TType _etype195;
iprot->readListBegin(_etype195, _size192);
this->success.resize(_size192);
uint32_t _i196;
@@ -5513,7 +5513,7 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(apache::thrift::protoco
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5521,7 +5521,7 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5540,16 +5540,16 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter197;
for (_iter197 = this->success.begin(); _iter197 != this->success.end(); ++_iter197)
{
@@ -5559,11 +5559,11 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(apache::thrift::protoc
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -5572,32 +5572,32 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size198;
- apache::thrift::protocol::TType _etype201;
+ ::apache::thrift::protocol::TType _etype201;
iprot->readListBegin(_etype201, _size198);
(*(this->success)).resize(_size198);
uint32_t _i202;
@@ -5613,7 +5613,7 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(apache::thrift::protoc
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -5621,7 +5621,7 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5640,28 +5640,28 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -5669,7 +5669,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::read(apache::thrift::prot
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -5677,7 +5677,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::read(apache::thrift::prot
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_parts);
this->__isset.max_parts = true;
} else {
@@ -5696,16 +5696,16 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16(this->max_parts);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5713,16 +5713,16 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::write(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16((*(this->max_parts)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5730,32 +5730,32 @@ uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(apache::thrift::pr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size203;
- apache::thrift::protocol::TType _etype206;
+ ::apache::thrift::protocol::TType _etype206;
iprot->readListBegin(_etype206, _size203);
this->success.resize(_size203);
uint32_t _i207;
@@ -5771,7 +5771,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(apache::thrift::pr
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5790,16 +5790,16 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(apache::thrift::pr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter208;
for (_iter208 = this->success.begin(); _iter208 != this->success.end(); ++_iter208)
{
@@ -5809,7 +5809,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(apache::thrift::p
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o2) {
- xfer += oprot->writeFieldBegin("o2", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -5818,32 +5818,32 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size209;
- apache::thrift::protocol::TType _etype212;
+ ::apache::thrift::protocol::TType _etype212;
iprot->readListBegin(_etype212, _size209);
(*(this->success)).resize(_size209);
uint32_t _i213;
@@ -5859,7 +5859,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(apache::thrift::p
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -5878,28 +5878,28 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -5907,7 +5907,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -5915,11 +5915,11 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(apache::thrift::protoc
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
uint32_t _size214;
- apache::thrift::protocol::TType _etype217;
+ ::apache::thrift::protocol::TType _etype217;
iprot->readListBegin(_etype217, _size214);
this->part_vals.resize(_size214);
uint32_t _i218;
@@ -5935,7 +5935,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(apache::thrift::protoc
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_parts);
this->__isset.max_parts = true;
} else {
@@ -5954,18 +5954,18 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
std::vector ::const_iterator _iter219;
for (_iter219 = this->part_vals.begin(); _iter219 != this->part_vals.end(); ++_iter219)
{
@@ -5974,7 +5974,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(apache::thrift::proto
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16(this->max_parts);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -5982,18 +5982,18 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
std::vector ::const_iterator _iter220;
for (_iter220 = (*(this->part_vals)).begin(); _iter220 != (*(this->part_vals)).end(); ++_iter220)
{
@@ -6002,7 +6002,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(apache::thrift::prot
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16((*(this->max_parts)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6010,32 +6010,32 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size221;
- apache::thrift::protocol::TType _etype224;
+ ::apache::thrift::protocol::TType _etype224;
iprot->readListBegin(_etype224, _size221);
this->success.resize(_size221);
uint32_t _i225;
@@ -6051,7 +6051,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(apache::thrift::prot
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6070,16 +6070,16 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter226;
for (_iter226 = this->success.begin(); _iter226 != this->success.end(); ++_iter226)
{
@@ -6089,7 +6089,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(apache::thrift::pro
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -6098,32 +6098,32 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size227;
- apache::thrift::protocol::TType _etype230;
+ ::apache::thrift::protocol::TType _etype230;
iprot->readListBegin(_etype230, _size227);
(*(this->success)).resize(_size227);
uint32_t _i231;
@@ -6139,7 +6139,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(apache::thrift::pro
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6158,28 +6158,28 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -6187,7 +6187,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(apache::thrift::p
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -6195,11 +6195,11 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(apache::thrift::p
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->part_vals.clear();
uint32_t _size232;
- apache::thrift::protocol::TType _etype235;
+ ::apache::thrift::protocol::TType _etype235;
iprot->readListBegin(_etype235, _size232);
this->part_vals.resize(_size232);
uint32_t _i236;
@@ -6215,7 +6215,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(apache::thrift::p
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_parts);
this->__isset.max_parts = true;
} else {
@@ -6234,18 +6234,18 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->part_vals.size());
std::vector ::const_iterator _iter237;
for (_iter237 = this->part_vals.begin(); _iter237 != this->part_vals.end(); ++_iter237)
{
@@ -6254,7 +6254,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(apache::thrift::
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16(this->max_parts);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6262,18 +6262,18 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("part_vals", apache::thrift::protocol::T_LIST, 3);
+ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
std::vector ::const_iterator _iter238;
for (_iter238 = (*(this->part_vals)).begin(); _iter238 != (*(this->part_vals)).end(); ++_iter238)
{
@@ -6282,7 +6282,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(apache::thrift:
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16((*(this->max_parts)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6290,32 +6290,32 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size239;
- apache::thrift::protocol::TType _etype242;
+ ::apache::thrift::protocol::TType _etype242;
iprot->readListBegin(_etype242, _size239);
this->success.resize(_size239);
uint32_t _i243;
@@ -6331,7 +6331,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(apache::thrift:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6350,16 +6350,16 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter244;
for (_iter244 = this->success.begin(); _iter244 != this->success.end(); ++_iter244)
{
@@ -6369,7 +6369,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(apache::thrift
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -6378,32 +6378,32 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size245;
- apache::thrift::protocol::TType _etype248;
+ ::apache::thrift::protocol::TType _etype248;
iprot->readListBegin(_etype248, _size245);
(*(this->success)).resize(_size245);
uint32_t _i249;
@@ -6419,7 +6419,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(apache::thrift
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6438,28 +6438,28 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -6467,7 +6467,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(apache::thrift:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -6475,7 +6475,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(apache::thrift:
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->filter);
this->__isset.filter = true;
} else {
@@ -6483,7 +6483,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(apache::thrift:
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_parts);
this->__isset.max_parts = true;
} else {
@@ -6502,19 +6502,19 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("filter", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("filter", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->filter);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16(this->max_parts);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6522,19 +6522,19 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("filter", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("filter", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->filter)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_parts", apache::thrift::protocol::T_I16, 4);
+ xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 4);
xfer += oprot->writeI16((*(this->max_parts)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6542,32 +6542,32 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(apache::thrif
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size250;
- apache::thrift::protocol::TType _etype253;
+ ::apache::thrift::protocol::TType _etype253;
iprot->readListBegin(_etype253, _size250);
this->success.resize(_size250);
uint32_t _i254;
@@ -6583,7 +6583,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(apache::thrif
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6591,7 +6591,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(apache::thrif
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -6610,16 +6610,16 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(apache::thrif
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter255;
for (_iter255 = this->success.begin(); _iter255 != this->success.end(); ++_iter255)
{
@@ -6629,11 +6629,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(apache::thri
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -6642,32 +6642,32 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(apache::thri
return xfer;
}
-uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size256;
- apache::thrift::protocol::TType _etype259;
+ ::apache::thrift::protocol::TType _etype259;
iprot->readListBegin(_etype259, _size256);
(*(this->success)).resize(_size256);
uint32_t _i260;
@@ -6683,7 +6683,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(apache::thri
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6691,7 +6691,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(apache::thri
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -6710,28 +6710,28 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(apache::thri
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -6739,7 +6739,7 @@ uint32_t ThriftHiveMetastore_alter_partition_args::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -6747,7 +6747,7 @@ uint32_t ThriftHiveMetastore_alter_partition_args::read(apache::thrift::protocol
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->new_part.read(iprot);
this->__isset.new_part = true;
} else {
@@ -6766,16 +6766,16 @@ uint32_t ThriftHiveMetastore_alter_partition_args::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("new_part", apache::thrift::protocol::T_STRUCT, 3);
+ xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->new_part.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6783,16 +6783,16 @@ uint32_t ThriftHiveMetastore_alter_partition_args::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("new_part", apache::thrift::protocol::T_STRUCT, 3);
+ xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += (*(this->new_part)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6800,28 +6800,28 @@ uint32_t ThriftHiveMetastore_alter_partition_pargs::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6829,7 +6829,7 @@ uint32_t ThriftHiveMetastore_alter_partition_result::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -6848,18 +6848,18 @@ uint32_t ThriftHiveMetastore_alter_partition_result::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_alter_partition_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_result");
if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -6868,28 +6868,28 @@ uint32_t ThriftHiveMetastore_alter_partition_result::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_alter_partition_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_alter_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -6897,7 +6897,7 @@ uint32_t ThriftHiveMetastore_alter_partition_presult::read(apache::thrift::proto
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -6916,28 +6916,28 @@ uint32_t ThriftHiveMetastore_alter_partition_presult::read(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_config_value_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -6945,7 +6945,7 @@ uint32_t ThriftHiveMetastore_get_config_value_args::read(apache::thrift::protoco
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->defaultValue);
this->__isset.defaultValue = true;
} else {
@@ -6964,13 +6964,13 @@ uint32_t ThriftHiveMetastore_get_config_value_args::read(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_config_value_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_args");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("defaultValue", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("defaultValue", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->defaultValue);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6978,13 +6978,13 @@ uint32_t ThriftHiveMetastore_get_config_value_args::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_config_value_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_pargs");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("defaultValue", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("defaultValue", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->defaultValue)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -6992,28 +6992,28 @@ uint32_t ThriftHiveMetastore_get_config_value_pargs::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_config_value_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->success);
this->__isset.success = true;
} else {
@@ -7021,7 +7021,7 @@ uint32_t ThriftHiveMetastore_get_config_value_result::read(apache::thrift::proto
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7040,18 +7040,18 @@ uint32_t ThriftHiveMetastore_get_config_value_result::read(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_config_value_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRING, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRING, 0);
xfer += oprot->writeString(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -7060,28 +7060,28 @@ uint32_t ThriftHiveMetastore_get_config_value_result::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_config_value_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_config_value_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString((*(this->success)));
this->__isset.success = true;
} else {
@@ -7089,7 +7089,7 @@ uint32_t ThriftHiveMetastore_get_config_value_presult::read(apache::thrift::prot
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7108,28 +7108,28 @@ uint32_t ThriftHiveMetastore_get_config_value_presult::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->part_name);
this->__isset.part_name = true;
} else {
@@ -7148,10 +7148,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_args");
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->part_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7159,10 +7159,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_pargs");
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->part_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7170,32 +7170,32 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size261;
- apache::thrift::protocol::TType _etype264;
+ ::apache::thrift::protocol::TType _etype264;
iprot->readListBegin(_etype264, _size261);
this->success.resize(_size261);
uint32_t _i265;
@@ -7211,7 +7211,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(apache::thrift:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7230,16 +7230,16 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter266;
for (_iter266 = this->success.begin(); _iter266 != this->success.end(); ++_iter266)
{
@@ -7249,7 +7249,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(apache::thrift
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -7258,32 +7258,32 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size267;
- apache::thrift::protocol::TType _etype270;
+ ::apache::thrift::protocol::TType _etype270;
iprot->readListBegin(_etype270, _size267);
(*(this->success)).resize(_size267);
uint32_t _i271;
@@ -7299,7 +7299,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(apache::thrift
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7318,28 +7318,28 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->part_name);
this->__isset.part_name = true;
} else {
@@ -7358,10 +7358,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(apache::thrift::p
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_args");
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->part_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7369,10 +7369,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(apache::thrift::
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_pargs");
- xfer += oprot->writeFieldBegin("part_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->part_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7380,33 +7380,33 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->success.clear();
uint32_t _size272;
- apache::thrift::protocol::TType _ktype273;
- apache::thrift::protocol::TType _vtype274;
+ ::apache::thrift::protocol::TType _ktype273;
+ ::apache::thrift::protocol::TType _vtype274;
iprot->readMapBegin(_ktype273, _vtype274, _size272);
uint32_t _i276;
for (_i276 = 0; _i276 < _size272; ++_i276)
@@ -7424,7 +7424,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(apache::thrift:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7443,16 +7443,16 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(apache::thrift:
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_MAP, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->success.size());
std::map ::const_iterator _iter279;
for (_iter279 = this->success.begin(); _iter279 != this->success.end(); ++_iter279)
{
@@ -7463,7 +7463,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(apache::thrift
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o1.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -7472,33 +7472,33 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
(*(this->success)).clear();
uint32_t _size280;
- apache::thrift::protocol::TType _ktype281;
- apache::thrift::protocol::TType _vtype282;
+ ::apache::thrift::protocol::TType _ktype281;
+ ::apache::thrift::protocol::TType _vtype282;
iprot->readMapBegin(_ktype281, _vtype282, _size280);
uint32_t _i284;
for (_i284 = 0; _i284 < _size280; ++_i284)
@@ -7516,7 +7516,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(apache::thrift
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7535,28 +7535,28 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(apache::thrift
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_index_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->new_index.read(iprot);
this->__isset.new_index = true;
} else {
@@ -7564,7 +7564,7 @@ uint32_t ThriftHiveMetastore_add_index_args::read(apache::thrift::protocol::TPro
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->index_table.read(iprot);
this->__isset.index_table = true;
} else {
@@ -7583,13 +7583,13 @@ uint32_t ThriftHiveMetastore_add_index_args::read(apache::thrift::protocol::TPro
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_index_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_args");
- xfer += oprot->writeFieldBegin("new_index", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->new_index.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_table", apache::thrift::protocol::T_STRUCT, 2);
+ xfer += oprot->writeFieldBegin("index_table", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->index_table.write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7597,13 +7597,13 @@ uint32_t ThriftHiveMetastore_add_index_args::write(apache::thrift::protocol::TPr
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_index_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_pargs");
- xfer += oprot->writeFieldBegin("new_index", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += (*(this->new_index)).write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_table", apache::thrift::protocol::T_STRUCT, 2);
+ xfer += oprot->writeFieldBegin("index_table", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += (*(this->index_table)).write(oprot);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7611,28 +7611,28 @@ uint32_t ThriftHiveMetastore_add_index_pargs::write(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_index_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -7640,7 +7640,7 @@ uint32_t ThriftHiveMetastore_add_index_result::read(apache::thrift::protocol::TP
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7648,7 +7648,7 @@ uint32_t ThriftHiveMetastore_add_index_result::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -7656,7 +7656,7 @@ uint32_t ThriftHiveMetastore_add_index_result::read(apache::thrift::protocol::TP
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -7675,26 +7675,26 @@ uint32_t ThriftHiveMetastore_add_index_result::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_add_index_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += 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 += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3);
xfer += this->o3.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -7703,28 +7703,28 @@ uint32_t ThriftHiveMetastore_add_index_result::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_add_index_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_add_index_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -7732,7 +7732,7 @@ uint32_t ThriftHiveMetastore_add_index_presult::read(apache::thrift::protocol::T
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7740,7 +7740,7 @@ uint32_t ThriftHiveMetastore_add_index_presult::read(apache::thrift::protocol::T
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -7748,7 +7748,7 @@ uint32_t ThriftHiveMetastore_add_index_presult::read(apache::thrift::protocol::T
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o3.read(iprot);
this->__isset.o3 = true;
} else {
@@ -7767,28 +7767,28 @@ uint32_t ThriftHiveMetastore_add_index_presult::read(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -7796,7 +7796,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(apache::thrift::proto
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -7804,7 +7804,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(apache::thrift::proto
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->index_name);
this->__isset.index_name = true;
} else {
@@ -7812,7 +7812,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(apache::thrift::proto
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deleteData);
this->__isset.deleteData = true;
} else {
@@ -7831,19 +7831,19 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("index_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->index_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool(this->deleteData);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7851,19 +7851,19 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("index_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->index_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deleteData", apache::thrift::protocol::T_BOOL, 4);
+ xfer += oprot->writeFieldBegin("deleteData", ::apache::thrift::protocol::T_BOOL, 4);
xfer += oprot->writeBool((*(this->deleteData)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -7871,28 +7871,28 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
@@ -7900,7 +7900,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(apache::thrift::pro
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7908,7 +7908,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(apache::thrift::pro
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -7927,22 +7927,22 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_drop_index_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -7951,28 +7951,28 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_result::write(apache::thrift::pr
return xfer;
}
-uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
@@ -7980,7 +7980,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(apache::thrift::pr
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -7988,7 +7988,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(apache::thrift::pr
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8007,28 +8007,28 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(apache::thrift::pr
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -8036,7 +8036,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::read(apache::thrift::protoc
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -8044,7 +8044,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::read(apache::thrift::protoc
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->index_name);
this->__isset.index_name = true;
} else {
@@ -8063,16 +8063,16 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("index_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->index_name);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8080,16 +8080,16 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("index_name", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("index_name", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString((*(this->index_name)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8097,28 +8097,28 @@ uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->success.read(iprot);
this->__isset.success = true;
} else {
@@ -8126,7 +8126,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_result::read(apache::thrift::prot
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -8134,7 +8134,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_result::read(apache::thrift::prot
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8153,22 +8153,22 @@ uint32_t ThriftHiveMetastore_get_index_by_name_result::read(apache::thrift::prot
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_STRUCT, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0);
xfer += this->success.write(oprot);
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -8177,28 +8177,28 @@ uint32_t ThriftHiveMetastore_get_index_by_name_result::write(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += (*(this->success)).read(iprot);
this->__isset.success = true;
} else {
@@ -8206,7 +8206,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(apache::thrift::pro
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -8214,7 +8214,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(apache::thrift::pro
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8233,28 +8233,28 @@ uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(apache::thrift::pro
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_indexes_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -8262,7 +8262,7 @@ uint32_t ThriftHiveMetastore_get_indexes_args::read(apache::thrift::protocol::TP
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -8270,7 +8270,7 @@ uint32_t ThriftHiveMetastore_get_indexes_args::read(apache::thrift::protocol::TP
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_indexes);
this->__isset.max_indexes = true;
} else {
@@ -8289,16 +8289,16 @@ uint32_t ThriftHiveMetastore_get_indexes_args::read(apache::thrift::protocol::TP
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_indexes_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_indexes", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_indexes", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16(this->max_indexes);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8306,16 +8306,16 @@ uint32_t ThriftHiveMetastore_get_indexes_args::write(apache::thrift::protocol::T
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_indexes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_indexes", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_indexes", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16((*(this->max_indexes)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8323,32 +8323,32 @@ uint32_t ThriftHiveMetastore_get_indexes_pargs::write(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size287;
- apache::thrift::protocol::TType _etype290;
+ ::apache::thrift::protocol::TType _etype290;
iprot->readListBegin(_etype290, _size287);
this->success.resize(_size287);
uint32_t _i291;
@@ -8364,7 +8364,7 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(apache::thrift::protocol::
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -8372,7 +8372,7 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(apache::thrift::protocol::
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8391,16 +8391,16 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(apache::thrift::protocol::
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->success.size());
std::vector ::const_iterator _iter292;
for (_iter292 = this->success.begin(); _iter292 != this->success.end(); ++_iter292)
{
@@ -8410,11 +8410,11 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(apache::thrift::protocol:
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o1) {
- xfer += oprot->writeFieldBegin("o1", apache::thrift::protocol::T_STRUCT, 1);
+ 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 += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -8423,32 +8423,32 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_indexes_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size293;
- apache::thrift::protocol::TType _etype296;
+ ::apache::thrift::protocol::TType _etype296;
iprot->readListBegin(_etype296, _size293);
(*(this->success)).resize(_size293);
uint32_t _i297;
@@ -8464,7 +8464,7 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(apache::thrift::protocol:
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o1.read(iprot);
this->__isset.o1 = true;
} else {
@@ -8472,7 +8472,7 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(apache::thrift::protocol:
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8491,28 +8491,28 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(apache::thrift::protocol:
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_args::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_names_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->db_name);
this->__isset.db_name = true;
} else {
@@ -8520,7 +8520,7 @@ uint32_t ThriftHiveMetastore_get_index_names_args::read(apache::thrift::protocol
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tbl_name);
this->__isset.tbl_name = true;
} else {
@@ -8528,7 +8528,7 @@ uint32_t ThriftHiveMetastore_get_index_names_args::read(apache::thrift::protocol
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_I16) {
+ if (ftype == ::apache::thrift::protocol::T_I16) {
xfer += iprot->readI16(this->max_indexes);
this->__isset.max_indexes = true;
} else {
@@ -8547,16 +8547,16 @@ uint32_t ThriftHiveMetastore_get_index_names_args::read(apache::thrift::protocol
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_args::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_args");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->db_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->tbl_name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_indexes", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_indexes", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16(this->max_indexes);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8564,16 +8564,16 @@ uint32_t ThriftHiveMetastore_get_index_names_args::write(apache::thrift::protoco
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_pargs::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_pargs");
- xfer += oprot->writeFieldBegin("db_name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString((*(this->db_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tbl_name", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("tbl_name", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString((*(this->tbl_name)));
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("max_indexes", apache::thrift::protocol::T_I16, 3);
+ xfer += oprot->writeFieldBegin("max_indexes", ::apache::thrift::protocol::T_I16, 3);
xfer += oprot->writeI16((*(this->max_indexes)));
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -8581,32 +8581,32 @@ uint32_t ThriftHiveMetastore_get_index_names_pargs::write(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_result::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->success.clear();
uint32_t _size298;
- apache::thrift::protocol::TType _etype301;
+ ::apache::thrift::protocol::TType _etype301;
iprot->readListBegin(_etype301, _size298);
this->success.resize(_size298);
uint32_t _i302;
@@ -8622,7 +8622,7 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(apache::thrift::protoc
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8641,16 +8641,16 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(apache::thrift::protoc
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_result::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", apache::thrift::protocol::T_LIST, 0);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->success.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->success.size());
std::vector ::const_iterator _iter303;
for (_iter303 = this->success.begin(); _iter303 != this->success.end(); ++_iter303)
{
@@ -8660,7 +8660,7 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(apache::thrift::proto
}
xfer += oprot->writeFieldEnd();
} else if (this->__isset.o2) {
- xfer += oprot->writeFieldBegin("o2", apache::thrift::protocol::T_STRUCT, 1);
+ xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 1);
xfer += this->o2.write(oprot);
xfer += oprot->writeFieldEnd();
}
@@ -8669,32 +8669,32 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(apache::thrift::proto
return xfer;
}
-uint32_t ThriftHiveMetastore_get_index_names_presult::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 0:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
(*(this->success)).clear();
uint32_t _size304;
- apache::thrift::protocol::TType _etype307;
+ ::apache::thrift::protocol::TType _etype307;
iprot->readListBegin(_etype307, _size304);
(*(this->success)).resize(_size304);
uint32_t _i308;
@@ -8710,7 +8710,7 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(apache::thrift::proto
}
break;
case 1:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->o2.read(iprot);
this->__isset.o2 = true;
} else {
@@ -8738,7 +8738,7 @@ void ThriftHiveMetastoreClient::create_database(const Database& database)
void ThriftHiveMetastoreClient::send_create_database(const Database& database)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("create_database", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("create_database", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_create_database_pargs args;
args.database = &database;
@@ -8754,27 +8754,27 @@ void ThriftHiveMetastoreClient::recv_create_database()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_database") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_create_database_presult result;
result.read(iprot_);
@@ -8802,7 +8802,7 @@ void ThriftHiveMetastoreClient::get_database(Database& _return, const std::strin
void ThriftHiveMetastoreClient::send_get_database(const std::string& name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_database", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_database", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_database_pargs args;
args.name = &name;
@@ -8818,27 +8818,27 @@ void ThriftHiveMetastoreClient::recv_get_database(Database& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_database") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_database_presult result;
result.success = &_return;
@@ -8856,7 +8856,7 @@ void ThriftHiveMetastoreClient::recv_get_database(Database& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_database failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_database failed: unknown result");
}
void ThriftHiveMetastoreClient::drop_database(const std::string& name, const bool deleteData)
@@ -8868,7 +8868,7 @@ void ThriftHiveMetastoreClient::drop_database(const std::string& name, const boo
void ThriftHiveMetastoreClient::send_drop_database(const std::string& name, const bool deleteData)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_database", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_database_pargs args;
args.name = &name;
@@ -8885,27 +8885,27 @@ void ThriftHiveMetastoreClient::recv_drop_database()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_database") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_drop_database_presult result;
result.read(iprot_);
@@ -8933,7 +8933,7 @@ void ThriftHiveMetastoreClient::get_databases(std::vector & _return
void ThriftHiveMetastoreClient::send_get_databases(const std::string& pattern)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_databases", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_databases_pargs args;
args.pattern = &pattern;
@@ -8949,27 +8949,27 @@ void ThriftHiveMetastoreClient::recv_get_databases(std::vector & _r
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_databases") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_databases_presult result;
result.success = &_return;
@@ -8984,7 +8984,7 @@ void ThriftHiveMetastoreClient::recv_get_databases(std::vector & _r
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_databases failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_databases failed: unknown result");
}
void ThriftHiveMetastoreClient::get_all_databases(std::vector & _return)
@@ -8996,7 +8996,7 @@ void ThriftHiveMetastoreClient::get_all_databases(std::vector & _re
void ThriftHiveMetastoreClient::send_get_all_databases()
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_all_databases", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_all_databases", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_all_databases_pargs args;
args.write(oprot_);
@@ -9011,27 +9011,27 @@ void ThriftHiveMetastoreClient::recv_get_all_databases(std::vector
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_all_databases") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_all_databases_presult result;
result.success = &_return;
@@ -9046,7 +9046,7 @@ void ThriftHiveMetastoreClient::recv_get_all_databases(std::vector
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_all_databases failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_databases failed: unknown result");
}
void ThriftHiveMetastoreClient::get_type(Type& _return, const std::string& name)
@@ -9058,7 +9058,7 @@ void ThriftHiveMetastoreClient::get_type(Type& _return, const std::string& name)
void ThriftHiveMetastoreClient::send_get_type(const std::string& name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_type", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_type", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_type_pargs args;
args.name = &name;
@@ -9074,27 +9074,27 @@ void ThriftHiveMetastoreClient::recv_get_type(Type& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_type") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_type_presult result;
result.success = &_return;
@@ -9112,7 +9112,7 @@ void ThriftHiveMetastoreClient::recv_get_type(Type& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_type failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_type failed: unknown result");
}
bool ThriftHiveMetastoreClient::create_type(const Type& type)
@@ -9124,7 +9124,7 @@ bool ThriftHiveMetastoreClient::create_type(const Type& type)
void ThriftHiveMetastoreClient::send_create_type(const Type& type)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("create_type", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("create_type", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_create_type_pargs args;
args.type = &type;
@@ -9140,27 +9140,27 @@ bool ThriftHiveMetastoreClient::recv_create_type()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_type") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_create_type_presult result;
@@ -9181,7 +9181,7 @@ bool ThriftHiveMetastoreClient::recv_create_type()
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "create_type failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "create_type failed: unknown result");
}
bool ThriftHiveMetastoreClient::drop_type(const std::string& type)
@@ -9193,7 +9193,7 @@ bool ThriftHiveMetastoreClient::drop_type(const std::string& type)
void ThriftHiveMetastoreClient::send_drop_type(const std::string& type)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_type", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_type_pargs args;
args.type = &type;
@@ -9209,27 +9209,27 @@ bool ThriftHiveMetastoreClient::recv_drop_type()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_type") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_type_presult result;
@@ -9247,7 +9247,7 @@ bool ThriftHiveMetastoreClient::recv_drop_type()
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "drop_type failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_type failed: unknown result");
}
void ThriftHiveMetastoreClient::get_type_all(std::map & _return, const std::string& name)
@@ -9259,7 +9259,7 @@ void ThriftHiveMetastoreClient::get_type_all(std::map & _retu
void ThriftHiveMetastoreClient::send_get_type_all(const std::string& name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_type_all", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_type_all", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_type_all_pargs args;
args.name = &name;
@@ -9275,27 +9275,27 @@ void ThriftHiveMetastoreClient::recv_get_type_all(std::map &
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_type_all") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_type_all_presult result;
result.success = &_return;
@@ -9310,7 +9310,7 @@ void ThriftHiveMetastoreClient::recv_get_type_all(std::map &
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_type_all failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_type_all failed: unknown result");
}
void ThriftHiveMetastoreClient::get_fields(std::vector & _return, const std::string& db_name, const std::string& table_name)
@@ -9322,7 +9322,7 @@ void ThriftHiveMetastoreClient::get_fields(std::vector & _return, c
void ThriftHiveMetastoreClient::send_get_fields(const std::string& db_name, const std::string& table_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_fields", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_fields_pargs args;
args.db_name = &db_name;
@@ -9339,27 +9339,27 @@ void ThriftHiveMetastoreClient::recv_get_fields(std::vector & _retu
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_fields") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_fields_presult result;
result.success = &_return;
@@ -9380,7 +9380,7 @@ void ThriftHiveMetastoreClient::recv_get_fields(std::vector & _retu
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_fields failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_fields failed: unknown result");
}
void ThriftHiveMetastoreClient::get_schema(std::vector & _return, const std::string& db_name, const std::string& table_name)
@@ -9392,7 +9392,7 @@ void ThriftHiveMetastoreClient::get_schema(std::vector & _return, c
void ThriftHiveMetastoreClient::send_get_schema(const std::string& db_name, const std::string& table_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_schema", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_schema_pargs args;
args.db_name = &db_name;
@@ -9409,27 +9409,27 @@ void ThriftHiveMetastoreClient::recv_get_schema(std::vector & _retu
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_schema") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_schema_presult result;
result.success = &_return;
@@ -9450,7 +9450,7 @@ void ThriftHiveMetastoreClient::recv_get_schema(std::vector & _retu
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_schema failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_schema failed: unknown result");
}
void ThriftHiveMetastoreClient::create_table(const Table& tbl)
@@ -9462,7 +9462,7 @@ void ThriftHiveMetastoreClient::create_table(const Table& tbl)
void ThriftHiveMetastoreClient::send_create_table(const Table& tbl)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("create_table", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("create_table", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_create_table_pargs args;
args.tbl = &tbl;
@@ -9478,27 +9478,27 @@ void ThriftHiveMetastoreClient::recv_create_table()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_table") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_create_table_presult result;
result.read(iprot_);
@@ -9529,7 +9529,7 @@ void ThriftHiveMetastoreClient::drop_table(const std::string& dbname, const std:
void ThriftHiveMetastoreClient::send_drop_table(const std::string& dbname, const std::string& name, const bool deleteData)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_table", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_table_pargs args;
args.dbname = &dbname;
@@ -9547,27 +9547,27 @@ void ThriftHiveMetastoreClient::recv_drop_table()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_table") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_drop_table_presult result;
result.read(iprot_);
@@ -9592,7 +9592,7 @@ void ThriftHiveMetastoreClient::get_tables(std::vector & _return, c
void ThriftHiveMetastoreClient::send_get_tables(const std::string& db_name, const std::string& pattern)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_tables", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_tables_pargs args;
args.db_name = &db_name;
@@ -9609,27 +9609,27 @@ void ThriftHiveMetastoreClient::recv_get_tables(std::vector & _retu
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_tables") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_tables_presult result;
result.success = &_return;
@@ -9644,7 +9644,7 @@ void ThriftHiveMetastoreClient::recv_get_tables(std::vector & _retu
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_tables failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_tables failed: unknown result");
}
void ThriftHiveMetastoreClient::get_all_tables(std::vector & _return, const std::string& db_name)
@@ -9656,7 +9656,7 @@ void ThriftHiveMetastoreClient::get_all_tables(std::vector & _retur
void ThriftHiveMetastoreClient::send_get_all_tables(const std::string& db_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_all_tables", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_all_tables", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_all_tables_pargs args;
args.db_name = &db_name;
@@ -9672,27 +9672,27 @@ void ThriftHiveMetastoreClient::recv_get_all_tables(std::vector & _
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_all_tables") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_all_tables_presult result;
result.success = &_return;
@@ -9707,7 +9707,7 @@ void ThriftHiveMetastoreClient::recv_get_all_tables(std::vector & _
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_all_tables failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_tables failed: unknown result");
}
void ThriftHiveMetastoreClient::get_table(Table& _return, const std::string& dbname, const std::string& tbl_name)
@@ -9719,7 +9719,7 @@ void ThriftHiveMetastoreClient::get_table(Table& _return, const std::string& dbn
void ThriftHiveMetastoreClient::send_get_table(const std::string& dbname, const std::string& tbl_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_table", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_table", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_table_pargs args;
args.dbname = &dbname;
@@ -9736,27 +9736,27 @@ void ThriftHiveMetastoreClient::recv_get_table(Table& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_table") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_table_presult result;
result.success = &_return;
@@ -9774,7 +9774,7 @@ void ThriftHiveMetastoreClient::recv_get_table(Table& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_table failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table failed: unknown result");
}
void ThriftHiveMetastoreClient::alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl)
@@ -9786,7 +9786,7 @@ void ThriftHiveMetastoreClient::alter_table(const std::string& dbname, const std
void ThriftHiveMetastoreClient::send_alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("alter_table", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_alter_table_pargs args;
args.dbname = &dbname;
@@ -9804,27 +9804,27 @@ void ThriftHiveMetastoreClient::recv_alter_table()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_table") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_table_presult result;
result.read(iprot_);
@@ -9849,7 +9849,7 @@ void ThriftHiveMetastoreClient::add_partition(Partition& _return, const Partitio
void ThriftHiveMetastoreClient::send_add_partition(const Partition& new_part)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("add_partition", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_add_partition_pargs args;
args.new_part = &new_part;
@@ -9865,27 +9865,27 @@ void ThriftHiveMetastoreClient::recv_add_partition(Partition& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("add_partition") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_add_partition_presult result;
result.success = &_return;
@@ -9906,7 +9906,7 @@ void ThriftHiveMetastoreClient::recv_add_partition(Partition& _return)
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "add_partition failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "add_partition failed: unknown result");
}
void ThriftHiveMetastoreClient::append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals)
@@ -9918,7 +9918,7 @@ void ThriftHiveMetastoreClient::append_partition(Partition& _return, const std::
void ThriftHiveMetastoreClient::send_append_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("append_partition", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_append_partition_pargs args;
args.db_name = &db_name;
@@ -9936,27 +9936,27 @@ void ThriftHiveMetastoreClient::recv_append_partition(Partition& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("append_partition") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_append_partition_presult result;
result.success = &_return;
@@ -9977,7 +9977,7 @@ void ThriftHiveMetastoreClient::recv_append_partition(Partition& _return)
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "append_partition failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "append_partition failed: unknown result");
}
void ThriftHiveMetastoreClient::append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name)
@@ -9989,7 +9989,7 @@ void ThriftHiveMetastoreClient::append_partition_by_name(Partition& _return, con
void ThriftHiveMetastoreClient::send_append_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("append_partition_by_name", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("append_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_append_partition_by_name_pargs args;
args.db_name = &db_name;
@@ -10007,27 +10007,27 @@ void ThriftHiveMetastoreClient::recv_append_partition_by_name(Partition& _return
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("append_partition_by_name") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_append_partition_by_name_presult result;
result.success = &_return;
@@ -10048,7 +10048,7 @@ void ThriftHiveMetastoreClient::recv_append_partition_by_name(Partition& _return
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "append_partition_by_name failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "append_partition_by_name failed: unknown result");
}
bool ThriftHiveMetastoreClient::drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData)
@@ -10060,7 +10060,7 @@ bool ThriftHiveMetastoreClient::drop_partition(const std::string& db_name, const
void ThriftHiveMetastoreClient::send_drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_partition", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_partition_pargs args;
args.db_name = &db_name;
@@ -10079,27 +10079,27 @@ bool ThriftHiveMetastoreClient::recv_drop_partition()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_partition") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_partition_presult result;
@@ -10117,7 +10117,7 @@ bool ThriftHiveMetastoreClient::recv_drop_partition()
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition failed: unknown result");
}
bool ThriftHiveMetastoreClient::drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData)
@@ -10129,7 +10129,7 @@ bool ThriftHiveMetastoreClient::drop_partition_by_name(const std::string& db_nam
void ThriftHiveMetastoreClient::send_drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_partition_by_name", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_partition_by_name_pargs args;
args.db_name = &db_name;
@@ -10148,27 +10148,27 @@ bool ThriftHiveMetastoreClient::recv_drop_partition_by_name()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_partition_by_name") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_partition_by_name_presult result;
@@ -10186,7 +10186,7 @@ bool ThriftHiveMetastoreClient::recv_drop_partition_by_name()
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition_by_name failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition_by_name failed: unknown result");
}
void ThriftHiveMetastoreClient::get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals)
@@ -10198,7 +10198,7 @@ void ThriftHiveMetastoreClient::get_partition(Partition& _return, const std::str
void ThriftHiveMetastoreClient::send_get_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partition", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partition_pargs args;
args.db_name = &db_name;
@@ -10216,27 +10216,27 @@ void ThriftHiveMetastoreClient::recv_get_partition(Partition& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_presult result;
result.success = &_return;
@@ -10254,7 +10254,7 @@ void ThriftHiveMetastoreClient::recv_get_partition(Partition& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_partition failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition failed: unknown result");
}
void ThriftHiveMetastoreClient::get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name)
@@ -10266,7 +10266,7 @@ void ThriftHiveMetastoreClient::get_partition_by_name(Partition& _return, const
void ThriftHiveMetastoreClient::send_get_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partition_by_name", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partition_by_name_pargs args;
args.db_name = &db_name;
@@ -10284,27 +10284,27 @@ void ThriftHiveMetastoreClient::recv_get_partition_by_name(Partition& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition_by_name") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_by_name_presult result;
result.success = &_return;
@@ -10322,7 +10322,7 @@ void ThriftHiveMetastoreClient::recv_get_partition_by_name(Partition& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_by_name failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_by_name failed: unknown result");
}
void ThriftHiveMetastoreClient::get_partitions(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts)
@@ -10334,7 +10334,7 @@ void ThriftHiveMetastoreClient::get_partitions(std::vector & _return,
void ThriftHiveMetastoreClient::send_get_partitions(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partitions", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partitions_pargs args;
args.db_name = &db_name;
@@ -10352,27 +10352,27 @@ void ThriftHiveMetastoreClient::recv_get_partitions(std::vector & _re
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_presult result;
result.success = &_return;
@@ -10390,7 +10390,7 @@ void ThriftHiveMetastoreClient::recv_get_partitions(std::vector & _re
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions failed: unknown result");
}
void ThriftHiveMetastoreClient::get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts)
@@ -10402,7 +10402,7 @@ void ThriftHiveMetastoreClient::get_partition_names(std::vector & _
void ThriftHiveMetastoreClient::send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partition_names", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partition_names", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partition_names_pargs args;
args.db_name = &db_name;
@@ -10420,27 +10420,27 @@ void ThriftHiveMetastoreClient::recv_get_partition_names(std::vectorreadMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition_names") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_names_presult result;
result.success = &_return;
@@ -10455,7 +10455,7 @@ void ThriftHiveMetastoreClient::recv_get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts)
@@ -10467,7 +10467,7 @@ void ThriftHiveMetastoreClient::get_partitions_ps(std::vector & _retu
void ThriftHiveMetastoreClient::send_get_partitions_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partitions_ps", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partitions_ps", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partitions_ps_pargs args;
args.db_name = &db_name;
@@ -10486,27 +10486,27 @@ void ThriftHiveMetastoreClient::recv_get_partitions_ps(std::vector &
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions_ps") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_ps_presult result;
result.success = &_return;
@@ -10521,7 +10521,7 @@ void ThriftHiveMetastoreClient::recv_get_partitions_ps(std::vector &
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_ps failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_ps failed: unknown result");
}
void ThriftHiveMetastoreClient::get_partition_names_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts)
@@ -10533,7 +10533,7 @@ void ThriftHiveMetastoreClient::get_partition_names_ps(std::vector
void ThriftHiveMetastoreClient::send_get_partition_names_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partition_names_ps", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partition_names_ps", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partition_names_ps_pargs args;
args.db_name = &db_name;
@@ -10552,27 +10552,27 @@ void ThriftHiveMetastoreClient::recv_get_partition_names_ps(std::vectorreadMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition_names_ps") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_names_ps_presult result;
result.success = &_return;
@@ -10587,7 +10587,7 @@ void ThriftHiveMetastoreClient::recv_get_partition_names_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts)
@@ -10599,7 +10599,7 @@ void ThriftHiveMetastoreClient::get_partitions_by_filter(std::vector
void ThriftHiveMetastoreClient::send_get_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_partitions_by_filter", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_partitions_by_filter", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_partitions_by_filter_pargs args;
args.db_name = &db_name;
@@ -10618,27 +10618,27 @@ void ThriftHiveMetastoreClient::recv_get_partitions_by_filter(std::vectorreadMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions_by_filter") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_by_filter_presult result;
result.success = &_return;
@@ -10656,7 +10656,7 @@ void ThriftHiveMetastoreClient::recv_get_partitions_by_filter(std::vectorwriteMessageBegin("alter_partition", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_alter_partition_pargs args;
args.db_name = &db_name;
@@ -10686,27 +10686,27 @@ void ThriftHiveMetastoreClient::recv_alter_partition()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_partition") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_partition_presult result;
result.read(iprot_);
@@ -10731,7 +10731,7 @@ void ThriftHiveMetastoreClient::get_config_value(std::string& _return, const std
void ThriftHiveMetastoreClient::send_get_config_value(const std::string& name, const std::string& defaultValue)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_config_value", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_config_value", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_config_value_pargs args;
args.name = &name;
@@ -10748,27 +10748,27 @@ void ThriftHiveMetastoreClient::recv_get_config_value(std::string& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_config_value") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_config_value_presult result;
result.success = &_return;
@@ -10783,7 +10783,7 @@ void ThriftHiveMetastoreClient::recv_get_config_value(std::string& _return)
if (result.__isset.o1) {
throw result.o1;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_config_value failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_config_value failed: unknown result");
}
void ThriftHiveMetastoreClient::partition_name_to_vals(std::vector & _return, const std::string& part_name)
@@ -10795,7 +10795,7 @@ void ThriftHiveMetastoreClient::partition_name_to_vals(std::vector
void ThriftHiveMetastoreClient::send_partition_name_to_vals(const std::string& part_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("partition_name_to_vals", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("partition_name_to_vals", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_partition_name_to_vals_pargs args;
args.part_name = &part_name;
@@ -10811,27 +10811,27 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_vals(std::vectorreadMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("partition_name_to_vals") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_partition_name_to_vals_presult result;
result.success = &_return;
@@ -10846,7 +10846,7 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_vals(std::vector & _return, const std::string& part_name)
@@ -10858,7 +10858,7 @@ void ThriftHiveMetastoreClient::partition_name_to_spec(std::mapwriteMessageBegin("partition_name_to_spec", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("partition_name_to_spec", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_partition_name_to_spec_pargs args;
args.part_name = &part_name;
@@ -10874,27 +10874,27 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_spec(std::mapreadMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("partition_name_to_spec") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_partition_name_to_spec_presult result;
result.success = &_return;
@@ -10909,7 +10909,7 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_spec(std::mapwriteMessageBegin("add_index", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("add_index", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_add_index_pargs args;
args.new_index = &new_index;
@@ -10938,27 +10938,27 @@ void ThriftHiveMetastoreClient::recv_add_index(Index& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("add_index") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_add_index_presult result;
result.success = &_return;
@@ -10979,7 +10979,7 @@ void ThriftHiveMetastoreClient::recv_add_index(Index& _return)
if (result.__isset.o3) {
throw result.o3;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "add_index failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "add_index failed: unknown result");
}
bool ThriftHiveMetastoreClient::drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData)
@@ -10991,7 +10991,7 @@ bool ThriftHiveMetastoreClient::drop_index_by_name(const std::string& db_name, c
void ThriftHiveMetastoreClient::send_drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("drop_index_by_name", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("drop_index_by_name", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_drop_index_by_name_pargs args;
args.db_name = &db_name;
@@ -11010,27 +11010,27 @@ bool ThriftHiveMetastoreClient::recv_drop_index_by_name()
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_index_by_name") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_index_by_name_presult result;
@@ -11048,7 +11048,7 @@ bool ThriftHiveMetastoreClient::recv_drop_index_by_name()
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "drop_index_by_name failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_index_by_name failed: unknown result");
}
void ThriftHiveMetastoreClient::get_index_by_name(Index& _return, const std::string& db_name, const std::string& tbl_name, const std::string& index_name)
@@ -11060,7 +11060,7 @@ void ThriftHiveMetastoreClient::get_index_by_name(Index& _return, const std::str
void ThriftHiveMetastoreClient::send_get_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_index_by_name", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_index_by_name", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_index_by_name_pargs args;
args.db_name = &db_name;
@@ -11078,27 +11078,27 @@ void ThriftHiveMetastoreClient::recv_get_index_by_name(Index& _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_index_by_name") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_index_by_name_presult result;
result.success = &_return;
@@ -11116,7 +11116,7 @@ void ThriftHiveMetastoreClient::recv_get_index_by_name(Index& _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_index_by_name failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_index_by_name failed: unknown result");
}
void ThriftHiveMetastoreClient::get_indexes(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes)
@@ -11128,7 +11128,7 @@ void ThriftHiveMetastoreClient::get_indexes(std::vector & _return, const
void ThriftHiveMetastoreClient::send_get_indexes(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_indexes", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_indexes_pargs args;
args.db_name = &db_name;
@@ -11146,27 +11146,27 @@ void ThriftHiveMetastoreClient::recv_get_indexes(std::vector & _return)
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_indexes") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_indexes_presult result;
result.success = &_return;
@@ -11184,7 +11184,7 @@ void ThriftHiveMetastoreClient::recv_get_indexes(std::vector & _return)
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_indexes failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_indexes failed: unknown result");
}
void ThriftHiveMetastoreClient::get_index_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes)
@@ -11196,7 +11196,7 @@ void ThriftHiveMetastoreClient::get_index_names(std::vector & _retu
void ThriftHiveMetastoreClient::send_get_index_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes)
{
int32_t cseqid = 0;
- oprot_->writeMessageBegin("get_index_names", apache::thrift::protocol::T_CALL, cseqid);
+ oprot_->writeMessageBegin("get_index_names", ::apache::thrift::protocol::T_CALL, cseqid);
ThriftHiveMetastore_get_index_names_pargs args;
args.db_name = &db_name;
@@ -11214,27 +11214,27 @@ void ThriftHiveMetastoreClient::recv_get_index_names(std::vector &
int32_t rseqid = 0;
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
iprot_->readMessageBegin(fname, mtype, rseqid);
- if (mtype == apache::thrift::protocol::T_EXCEPTION) {
- apache::thrift::TApplicationException x;
+ if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
+ ::apache::thrift::TApplicationException x;
x.read(iprot_);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
throw x;
}
- if (mtype != apache::thrift::protocol::T_REPLY) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_REPLY) {
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_index_names") != 0) {
- iprot_->skip(apache::thrift::protocol::T_STRUCT);
+ iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::WRONG_METHOD_NAME);
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_index_names_presult result;
result.success = &_return;
@@ -11249,25 +11249,25 @@ void ThriftHiveMetastoreClient::recv_get_index_names(std::vector &
if (result.__isset.o2) {
throw result.o2;
}
- throw apache::thrift::TApplicationException(apache::thrift::TApplicationException::MISSING_RESULT, "get_index_names failed: unknown result");
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_index_names failed: unknown result");
}
-bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr piprot, boost::shared_ptr poprot) {
+bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot) {
- apache::thrift::protocol::TProtocol* iprot = piprot.get();
- apache::thrift::protocol::TProtocol* oprot = poprot.get();
+ ::apache::thrift::protocol::TProtocol* iprot = piprot.get();
+ ::apache::thrift::protocol::TProtocol* oprot = poprot.get();
std::string fname;
- apache::thrift::protocol::TMessageType mtype;
+ ::apache::thrift::protocol::TMessageType mtype;
int32_t seqid;
iprot->readMessageBegin(fname, mtype, seqid);
- if (mtype != apache::thrift::protocol::T_CALL && mtype != apache::thrift::protocol::T_ONEWAY) {
- iprot->skip(apache::thrift::protocol::T_STRUCT);
+ if (mtype != ::apache::thrift::protocol::T_CALL && mtype != ::apache::thrift::protocol::T_ONEWAY) {
+ iprot->skip(::apache::thrift::protocol::T_STRUCT);
iprot->readMessageEnd();
iprot->getTransport()->readEnd();
- apache::thrift::TApplicationException x(apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
- oprot->writeMessageBegin(fname, apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
+ oprot->writeMessageBegin(fname, ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11278,8 +11278,8 @@ bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr::iterator pfn;
+bool ThriftHiveMetastoreProcessor::process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid) {
+ std::map::iterator pfn;
pfn = processMap_.find(fname);
if (pfn == processMap_.end()) {
return facebook::fb303::FacebookServiceProcessor::process_fn(iprot, oprot, fname, seqid);
@@ -11288,7 +11288,7 @@ bool ThriftHiveMetastoreProcessor::process_fn(apache::thrift::protocol::TProtoco
return true;
}
-void ThriftHiveMetastoreProcessor::process_create_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_create_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_create_database_args args;
args.read(iprot);
@@ -11308,8 +11308,8 @@ void ThriftHiveMetastoreProcessor::process_create_database(int32_t seqid, apache
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("create_database", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("create_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11317,14 +11317,14 @@ void ThriftHiveMetastoreProcessor::process_create_database(int32_t seqid, apache
return;
}
- oprot->writeMessageBegin("create_database", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("create_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_database_args args;
args.read(iprot);
@@ -11342,8 +11342,8 @@ void ThriftHiveMetastoreProcessor::process_get_database(int32_t seqid, apache::t
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_database", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11351,14 +11351,14 @@ void ThriftHiveMetastoreProcessor::process_get_database(int32_t seqid, apache::t
return;
}
- oprot->writeMessageBegin("get_database", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_database_args args;
args.read(iprot);
@@ -11378,8 +11378,8 @@ void ThriftHiveMetastoreProcessor::process_drop_database(int32_t seqid, apache::
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_database", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11387,14 +11387,14 @@ void ThriftHiveMetastoreProcessor::process_drop_database(int32_t seqid, apache::
return;
}
- oprot->writeMessageBegin("drop_database", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_databases(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_databases_args args;
args.read(iprot);
@@ -11409,8 +11409,8 @@ void ThriftHiveMetastoreProcessor::process_get_databases(int32_t seqid, apache::
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_databases", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11418,14 +11418,14 @@ void ThriftHiveMetastoreProcessor::process_get_databases(int32_t seqid, apache::
return;
}
- oprot->writeMessageBegin("get_databases", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_all_databases(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_all_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_all_databases_args args;
args.read(iprot);
@@ -11440,8 +11440,8 @@ void ThriftHiveMetastoreProcessor::process_get_all_databases(int32_t seqid, apac
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_all_databases", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_all_databases", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11449,14 +11449,14 @@ void ThriftHiveMetastoreProcessor::process_get_all_databases(int32_t seqid, apac
return;
}
- oprot->writeMessageBegin("get_all_databases", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_all_databases", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_type_args args;
args.read(iprot);
@@ -11474,8 +11474,8 @@ void ThriftHiveMetastoreProcessor::process_get_type(int32_t seqid, apache::thrif
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_type", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11483,14 +11483,14 @@ void ThriftHiveMetastoreProcessor::process_get_type(int32_t seqid, apache::thrif
return;
}
- oprot->writeMessageBegin("get_type", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_create_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_create_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_create_type_args args;
args.read(iprot);
@@ -11511,8 +11511,8 @@ void ThriftHiveMetastoreProcessor::process_create_type(int32_t seqid, apache::th
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("create_type", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("create_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11520,14 +11520,14 @@ void ThriftHiveMetastoreProcessor::process_create_type(int32_t seqid, apache::th
return;
}
- oprot->writeMessageBegin("create_type", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("create_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_type_args args;
args.read(iprot);
@@ -11545,8 +11545,8 @@ void ThriftHiveMetastoreProcessor::process_drop_type(int32_t seqid, apache::thri
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_type", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11554,14 +11554,14 @@ void ThriftHiveMetastoreProcessor::process_drop_type(int32_t seqid, apache::thri
return;
}
- oprot->writeMessageBegin("drop_type", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_type_all(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_type_all(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_type_all_args args;
args.read(iprot);
@@ -11576,8 +11576,8 @@ void ThriftHiveMetastoreProcessor::process_get_type_all(int32_t seqid, apache::t
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_type_all", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_type_all", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11585,14 +11585,14 @@ void ThriftHiveMetastoreProcessor::process_get_type_all(int32_t seqid, apache::t
return;
}
- oprot->writeMessageBegin("get_type_all", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_type_all", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_fields(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_fields(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_fields_args args;
args.read(iprot);
@@ -11613,8 +11613,8 @@ void ThriftHiveMetastoreProcessor::process_get_fields(int32_t seqid, apache::thr
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_fields", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11622,14 +11622,14 @@ void ThriftHiveMetastoreProcessor::process_get_fields(int32_t seqid, apache::thr
return;
}
- oprot->writeMessageBegin("get_fields", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_schema(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_schema(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_schema_args args;
args.read(iprot);
@@ -11650,8 +11650,8 @@ void ThriftHiveMetastoreProcessor::process_get_schema(int32_t seqid, apache::thr
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_schema", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11659,14 +11659,14 @@ void ThriftHiveMetastoreProcessor::process_get_schema(int32_t seqid, apache::thr
return;
}
- oprot->writeMessageBegin("get_schema", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_create_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_create_table_args args;
args.read(iprot);
@@ -11689,8 +11689,8 @@ void ThriftHiveMetastoreProcessor::process_create_table(int32_t seqid, apache::t
result.o4 = o4;
result.__isset.o4 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("create_table", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("create_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11698,14 +11698,14 @@ void ThriftHiveMetastoreProcessor::process_create_table(int32_t seqid, apache::t
return;
}
- oprot->writeMessageBegin("create_table", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("create_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_table_args args;
args.read(iprot);
@@ -11722,8 +11722,8 @@ void ThriftHiveMetastoreProcessor::process_drop_table(int32_t seqid, apache::thr
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_table", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11731,14 +11731,14 @@ void ThriftHiveMetastoreProcessor::process_drop_table(int32_t seqid, apache::thr
return;
}
- oprot->writeMessageBegin("drop_table", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_tables_args args;
args.read(iprot);
@@ -11753,8 +11753,8 @@ void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, apache::thr
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_tables", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11762,14 +11762,14 @@ void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, apache::thr
return;
}
- oprot->writeMessageBegin("get_tables", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_all_tables_args args;
args.read(iprot);
@@ -11784,8 +11784,8 @@ void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, apache:
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_all_tables", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_all_tables", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11793,14 +11793,14 @@ void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, apache:
return;
}
- oprot->writeMessageBegin("get_all_tables", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_all_tables", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_table_args args;
args.read(iprot);
@@ -11818,8 +11818,8 @@ void ThriftHiveMetastoreProcessor::process_get_table(int32_t seqid, apache::thri
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_table", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11827,14 +11827,14 @@ void ThriftHiveMetastoreProcessor::process_get_table(int32_t seqid, apache::thri
return;
}
- oprot->writeMessageBegin("get_table", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_alter_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_alter_table_args args;
args.read(iprot);
@@ -11851,8 +11851,8 @@ void ThriftHiveMetastoreProcessor::process_alter_table(int32_t seqid, apache::th
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("alter_table", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11860,14 +11860,14 @@ void ThriftHiveMetastoreProcessor::process_alter_table(int32_t seqid, apache::th
return;
}
- oprot->writeMessageBegin("alter_table", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_add_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_add_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_add_partition_args args;
args.read(iprot);
@@ -11888,8 +11888,8 @@ void ThriftHiveMetastoreProcessor::process_add_partition(int32_t seqid, apache::
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("add_partition", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11897,14 +11897,14 @@ void ThriftHiveMetastoreProcessor::process_add_partition(int32_t seqid, apache::
return;
}
- oprot->writeMessageBegin("add_partition", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_append_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_append_partition_args args;
args.read(iprot);
@@ -11925,8 +11925,8 @@ void ThriftHiveMetastoreProcessor::process_append_partition(int32_t seqid, apach
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("append_partition", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11934,14 +11934,14 @@ void ThriftHiveMetastoreProcessor::process_append_partition(int32_t seqid, apach
return;
}
- oprot->writeMessageBegin("append_partition", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_append_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_append_partition_by_name_args args;
args.read(iprot);
@@ -11962,8 +11962,8 @@ void ThriftHiveMetastoreProcessor::process_append_partition_by_name(int32_t seqi
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("append_partition_by_name", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("append_partition_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -11971,14 +11971,14 @@ void ThriftHiveMetastoreProcessor::process_append_partition_by_name(int32_t seqi
return;
}
- oprot->writeMessageBegin("append_partition_by_name", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("append_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_partition_args args;
args.read(iprot);
@@ -11996,8 +11996,8 @@ void ThriftHiveMetastoreProcessor::process_drop_partition(int32_t seqid, apache:
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_partition", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12005,14 +12005,14 @@ void ThriftHiveMetastoreProcessor::process_drop_partition(int32_t seqid, apache:
return;
}
- oprot->writeMessageBegin("drop_partition", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_partition_by_name_args args;
args.read(iprot);
@@ -12030,8 +12030,8 @@ void ThriftHiveMetastoreProcessor::process_drop_partition_by_name(int32_t seqid,
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_partition_by_name", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_partition_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12039,14 +12039,14 @@ void ThriftHiveMetastoreProcessor::process_drop_partition_by_name(int32_t seqid,
return;
}
- oprot->writeMessageBegin("drop_partition_by_name", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partition_args args;
args.read(iprot);
@@ -12064,8 +12064,8 @@ void ThriftHiveMetastoreProcessor::process_get_partition(int32_t seqid, apache::
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partition", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12073,14 +12073,14 @@ void ThriftHiveMetastoreProcessor::process_get_partition(int32_t seqid, apache::
return;
}
- oprot->writeMessageBegin("get_partition", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partition_by_name_args args;
args.read(iprot);
@@ -12098,8 +12098,8 @@ void ThriftHiveMetastoreProcessor::process_get_partition_by_name(int32_t seqid,
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partition_by_name", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partition_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12107,14 +12107,14 @@ void ThriftHiveMetastoreProcessor::process_get_partition_by_name(int32_t seqid,
return;
}
- oprot->writeMessageBegin("get_partition_by_name", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partitions(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partitions_args args;
args.read(iprot);
@@ -12132,8 +12132,8 @@ void ThriftHiveMetastoreProcessor::process_get_partitions(int32_t seqid, apache:
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partitions", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12141,14 +12141,14 @@ void ThriftHiveMetastoreProcessor::process_get_partitions(int32_t seqid, apache:
return;
}
- oprot->writeMessageBegin("get_partitions", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partition_names_args args;
args.read(iprot);
@@ -12163,8 +12163,8 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, ap
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partition_names", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partition_names", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12172,14 +12172,14 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, ap
return;
}
- oprot->writeMessageBegin("get_partition_names", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partition_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partitions_ps_args args;
args.read(iprot);
@@ -12194,8 +12194,8 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, apac
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partitions_ps", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partitions_ps", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12203,14 +12203,14 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, apac
return;
}
- oprot->writeMessageBegin("get_partitions_ps", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partitions_ps", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partition_names_ps(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partition_names_ps_args args;
args.read(iprot);
@@ -12225,8 +12225,8 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names_ps(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partition_names_ps", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partition_names_ps", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12234,14 +12234,14 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names_ps(int32_t seqid,
return;
}
- oprot->writeMessageBegin("get_partition_names_ps", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partition_names_ps", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_partitions_by_filter(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_partitions_by_filter_args args;
args.read(iprot);
@@ -12259,8 +12259,8 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_by_filter(int32_t seqi
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_partitions_by_filter", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_partitions_by_filter", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12268,14 +12268,14 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_by_filter(int32_t seqi
return;
}
- oprot->writeMessageBegin("get_partitions_by_filter", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_partitions_by_filter", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_alter_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_alter_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_alter_partition_args args;
args.read(iprot);
@@ -12292,8 +12292,8 @@ void ThriftHiveMetastoreProcessor::process_alter_partition(int32_t seqid, apache
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("alter_partition", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12301,14 +12301,14 @@ void ThriftHiveMetastoreProcessor::process_alter_partition(int32_t seqid, apache
return;
}
- oprot->writeMessageBegin("alter_partition", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_config_value(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_config_value(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_config_value_args args;
args.read(iprot);
@@ -12323,8 +12323,8 @@ void ThriftHiveMetastoreProcessor::process_get_config_value(int32_t seqid, apach
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_config_value", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_config_value", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12332,14 +12332,14 @@ void ThriftHiveMetastoreProcessor::process_get_config_value(int32_t seqid, apach
return;
}
- oprot->writeMessageBegin("get_config_value", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_config_value", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_partition_name_to_vals(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_partition_name_to_vals(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_partition_name_to_vals_args args;
args.read(iprot);
@@ -12354,8 +12354,8 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_vals(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("partition_name_to_vals", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("partition_name_to_vals", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12363,14 +12363,14 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_vals(int32_t seqid,
return;
}
- oprot->writeMessageBegin("partition_name_to_vals", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("partition_name_to_vals", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_partition_name_to_spec(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_partition_name_to_spec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_partition_name_to_spec_args args;
args.read(iprot);
@@ -12385,8 +12385,8 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_spec(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("partition_name_to_spec", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("partition_name_to_spec", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12394,14 +12394,14 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_spec(int32_t seqid,
return;
}
- oprot->writeMessageBegin("partition_name_to_spec", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("partition_name_to_spec", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_add_index(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_add_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_add_index_args args;
args.read(iprot);
@@ -12422,8 +12422,8 @@ void ThriftHiveMetastoreProcessor::process_add_index(int32_t seqid, apache::thri
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("add_index", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("add_index", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12431,14 +12431,14 @@ void ThriftHiveMetastoreProcessor::process_add_index(int32_t seqid, apache::thri
return;
}
- oprot->writeMessageBegin("add_index", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("add_index", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_drop_index_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_drop_index_by_name_args args;
args.read(iprot);
@@ -12456,8 +12456,8 @@ void ThriftHiveMetastoreProcessor::process_drop_index_by_name(int32_t seqid, apa
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("drop_index_by_name", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("drop_index_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12465,14 +12465,14 @@ void ThriftHiveMetastoreProcessor::process_drop_index_by_name(int32_t seqid, apa
return;
}
- oprot->writeMessageBegin("drop_index_by_name", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("drop_index_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_index_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_index_by_name_args args;
args.read(iprot);
@@ -12490,8 +12490,8 @@ void ThriftHiveMetastoreProcessor::process_get_index_by_name(int32_t seqid, apac
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_index_by_name", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_index_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12499,14 +12499,14 @@ void ThriftHiveMetastoreProcessor::process_get_index_by_name(int32_t seqid, apac
return;
}
- oprot->writeMessageBegin("get_index_by_name", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_index_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_indexes(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_indexes(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_indexes_args args;
args.read(iprot);
@@ -12524,8 +12524,8 @@ void ThriftHiveMetastoreProcessor::process_get_indexes(int32_t seqid, apache::th
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_indexes", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12533,14 +12533,14 @@ void ThriftHiveMetastoreProcessor::process_get_indexes(int32_t seqid, apache::th
return;
}
- oprot->writeMessageBegin("get_indexes", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
}
-void ThriftHiveMetastoreProcessor::process_get_index_names(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_index_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
{
ThriftHiveMetastore_get_index_names_args args;
args.read(iprot);
@@ -12555,8 +12555,8 @@ void ThriftHiveMetastoreProcessor::process_get_index_names(int32_t seqid, apache
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
- apache::thrift::TApplicationException x(e.what());
- oprot->writeMessageBegin("get_index_names", apache::thrift::protocol::T_EXCEPTION, seqid);
+ ::apache::thrift::TApplicationException x(e.what());
+ oprot->writeMessageBegin("get_index_names", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
@@ -12564,7 +12564,7 @@ void ThriftHiveMetastoreProcessor::process_get_index_names(int32_t seqid, apache
return;
}
- oprot->writeMessageBegin("get_index_names", apache::thrift::protocol::T_REPLY, seqid);
+ oprot->writeMessageBegin("get_index_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
oprot->getTransport()->flush();
diff --git metastore/src/gen-cpp/ThriftHiveMetastore.h metastore/src/gen-cpp/ThriftHiveMetastore.h
index c67481e..b7c27ae 100644
--- metastore/src/gen-cpp/ThriftHiveMetastore.h
+++ metastore/src/gen-cpp/ThriftHiveMetastore.h
@@ -179,6 +179,11 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p
}
};
+typedef struct _ThriftHiveMetastore_create_database_args__isset {
+ _ThriftHiveMetastore_create_database_args__isset() : database(false) {}
+ bool database;
+} _ThriftHiveMetastore_create_database_args__isset;
+
class ThriftHiveMetastore_create_database_args {
public:
@@ -189,10 +194,7 @@ class ThriftHiveMetastore_create_database_args {
Database database;
- struct __isset {
- __isset() : database(false) {}
- bool database;
- } __isset;
+ _ThriftHiveMetastore_create_database_args__isset __isset;
bool operator == (const ThriftHiveMetastore_create_database_args & rhs) const
{
@@ -206,11 +208,12 @@ class ThriftHiveMetastore_create_database_args {
bool operator < (const ThriftHiveMetastore_create_database_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_create_database_pargs {
public:
@@ -219,10 +222,17 @@ class ThriftHiveMetastore_create_database_pargs {
const Database* database;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_database_result__isset {
+ _ThriftHiveMetastore_create_database_result__isset() : o1(false), o2(false), o3(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_create_database_result__isset;
+
class ThriftHiveMetastore_create_database_result {
public:
@@ -235,12 +245,7 @@ class ThriftHiveMetastore_create_database_result {
InvalidObjectException o2;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false) {}
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_create_database_result__isset __isset;
bool operator == (const ThriftHiveMetastore_create_database_result & rhs) const
{
@@ -258,11 +263,18 @@ class ThriftHiveMetastore_create_database_result {
bool operator < (const ThriftHiveMetastore_create_database_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_database_presult__isset {
+ _ThriftHiveMetastore_create_database_presult__isset() : o1(false), o2(false), o3(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_create_database_presult__isset;
+
class ThriftHiveMetastore_create_database_presult {
public:
@@ -273,17 +285,17 @@ class ThriftHiveMetastore_create_database_presult {
InvalidObjectException o2;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false) {}
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_create_database_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_database_args__isset {
+ _ThriftHiveMetastore_get_database_args__isset() : name(false) {}
+ bool name;
+} _ThriftHiveMetastore_get_database_args__isset;
+
class ThriftHiveMetastore_get_database_args {
public:
@@ -294,10 +306,7 @@ class ThriftHiveMetastore_get_database_args {
std::string name;
- struct __isset {
- __isset() : name(false) {}
- bool name;
- } __isset;
+ _ThriftHiveMetastore_get_database_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_database_args & rhs) const
{
@@ -311,11 +320,12 @@ class ThriftHiveMetastore_get_database_args {
bool operator < (const ThriftHiveMetastore_get_database_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_database_pargs {
public:
@@ -324,10 +334,17 @@ class ThriftHiveMetastore_get_database_pargs {
const std::string* name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_database_result__isset {
+ _ThriftHiveMetastore_get_database_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_database_result__isset;
+
class ThriftHiveMetastore_get_database_result {
public:
@@ -340,12 +357,7 @@ class ThriftHiveMetastore_get_database_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_database_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_database_result & rhs) const
{
@@ -363,11 +375,18 @@ class ThriftHiveMetastore_get_database_result {
bool operator < (const ThriftHiveMetastore_get_database_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_database_presult__isset {
+ _ThriftHiveMetastore_get_database_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_database_presult__isset;
+
class ThriftHiveMetastore_get_database_presult {
public:
@@ -378,17 +397,18 @@ class ThriftHiveMetastore_get_database_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_database_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_database_args__isset {
+ _ThriftHiveMetastore_drop_database_args__isset() : name(false), deleteData(false) {}
+ bool name;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_database_args__isset;
+
class ThriftHiveMetastore_drop_database_args {
public:
@@ -400,11 +420,7 @@ class ThriftHiveMetastore_drop_database_args {
std::string name;
bool deleteData;
- struct __isset {
- __isset() : name(false), deleteData(false) {}
- bool name;
- bool deleteData;
- } __isset;
+ _ThriftHiveMetastore_drop_database_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_database_args & rhs) const
{
@@ -420,11 +436,12 @@ class ThriftHiveMetastore_drop_database_args {
bool operator < (const ThriftHiveMetastore_drop_database_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_database_pargs {
public:
@@ -434,10 +451,17 @@ class ThriftHiveMetastore_drop_database_pargs {
const std::string* name;
const bool* deleteData;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_database_result__isset {
+ _ThriftHiveMetastore_drop_database_result__isset() : o1(false), o2(false), o3(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_drop_database_result__isset;
+
class ThriftHiveMetastore_drop_database_result {
public:
@@ -450,12 +474,7 @@ class ThriftHiveMetastore_drop_database_result {
InvalidOperationException o2;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false) {}
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_drop_database_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_database_result & rhs) const
{
@@ -473,11 +492,18 @@ class ThriftHiveMetastore_drop_database_result {
bool operator < (const ThriftHiveMetastore_drop_database_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_database_presult__isset {
+ _ThriftHiveMetastore_drop_database_presult__isset() : o1(false), o2(false), o3(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_drop_database_presult__isset;
+
class ThriftHiveMetastore_drop_database_presult {
public:
@@ -488,17 +514,17 @@ class ThriftHiveMetastore_drop_database_presult {
InvalidOperationException o2;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false) {}
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_drop_database_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_databases_args__isset {
+ _ThriftHiveMetastore_get_databases_args__isset() : pattern(false) {}
+ bool pattern;
+} _ThriftHiveMetastore_get_databases_args__isset;
+
class ThriftHiveMetastore_get_databases_args {
public:
@@ -509,10 +535,7 @@ class ThriftHiveMetastore_get_databases_args {
std::string pattern;
- struct __isset {
- __isset() : pattern(false) {}
- bool pattern;
- } __isset;
+ _ThriftHiveMetastore_get_databases_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_databases_args & rhs) const
{
@@ -526,11 +549,12 @@ class ThriftHiveMetastore_get_databases_args {
bool operator < (const ThriftHiveMetastore_get_databases_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_databases_pargs {
public:
@@ -539,10 +563,16 @@ class ThriftHiveMetastore_get_databases_pargs {
const std::string* pattern;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_databases_result__isset {
+ _ThriftHiveMetastore_get_databases_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_databases_result__isset;
+
class ThriftHiveMetastore_get_databases_result {
public:
@@ -554,11 +584,7 @@ class ThriftHiveMetastore_get_databases_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_databases_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_databases_result & rhs) const
{
@@ -574,11 +600,17 @@ class ThriftHiveMetastore_get_databases_result {
bool operator < (const ThriftHiveMetastore_get_databases_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_databases_presult__isset {
+ _ThriftHiveMetastore_get_databases_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_databases_presult__isset;
+
class ThriftHiveMetastore_get_databases_presult {
public:
@@ -588,16 +620,13 @@ class ThriftHiveMetastore_get_databases_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_databases_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+
class ThriftHiveMetastore_get_all_databases_args {
public:
@@ -617,11 +646,12 @@ class ThriftHiveMetastore_get_all_databases_args {
bool operator < (const ThriftHiveMetastore_get_all_databases_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_all_databases_pargs {
public:
@@ -629,10 +659,16 @@ class ThriftHiveMetastore_get_all_databases_pargs {
virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw() {}
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_all_databases_result__isset {
+ _ThriftHiveMetastore_get_all_databases_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_all_databases_result__isset;
+
class ThriftHiveMetastore_get_all_databases_result {
public:
@@ -644,11 +680,7 @@ class ThriftHiveMetastore_get_all_databases_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_all_databases_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_all_databases_result & rhs) const
{
@@ -664,11 +696,17 @@ class ThriftHiveMetastore_get_all_databases_result {
bool operator < (const ThriftHiveMetastore_get_all_databases_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset {
+ _ThriftHiveMetastore_get_all_databases_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_all_databases_presult__isset;
+
class ThriftHiveMetastore_get_all_databases_presult {
public:
@@ -678,16 +716,17 @@ class ThriftHiveMetastore_get_all_databases_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_all_databases_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_type_args__isset {
+ _ThriftHiveMetastore_get_type_args__isset() : name(false) {}
+ bool name;
+} _ThriftHiveMetastore_get_type_args__isset;
+
class ThriftHiveMetastore_get_type_args {
public:
@@ -698,10 +737,7 @@ class ThriftHiveMetastore_get_type_args {
std::string name;
- struct __isset {
- __isset() : name(false) {}
- bool name;
- } __isset;
+ _ThriftHiveMetastore_get_type_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_type_args & rhs) const
{
@@ -715,11 +751,12 @@ class ThriftHiveMetastore_get_type_args {
bool operator < (const ThriftHiveMetastore_get_type_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_type_pargs {
public:
@@ -728,10 +765,17 @@ class ThriftHiveMetastore_get_type_pargs {
const std::string* name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_type_result__isset {
+ _ThriftHiveMetastore_get_type_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_type_result__isset;
+
class ThriftHiveMetastore_get_type_result {
public:
@@ -744,12 +788,7 @@ class ThriftHiveMetastore_get_type_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_type_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_type_result & rhs) const
{
@@ -767,11 +806,18 @@ class ThriftHiveMetastore_get_type_result {
bool operator < (const ThriftHiveMetastore_get_type_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_type_presult__isset {
+ _ThriftHiveMetastore_get_type_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_type_presult__isset;
+
class ThriftHiveMetastore_get_type_presult {
public:
@@ -782,17 +828,17 @@ class ThriftHiveMetastore_get_type_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_type_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_create_type_args__isset {
+ _ThriftHiveMetastore_create_type_args__isset() : type(false) {}
+ bool type;
+} _ThriftHiveMetastore_create_type_args__isset;
+
class ThriftHiveMetastore_create_type_args {
public:
@@ -803,10 +849,7 @@ class ThriftHiveMetastore_create_type_args {
Type type;
- struct __isset {
- __isset() : type(false) {}
- bool type;
- } __isset;
+ _ThriftHiveMetastore_create_type_args__isset __isset;
bool operator == (const ThriftHiveMetastore_create_type_args & rhs) const
{
@@ -820,11 +863,12 @@ class ThriftHiveMetastore_create_type_args {
bool operator < (const ThriftHiveMetastore_create_type_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_create_type_pargs {
public:
@@ -833,10 +877,18 @@ class ThriftHiveMetastore_create_type_pargs {
const Type* type;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_type_result__isset {
+ _ThriftHiveMetastore_create_type_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_create_type_result__isset;
+
class ThriftHiveMetastore_create_type_result {
public:
@@ -850,13 +902,7 @@ class ThriftHiveMetastore_create_type_result {
InvalidObjectException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_create_type_result__isset __isset;
bool operator == (const ThriftHiveMetastore_create_type_result & rhs) const
{
@@ -876,11 +922,19 @@ class ThriftHiveMetastore_create_type_result {
bool operator < (const ThriftHiveMetastore_create_type_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_type_presult__isset {
+ _ThriftHiveMetastore_create_type_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_create_type_presult__isset;
+
class ThriftHiveMetastore_create_type_presult {
public:
@@ -892,18 +946,17 @@ class ThriftHiveMetastore_create_type_presult {
InvalidObjectException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_create_type_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_type_args__isset {
+ _ThriftHiveMetastore_drop_type_args__isset() : type(false) {}
+ bool type;
+} _ThriftHiveMetastore_drop_type_args__isset;
+
class ThriftHiveMetastore_drop_type_args {
public:
@@ -914,10 +967,7 @@ class ThriftHiveMetastore_drop_type_args {
std::string type;
- struct __isset {
- __isset() : type(false) {}
- bool type;
- } __isset;
+ _ThriftHiveMetastore_drop_type_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_type_args & rhs) const
{
@@ -931,11 +981,12 @@ class ThriftHiveMetastore_drop_type_args {
bool operator < (const ThriftHiveMetastore_drop_type_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_type_pargs {
public:
@@ -944,10 +995,17 @@ class ThriftHiveMetastore_drop_type_pargs {
const std::string* type;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_type_result__isset {
+ _ThriftHiveMetastore_drop_type_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_type_result__isset;
+
class ThriftHiveMetastore_drop_type_result {
public:
@@ -960,12 +1018,7 @@ class ThriftHiveMetastore_drop_type_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_type_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_type_result & rhs) const
{
@@ -983,11 +1036,18 @@ class ThriftHiveMetastore_drop_type_result {
bool operator < (const ThriftHiveMetastore_drop_type_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_type_presult__isset {
+ _ThriftHiveMetastore_drop_type_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_type_presult__isset;
+
class ThriftHiveMetastore_drop_type_presult {
public:
@@ -998,17 +1058,17 @@ class ThriftHiveMetastore_drop_type_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_type_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_type_all_args__isset {
+ _ThriftHiveMetastore_get_type_all_args__isset() : name(false) {}
+ bool name;
+} _ThriftHiveMetastore_get_type_all_args__isset;
+
class ThriftHiveMetastore_get_type_all_args {
public:
@@ -1019,10 +1079,7 @@ class ThriftHiveMetastore_get_type_all_args {
std::string name;
- struct __isset {
- __isset() : name(false) {}
- bool name;
- } __isset;
+ _ThriftHiveMetastore_get_type_all_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_type_all_args & rhs) const
{
@@ -1036,11 +1093,12 @@ class ThriftHiveMetastore_get_type_all_args {
bool operator < (const ThriftHiveMetastore_get_type_all_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_type_all_pargs {
public:
@@ -1049,10 +1107,16 @@ class ThriftHiveMetastore_get_type_all_pargs {
const std::string* name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_type_all_result__isset {
+ _ThriftHiveMetastore_get_type_all_result__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_type_all_result__isset;
+
class ThriftHiveMetastore_get_type_all_result {
public:
@@ -1064,11 +1128,7 @@ class ThriftHiveMetastore_get_type_all_result {
std::map success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_type_all_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_type_all_result & rhs) const
{
@@ -1084,11 +1144,17 @@ class ThriftHiveMetastore_get_type_all_result {
bool operator < (const ThriftHiveMetastore_get_type_all_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_type_all_presult__isset {
+ _ThriftHiveMetastore_get_type_all_presult__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_type_all_presult__isset;
+
class ThriftHiveMetastore_get_type_all_presult {
public:
@@ -1098,16 +1164,18 @@ class ThriftHiveMetastore_get_type_all_presult {
std::map * success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_type_all_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_fields_args__isset {
+ _ThriftHiveMetastore_get_fields_args__isset() : db_name(false), table_name(false) {}
+ bool db_name;
+ bool table_name;
+} _ThriftHiveMetastore_get_fields_args__isset;
+
class ThriftHiveMetastore_get_fields_args {
public:
@@ -1119,11 +1187,7 @@ class ThriftHiveMetastore_get_fields_args {
std::string db_name;
std::string table_name;
- struct __isset {
- __isset() : db_name(false), table_name(false) {}
- bool db_name;
- bool table_name;
- } __isset;
+ _ThriftHiveMetastore_get_fields_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_fields_args & rhs) const
{
@@ -1139,11 +1203,12 @@ class ThriftHiveMetastore_get_fields_args {
bool operator < (const ThriftHiveMetastore_get_fields_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_fields_pargs {
public:
@@ -1153,10 +1218,18 @@ class ThriftHiveMetastore_get_fields_pargs {
const std::string* db_name;
const std::string* table_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_fields_result__isset {
+ _ThriftHiveMetastore_get_fields_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_get_fields_result__isset;
+
class ThriftHiveMetastore_get_fields_result {
public:
@@ -1170,13 +1243,7 @@ class ThriftHiveMetastore_get_fields_result {
UnknownTableException o2;
UnknownDBException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_get_fields_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_fields_result & rhs) const
{
@@ -1196,11 +1263,19 @@ class ThriftHiveMetastore_get_fields_result {
bool operator < (const ThriftHiveMetastore_get_fields_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_fields_presult__isset {
+ _ThriftHiveMetastore_get_fields_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_get_fields_presult__isset;
+
class ThriftHiveMetastore_get_fields_presult {
public:
@@ -1212,18 +1287,18 @@ class ThriftHiveMetastore_get_fields_presult {
UnknownTableException o2;
UnknownDBException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_get_fields_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_schema_args__isset {
+ _ThriftHiveMetastore_get_schema_args__isset() : db_name(false), table_name(false) {}
+ bool db_name;
+ bool table_name;
+} _ThriftHiveMetastore_get_schema_args__isset;
+
class ThriftHiveMetastore_get_schema_args {
public:
@@ -1235,11 +1310,7 @@ class ThriftHiveMetastore_get_schema_args {
std::string db_name;
std::string table_name;
- struct __isset {
- __isset() : db_name(false), table_name(false) {}
- bool db_name;
- bool table_name;
- } __isset;
+ _ThriftHiveMetastore_get_schema_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_schema_args & rhs) const
{
@@ -1255,11 +1326,12 @@ class ThriftHiveMetastore_get_schema_args {
bool operator < (const ThriftHiveMetastore_get_schema_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_schema_pargs {
public:
@@ -1269,10 +1341,18 @@ class ThriftHiveMetastore_get_schema_pargs {
const std::string* db_name;
const std::string* table_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_schema_result__isset {
+ _ThriftHiveMetastore_get_schema_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_get_schema_result__isset;
+
class ThriftHiveMetastore_get_schema_result {
public:
@@ -1286,13 +1366,7 @@ class ThriftHiveMetastore_get_schema_result {
UnknownTableException o2;
UnknownDBException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_get_schema_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_schema_result & rhs) const
{
@@ -1312,11 +1386,19 @@ class ThriftHiveMetastore_get_schema_result {
bool operator < (const ThriftHiveMetastore_get_schema_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_schema_presult__isset {
+ _ThriftHiveMetastore_get_schema_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_get_schema_presult__isset;
+
class ThriftHiveMetastore_get_schema_presult {
public:
@@ -1328,18 +1410,17 @@ class ThriftHiveMetastore_get_schema_presult {
UnknownTableException o2;
UnknownDBException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_get_schema_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_create_table_args__isset {
+ _ThriftHiveMetastore_create_table_args__isset() : tbl(false) {}
+ bool tbl;
+} _ThriftHiveMetastore_create_table_args__isset;
+
class ThriftHiveMetastore_create_table_args {
public:
@@ -1350,10 +1431,7 @@ class ThriftHiveMetastore_create_table_args {
Table tbl;
- struct __isset {
- __isset() : tbl(false) {}
- bool tbl;
- } __isset;
+ _ThriftHiveMetastore_create_table_args__isset __isset;
bool operator == (const ThriftHiveMetastore_create_table_args & rhs) const
{
@@ -1367,11 +1445,12 @@ class ThriftHiveMetastore_create_table_args {
bool operator < (const ThriftHiveMetastore_create_table_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_create_table_pargs {
public:
@@ -1380,10 +1459,18 @@ class ThriftHiveMetastore_create_table_pargs {
const Table* tbl;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_table_result__isset {
+ _ThriftHiveMetastore_create_table_result__isset() : o1(false), o2(false), o3(false), o4(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_create_table_result__isset;
+
class ThriftHiveMetastore_create_table_result {
public:
@@ -1397,13 +1484,7 @@ class ThriftHiveMetastore_create_table_result {
MetaException o3;
NoSuchObjectException o4;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false), o4(false) {}
- bool o1;
- bool o2;
- bool o3;
- bool o4;
- } __isset;
+ _ThriftHiveMetastore_create_table_result__isset __isset;
bool operator == (const ThriftHiveMetastore_create_table_result & rhs) const
{
@@ -1423,11 +1504,19 @@ class ThriftHiveMetastore_create_table_result {
bool operator < (const ThriftHiveMetastore_create_table_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_create_table_presult__isset {
+ _ThriftHiveMetastore_create_table_presult__isset() : o1(false), o2(false), o3(false), o4(false) {}
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_create_table_presult__isset;
+
class ThriftHiveMetastore_create_table_presult {
public:
@@ -1439,18 +1528,19 @@ class ThriftHiveMetastore_create_table_presult {
MetaException o3;
NoSuchObjectException o4;
- struct __isset {
- __isset() : o1(false), o2(false), o3(false), o4(false) {}
- bool o1;
- bool o2;
- bool o3;
- bool o4;
- } __isset;
+ _ThriftHiveMetastore_create_table_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_table_args__isset {
+ _ThriftHiveMetastore_drop_table_args__isset() : dbname(false), name(false), deleteData(false) {}
+ bool dbname;
+ bool name;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_table_args__isset;
+
class ThriftHiveMetastore_drop_table_args {
public:
@@ -1463,12 +1553,7 @@ class ThriftHiveMetastore_drop_table_args {
std::string name;
bool deleteData;
- struct __isset {
- __isset() : dbname(false), name(false), deleteData(false) {}
- bool dbname;
- bool name;
- bool deleteData;
- } __isset;
+ _ThriftHiveMetastore_drop_table_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_table_args & rhs) const
{
@@ -1486,11 +1571,12 @@ class ThriftHiveMetastore_drop_table_args {
bool operator < (const ThriftHiveMetastore_drop_table_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_table_pargs {
public:
@@ -1501,10 +1587,16 @@ class ThriftHiveMetastore_drop_table_pargs {
const std::string* name;
const bool* deleteData;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_table_result__isset {
+ _ThriftHiveMetastore_drop_table_result__isset() : o1(false), o3(false) {}
+ bool o1;
+ bool o3;
+} _ThriftHiveMetastore_drop_table_result__isset;
+
class ThriftHiveMetastore_drop_table_result {
public:
@@ -1516,11 +1608,7 @@ class ThriftHiveMetastore_drop_table_result {
NoSuchObjectException o1;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o3(false) {}
- bool o1;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_drop_table_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_table_result & rhs) const
{
@@ -1536,11 +1624,17 @@ class ThriftHiveMetastore_drop_table_result {
bool operator < (const ThriftHiveMetastore_drop_table_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_table_presult__isset {
+ _ThriftHiveMetastore_drop_table_presult__isset() : o1(false), o3(false) {}
+ bool o1;
+ bool o3;
+} _ThriftHiveMetastore_drop_table_presult__isset;
+
class ThriftHiveMetastore_drop_table_presult {
public:
@@ -1550,16 +1644,18 @@ class ThriftHiveMetastore_drop_table_presult {
NoSuchObjectException o1;
MetaException o3;
- struct __isset {
- __isset() : o1(false), o3(false) {}
- bool o1;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_drop_table_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_tables_args__isset {
+ _ThriftHiveMetastore_get_tables_args__isset() : db_name(false), pattern(false) {}
+ bool db_name;
+ bool pattern;
+} _ThriftHiveMetastore_get_tables_args__isset;
+
class ThriftHiveMetastore_get_tables_args {
public:
@@ -1571,11 +1667,7 @@ class ThriftHiveMetastore_get_tables_args {
std::string db_name;
std::string pattern;
- struct __isset {
- __isset() : db_name(false), pattern(false) {}
- bool db_name;
- bool pattern;
- } __isset;
+ _ThriftHiveMetastore_get_tables_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_tables_args & rhs) const
{
@@ -1591,11 +1683,12 @@ class ThriftHiveMetastore_get_tables_args {
bool operator < (const ThriftHiveMetastore_get_tables_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_tables_pargs {
public:
@@ -1605,10 +1698,16 @@ class ThriftHiveMetastore_get_tables_pargs {
const std::string* db_name;
const std::string* pattern;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_tables_result__isset {
+ _ThriftHiveMetastore_get_tables_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_tables_result__isset;
+
class ThriftHiveMetastore_get_tables_result {
public:
@@ -1620,11 +1719,7 @@ class ThriftHiveMetastore_get_tables_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_tables_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_tables_result & rhs) const
{
@@ -1640,11 +1735,17 @@ class ThriftHiveMetastore_get_tables_result {
bool operator < (const ThriftHiveMetastore_get_tables_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_tables_presult__isset {
+ _ThriftHiveMetastore_get_tables_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_tables_presult__isset;
+
class ThriftHiveMetastore_get_tables_presult {
public:
@@ -1654,16 +1755,17 @@ class ThriftHiveMetastore_get_tables_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_tables_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_all_tables_args__isset {
+ _ThriftHiveMetastore_get_all_tables_args__isset() : db_name(false) {}
+ bool db_name;
+} _ThriftHiveMetastore_get_all_tables_args__isset;
+
class ThriftHiveMetastore_get_all_tables_args {
public:
@@ -1674,10 +1776,7 @@ class ThriftHiveMetastore_get_all_tables_args {
std::string db_name;
- struct __isset {
- __isset() : db_name(false) {}
- bool db_name;
- } __isset;
+ _ThriftHiveMetastore_get_all_tables_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_all_tables_args & rhs) const
{
@@ -1691,11 +1790,12 @@ class ThriftHiveMetastore_get_all_tables_args {
bool operator < (const ThriftHiveMetastore_get_all_tables_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_all_tables_pargs {
public:
@@ -1704,10 +1804,16 @@ class ThriftHiveMetastore_get_all_tables_pargs {
const std::string* db_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_all_tables_result__isset {
+ _ThriftHiveMetastore_get_all_tables_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_all_tables_result__isset;
+
class ThriftHiveMetastore_get_all_tables_result {
public:
@@ -1719,11 +1825,7 @@ class ThriftHiveMetastore_get_all_tables_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_all_tables_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_all_tables_result & rhs) const
{
@@ -1739,11 +1841,17 @@ class ThriftHiveMetastore_get_all_tables_result {
bool operator < (const ThriftHiveMetastore_get_all_tables_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset {
+ _ThriftHiveMetastore_get_all_tables_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_all_tables_presult__isset;
+
class ThriftHiveMetastore_get_all_tables_presult {
public:
@@ -1753,16 +1861,18 @@ class ThriftHiveMetastore_get_all_tables_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_all_tables_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_table_args__isset {
+ _ThriftHiveMetastore_get_table_args__isset() : dbname(false), tbl_name(false) {}
+ bool dbname;
+ bool tbl_name;
+} _ThriftHiveMetastore_get_table_args__isset;
+
class ThriftHiveMetastore_get_table_args {
public:
@@ -1774,11 +1884,7 @@ class ThriftHiveMetastore_get_table_args {
std::string dbname;
std::string tbl_name;
- struct __isset {
- __isset() : dbname(false), tbl_name(false) {}
- bool dbname;
- bool tbl_name;
- } __isset;
+ _ThriftHiveMetastore_get_table_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_table_args & rhs) const
{
@@ -1794,11 +1900,12 @@ class ThriftHiveMetastore_get_table_args {
bool operator < (const ThriftHiveMetastore_get_table_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_table_pargs {
public:
@@ -1808,10 +1915,17 @@ class ThriftHiveMetastore_get_table_pargs {
const std::string* dbname;
const std::string* tbl_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_table_result__isset {
+ _ThriftHiveMetastore_get_table_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_table_result__isset;
+
class ThriftHiveMetastore_get_table_result {
public:
@@ -1824,12 +1938,7 @@ class ThriftHiveMetastore_get_table_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_table_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_table_result & rhs) const
{
@@ -1847,11 +1956,18 @@ class ThriftHiveMetastore_get_table_result {
bool operator < (const ThriftHiveMetastore_get_table_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_table_presult__isset {
+ _ThriftHiveMetastore_get_table_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_table_presult__isset;
+
class ThriftHiveMetastore_get_table_presult {
public:
@@ -1862,17 +1978,19 @@ class ThriftHiveMetastore_get_table_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_table_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_alter_table_args__isset {
+ _ThriftHiveMetastore_alter_table_args__isset() : dbname(false), tbl_name(false), new_tbl(false) {}
+ bool dbname;
+ bool tbl_name;
+ bool new_tbl;
+} _ThriftHiveMetastore_alter_table_args__isset;
+
class ThriftHiveMetastore_alter_table_args {
public:
@@ -1885,12 +2003,7 @@ class ThriftHiveMetastore_alter_table_args {
std::string tbl_name;
Table new_tbl;
- struct __isset {
- __isset() : dbname(false), tbl_name(false), new_tbl(false) {}
- bool dbname;
- bool tbl_name;
- bool new_tbl;
- } __isset;
+ _ThriftHiveMetastore_alter_table_args__isset __isset;
bool operator == (const ThriftHiveMetastore_alter_table_args & rhs) const
{
@@ -1908,11 +2021,12 @@ class ThriftHiveMetastore_alter_table_args {
bool operator < (const ThriftHiveMetastore_alter_table_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_alter_table_pargs {
public:
@@ -1923,10 +2037,16 @@ class ThriftHiveMetastore_alter_table_pargs {
const std::string* tbl_name;
const Table* new_tbl;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_alter_table_result__isset {
+ _ThriftHiveMetastore_alter_table_result__isset() : o1(false), o2(false) {}
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_alter_table_result__isset;
+
class ThriftHiveMetastore_alter_table_result {
public:
@@ -1938,11 +2058,7 @@ class ThriftHiveMetastore_alter_table_result {
InvalidOperationException o1;
MetaException o2;
- struct __isset {
- __isset() : o1(false), o2(false) {}
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_alter_table_result__isset __isset;
bool operator == (const ThriftHiveMetastore_alter_table_result & rhs) const
{
@@ -1958,11 +2074,17 @@ class ThriftHiveMetastore_alter_table_result {
bool operator < (const ThriftHiveMetastore_alter_table_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_alter_table_presult__isset {
+ _ThriftHiveMetastore_alter_table_presult__isset() : o1(false), o2(false) {}
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_alter_table_presult__isset;
+
class ThriftHiveMetastore_alter_table_presult {
public:
@@ -1972,16 +2094,17 @@ class ThriftHiveMetastore_alter_table_presult {
InvalidOperationException o1;
MetaException o2;
- struct __isset {
- __isset() : o1(false), o2(false) {}
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_alter_table_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_add_partition_args__isset {
+ _ThriftHiveMetastore_add_partition_args__isset() : new_part(false) {}
+ bool new_part;
+} _ThriftHiveMetastore_add_partition_args__isset;
+
class ThriftHiveMetastore_add_partition_args {
public:
@@ -1992,10 +2115,7 @@ class ThriftHiveMetastore_add_partition_args {
Partition new_part;
- struct __isset {
- __isset() : new_part(false) {}
- bool new_part;
- } __isset;
+ _ThriftHiveMetastore_add_partition_args__isset __isset;
bool operator == (const ThriftHiveMetastore_add_partition_args & rhs) const
{
@@ -2009,11 +2129,12 @@ class ThriftHiveMetastore_add_partition_args {
bool operator < (const ThriftHiveMetastore_add_partition_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_add_partition_pargs {
public:
@@ -2022,10 +2143,18 @@ class ThriftHiveMetastore_add_partition_pargs {
const Partition* new_part;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_add_partition_result__isset {
+ _ThriftHiveMetastore_add_partition_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_add_partition_result__isset;
+
class ThriftHiveMetastore_add_partition_result {
public:
@@ -2039,13 +2168,7 @@ class ThriftHiveMetastore_add_partition_result {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_add_partition_result__isset __isset;
bool operator == (const ThriftHiveMetastore_add_partition_result & rhs) const
{
@@ -2065,11 +2188,19 @@ class ThriftHiveMetastore_add_partition_result {
bool operator < (const ThriftHiveMetastore_add_partition_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_add_partition_presult__isset {
+ _ThriftHiveMetastore_add_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_add_partition_presult__isset;
+
class ThriftHiveMetastore_add_partition_presult {
public:
@@ -2081,18 +2212,19 @@ class ThriftHiveMetastore_add_partition_presult {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_add_partition_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_append_partition_args__isset {
+ _ThriftHiveMetastore_append_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+} _ThriftHiveMetastore_append_partition_args__isset;
+
class ThriftHiveMetastore_append_partition_args {
public:
@@ -2105,12 +2237,7 @@ class ThriftHiveMetastore_append_partition_args {
std::string tbl_name;
std::vector part_vals;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_vals(false) {}
- bool db_name;
- bool tbl_name;
- bool part_vals;
- } __isset;
+ _ThriftHiveMetastore_append_partition_args__isset __isset;
bool operator == (const ThriftHiveMetastore_append_partition_args & rhs) const
{
@@ -2128,11 +2255,12 @@ class ThriftHiveMetastore_append_partition_args {
bool operator < (const ThriftHiveMetastore_append_partition_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_append_partition_pargs {
public:
@@ -2143,10 +2271,18 @@ class ThriftHiveMetastore_append_partition_pargs {
const std::string* tbl_name;
const std::vector * part_vals;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_append_partition_result__isset {
+ _ThriftHiveMetastore_append_partition_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_result__isset;
+
class ThriftHiveMetastore_append_partition_result {
public:
@@ -2160,13 +2296,7 @@ class ThriftHiveMetastore_append_partition_result {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_append_partition_result__isset __isset;
bool operator == (const ThriftHiveMetastore_append_partition_result & rhs) const
{
@@ -2186,11 +2316,19 @@ class ThriftHiveMetastore_append_partition_result {
bool operator < (const ThriftHiveMetastore_append_partition_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_append_partition_presult__isset {
+ _ThriftHiveMetastore_append_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_presult__isset;
+
class ThriftHiveMetastore_append_partition_presult {
public:
@@ -2202,18 +2340,19 @@ class ThriftHiveMetastore_append_partition_presult {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_append_partition_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset {
+ _ThriftHiveMetastore_append_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+} _ThriftHiveMetastore_append_partition_by_name_args__isset;
+
class ThriftHiveMetastore_append_partition_by_name_args {
public:
@@ -2226,12 +2365,7 @@ class ThriftHiveMetastore_append_partition_by_name_args {
std::string tbl_name;
std::string part_name;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_name(false) {}
- bool db_name;
- bool tbl_name;
- bool part_name;
- } __isset;
+ _ThriftHiveMetastore_append_partition_by_name_args__isset __isset;
bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const
{
@@ -2249,11 +2383,12 @@ class ThriftHiveMetastore_append_partition_by_name_args {
bool operator < (const ThriftHiveMetastore_append_partition_by_name_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_append_partition_by_name_pargs {
public:
@@ -2264,10 +2399,18 @@ class ThriftHiveMetastore_append_partition_by_name_pargs {
const std::string* tbl_name;
const std::string* part_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset {
+ _ThriftHiveMetastore_append_partition_by_name_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_result__isset;
+
class ThriftHiveMetastore_append_partition_by_name_result {
public:
@@ -2281,13 +2424,7 @@ class ThriftHiveMetastore_append_partition_by_name_result {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_append_partition_by_name_result__isset __isset;
bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const
{
@@ -2307,11 +2444,19 @@ class ThriftHiveMetastore_append_partition_by_name_result {
bool operator < (const ThriftHiveMetastore_append_partition_by_name_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset {
+ _ThriftHiveMetastore_append_partition_by_name_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_presult__isset;
+
class ThriftHiveMetastore_append_partition_by_name_presult {
public:
@@ -2323,18 +2468,20 @@ class ThriftHiveMetastore_append_partition_by_name_presult {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_append_partition_by_name_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_partition_args__isset {
+ _ThriftHiveMetastore_drop_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_partition_args__isset;
+
class ThriftHiveMetastore_drop_partition_args {
public:
@@ -2348,13 +2495,7 @@ class ThriftHiveMetastore_drop_partition_args {
std::vector part_vals;
bool deleteData;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false) {}
- bool db_name;
- bool tbl_name;
- bool part_vals;
- bool deleteData;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const
{
@@ -2374,11 +2515,12 @@ class ThriftHiveMetastore_drop_partition_args {
bool operator < (const ThriftHiveMetastore_drop_partition_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_partition_pargs {
public:
@@ -2390,10 +2532,17 @@ class ThriftHiveMetastore_drop_partition_pargs {
const std::vector * part_vals;
const bool* deleteData;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_partition_result__isset {
+ _ThriftHiveMetastore_drop_partition_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_partition_result__isset;
+
class ThriftHiveMetastore_drop_partition_result {
public:
@@ -2406,12 +2555,7 @@ class ThriftHiveMetastore_drop_partition_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const
{
@@ -2429,11 +2573,18 @@ class ThriftHiveMetastore_drop_partition_result {
bool operator < (const ThriftHiveMetastore_drop_partition_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_partition_presult__isset {
+ _ThriftHiveMetastore_drop_partition_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_partition_presult__isset;
+
class ThriftHiveMetastore_drop_partition_presult {
public:
@@ -2444,17 +2595,20 @@ class ThriftHiveMetastore_drop_partition_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_partition_by_name_args__isset;
+
class ThriftHiveMetastore_drop_partition_by_name_args {
public:
@@ -2468,13 +2622,7 @@ class ThriftHiveMetastore_drop_partition_by_name_args {
std::string part_name;
bool deleteData;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false) {}
- bool db_name;
- bool tbl_name;
- bool part_name;
- bool deleteData;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const
{
@@ -2494,11 +2642,12 @@ class ThriftHiveMetastore_drop_partition_by_name_args {
bool operator < (const ThriftHiveMetastore_drop_partition_by_name_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_partition_by_name_pargs {
public:
@@ -2510,10 +2659,17 @@ class ThriftHiveMetastore_drop_partition_by_name_pargs {
const std::string* part_name;
const bool* deleteData;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_partition_by_name_result__isset;
+
class ThriftHiveMetastore_drop_partition_by_name_result {
public:
@@ -2526,12 +2682,7 @@ class ThriftHiveMetastore_drop_partition_by_name_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const
{
@@ -2549,11 +2700,18 @@ class ThriftHiveMetastore_drop_partition_by_name_result {
bool operator < (const ThriftHiveMetastore_drop_partition_by_name_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_partition_by_name_presult__isset;
+
class ThriftHiveMetastore_drop_partition_by_name_presult {
public:
@@ -2564,17 +2722,19 @@ class ThriftHiveMetastore_drop_partition_by_name_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partition_args__isset {
+ _ThriftHiveMetastore_get_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+} _ThriftHiveMetastore_get_partition_args__isset;
+
class ThriftHiveMetastore_get_partition_args {
public:
@@ -2587,12 +2747,7 @@ class ThriftHiveMetastore_get_partition_args {
std::string tbl_name;
std::vector part_vals;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_vals(false) {}
- bool db_name;
- bool tbl_name;
- bool part_vals;
- } __isset;
+ _ThriftHiveMetastore_get_partition_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_args & rhs) const
{
@@ -2610,11 +2765,12 @@ class ThriftHiveMetastore_get_partition_args {
bool operator < (const ThriftHiveMetastore_get_partition_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partition_pargs {
public:
@@ -2625,10 +2781,17 @@ class ThriftHiveMetastore_get_partition_pargs {
const std::string* tbl_name;
const std::vector * part_vals;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_result__isset {
+ _ThriftHiveMetastore_get_partition_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_result__isset;
+
class ThriftHiveMetastore_get_partition_result {
public:
@@ -2641,12 +2804,7 @@ class ThriftHiveMetastore_get_partition_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_result & rhs) const
{
@@ -2664,11 +2822,18 @@ class ThriftHiveMetastore_get_partition_result {
bool operator < (const ThriftHiveMetastore_get_partition_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_presult__isset {
+ _ThriftHiveMetastore_get_partition_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_presult__isset;
+
class ThriftHiveMetastore_get_partition_presult {
public:
@@ -2679,17 +2844,19 @@ class ThriftHiveMetastore_get_partition_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partition_by_name_args__isset {
+ _ThriftHiveMetastore_get_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+} _ThriftHiveMetastore_get_partition_by_name_args__isset;
+
class ThriftHiveMetastore_get_partition_by_name_args {
public:
@@ -2702,12 +2869,7 @@ class ThriftHiveMetastore_get_partition_by_name_args {
std::string tbl_name;
std::string part_name;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_name(false) {}
- bool db_name;
- bool tbl_name;
- bool part_name;
- } __isset;
+ _ThriftHiveMetastore_get_partition_by_name_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_by_name_args & rhs) const
{
@@ -2725,11 +2887,12 @@ class ThriftHiveMetastore_get_partition_by_name_args {
bool operator < (const ThriftHiveMetastore_get_partition_by_name_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partition_by_name_pargs {
public:
@@ -2740,10 +2903,17 @@ class ThriftHiveMetastore_get_partition_by_name_pargs {
const std::string* tbl_name;
const std::string* part_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_by_name_result__isset {
+ _ThriftHiveMetastore_get_partition_by_name_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_by_name_result__isset;
+
class ThriftHiveMetastore_get_partition_by_name_result {
public:
@@ -2756,12 +2926,7 @@ class ThriftHiveMetastore_get_partition_by_name_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_by_name_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_by_name_result & rhs) const
{
@@ -2779,11 +2944,18 @@ class ThriftHiveMetastore_get_partition_by_name_result {
bool operator < (const ThriftHiveMetastore_get_partition_by_name_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_by_name_presult__isset {
+ _ThriftHiveMetastore_get_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_by_name_presult__isset;
+
class ThriftHiveMetastore_get_partition_by_name_presult {
public:
@@ -2794,17 +2966,19 @@ class ThriftHiveMetastore_get_partition_by_name_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_by_name_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partitions_args__isset {
+ _ThriftHiveMetastore_get_partitions_args__isset() : db_name(false), tbl_name(false), max_parts(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool max_parts;
+} _ThriftHiveMetastore_get_partitions_args__isset;
+
class ThriftHiveMetastore_get_partitions_args {
public:
@@ -2817,12 +2991,7 @@ class ThriftHiveMetastore_get_partitions_args {
std::string tbl_name;
int16_t max_parts;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), max_parts(false) {}
- bool db_name;
- bool tbl_name;
- bool max_parts;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_args & rhs) const
{
@@ -2840,11 +3009,12 @@ class ThriftHiveMetastore_get_partitions_args {
bool operator < (const ThriftHiveMetastore_get_partitions_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partitions_pargs {
public:
@@ -2855,10 +3025,17 @@ class ThriftHiveMetastore_get_partitions_pargs {
const std::string* tbl_name;
const int16_t* max_parts;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_result__isset {
+ _ThriftHiveMetastore_get_partitions_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partitions_result__isset;
+
class ThriftHiveMetastore_get_partitions_result {
public:
@@ -2871,12 +3048,7 @@ class ThriftHiveMetastore_get_partitions_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_result & rhs) const
{
@@ -2894,11 +3066,18 @@ class ThriftHiveMetastore_get_partitions_result {
bool operator < (const ThriftHiveMetastore_get_partitions_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_presult__isset {
+ _ThriftHiveMetastore_get_partitions_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partitions_presult__isset;
+
class ThriftHiveMetastore_get_partitions_presult {
public:
@@ -2909,17 +3088,19 @@ class ThriftHiveMetastore_get_partitions_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partition_names_args__isset {
+ _ThriftHiveMetastore_get_partition_names_args__isset() : db_name(false), tbl_name(false), max_parts(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool max_parts;
+} _ThriftHiveMetastore_get_partition_names_args__isset;
+
class ThriftHiveMetastore_get_partition_names_args {
public:
@@ -2932,12 +3113,7 @@ class ThriftHiveMetastore_get_partition_names_args {
std::string tbl_name;
int16_t max_parts;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), max_parts(false) {}
- bool db_name;
- bool tbl_name;
- bool max_parts;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_names_args & rhs) const
{
@@ -2955,11 +3131,12 @@ class ThriftHiveMetastore_get_partition_names_args {
bool operator < (const ThriftHiveMetastore_get_partition_names_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partition_names_pargs {
public:
@@ -2970,10 +3147,16 @@ class ThriftHiveMetastore_get_partition_names_pargs {
const std::string* tbl_name;
const int16_t* max_parts;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_names_result__isset {
+ _ThriftHiveMetastore_get_partition_names_result__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_names_result__isset;
+
class ThriftHiveMetastore_get_partition_names_result {
public:
@@ -2985,11 +3168,7 @@ class ThriftHiveMetastore_get_partition_names_result {
std::vector success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_names_result & rhs) const
{
@@ -3005,11 +3184,17 @@ class ThriftHiveMetastore_get_partition_names_result {
bool operator < (const ThriftHiveMetastore_get_partition_names_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_names_presult__isset {
+ _ThriftHiveMetastore_get_partition_names_presult__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_partition_names_presult__isset;
+
class ThriftHiveMetastore_get_partition_names_presult {
public:
@@ -3019,16 +3204,20 @@ class ThriftHiveMetastore_get_partition_names_presult {
std::vector * success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partitions_ps_args__isset {
+ _ThriftHiveMetastore_get_partitions_ps_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+ bool max_parts;
+} _ThriftHiveMetastore_get_partitions_ps_args__isset;
+
class ThriftHiveMetastore_get_partitions_ps_args {
public:
@@ -3042,13 +3231,7 @@ class ThriftHiveMetastore_get_partitions_ps_args {
std::vector part_vals;
int16_t max_parts;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(false) {}
- bool db_name;
- bool tbl_name;
- bool part_vals;
- bool max_parts;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_ps_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_ps_args & rhs) const
{
@@ -3068,11 +3251,12 @@ class ThriftHiveMetastore_get_partitions_ps_args {
bool operator < (const ThriftHiveMetastore_get_partitions_ps_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partitions_ps_pargs {
public:
@@ -3084,10 +3268,16 @@ class ThriftHiveMetastore_get_partitions_ps_pargs {
const std::vector * part_vals;
const int16_t* max_parts;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_ps_result__isset {
+ _ThriftHiveMetastore_get_partitions_ps_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_partitions_ps_result__isset;
+
class ThriftHiveMetastore_get_partitions_ps_result {
public:
@@ -3099,11 +3289,7 @@ class ThriftHiveMetastore_get_partitions_ps_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_ps_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_ps_result & rhs) const
{
@@ -3119,11 +3305,17 @@ class ThriftHiveMetastore_get_partitions_ps_result {
bool operator < (const ThriftHiveMetastore_get_partitions_ps_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_ps_presult__isset {
+ _ThriftHiveMetastore_get_partitions_ps_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_partitions_ps_presult__isset;
+
class ThriftHiveMetastore_get_partitions_ps_presult {
public:
@@ -3133,16 +3325,20 @@ class ThriftHiveMetastore_get_partitions_ps_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_ps_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partition_names_ps_args__isset {
+ _ThriftHiveMetastore_get_partition_names_ps_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+ bool max_parts;
+} _ThriftHiveMetastore_get_partition_names_ps_args__isset;
+
class ThriftHiveMetastore_get_partition_names_ps_args {
public:
@@ -3156,13 +3352,7 @@ class ThriftHiveMetastore_get_partition_names_ps_args {
std::vector part_vals;
int16_t max_parts;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(false) {}
- bool db_name;
- bool tbl_name;
- bool part_vals;
- bool max_parts;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_ps_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_args & rhs) const
{
@@ -3182,11 +3372,12 @@ class ThriftHiveMetastore_get_partition_names_ps_args {
bool operator < (const ThriftHiveMetastore_get_partition_names_ps_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partition_names_ps_pargs {
public:
@@ -3198,10 +3389,16 @@ class ThriftHiveMetastore_get_partition_names_ps_pargs {
const std::vector * part_vals;
const int16_t* max_parts;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_names_ps_result__isset {
+ _ThriftHiveMetastore_get_partition_names_ps_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_partition_names_ps_result__isset;
+
class ThriftHiveMetastore_get_partition_names_ps_result {
public:
@@ -3213,11 +3410,7 @@ class ThriftHiveMetastore_get_partition_names_ps_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_ps_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_result & rhs) const
{
@@ -3233,11 +3426,17 @@ class ThriftHiveMetastore_get_partition_names_ps_result {
bool operator < (const ThriftHiveMetastore_get_partition_names_ps_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partition_names_ps_presult__isset {
+ _ThriftHiveMetastore_get_partition_names_ps_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_partition_names_ps_presult__isset;
+
class ThriftHiveMetastore_get_partition_names_ps_presult {
public:
@@ -3247,16 +3446,20 @@ class ThriftHiveMetastore_get_partition_names_ps_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_partition_names_ps_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_partitions_by_filter_args__isset {
+ _ThriftHiveMetastore_get_partitions_by_filter_args__isset() : db_name(false), tbl_name(false), filter(false), max_parts(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool filter;
+ bool max_parts;
+} _ThriftHiveMetastore_get_partitions_by_filter_args__isset;
+
class ThriftHiveMetastore_get_partitions_by_filter_args {
public:
@@ -3270,13 +3473,7 @@ class ThriftHiveMetastore_get_partitions_by_filter_args {
std::string filter;
int16_t max_parts;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), filter(false), max_parts(false) {}
- bool db_name;
- bool tbl_name;
- bool filter;
- bool max_parts;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_by_filter_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_args & rhs) const
{
@@ -3296,11 +3493,12 @@ class ThriftHiveMetastore_get_partitions_by_filter_args {
bool operator < (const ThriftHiveMetastore_get_partitions_by_filter_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_partitions_by_filter_pargs {
public:
@@ -3312,10 +3510,17 @@ class ThriftHiveMetastore_get_partitions_by_filter_pargs {
const std::string* filter;
const int16_t* max_parts;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_by_filter_result__isset {
+ _ThriftHiveMetastore_get_partitions_by_filter_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partitions_by_filter_result__isset;
+
class ThriftHiveMetastore_get_partitions_by_filter_result {
public:
@@ -3328,12 +3533,7 @@ class ThriftHiveMetastore_get_partitions_by_filter_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_by_filter_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_result & rhs) const
{
@@ -3351,11 +3551,18 @@ class ThriftHiveMetastore_get_partitions_by_filter_result {
bool operator < (const ThriftHiveMetastore_get_partitions_by_filter_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_partitions_by_filter_presult__isset {
+ _ThriftHiveMetastore_get_partitions_by_filter_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_partitions_by_filter_presult__isset;
+
class ThriftHiveMetastore_get_partitions_by_filter_presult {
public:
@@ -3366,17 +3573,19 @@ class ThriftHiveMetastore_get_partitions_by_filter_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_partitions_by_filter_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_alter_partition_args__isset {
+ _ThriftHiveMetastore_alter_partition_args__isset() : db_name(false), tbl_name(false), new_part(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool new_part;
+} _ThriftHiveMetastore_alter_partition_args__isset;
+
class ThriftHiveMetastore_alter_partition_args {
public:
@@ -3389,12 +3598,7 @@ class ThriftHiveMetastore_alter_partition_args {
std::string tbl_name;
Partition new_part;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), new_part(false) {}
- bool db_name;
- bool tbl_name;
- bool new_part;
- } __isset;
+ _ThriftHiveMetastore_alter_partition_args__isset __isset;
bool operator == (const ThriftHiveMetastore_alter_partition_args & rhs) const
{
@@ -3412,11 +3616,12 @@ class ThriftHiveMetastore_alter_partition_args {
bool operator < (const ThriftHiveMetastore_alter_partition_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_alter_partition_pargs {
public:
@@ -3427,10 +3632,16 @@ class ThriftHiveMetastore_alter_partition_pargs {
const std::string* tbl_name;
const Partition* new_part;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_alter_partition_result__isset {
+ _ThriftHiveMetastore_alter_partition_result__isset() : o1(false), o2(false) {}
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_alter_partition_result__isset;
+
class ThriftHiveMetastore_alter_partition_result {
public:
@@ -3442,11 +3653,7 @@ class ThriftHiveMetastore_alter_partition_result {
InvalidOperationException o1;
MetaException o2;
- struct __isset {
- __isset() : o1(false), o2(false) {}
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_alter_partition_result__isset __isset;
bool operator == (const ThriftHiveMetastore_alter_partition_result & rhs) const
{
@@ -3462,11 +3669,17 @@ class ThriftHiveMetastore_alter_partition_result {
bool operator < (const ThriftHiveMetastore_alter_partition_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_alter_partition_presult__isset {
+ _ThriftHiveMetastore_alter_partition_presult__isset() : o1(false), o2(false) {}
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_alter_partition_presult__isset;
+
class ThriftHiveMetastore_alter_partition_presult {
public:
@@ -3476,16 +3689,18 @@ class ThriftHiveMetastore_alter_partition_presult {
InvalidOperationException o1;
MetaException o2;
- struct __isset {
- __isset() : o1(false), o2(false) {}
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_alter_partition_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_config_value_args__isset {
+ _ThriftHiveMetastore_get_config_value_args__isset() : name(false), defaultValue(false) {}
+ bool name;
+ bool defaultValue;
+} _ThriftHiveMetastore_get_config_value_args__isset;
+
class ThriftHiveMetastore_get_config_value_args {
public:
@@ -3497,11 +3712,7 @@ class ThriftHiveMetastore_get_config_value_args {
std::string name;
std::string defaultValue;
- struct __isset {
- __isset() : name(false), defaultValue(false) {}
- bool name;
- bool defaultValue;
- } __isset;
+ _ThriftHiveMetastore_get_config_value_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_config_value_args & rhs) const
{
@@ -3517,11 +3728,12 @@ class ThriftHiveMetastore_get_config_value_args {
bool operator < (const ThriftHiveMetastore_get_config_value_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_config_value_pargs {
public:
@@ -3531,10 +3743,16 @@ class ThriftHiveMetastore_get_config_value_pargs {
const std::string* name;
const std::string* defaultValue;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_config_value_result__isset {
+ _ThriftHiveMetastore_get_config_value_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_config_value_result__isset;
+
class ThriftHiveMetastore_get_config_value_result {
public:
@@ -3546,11 +3764,7 @@ class ThriftHiveMetastore_get_config_value_result {
std::string success;
ConfigValSecurityException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_config_value_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_config_value_result & rhs) const
{
@@ -3566,11 +3780,17 @@ class ThriftHiveMetastore_get_config_value_result {
bool operator < (const ThriftHiveMetastore_get_config_value_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_config_value_presult__isset {
+ _ThriftHiveMetastore_get_config_value_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_config_value_presult__isset;
+
class ThriftHiveMetastore_get_config_value_presult {
public:
@@ -3580,16 +3800,17 @@ class ThriftHiveMetastore_get_config_value_presult {
std::string* success;
ConfigValSecurityException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_get_config_value_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_partition_name_to_vals_args__isset {
+ _ThriftHiveMetastore_partition_name_to_vals_args__isset() : part_name(false) {}
+ bool part_name;
+} _ThriftHiveMetastore_partition_name_to_vals_args__isset;
+
class ThriftHiveMetastore_partition_name_to_vals_args {
public:
@@ -3600,10 +3821,7 @@ class ThriftHiveMetastore_partition_name_to_vals_args {
std::string part_name;
- struct __isset {
- __isset() : part_name(false) {}
- bool part_name;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_vals_args__isset __isset;
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_args & rhs) const
{
@@ -3617,11 +3835,12 @@ class ThriftHiveMetastore_partition_name_to_vals_args {
bool operator < (const ThriftHiveMetastore_partition_name_to_vals_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_partition_name_to_vals_pargs {
public:
@@ -3630,10 +3849,16 @@ class ThriftHiveMetastore_partition_name_to_vals_pargs {
const std::string* part_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_partition_name_to_vals_result__isset {
+ _ThriftHiveMetastore_partition_name_to_vals_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_partition_name_to_vals_result__isset;
+
class ThriftHiveMetastore_partition_name_to_vals_result {
public:
@@ -3645,11 +3870,7 @@ class ThriftHiveMetastore_partition_name_to_vals_result {
std::vector success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_vals_result__isset __isset;
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_result & rhs) const
{
@@ -3665,11 +3886,17 @@ class ThriftHiveMetastore_partition_name_to_vals_result {
bool operator < (const ThriftHiveMetastore_partition_name_to_vals_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_partition_name_to_vals_presult__isset {
+ _ThriftHiveMetastore_partition_name_to_vals_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_partition_name_to_vals_presult__isset;
+
class ThriftHiveMetastore_partition_name_to_vals_presult {
public:
@@ -3679,16 +3906,17 @@ class ThriftHiveMetastore_partition_name_to_vals_presult {
std::vector * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_vals_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_partition_name_to_spec_args__isset {
+ _ThriftHiveMetastore_partition_name_to_spec_args__isset() : part_name(false) {}
+ bool part_name;
+} _ThriftHiveMetastore_partition_name_to_spec_args__isset;
+
class ThriftHiveMetastore_partition_name_to_spec_args {
public:
@@ -3699,10 +3927,7 @@ class ThriftHiveMetastore_partition_name_to_spec_args {
std::string part_name;
- struct __isset {
- __isset() : part_name(false) {}
- bool part_name;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_spec_args__isset __isset;
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_args & rhs) const
{
@@ -3716,11 +3941,12 @@ class ThriftHiveMetastore_partition_name_to_spec_args {
bool operator < (const ThriftHiveMetastore_partition_name_to_spec_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_partition_name_to_spec_pargs {
public:
@@ -3729,10 +3955,16 @@ class ThriftHiveMetastore_partition_name_to_spec_pargs {
const std::string* part_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_partition_name_to_spec_result__isset {
+ _ThriftHiveMetastore_partition_name_to_spec_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_partition_name_to_spec_result__isset;
+
class ThriftHiveMetastore_partition_name_to_spec_result {
public:
@@ -3744,11 +3976,7 @@ class ThriftHiveMetastore_partition_name_to_spec_result {
std::map success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_spec_result__isset __isset;
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_result & rhs) const
{
@@ -3764,11 +3992,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result {
bool operator < (const ThriftHiveMetastore_partition_name_to_spec_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_partition_name_to_spec_presult__isset {
+ _ThriftHiveMetastore_partition_name_to_spec_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_partition_name_to_spec_presult__isset;
+
class ThriftHiveMetastore_partition_name_to_spec_presult {
public:
@@ -3778,16 +4012,18 @@ class ThriftHiveMetastore_partition_name_to_spec_presult {
std::map * success;
MetaException o1;
- struct __isset {
- __isset() : success(false), o1(false) {}
- bool success;
- bool o1;
- } __isset;
+ _ThriftHiveMetastore_partition_name_to_spec_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_add_index_args__isset {
+ _ThriftHiveMetastore_add_index_args__isset() : new_index(false), index_table(false) {}
+ bool new_index;
+ bool index_table;
+} _ThriftHiveMetastore_add_index_args__isset;
+
class ThriftHiveMetastore_add_index_args {
public:
@@ -3799,11 +4035,7 @@ class ThriftHiveMetastore_add_index_args {
Index new_index;
Table index_table;
- struct __isset {
- __isset() : new_index(false), index_table(false) {}
- bool new_index;
- bool index_table;
- } __isset;
+ _ThriftHiveMetastore_add_index_args__isset __isset;
bool operator == (const ThriftHiveMetastore_add_index_args & rhs) const
{
@@ -3819,11 +4051,12 @@ class ThriftHiveMetastore_add_index_args {
bool operator < (const ThriftHiveMetastore_add_index_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_add_index_pargs {
public:
@@ -3833,10 +4066,18 @@ class ThriftHiveMetastore_add_index_pargs {
const Index* new_index;
const Table* index_table;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_add_index_result__isset {
+ _ThriftHiveMetastore_add_index_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_add_index_result__isset;
+
class ThriftHiveMetastore_add_index_result {
public:
@@ -3850,13 +4091,7 @@ class ThriftHiveMetastore_add_index_result {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_add_index_result__isset __isset;
bool operator == (const ThriftHiveMetastore_add_index_result & rhs) const
{
@@ -3876,11 +4111,19 @@ class ThriftHiveMetastore_add_index_result {
bool operator < (const ThriftHiveMetastore_add_index_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_add_index_presult__isset {
+ _ThriftHiveMetastore_add_index_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_add_index_presult__isset;
+
class ThriftHiveMetastore_add_index_presult {
public:
@@ -3892,18 +4135,20 @@ class ThriftHiveMetastore_add_index_presult {
AlreadyExistsException o2;
MetaException o3;
- struct __isset {
- __isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success;
- bool o1;
- bool o2;
- bool o3;
- } __isset;
+ _ThriftHiveMetastore_add_index_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_drop_index_by_name_args__isset {
+ _ThriftHiveMetastore_drop_index_by_name_args__isset() : db_name(false), tbl_name(false), index_name(false), deleteData(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool index_name;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_index_by_name_args__isset;
+
class ThriftHiveMetastore_drop_index_by_name_args {
public:
@@ -3917,13 +4162,7 @@ class ThriftHiveMetastore_drop_index_by_name_args {
std::string index_name;
bool deleteData;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), index_name(false), deleteData(false) {}
- bool db_name;
- bool tbl_name;
- bool index_name;
- bool deleteData;
- } __isset;
+ _ThriftHiveMetastore_drop_index_by_name_args__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_index_by_name_args & rhs) const
{
@@ -3943,11 +4182,12 @@ class ThriftHiveMetastore_drop_index_by_name_args {
bool operator < (const ThriftHiveMetastore_drop_index_by_name_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_drop_index_by_name_pargs {
public:
@@ -3959,10 +4199,17 @@ class ThriftHiveMetastore_drop_index_by_name_pargs {
const std::string* index_name;
const bool* deleteData;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_index_by_name_result__isset {
+ _ThriftHiveMetastore_drop_index_by_name_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_index_by_name_result__isset;
+
class ThriftHiveMetastore_drop_index_by_name_result {
public:
@@ -3975,12 +4222,7 @@ class ThriftHiveMetastore_drop_index_by_name_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_index_by_name_result__isset __isset;
bool operator == (const ThriftHiveMetastore_drop_index_by_name_result & rhs) const
{
@@ -3998,11 +4240,18 @@ class ThriftHiveMetastore_drop_index_by_name_result {
bool operator < (const ThriftHiveMetastore_drop_index_by_name_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_drop_index_by_name_presult__isset {
+ _ThriftHiveMetastore_drop_index_by_name_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_index_by_name_presult__isset;
+
class ThriftHiveMetastore_drop_index_by_name_presult {
public:
@@ -4013,17 +4262,19 @@ class ThriftHiveMetastore_drop_index_by_name_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_drop_index_by_name_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_index_by_name_args__isset {
+ _ThriftHiveMetastore_get_index_by_name_args__isset() : db_name(false), tbl_name(false), index_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool index_name;
+} _ThriftHiveMetastore_get_index_by_name_args__isset;
+
class ThriftHiveMetastore_get_index_by_name_args {
public:
@@ -4036,12 +4287,7 @@ class ThriftHiveMetastore_get_index_by_name_args {
std::string tbl_name;
std::string index_name;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), index_name(false) {}
- bool db_name;
- bool tbl_name;
- bool index_name;
- } __isset;
+ _ThriftHiveMetastore_get_index_by_name_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_index_by_name_args & rhs) const
{
@@ -4059,11 +4305,12 @@ class ThriftHiveMetastore_get_index_by_name_args {
bool operator < (const ThriftHiveMetastore_get_index_by_name_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_index_by_name_pargs {
public:
@@ -4074,10 +4321,17 @@ class ThriftHiveMetastore_get_index_by_name_pargs {
const std::string* tbl_name;
const std::string* index_name;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_index_by_name_result__isset {
+ _ThriftHiveMetastore_get_index_by_name_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_index_by_name_result__isset;
+
class ThriftHiveMetastore_get_index_by_name_result {
public:
@@ -4090,12 +4344,7 @@ class ThriftHiveMetastore_get_index_by_name_result {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_index_by_name_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_index_by_name_result & rhs) const
{
@@ -4113,11 +4362,18 @@ class ThriftHiveMetastore_get_index_by_name_result {
bool operator < (const ThriftHiveMetastore_get_index_by_name_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_index_by_name_presult__isset {
+ _ThriftHiveMetastore_get_index_by_name_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_index_by_name_presult__isset;
+
class ThriftHiveMetastore_get_index_by_name_presult {
public:
@@ -4128,17 +4384,19 @@ class ThriftHiveMetastore_get_index_by_name_presult {
MetaException o1;
NoSuchObjectException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_index_by_name_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_indexes_args__isset {
+ _ThriftHiveMetastore_get_indexes_args__isset() : db_name(false), tbl_name(false), max_indexes(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool max_indexes;
+} _ThriftHiveMetastore_get_indexes_args__isset;
+
class ThriftHiveMetastore_get_indexes_args {
public:
@@ -4151,12 +4409,7 @@ class ThriftHiveMetastore_get_indexes_args {
std::string tbl_name;
int16_t max_indexes;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), max_indexes(false) {}
- bool db_name;
- bool tbl_name;
- bool max_indexes;
- } __isset;
+ _ThriftHiveMetastore_get_indexes_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_indexes_args & rhs) const
{
@@ -4174,11 +4427,12 @@ class ThriftHiveMetastore_get_indexes_args {
bool operator < (const ThriftHiveMetastore_get_indexes_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_indexes_pargs {
public:
@@ -4189,10 +4443,17 @@ class ThriftHiveMetastore_get_indexes_pargs {
const std::string* tbl_name;
const int16_t* max_indexes;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_indexes_result__isset {
+ _ThriftHiveMetastore_get_indexes_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_indexes_result__isset;
+
class ThriftHiveMetastore_get_indexes_result {
public:
@@ -4205,12 +4466,7 @@ class ThriftHiveMetastore_get_indexes_result {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_indexes_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_indexes_result & rhs) const
{
@@ -4228,11 +4484,18 @@ class ThriftHiveMetastore_get_indexes_result {
bool operator < (const ThriftHiveMetastore_get_indexes_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_indexes_presult__isset {
+ _ThriftHiveMetastore_get_indexes_presult__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_get_indexes_presult__isset;
+
class ThriftHiveMetastore_get_indexes_presult {
public:
@@ -4243,17 +4506,19 @@ class ThriftHiveMetastore_get_indexes_presult {
NoSuchObjectException o1;
MetaException o2;
- struct __isset {
- __isset() : success(false), o1(false), o2(false) {}
- bool success;
- bool o1;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_indexes_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_index_names_args__isset {
+ _ThriftHiveMetastore_get_index_names_args__isset() : db_name(false), tbl_name(false), max_indexes(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool max_indexes;
+} _ThriftHiveMetastore_get_index_names_args__isset;
+
class ThriftHiveMetastore_get_index_names_args {
public:
@@ -4266,12 +4531,7 @@ class ThriftHiveMetastore_get_index_names_args {
std::string tbl_name;
int16_t max_indexes;
- struct __isset {
- __isset() : db_name(false), tbl_name(false), max_indexes(false) {}
- bool db_name;
- bool tbl_name;
- bool max_indexes;
- } __isset;
+ _ThriftHiveMetastore_get_index_names_args__isset __isset;
bool operator == (const ThriftHiveMetastore_get_index_names_args & rhs) const
{
@@ -4289,11 +4549,12 @@ class ThriftHiveMetastore_get_index_names_args {
bool operator < (const ThriftHiveMetastore_get_index_names_args & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+
class ThriftHiveMetastore_get_index_names_pargs {
public:
@@ -4304,10 +4565,16 @@ class ThriftHiveMetastore_get_index_names_pargs {
const std::string* tbl_name;
const int16_t* max_indexes;
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_index_names_result__isset {
+ _ThriftHiveMetastore_get_index_names_result__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_index_names_result__isset;
+
class ThriftHiveMetastore_get_index_names_result {
public:
@@ -4319,11 +4586,7 @@ class ThriftHiveMetastore_get_index_names_result {
std::vector success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_index_names_result__isset __isset;
bool operator == (const ThriftHiveMetastore_get_index_names_result & rhs) const
{
@@ -4339,11 +4602,17 @@ class ThriftHiveMetastore_get_index_names_result {
bool operator < (const ThriftHiveMetastore_get_index_names_result & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _ThriftHiveMetastore_get_index_names_presult__isset {
+ _ThriftHiveMetastore_get_index_names_presult__isset() : success(false), o2(false) {}
+ bool success;
+ bool o2;
+} _ThriftHiveMetastore_get_index_names_presult__isset;
+
class ThriftHiveMetastore_get_index_names_presult {
public:
@@ -4353,26 +4622,22 @@ class ThriftHiveMetastore_get_index_names_presult {
std::vector * success;
MetaException o2;
- struct __isset {
- __isset() : success(false), o2(false) {}
- bool success;
- bool o2;
- } __isset;
+ _ThriftHiveMetastore_get_index_names_presult__isset __isset;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public facebook::fb303::FacebookServiceClient {
public:
- ThriftHiveMetastoreClient(boost::shared_ptr prot) :
+ ThriftHiveMetastoreClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) :
facebook::fb303::FacebookServiceClient(prot, prot) {}
- ThriftHiveMetastoreClient(boost::shared_ptr iprot, boost::shared_ptr oprot) :
+ ThriftHiveMetastoreClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) :
facebook::fb303::FacebookServiceClient(iprot, oprot) {}
- boost::shared_ptr getInputProtocol() {
+ boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
return piprot_;
}
- boost::shared_ptr getOutputProtocol() {
+ boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
return poprot_;
}
void create_database(const Database& database);
@@ -4491,50 +4756,50 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public f
void recv_get_index_names(std::vector & _return);
};
-class ThriftHiveMetastoreProcessor : virtual public apache::thrift::TProcessor, public facebook::fb303::FacebookServiceProcessor {
+class ThriftHiveMetastoreProcessor : virtual public ::apache::thrift::TProcessor, public facebook::fb303::FacebookServiceProcessor {
protected:
boost::shared_ptr iface_;
- virtual bool process_fn(apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid);
+ virtual bool process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid);
private:
- std::map processMap_;
- void process_create_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_database(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_databases(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_all_databases(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_create_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_type(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_type_all(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_fields(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_schema(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_create_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_tables(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_all_tables(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_alter_table(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_add_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_append_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_append_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_names(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_ps(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_names_ps(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_by_filter(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_alter_partition(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_config_value(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_partition_name_to_vals(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_partition_name_to_spec(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_add_index(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_drop_index_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_index_by_name(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_indexes(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
- void process_get_index_names(int32_t seqid, apache::thrift::protocol::TProtocol* iprot, apache::thrift::protocol::TProtocol* oprot);
+ std::map processMap_;
+ void process_create_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_all_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_create_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_type_all(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_fields(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_schema(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_add_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_partitions_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_alter_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_config_value(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_partition_name_to_vals(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_partition_name_to_spec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_add_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_drop_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_indexes(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ void process_get_index_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
public:
ThriftHiveMetastoreProcessor(boost::shared_ptr iface) :
facebook::fb303::FacebookServiceProcessor(iface),
@@ -4579,7 +4844,7 @@ class ThriftHiveMetastoreProcessor : virtual public apache::thrift::TProcessor,
processMap_["get_index_names"] = &ThriftHiveMetastoreProcessor::process_get_index_names;
}
- virtual bool process(boost::shared_ptr piprot, boost::shared_ptr poprot);
+ virtual bool process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot);
virtual ~ThriftHiveMetastoreProcessor() {}
};
diff --git metastore/src/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
index 66b2fb3..a5a35e7 100644
--- metastore/src/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
+++ metastore/src/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
@@ -7,10 +7,10 @@
#include
#include
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::thrift::server;
+using namespace ::apache::thrift;
+using namespace ::apache::thrift::protocol;
+using namespace ::apache::thrift::transport;
+using namespace ::apache::thrift::server;
using boost::shared_ptr;
diff --git metastore/src/gen-cpp/hive_metastore_types.cpp metastore/src/gen-cpp/hive_metastore_types.cpp
index c000db9..a772813 100644
--- metastore/src/gen-cpp/hive_metastore_types.cpp
+++ metastore/src/gen-cpp/hive_metastore_types.cpp
@@ -10,28 +10,28 @@ namespace Apache { namespace Hadoop { namespace Hive {
const char* Version::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
const uint8_t Version::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-uint32_t Version::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->version);
this->__isset.version = true;
} else {
@@ -39,7 +39,7 @@ uint32_t Version::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->comments);
this->__isset.comments = true;
} else {
@@ -58,13 +58,13 @@ uint32_t Version::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Version::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Version");
- xfer += oprot->writeFieldBegin("version", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("version", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->version);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("comments", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("comments", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->comments);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -75,28 +75,28 @@ uint32_t Version::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* FieldSchema::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271";
const uint8_t FieldSchema::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
-uint32_t FieldSchema::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -104,7 +104,7 @@ uint32_t FieldSchema::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->type);
this->__isset.type = true;
} else {
@@ -112,7 +112,7 @@ uint32_t FieldSchema::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->comment);
this->__isset.comment = true;
} else {
@@ -131,16 +131,16 @@ uint32_t FieldSchema::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t FieldSchema::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("FieldSchema");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("type", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->type);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("comment", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("comment", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->comment);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -151,28 +151,28 @@ uint32_t FieldSchema::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Type::ascii_fingerprint = "20DF02DE523C27F7066C7BD4D9120842";
const uint8_t Type::binary_fingerprint[16] = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42};
-uint32_t Type::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -180,7 +180,7 @@ uint32_t Type::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->type1);
this->__isset.type1 = true;
} else {
@@ -188,7 +188,7 @@ uint32_t Type::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->type2);
this->__isset.type2 = true;
} else {
@@ -196,11 +196,11 @@ uint32_t Type::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->fields.clear();
uint32_t _size0;
- apache::thrift::protocol::TType _etype3;
+ ::apache::thrift::protocol::TType _etype3;
iprot->readListBegin(_etype3, _size0);
this->fields.resize(_size0);
uint32_t _i4;
@@ -227,26 +227,26 @@ uint32_t Type::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Type::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Type");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
if (this->__isset.type1) {
- xfer += oprot->writeFieldBegin("type1", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("type1", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->type1);
xfer += oprot->writeFieldEnd();
}
if (this->__isset.type2) {
- xfer += oprot->writeFieldBegin("type2", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("type2", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->type2);
xfer += oprot->writeFieldEnd();
}
if (this->__isset.fields) {
- xfer += oprot->writeFieldBegin("fields", apache::thrift::protocol::T_LIST, 4);
+ xfer += oprot->writeFieldBegin("fields", ::apache::thrift::protocol::T_LIST, 4);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->fields.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->fields.size());
std::vector ::const_iterator _iter5;
for (_iter5 = this->fields.begin(); _iter5 != this->fields.end(); ++_iter5)
{
@@ -264,28 +264,28 @@ uint32_t Type::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Database::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271";
const uint8_t Database::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
-uint32_t Database::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -293,7 +293,7 @@ uint32_t Database::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->description);
this->__isset.description = true;
} else {
@@ -301,7 +301,7 @@ uint32_t Database::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->locationUri);
this->__isset.locationUri = true;
} else {
@@ -320,16 +320,16 @@ uint32_t Database::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Database::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Database");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("description", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("description", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->description);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("locationUri", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("locationUri", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->locationUri);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -340,28 +340,28 @@ uint32_t Database::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* SerDeInfo::ascii_fingerprint = "B1021C32A35A2AEFCD2F57A5424159A7";
const uint8_t SerDeInfo::binary_fingerprint[16] = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7};
-uint32_t SerDeInfo::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->name);
this->__isset.name = true;
} else {
@@ -369,7 +369,7 @@ uint32_t SerDeInfo::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->serializationLib);
this->__isset.serializationLib = true;
} else {
@@ -377,12 +377,12 @@ uint32_t SerDeInfo::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
uint32_t _size6;
- apache::thrift::protocol::TType _ktype7;
- apache::thrift::protocol::TType _vtype8;
+ ::apache::thrift::protocol::TType _ktype7;
+ ::apache::thrift::protocol::TType _vtype8;
iprot->readMapBegin(_ktype7, _vtype8, _size6);
uint32_t _i10;
for (_i10 = 0; _i10 < _size6; ++_i10)
@@ -411,18 +411,18 @@ uint32_t SerDeInfo::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t SerDeInfo::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("SerDeInfo");
- xfer += oprot->writeFieldBegin("name", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->name);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("serializationLib", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("serializationLib", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->serializationLib);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 3);
+ xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 3);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->parameters.size());
std::map ::const_iterator _iter13;
for (_iter13 = this->parameters.begin(); _iter13 != this->parameters.end(); ++_iter13)
{
@@ -440,28 +440,28 @@ uint32_t SerDeInfo::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Order::ascii_fingerprint = "EEBC915CE44901401D881E6091423036";
const uint8_t Order::binary_fingerprint[16] = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36};
-uint32_t Order::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->col);
this->__isset.col = true;
} else {
@@ -469,7 +469,7 @@ uint32_t Order::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->order);
this->__isset.order = true;
} else {
@@ -488,13 +488,13 @@ uint32_t Order::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Order::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Order");
- xfer += oprot->writeFieldBegin("col", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("col", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->col);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("order", apache::thrift::protocol::T_I32, 2);
+ xfer += oprot->writeFieldBegin("order", ::apache::thrift::protocol::T_I32, 2);
xfer += oprot->writeI32(this->order);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -505,32 +505,32 @@ uint32_t Order::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* StorageDescriptor::ascii_fingerprint = "11E4CE18F895C13812C853DFDCD1293F";
const uint8_t StorageDescriptor::binary_fingerprint[16] = {0x11,0xE4,0xCE,0x18,0xF8,0x95,0xC1,0x38,0x12,0xC8,0x53,0xDF,0xDC,0xD1,0x29,0x3F};
-uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->cols.clear();
uint32_t _size14;
- apache::thrift::protocol::TType _etype17;
+ ::apache::thrift::protocol::TType _etype17;
iprot->readListBegin(_etype17, _size14);
this->cols.resize(_size14);
uint32_t _i18;
@@ -546,7 +546,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->location);
this->__isset.location = true;
} else {
@@ -554,7 +554,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->inputFormat);
this->__isset.inputFormat = true;
} else {
@@ -562,7 +562,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->outputFormat);
this->__isset.outputFormat = true;
} else {
@@ -570,7 +570,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 5:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->compressed);
this->__isset.compressed = true;
} else {
@@ -578,7 +578,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 6:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->numBuckets);
this->__isset.numBuckets = true;
} else {
@@ -586,7 +586,7 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 7:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->serdeInfo.read(iprot);
this->__isset.serdeInfo = true;
} else {
@@ -594,11 +594,11 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 8:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->bucketCols.clear();
uint32_t _size19;
- apache::thrift::protocol::TType _etype22;
+ ::apache::thrift::protocol::TType _etype22;
iprot->readListBegin(_etype22, _size19);
this->bucketCols.resize(_size19);
uint32_t _i23;
@@ -614,11 +614,11 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 9:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->sortCols.clear();
uint32_t _size24;
- apache::thrift::protocol::TType _etype27;
+ ::apache::thrift::protocol::TType _etype27;
iprot->readListBegin(_etype27, _size24);
this->sortCols.resize(_size24);
uint32_t _i28;
@@ -634,12 +634,12 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 10:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
uint32_t _size29;
- apache::thrift::protocol::TType _ktype30;
- apache::thrift::protocol::TType _vtype31;
+ ::apache::thrift::protocol::TType _ktype30;
+ ::apache::thrift::protocol::TType _vtype31;
iprot->readMapBegin(_ktype30, _vtype31, _size29);
uint32_t _i33;
for (_i33 = 0; _i33 < _size29; ++_i33)
@@ -668,12 +668,12 @@ uint32_t StorageDescriptor::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t StorageDescriptor::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("StorageDescriptor");
- xfer += oprot->writeFieldBegin("cols", apache::thrift::protocol::T_LIST, 1);
+ xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->cols.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->cols.size());
std::vector ::const_iterator _iter36;
for (_iter36 = this->cols.begin(); _iter36 != this->cols.end(); ++_iter36)
{
@@ -682,27 +682,27 @@ uint32_t StorageDescriptor::write(apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("location", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("location", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->location);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("inputFormat", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("inputFormat", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->inputFormat);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("outputFormat", apache::thrift::protocol::T_STRING, 4);
+ xfer += oprot->writeFieldBegin("outputFormat", ::apache::thrift::protocol::T_STRING, 4);
xfer += oprot->writeString(this->outputFormat);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("compressed", apache::thrift::protocol::T_BOOL, 5);
+ xfer += oprot->writeFieldBegin("compressed", ::apache::thrift::protocol::T_BOOL, 5);
xfer += oprot->writeBool(this->compressed);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("numBuckets", apache::thrift::protocol::T_I32, 6);
+ xfer += oprot->writeFieldBegin("numBuckets", ::apache::thrift::protocol::T_I32, 6);
xfer += oprot->writeI32(this->numBuckets);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("serdeInfo", apache::thrift::protocol::T_STRUCT, 7);
+ xfer += oprot->writeFieldBegin("serdeInfo", ::apache::thrift::protocol::T_STRUCT, 7);
xfer += this->serdeInfo.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("bucketCols", apache::thrift::protocol::T_LIST, 8);
+ xfer += oprot->writeFieldBegin("bucketCols", ::apache::thrift::protocol::T_LIST, 8);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->bucketCols.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->bucketCols.size());
std::vector ::const_iterator _iter37;
for (_iter37 = this->bucketCols.begin(); _iter37 != this->bucketCols.end(); ++_iter37)
{
@@ -711,9 +711,9 @@ uint32_t StorageDescriptor::write(apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("sortCols", apache::thrift::protocol::T_LIST, 9);
+ xfer += oprot->writeFieldBegin("sortCols", ::apache::thrift::protocol::T_LIST, 9);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->sortCols.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->sortCols.size());
std::vector ::const_iterator _iter38;
for (_iter38 = this->sortCols.begin(); _iter38 != this->sortCols.end(); ++_iter38)
{
@@ -722,9 +722,9 @@ uint32_t StorageDescriptor::write(apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 10);
+ xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 10);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->parameters.size());
std::map ::const_iterator _iter39;
for (_iter39 = this->parameters.begin(); _iter39 != this->parameters.end(); ++_iter39)
{
@@ -742,28 +742,28 @@ uint32_t StorageDescriptor::write(apache::thrift::protocol::TProtocol* oprot) co
const char* Table::ascii_fingerprint = "F709D087CEEE7C49380296E3B423FF76";
const uint8_t Table::binary_fingerprint[16] = {0xF7,0x09,0xD0,0x87,0xCE,0xEE,0x7C,0x49,0x38,0x02,0x96,0xE3,0xB4,0x23,0xFF,0x76};
-uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tableName);
this->__isset.tableName = true;
} else {
@@ -771,7 +771,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbName);
this->__isset.dbName = true;
} else {
@@ -779,7 +779,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->owner);
this->__isset.owner = true;
} else {
@@ -787,7 +787,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->createTime);
this->__isset.createTime = true;
} else {
@@ -795,7 +795,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 5:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->lastAccessTime);
this->__isset.lastAccessTime = true;
} else {
@@ -803,7 +803,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 6:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->retention);
this->__isset.retention = true;
} else {
@@ -811,7 +811,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 7:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->sd.read(iprot);
this->__isset.sd = true;
} else {
@@ -819,11 +819,11 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 8:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->partitionKeys.clear();
uint32_t _size40;
- apache::thrift::protocol::TType _etype43;
+ ::apache::thrift::protocol::TType _etype43;
iprot->readListBegin(_etype43, _size40);
this->partitionKeys.resize(_size40);
uint32_t _i44;
@@ -839,12 +839,12 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 9:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
uint32_t _size45;
- apache::thrift::protocol::TType _ktype46;
- apache::thrift::protocol::TType _vtype47;
+ ::apache::thrift::protocol::TType _ktype46;
+ ::apache::thrift::protocol::TType _vtype47;
iprot->readMapBegin(_ktype46, _vtype47, _size45);
uint32_t _i49;
for (_i49 = 0; _i49 < _size45; ++_i49)
@@ -862,7 +862,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 10:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->viewOriginalText);
this->__isset.viewOriginalText = true;
} else {
@@ -870,7 +870,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 11:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->viewExpandedText);
this->__isset.viewExpandedText = true;
} else {
@@ -878,7 +878,7 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 12:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tableType);
this->__isset.tableType = true;
} else {
@@ -897,33 +897,33 @@ uint32_t Table::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Table::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Table");
- xfer += oprot->writeFieldBegin("tableName", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->tableName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("dbName", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->dbName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("owner", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("owner", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->owner);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("createTime", apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeFieldBegin("createTime", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32(this->createTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("lastAccessTime", apache::thrift::protocol::T_I32, 5);
+ xfer += oprot->writeFieldBegin("lastAccessTime", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32(this->lastAccessTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("retention", apache::thrift::protocol::T_I32, 6);
+ xfer += oprot->writeFieldBegin("retention", ::apache::thrift::protocol::T_I32, 6);
xfer += oprot->writeI32(this->retention);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("sd", apache::thrift::protocol::T_STRUCT, 7);
+ xfer += oprot->writeFieldBegin("sd", ::apache::thrift::protocol::T_STRUCT, 7);
xfer += this->sd.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("partitionKeys", apache::thrift::protocol::T_LIST, 8);
+ xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->partitionKeys.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->partitionKeys.size());
std::vector ::const_iterator _iter52;
for (_iter52 = this->partitionKeys.begin(); _iter52 != this->partitionKeys.end(); ++_iter52)
{
@@ -932,9 +932,9 @@ uint32_t Table::write(apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 9);
+ xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->parameters.size());
std::map ::const_iterator _iter53;
for (_iter53 = this->parameters.begin(); _iter53 != this->parameters.end(); ++_iter53)
{
@@ -944,13 +944,13 @@ uint32_t Table::write(apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeMapEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("viewOriginalText", apache::thrift::protocol::T_STRING, 10);
+ xfer += oprot->writeFieldBegin("viewOriginalText", ::apache::thrift::protocol::T_STRING, 10);
xfer += oprot->writeString(this->viewOriginalText);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("viewExpandedText", apache::thrift::protocol::T_STRING, 11);
+ xfer += oprot->writeFieldBegin("viewExpandedText", ::apache::thrift::protocol::T_STRING, 11);
xfer += oprot->writeString(this->viewExpandedText);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tableType", apache::thrift::protocol::T_STRING, 12);
+ xfer += oprot->writeFieldBegin("tableType", ::apache::thrift::protocol::T_STRING, 12);
xfer += oprot->writeString(this->tableType);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -961,32 +961,32 @@ uint32_t Table::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Partition::ascii_fingerprint = "E5EDC507CBBC5F6F81AAC4845B38F51B";
const uint8_t Partition::binary_fingerprint[16] = {0xE5,0xED,0xC5,0x07,0xCB,0xBC,0x5F,0x6F,0x81,0xAA,0xC4,0x84,0x5B,0x38,0xF5,0x1B};
-uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->values.clear();
uint32_t _size54;
- apache::thrift::protocol::TType _etype57;
+ ::apache::thrift::protocol::TType _etype57;
iprot->readListBegin(_etype57, _size54);
this->values.resize(_size54);
uint32_t _i58;
@@ -1002,7 +1002,7 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbName);
this->__isset.dbName = true;
} else {
@@ -1010,7 +1010,7 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->tableName);
this->__isset.tableName = true;
} else {
@@ -1018,7 +1018,7 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->createTime);
this->__isset.createTime = true;
} else {
@@ -1026,7 +1026,7 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 5:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->lastAccessTime);
this->__isset.lastAccessTime = true;
} else {
@@ -1034,7 +1034,7 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 6:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->sd.read(iprot);
this->__isset.sd = true;
} else {
@@ -1042,12 +1042,12 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 7:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
uint32_t _size59;
- apache::thrift::protocol::TType _ktype60;
- apache::thrift::protocol::TType _vtype61;
+ ::apache::thrift::protocol::TType _ktype60;
+ ::apache::thrift::protocol::TType _vtype61;
iprot->readMapBegin(_ktype60, _vtype61, _size59);
uint32_t _i63;
for (_i63 = 0; _i63 < _size59; ++_i63)
@@ -1076,12 +1076,12 @@ uint32_t Partition::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Partition::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Partition");
- xfer += oprot->writeFieldBegin("values", apache::thrift::protocol::T_LIST, 1);
+ xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRING, this->values.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->values.size());
std::vector ::const_iterator _iter66;
for (_iter66 = this->values.begin(); _iter66 != this->values.end(); ++_iter66)
{
@@ -1090,24 +1090,24 @@ uint32_t Partition::write(apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("dbName", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->dbName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("tableName", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->tableName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("createTime", apache::thrift::protocol::T_I32, 4);
+ xfer += oprot->writeFieldBegin("createTime", ::apache::thrift::protocol::T_I32, 4);
xfer += oprot->writeI32(this->createTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("lastAccessTime", apache::thrift::protocol::T_I32, 5);
+ xfer += oprot->writeFieldBegin("lastAccessTime", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32(this->lastAccessTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("sd", apache::thrift::protocol::T_STRUCT, 6);
+ xfer += oprot->writeFieldBegin("sd", ::apache::thrift::protocol::T_STRUCT, 6);
xfer += this->sd.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 7);
+ xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->parameters.size());
std::map ::const_iterator _iter67;
for (_iter67 = this->parameters.begin(); _iter67 != this->parameters.end(); ++_iter67)
{
@@ -1125,28 +1125,28 @@ uint32_t Partition::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Index::ascii_fingerprint = "5FEE4F7E28935B644F207D74459F6A29";
const uint8_t Index::binary_fingerprint[16] = {0x5F,0xEE,0x4F,0x7E,0x28,0x93,0x5B,0x64,0x4F,0x20,0x7D,0x74,0x45,0x9F,0x6A,0x29};
-uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->indexName);
this->__isset.indexName = true;
} else {
@@ -1154,7 +1154,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->indexHandlerClass);
this->__isset.indexHandlerClass = true;
} else {
@@ -1162,7 +1162,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 3:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->dbName);
this->__isset.dbName = true;
} else {
@@ -1170,7 +1170,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 4:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->origTableName);
this->__isset.origTableName = true;
} else {
@@ -1178,7 +1178,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 5:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->createTime);
this->__isset.createTime = true;
} else {
@@ -1186,7 +1186,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 6:
- if (ftype == apache::thrift::protocol::T_I32) {
+ if (ftype == ::apache::thrift::protocol::T_I32) {
xfer += iprot->readI32(this->lastAccessTime);
this->__isset.lastAccessTime = true;
} else {
@@ -1194,7 +1194,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 7:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->indexTableName);
this->__isset.indexTableName = true;
} else {
@@ -1202,7 +1202,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 8:
- if (ftype == apache::thrift::protocol::T_STRUCT) {
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
xfer += this->sd.read(iprot);
this->__isset.sd = true;
} else {
@@ -1210,12 +1210,12 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 9:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->parameters.clear();
uint32_t _size68;
- apache::thrift::protocol::TType _ktype69;
- apache::thrift::protocol::TType _vtype70;
+ ::apache::thrift::protocol::TType _ktype69;
+ ::apache::thrift::protocol::TType _vtype70;
iprot->readMapBegin(_ktype69, _vtype70, _size68);
uint32_t _i72;
for (_i72 = 0; _i72 < _size68; ++_i72)
@@ -1233,7 +1233,7 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 10:
- if (ftype == apache::thrift::protocol::T_BOOL) {
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
xfer += iprot->readBool(this->deferredRebuild);
this->__isset.deferredRebuild = true;
} else {
@@ -1252,36 +1252,36 @@ uint32_t Index::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Index::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Index");
- xfer += oprot->writeFieldBegin("indexName", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("indexName", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->indexName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("indexHandlerClass", apache::thrift::protocol::T_STRING, 2);
+ xfer += oprot->writeFieldBegin("indexHandlerClass", ::apache::thrift::protocol::T_STRING, 2);
xfer += oprot->writeString(this->indexHandlerClass);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("dbName", apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 3);
xfer += oprot->writeString(this->dbName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("origTableName", apache::thrift::protocol::T_STRING, 4);
+ xfer += oprot->writeFieldBegin("origTableName", ::apache::thrift::protocol::T_STRING, 4);
xfer += oprot->writeString(this->origTableName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("createTime", apache::thrift::protocol::T_I32, 5);
+ xfer += oprot->writeFieldBegin("createTime", ::apache::thrift::protocol::T_I32, 5);
xfer += oprot->writeI32(this->createTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("lastAccessTime", apache::thrift::protocol::T_I32, 6);
+ xfer += oprot->writeFieldBegin("lastAccessTime", ::apache::thrift::protocol::T_I32, 6);
xfer += oprot->writeI32(this->lastAccessTime);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("indexTableName", apache::thrift::protocol::T_STRING, 7);
+ xfer += oprot->writeFieldBegin("indexTableName", ::apache::thrift::protocol::T_STRING, 7);
xfer += oprot->writeString(this->indexTableName);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("sd", apache::thrift::protocol::T_STRUCT, 8);
+ xfer += oprot->writeFieldBegin("sd", ::apache::thrift::protocol::T_STRUCT, 8);
xfer += this->sd.write(oprot);
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("parameters", apache::thrift::protocol::T_MAP, 9);
+ xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->parameters.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->parameters.size());
std::map ::const_iterator _iter75;
for (_iter75 = this->parameters.begin(); _iter75 != this->parameters.end(); ++_iter75)
{
@@ -1291,7 +1291,7 @@ uint32_t Index::write(apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeMapEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("deferredRebuild", apache::thrift::protocol::T_BOOL, 10);
+ xfer += oprot->writeFieldBegin("deferredRebuild", ::apache::thrift::protocol::T_BOOL, 10);
xfer += oprot->writeBool(this->deferredRebuild);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1302,32 +1302,32 @@ uint32_t Index::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* Schema::ascii_fingerprint = "5CFEE46C975F4E2368D905109B8E3B5B";
const uint8_t Schema::binary_fingerprint[16] = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B};
-uint32_t Schema::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_LIST) {
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->fieldSchemas.clear();
uint32_t _size76;
- apache::thrift::protocol::TType _etype79;
+ ::apache::thrift::protocol::TType _etype79;
iprot->readListBegin(_etype79, _size76);
this->fieldSchemas.resize(_size76);
uint32_t _i80;
@@ -1343,12 +1343,12 @@ uint32_t Schema::read(apache::thrift::protocol::TProtocol* iprot) {
}
break;
case 2:
- if (ftype == apache::thrift::protocol::T_MAP) {
+ if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->properties.clear();
uint32_t _size81;
- apache::thrift::protocol::TType _ktype82;
- apache::thrift::protocol::TType _vtype83;
+ ::apache::thrift::protocol::TType _ktype82;
+ ::apache::thrift::protocol::TType _vtype83;
iprot->readMapBegin(_ktype82, _vtype83, _size81);
uint32_t _i85;
for (_i85 = 0; _i85 < _size81; ++_i85)
@@ -1377,12 +1377,12 @@ uint32_t Schema::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t Schema::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("Schema");
- xfer += oprot->writeFieldBegin("fieldSchemas", apache::thrift::protocol::T_LIST, 1);
+ xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1);
{
- xfer += oprot->writeListBegin(apache::thrift::protocol::T_STRUCT, this->fieldSchemas.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->fieldSchemas.size());
std::vector ::const_iterator _iter88;
for (_iter88 = this->fieldSchemas.begin(); _iter88 != this->fieldSchemas.end(); ++_iter88)
{
@@ -1391,9 +1391,9 @@ uint32_t Schema::write(apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeListEnd();
}
xfer += oprot->writeFieldEnd();
- xfer += oprot->writeFieldBegin("properties", apache::thrift::protocol::T_MAP, 2);
+ xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2);
{
- xfer += oprot->writeMapBegin(apache::thrift::protocol::T_STRING, apache::thrift::protocol::T_STRING, this->properties.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->properties.size());
std::map ::const_iterator _iter89;
for (_iter89 = this->properties.begin(); _iter89 != this->properties.end(); ++_iter89)
{
@@ -1411,28 +1411,28 @@ uint32_t Schema::write(apache::thrift::protocol::TProtocol* oprot) const {
const char* MetaException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t MetaException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t MetaException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t MetaException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1451,10 +1451,10 @@ uint32_t MetaException::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t MetaException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t MetaException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("MetaException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1465,28 +1465,28 @@ uint32_t MetaException::write(apache::thrift::protocol::TProtocol* oprot) const
const char* UnknownTableException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t UnknownTableException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t UnknownTableException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t UnknownTableException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1505,10 +1505,10 @@ uint32_t UnknownTableException::read(apache::thrift::protocol::TProtocol* iprot)
return xfer;
}
-uint32_t UnknownTableException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t UnknownTableException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("UnknownTableException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1519,28 +1519,28 @@ uint32_t UnknownTableException::write(apache::thrift::protocol::TProtocol* oprot
const char* UnknownDBException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t UnknownDBException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t UnknownDBException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t UnknownDBException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1559,10 +1559,10 @@ uint32_t UnknownDBException::read(apache::thrift::protocol::TProtocol* iprot) {
return xfer;
}
-uint32_t UnknownDBException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t UnknownDBException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("UnknownDBException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1573,28 +1573,28 @@ uint32_t UnknownDBException::write(apache::thrift::protocol::TProtocol* oprot) c
const char* AlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t AlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t AlreadyExistsException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t AlreadyExistsException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1613,10 +1613,10 @@ uint32_t AlreadyExistsException::read(apache::thrift::protocol::TProtocol* iprot
return xfer;
}
-uint32_t AlreadyExistsException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t AlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("AlreadyExistsException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1627,28 +1627,28 @@ uint32_t AlreadyExistsException::write(apache::thrift::protocol::TProtocol* opro
const char* InvalidObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t InvalidObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t InvalidObjectException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t InvalidObjectException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1667,10 +1667,10 @@ uint32_t InvalidObjectException::read(apache::thrift::protocol::TProtocol* iprot
return xfer;
}
-uint32_t InvalidObjectException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t InvalidObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("InvalidObjectException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1681,28 +1681,28 @@ uint32_t InvalidObjectException::write(apache::thrift::protocol::TProtocol* opro
const char* NoSuchObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t NoSuchObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t NoSuchObjectException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t NoSuchObjectException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1721,10 +1721,10 @@ uint32_t NoSuchObjectException::read(apache::thrift::protocol::TProtocol* iprot)
return xfer;
}
-uint32_t NoSuchObjectException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t NoSuchObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("NoSuchObjectException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1735,28 +1735,28 @@ uint32_t NoSuchObjectException::write(apache::thrift::protocol::TProtocol* oprot
const char* IndexAlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t IndexAlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t IndexAlreadyExistsException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t IndexAlreadyExistsException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1775,10 +1775,10 @@ uint32_t IndexAlreadyExistsException::read(apache::thrift::protocol::TProtocol*
return xfer;
}
-uint32_t IndexAlreadyExistsException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t IndexAlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("IndexAlreadyExistsException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1789,28 +1789,28 @@ uint32_t IndexAlreadyExistsException::write(apache::thrift::protocol::TProtocol*
const char* InvalidOperationException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t InvalidOperationException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t InvalidOperationException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t InvalidOperationException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1829,10 +1829,10 @@ uint32_t InvalidOperationException::read(apache::thrift::protocol::TProtocol* ip
return xfer;
}
-uint32_t InvalidOperationException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t InvalidOperationException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("InvalidOperationException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
@@ -1843,28 +1843,28 @@ uint32_t InvalidOperationException::write(apache::thrift::protocol::TProtocol* o
const char* ConfigValSecurityException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
const uint8_t ConfigValSecurityException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-uint32_t ConfigValSecurityException::read(apache::thrift::protocol::TProtocol* iprot) {
+uint32_t ConfigValSecurityException::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
- apache::thrift::protocol::TType ftype;
+ ::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
- using apache::thrift::protocol::TProtocolException;
+ using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == apache::thrift::protocol::T_STOP) {
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 1:
- if (ftype == apache::thrift::protocol::T_STRING) {
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
xfer += iprot->readString(this->message);
this->__isset.message = true;
} else {
@@ -1883,10 +1883,10 @@ uint32_t ConfigValSecurityException::read(apache::thrift::protocol::TProtocol* i
return xfer;
}
-uint32_t ConfigValSecurityException::write(apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t ConfigValSecurityException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
xfer += oprot->writeStructBegin("ConfigValSecurityException");
- xfer += oprot->writeFieldBegin("message", apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
xfer += oprot->writeString(this->message);
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
diff --git metastore/src/gen-cpp/hive_metastore_types.h metastore/src/gen-cpp/hive_metastore_types.h
index f6cd7e5..78d7f4b 100644
--- metastore/src/gen-cpp/hive_metastore_types.h
+++ metastore/src/gen-cpp/hive_metastore_types.h
@@ -7,6 +7,7 @@
#define hive_metastore_TYPES_H
#include
+#include
#include
#include
@@ -15,6 +16,12 @@
namespace Apache { namespace Hadoop { namespace Hive {
+typedef struct _Version__isset {
+ _Version__isset() : version(false), comments(false) {}
+ bool version;
+ bool comments;
+} _Version__isset;
+
class Version {
public:
@@ -29,11 +36,7 @@ class Version {
std::string version;
std::string comments;
- struct __isset {
- __isset() : version(false), comments(false) {}
- bool version;
- bool comments;
- } __isset;
+ _Version__isset __isset;
bool operator == (const Version & rhs) const
{
@@ -49,11 +52,18 @@ class Version {
bool operator < (const Version & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _FieldSchema__isset {
+ _FieldSchema__isset() : name(false), type(false), comment(false) {}
+ bool name;
+ bool type;
+ bool comment;
+} _FieldSchema__isset;
+
class FieldSchema {
public:
@@ -69,12 +79,7 @@ class FieldSchema {
std::string type;
std::string comment;
- struct __isset {
- __isset() : name(false), type(false), comment(false) {}
- bool name;
- bool type;
- bool comment;
- } __isset;
+ _FieldSchema__isset __isset;
bool operator == (const FieldSchema & rhs) const
{
@@ -92,11 +97,19 @@ class FieldSchema {
bool operator < (const FieldSchema & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Type__isset {
+ _Type__isset() : name(false), type1(false), type2(false), fields(false) {}
+ bool name;
+ bool type1;
+ bool type2;
+ bool fields;
+} _Type__isset;
+
class Type {
public:
@@ -113,13 +126,7 @@ class Type {
std::string type2;
std::vector fields;
- struct __isset {
- __isset() : name(false), type1(false), type2(false), fields(false) {}
- bool name;
- bool type1;
- bool type2;
- bool fields;
- } __isset;
+ _Type__isset __isset;
bool operator == (const Type & rhs) const
{
@@ -145,11 +152,18 @@ class Type {
bool operator < (const Type & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Database__isset {
+ _Database__isset() : name(false), description(false), locationUri(false) {}
+ bool name;
+ bool description;
+ bool locationUri;
+} _Database__isset;
+
class Database {
public:
@@ -165,12 +179,7 @@ class Database {
std::string description;
std::string locationUri;
- struct __isset {
- __isset() : name(false), description(false), locationUri(false) {}
- bool name;
- bool description;
- bool locationUri;
- } __isset;
+ _Database__isset __isset;
bool operator == (const Database & rhs) const
{
@@ -188,11 +197,18 @@ class Database {
bool operator < (const Database & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _SerDeInfo__isset {
+ _SerDeInfo__isset() : name(false), serializationLib(false), parameters(false) {}
+ bool name;
+ bool serializationLib;
+ bool parameters;
+} _SerDeInfo__isset;
+
class SerDeInfo {
public:
@@ -208,12 +224,7 @@ class SerDeInfo {
std::string serializationLib;
std::map parameters;
- struct __isset {
- __isset() : name(false), serializationLib(false), parameters(false) {}
- bool name;
- bool serializationLib;
- bool parameters;
- } __isset;
+ _SerDeInfo__isset __isset;
bool operator == (const SerDeInfo & rhs) const
{
@@ -231,11 +242,17 @@ class SerDeInfo {
bool operator < (const SerDeInfo & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Order__isset {
+ _Order__isset() : col(false), order(false) {}
+ bool col;
+ bool order;
+} _Order__isset;
+
class Order {
public:
@@ -250,11 +267,7 @@ class Order {
std::string col;
int32_t order;
- struct __isset {
- __isset() : col(false), order(false) {}
- bool col;
- bool order;
- } __isset;
+ _Order__isset __isset;
bool operator == (const Order & rhs) const
{
@@ -270,11 +283,25 @@ class Order {
bool operator < (const Order & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _StorageDescriptor__isset {
+ _StorageDescriptor__isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false) {}
+ bool cols;
+ bool location;
+ bool inputFormat;
+ bool outputFormat;
+ bool compressed;
+ bool numBuckets;
+ bool serdeInfo;
+ bool bucketCols;
+ bool sortCols;
+ bool parameters;
+} _StorageDescriptor__isset;
+
class StorageDescriptor {
public:
@@ -297,19 +324,7 @@ class StorageDescriptor {
std::vector sortCols;
std::map parameters;
- struct __isset {
- __isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false) {}
- bool cols;
- bool location;
- bool inputFormat;
- bool outputFormat;
- bool compressed;
- bool numBuckets;
- bool serdeInfo;
- bool bucketCols;
- bool sortCols;
- bool parameters;
- } __isset;
+ _StorageDescriptor__isset __isset;
bool operator == (const StorageDescriptor & rhs) const
{
@@ -341,11 +356,27 @@ class StorageDescriptor {
bool operator < (const StorageDescriptor & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) 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) {}
+ bool tableName;
+ bool dbName;
+ bool owner;
+ bool createTime;
+ bool lastAccessTime;
+ bool retention;
+ bool sd;
+ bool partitionKeys;
+ bool parameters;
+ bool viewOriginalText;
+ bool viewExpandedText;
+ bool tableType;
+} _Table__isset;
+
class Table {
public:
@@ -370,21 +401,7 @@ class Table {
std::string viewExpandedText;
std::string tableType;
- struct __isset {
- __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) {}
- bool tableName;
- bool dbName;
- bool owner;
- bool createTime;
- bool lastAccessTime;
- bool retention;
- bool sd;
- bool partitionKeys;
- bool parameters;
- bool viewOriginalText;
- bool viewExpandedText;
- bool tableType;
- } __isset;
+ _Table__isset __isset;
bool operator == (const Table & rhs) const
{
@@ -420,11 +437,22 @@ class Table {
bool operator < (const Table & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Partition__isset {
+ _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false) {}
+ bool values;
+ bool dbName;
+ bool tableName;
+ bool createTime;
+ bool lastAccessTime;
+ bool sd;
+ bool parameters;
+} _Partition__isset;
+
class Partition {
public:
@@ -444,16 +472,7 @@ class Partition {
StorageDescriptor sd;
std::map parameters;
- struct __isset {
- __isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false) {}
- bool values;
- bool dbName;
- bool tableName;
- bool createTime;
- bool lastAccessTime;
- bool sd;
- bool parameters;
- } __isset;
+ _Partition__isset __isset;
bool operator == (const Partition & rhs) const
{
@@ -479,11 +498,25 @@ class Partition {
bool operator < (const Partition & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Index__isset {
+ _Index__isset() : indexName(false), indexHandlerClass(false), dbName(false), origTableName(false), createTime(false), lastAccessTime(false), indexTableName(false), sd(false), parameters(false), deferredRebuild(false) {}
+ bool indexName;
+ bool indexHandlerClass;
+ bool dbName;
+ bool origTableName;
+ bool createTime;
+ bool lastAccessTime;
+ bool indexTableName;
+ bool sd;
+ bool parameters;
+ bool deferredRebuild;
+} _Index__isset;
+
class Index {
public:
@@ -506,19 +539,7 @@ class Index {
std::map parameters;
bool deferredRebuild;
- struct __isset {
- __isset() : indexName(false), indexHandlerClass(false), dbName(false), origTableName(false), createTime(false), lastAccessTime(false), indexTableName(false), sd(false), parameters(false), deferredRebuild(false) {}
- bool indexName;
- bool indexHandlerClass;
- bool dbName;
- bool origTableName;
- bool createTime;
- bool lastAccessTime;
- bool indexTableName;
- bool sd;
- bool parameters;
- bool deferredRebuild;
- } __isset;
+ _Index__isset __isset;
bool operator == (const Index & rhs) const
{
@@ -550,11 +571,17 @@ class Index {
bool operator < (const Index & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
+typedef struct _Schema__isset {
+ _Schema__isset() : fieldSchemas(false), properties(false) {}
+ bool fieldSchemas;
+ bool properties;
+} _Schema__isset;
+
class Schema {
public:
@@ -569,11 +596,7 @@ class Schema {
std::vector fieldSchemas;
std::map properties;
- struct __isset {
- __isset() : fieldSchemas(false), properties(false) {}
- bool fieldSchemas;
- bool properties;
- } __isset;
+ _Schema__isset __isset;
bool operator == (const Schema & rhs) const
{
@@ -589,12 +612,17 @@ class Schema {
bool operator < (const Schema & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class MetaException : public apache::thrift::TException {
+typedef struct _MetaException__isset {
+ _MetaException__isset() : message(false) {}
+ bool message;
+} _MetaException__isset;
+
+class MetaException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -607,10 +635,7 @@ class MetaException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _MetaException__isset __isset;
bool operator == (const MetaException & rhs) const
{
@@ -624,12 +649,17 @@ class MetaException : public apache::thrift::TException {
bool operator < (const MetaException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class UnknownTableException : public apache::thrift::TException {
+typedef struct _UnknownTableException__isset {
+ _UnknownTableException__isset() : message(false) {}
+ bool message;
+} _UnknownTableException__isset;
+
+class UnknownTableException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -642,10 +672,7 @@ class UnknownTableException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _UnknownTableException__isset __isset;
bool operator == (const UnknownTableException & rhs) const
{
@@ -659,12 +686,17 @@ class UnknownTableException : public apache::thrift::TException {
bool operator < (const UnknownTableException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class UnknownDBException : public apache::thrift::TException {
+typedef struct _UnknownDBException__isset {
+ _UnknownDBException__isset() : message(false) {}
+ bool message;
+} _UnknownDBException__isset;
+
+class UnknownDBException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -677,10 +709,7 @@ class UnknownDBException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _UnknownDBException__isset __isset;
bool operator == (const UnknownDBException & rhs) const
{
@@ -694,12 +723,17 @@ class UnknownDBException : public apache::thrift::TException {
bool operator < (const UnknownDBException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class AlreadyExistsException : public apache::thrift::TException {
+typedef struct _AlreadyExistsException__isset {
+ _AlreadyExistsException__isset() : message(false) {}
+ bool message;
+} _AlreadyExistsException__isset;
+
+class AlreadyExistsException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -712,10 +746,7 @@ class AlreadyExistsException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _AlreadyExistsException__isset __isset;
bool operator == (const AlreadyExistsException & rhs) const
{
@@ -729,12 +760,17 @@ class AlreadyExistsException : public apache::thrift::TException {
bool operator < (const AlreadyExistsException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class InvalidObjectException : public apache::thrift::TException {
+typedef struct _InvalidObjectException__isset {
+ _InvalidObjectException__isset() : message(false) {}
+ bool message;
+} _InvalidObjectException__isset;
+
+class InvalidObjectException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -747,10 +783,7 @@ class InvalidObjectException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _InvalidObjectException__isset __isset;
bool operator == (const InvalidObjectException & rhs) const
{
@@ -764,12 +797,17 @@ class InvalidObjectException : public apache::thrift::TException {
bool operator < (const InvalidObjectException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class NoSuchObjectException : public apache::thrift::TException {
+typedef struct _NoSuchObjectException__isset {
+ _NoSuchObjectException__isset() : message(false) {}
+ bool message;
+} _NoSuchObjectException__isset;
+
+class NoSuchObjectException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -782,10 +820,7 @@ class NoSuchObjectException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _NoSuchObjectException__isset __isset;
bool operator == (const NoSuchObjectException & rhs) const
{
@@ -799,12 +834,17 @@ class NoSuchObjectException : public apache::thrift::TException {
bool operator < (const NoSuchObjectException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class IndexAlreadyExistsException : public apache::thrift::TException {
+typedef struct _IndexAlreadyExistsException__isset {
+ _IndexAlreadyExistsException__isset() : message(false) {}
+ bool message;
+} _IndexAlreadyExistsException__isset;
+
+class IndexAlreadyExistsException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -817,10 +857,7 @@ class IndexAlreadyExistsException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _IndexAlreadyExistsException__isset __isset;
bool operator == (const IndexAlreadyExistsException & rhs) const
{
@@ -834,12 +871,17 @@ class IndexAlreadyExistsException : public apache::thrift::TException {
bool operator < (const IndexAlreadyExistsException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class InvalidOperationException : public apache::thrift::TException {
+typedef struct _InvalidOperationException__isset {
+ _InvalidOperationException__isset() : message(false) {}
+ bool message;
+} _InvalidOperationException__isset;
+
+class InvalidOperationException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -852,10 +894,7 @@ class InvalidOperationException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _InvalidOperationException__isset __isset;
bool operator == (const InvalidOperationException & rhs) const
{
@@ -869,12 +908,17 @@ class InvalidOperationException : public apache::thrift::TException {
bool operator < (const InvalidOperationException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-class ConfigValSecurityException : public apache::thrift::TException {
+typedef struct _ConfigValSecurityException__isset {
+ _ConfigValSecurityException__isset() : message(false) {}
+ bool message;
+} _ConfigValSecurityException__isset;
+
+class ConfigValSecurityException : public ::apache::thrift::TException {
public:
static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
@@ -887,10 +931,7 @@ class ConfigValSecurityException : public apache::thrift::TException {
std::string message;
- struct __isset {
- __isset() : message(false) {}
- bool message;
- } __isset;
+ _ConfigValSecurityException__isset __isset;
bool operator == (const ConfigValSecurityException & rhs) const
{
@@ -904,8 +945,8 @@ class ConfigValSecurityException : public apache::thrift::TException {
bool operator < (const ConfigValSecurityException & ) const;
- uint32_t read(apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(apache::thrift::protocol::TProtocol* oprot) const;
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
index da48608..b99801a 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class AlreadyExistsException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class AlreadyExistsException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("AlreadyExistsException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(AlreadyExistsException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
}
}
- @Override
- public AlreadyExistsException clone() {
+ public AlreadyExistsException deepCopy() {
return new AlreadyExistsException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
return 0;
}
+ public int compareTo(AlreadyExistsException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ AlreadyExistsException typedOther = (AlreadyExistsException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class AlreadyExistsException extends Exception implements TBase, java.io.
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
index 7245722..a290841 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class ConfigValSecurityException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class ConfigValSecurityException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("ConfigValSecurityException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(ConfigValSecurityException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class ConfigValSecurityException extends Exception implements TBase, java
}
}
- @Override
- public ConfigValSecurityException clone() {
+ public ConfigValSecurityException deepCopy() {
return new ConfigValSecurityException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class ConfigValSecurityException extends Exception implements TBase, java
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class ConfigValSecurityException extends Exception implements TBase, java
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class ConfigValSecurityException extends Exception implements TBase, java
return 0;
}
+ public int compareTo(ConfigValSecurityException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ ConfigValSecurityException typedOther = (ConfigValSecurityException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class ConfigValSecurityException extends Exception implements TBase, java
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class ConfigValSecurityException extends Exception implements TBase, java
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class ConfigValSecurityException extends Exception implements TBase, java
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Constants.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Constants.java
index de0dfbb..b980a47 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Constants.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Constants.java
@@ -9,10 +9,16 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
public class Constants {
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
index e916cb8..6ae0c46 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
@@ -9,42 +9,110 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class Database implements TBase, java.io.Serializable, Cloneable {
+public class Database implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("Database");
+
private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
private static final TField DESCRIPTION_FIELD_DESC = new TField("description", TType.STRING, (short)2);
private static final TField LOCATION_URI_FIELD_DESC = new TField("locationUri", TType.STRING, (short)3);
private String name;
- public static final int NAME = 1;
private String description;
- public static final int DESCRIPTION = 2;
private String locationUri;
- public static final int LOCATIONURI = 3;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ NAME((short)1, "name"),
+ DESCRIPTION((short)2, "description"),
+ LOCATION_URI((short)3, "locationUri");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // NAME
+ return NAME;
+ case 2: // DESCRIPTION
+ return DESCRIPTION;
+ case 3: // LOCATION_URI
+ return LOCATION_URI;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT,
+ // isset id assignments
+
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(DESCRIPTION, new FieldMetaData("description", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.DESCRIPTION, new FieldMetaData("description", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(LOCATIONURI, new FieldMetaData("locationUri", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.LOCATION_URI, new FieldMetaData("locationUri", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- }});
-
- static {
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(Database.class, metaDataMap);
}
@@ -77,11 +145,17 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
}
}
- @Override
- public Database clone() {
+ public Database deepCopy() {
return new Database(this);
}
+ @Override
+ public void clear() {
+ this.name = null;
+ this.description = null;
+ this.locationUri = null;
+ }
+
public String getName() {
return this.name;
}
@@ -94,11 +168,17 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
this.name = null;
}
- // Returns true if field name is set (has been asigned a value) and false otherwise
+ /** Returns true if field name is set (has been asigned a value) and false otherwise */
public boolean isSetName() {
return this.name != null;
}
+ public void setNameIsSet(boolean value) {
+ if (!value) {
+ this.name = null;
+ }
+ }
+
public String getDescription() {
return this.description;
}
@@ -111,11 +191,17 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
this.description = null;
}
- // Returns true if field description is set (has been asigned a value) and false otherwise
+ /** Returns true if field description is set (has been asigned a value) and false otherwise */
public boolean isSetDescription() {
return this.description != null;
}
+ public void setDescriptionIsSet(boolean value) {
+ if (!value) {
+ this.description = null;
+ }
+ }
+
public String getLocationUri() {
return this.locationUri;
}
@@ -128,13 +214,19 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
this.locationUri = null;
}
- // Returns true if field locationUri is set (has been asigned a value) and false otherwise
+ /** Returns true if field locationUri is set (has been asigned a value) and false otherwise */
public boolean isSetLocationUri() {
return this.locationUri != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setLocationUriIsSet(boolean value) {
+ if (!value) {
+ this.locationUri = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case NAME:
if (value == null) {
unsetName();
@@ -151,7 +243,7 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
}
break;
- case LOCATIONURI:
+ case LOCATION_URI:
if (value == null) {
unsetLocationUri();
} else {
@@ -159,39 +251,39 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case NAME:
return getName();
case DESCRIPTION:
return getDescription();
- case LOCATIONURI:
+ case LOCATION_URI:
return getLocationUri();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case NAME:
return isSetName();
case DESCRIPTION:
return isSetDescription();
- case LOCATIONURI:
+ case LOCATION_URI:
return isSetLocationUri();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -242,6 +334,51 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(Database other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ Database typedOther = (Database)other;
+
+ lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetName()) {
+ lastComparison = TBaseHelper.compareTo(this.name, typedOther.name);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetDescription()) {
+ lastComparison = TBaseHelper.compareTo(this.description, typedOther.description);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetLocationUri()).compareTo(typedOther.isSetLocationUri());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetLocationUri()) {
+ lastComparison = TBaseHelper.compareTo(this.locationUri, typedOther.locationUri);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -251,23 +388,22 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case NAME:
+ switch (field.id) {
+ case 1: // NAME
if (field.type == TType.STRING) {
this.name = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case DESCRIPTION:
+ case 2: // DESCRIPTION
if (field.type == TType.STRING) {
this.description = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case LOCATIONURI:
+ case 3: // LOCATION_URI
if (field.type == TType.STRING) {
this.locationUri = iprot.readString();
} else {
@@ -276,12 +412,10 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -342,7 +476,6 @@ public class Database implements TBase, java.io.Serializable, Cloneable {
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
index 065f371..de93135 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
@@ -9,42 +9,110 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
+public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("FieldSchema");
+
private static final TField NAME_FIELD_DESC = new TField("name", TType.STRING, (short)1);
private static final TField TYPE_FIELD_DESC = new TField("type", TType.STRING, (short)2);
private static final TField COMMENT_FIELD_DESC = new TField("comment", TType.STRING, (short)3);
private String name;
- public static final int NAME = 1;
private String type;
- public static final int TYPE = 2;
private String comment;
- public static final int COMMENT = 3;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ NAME((short)1, "name"),
+ TYPE((short)2, "type"),
+ COMMENT((short)3, "comment");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // NAME
+ return NAME;
+ case 2: // TYPE
+ return TYPE;
+ case 3: // COMMENT
+ return COMMENT;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT,
+ // isset id assignments
+
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.NAME, new FieldMetaData("name", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.TYPE, new FieldMetaData("type", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(COMMENT, new FieldMetaData("comment", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.COMMENT, new FieldMetaData("comment", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- }});
-
- static {
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(FieldSchema.class, metaDataMap);
}
@@ -77,11 +145,17 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
}
}
- @Override
- public FieldSchema clone() {
+ public FieldSchema deepCopy() {
return new FieldSchema(this);
}
+ @Override
+ public void clear() {
+ this.name = null;
+ this.type = null;
+ this.comment = null;
+ }
+
public String getName() {
return this.name;
}
@@ -94,11 +168,17 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
this.name = null;
}
- // Returns true if field name is set (has been asigned a value) and false otherwise
+ /** Returns true if field name is set (has been asigned a value) and false otherwise */
public boolean isSetName() {
return this.name != null;
}
+ public void setNameIsSet(boolean value) {
+ if (!value) {
+ this.name = null;
+ }
+ }
+
public String getType() {
return this.type;
}
@@ -111,11 +191,17 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
this.type = null;
}
- // Returns true if field type is set (has been asigned a value) and false otherwise
+ /** Returns true if field type is set (has been asigned a value) and false otherwise */
public boolean isSetType() {
return this.type != null;
}
+ public void setTypeIsSet(boolean value) {
+ if (!value) {
+ this.type = null;
+ }
+ }
+
public String getComment() {
return this.comment;
}
@@ -128,13 +214,19 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
this.comment = null;
}
- // Returns true if field comment is set (has been asigned a value) and false otherwise
+ /** Returns true if field comment is set (has been asigned a value) and false otherwise */
public boolean isSetComment() {
return this.comment != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setCommentIsSet(boolean value) {
+ if (!value) {
+ this.comment = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case NAME:
if (value == null) {
unsetName();
@@ -159,13 +251,11 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case NAME:
return getName();
@@ -175,23 +265,25 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
case COMMENT:
return getComment();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case NAME:
return isSetName();
case TYPE:
return isSetType();
case COMMENT:
return isSetComment();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -242,6 +334,51 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(FieldSchema other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ FieldSchema typedOther = (FieldSchema)other;
+
+ lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetName()) {
+ lastComparison = TBaseHelper.compareTo(this.name, typedOther.name);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetType()) {
+ lastComparison = TBaseHelper.compareTo(this.type, typedOther.type);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetComment()).compareTo(typedOther.isSetComment());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetComment()) {
+ lastComparison = TBaseHelper.compareTo(this.comment, typedOther.comment);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -251,23 +388,22 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case NAME:
+ switch (field.id) {
+ case 1: // NAME
if (field.type == TType.STRING) {
this.name = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case TYPE:
+ case 2: // TYPE
if (field.type == TType.STRING) {
this.type = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case COMMENT:
+ case 3: // COMMENT
if (field.type == TType.STRING) {
this.comment = iprot.readString();
} else {
@@ -276,12 +412,10 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -342,7 +476,6 @@ public class FieldSchema implements TBase, java.io.Serializable, Cloneable {
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
index 12a3dd2..e78654f 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
@@ -9,17 +9,26 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class Index implements TBase, java.io.Serializable, Cloneable {
+public class Index implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("Index");
+
private static final TField INDEX_NAME_FIELD_DESC = new TField("indexName", TType.STRING, (short)1);
private static final TField INDEX_HANDLER_CLASS_FIELD_DESC = new TField("indexHandlerClass", TType.STRING, (short)2);
private static final TField DB_NAME_FIELD_DESC = new TField("dbName", TType.STRING, (short)3);
@@ -32,59 +41,133 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
private static final TField DEFERRED_REBUILD_FIELD_DESC = new TField("deferredRebuild", TType.BOOL, (short)10);
private String indexName;
- public static final int INDEXNAME = 1;
private String indexHandlerClass;
- public static final int INDEXHANDLERCLASS = 2;
private String dbName;
- public static final int DBNAME = 3;
private String origTableName;
- public static final int ORIGTABLENAME = 4;
private int createTime;
- public static final int CREATETIME = 5;
private int lastAccessTime;
- public static final int LASTACCESSTIME = 6;
private String indexTableName;
- public static final int INDEXTABLENAME = 7;
private StorageDescriptor sd;
- public static final int SD = 8;
private Map parameters;
- public static final int PARAMETERS = 9;
private boolean deferredRebuild;
- public static final int DEFERREDREBUILD = 10;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
- public boolean createTime = false;
- public boolean lastAccessTime = false;
- public boolean deferredRebuild = false;
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ INDEX_NAME((short)1, "indexName"),
+ INDEX_HANDLER_CLASS((short)2, "indexHandlerClass"),
+ DB_NAME((short)3, "dbName"),
+ ORIG_TABLE_NAME((short)4, "origTableName"),
+ CREATE_TIME((short)5, "createTime"),
+ LAST_ACCESS_TIME((short)6, "lastAccessTime"),
+ INDEX_TABLE_NAME((short)7, "indexTableName"),
+ SD((short)8, "sd"),
+ PARAMETERS((short)9, "parameters"),
+ DEFERRED_REBUILD((short)10, "deferredRebuild");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // INDEX_NAME
+ return INDEX_NAME;
+ case 2: // INDEX_HANDLER_CLASS
+ return INDEX_HANDLER_CLASS;
+ case 3: // DB_NAME
+ return DB_NAME;
+ case 4: // ORIG_TABLE_NAME
+ return ORIG_TABLE_NAME;
+ case 5: // CREATE_TIME
+ return CREATE_TIME;
+ case 6: // LAST_ACCESS_TIME
+ return LAST_ACCESS_TIME;
+ case 7: // INDEX_TABLE_NAME
+ return INDEX_TABLE_NAME;
+ case 8: // SD
+ return SD;
+ case 9: // PARAMETERS
+ return PARAMETERS;
+ case 10: // DEFERRED_REBUILD
+ return DEFERRED_REBUILD;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(INDEXNAME, new FieldMetaData("indexName", TFieldRequirementType.DEFAULT,
+ // isset id assignments
+ private static final int __CREATETIME_ISSET_ID = 0;
+ private static final int __LASTACCESSTIME_ISSET_ID = 1;
+ private static final int __DEFERREDREBUILD_ISSET_ID = 2;
+ private BitSet __isset_bit_vector = new BitSet(3);
+
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.INDEX_NAME, new FieldMetaData("indexName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(INDEXHANDLERCLASS, new FieldMetaData("indexHandlerClass", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.INDEX_HANDLER_CLASS, new FieldMetaData("indexHandlerClass", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(DBNAME, new FieldMetaData("dbName", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.DB_NAME, new FieldMetaData("dbName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(ORIGTABLENAME, new FieldMetaData("origTableName", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.ORIG_TABLE_NAME, new FieldMetaData("origTableName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(CREATETIME, new FieldMetaData("createTime", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.CREATE_TIME, new FieldMetaData("createTime", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I32)));
- put(LASTACCESSTIME, new FieldMetaData("lastAccessTime", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.LAST_ACCESS_TIME, new FieldMetaData("lastAccessTime", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I32)));
- put(INDEXTABLENAME, new FieldMetaData("indexTableName", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.INDEX_TABLE_NAME, new FieldMetaData("indexTableName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(SD, new FieldMetaData("sd", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.SD, new FieldMetaData("sd", TFieldRequirementType.DEFAULT,
new StructMetaData(TType.STRUCT, StorageDescriptor.class)));
- put(PARAMETERS, new FieldMetaData("parameters", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.PARAMETERS, new FieldMetaData("parameters", TFieldRequirementType.DEFAULT,
new MapMetaData(TType.MAP,
new FieldValueMetaData(TType.STRING),
new FieldValueMetaData(TType.STRING))));
- put(DEFERREDREBUILD, new FieldMetaData("deferredRebuild", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.DEFERRED_REBUILD, new FieldMetaData("deferredRebuild", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.BOOL)));
- }});
-
- static {
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(Index.class, metaDataMap);
}
@@ -109,20 +192,22 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.dbName = dbName;
this.origTableName = origTableName;
this.createTime = createTime;
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
this.indexTableName = indexTableName;
this.sd = sd;
this.parameters = parameters;
this.deferredRebuild = deferredRebuild;
- this.__isset.deferredRebuild = true;
+ setDeferredRebuildIsSet(true);
}
/**
* Performs a deep copy on other.
*/
public Index(Index other) {
+ __isset_bit_vector.clear();
+ __isset_bit_vector.or(other.__isset_bit_vector);
if (other.isSetIndexName()) {
this.indexName = other.indexName;
}
@@ -135,9 +220,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
if (other.isSetOrigTableName()) {
this.origTableName = other.origTableName;
}
- __isset.createTime = other.__isset.createTime;
this.createTime = other.createTime;
- __isset.lastAccessTime = other.__isset.lastAccessTime;
this.lastAccessTime = other.lastAccessTime;
if (other.isSetIndexTableName()) {
this.indexTableName = other.indexTableName;
@@ -160,15 +243,30 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
this.parameters = __this__parameters;
}
- __isset.deferredRebuild = other.__isset.deferredRebuild;
this.deferredRebuild = other.deferredRebuild;
}
- @Override
- public Index clone() {
+ public Index deepCopy() {
return new Index(this);
}
+ @Override
+ public void clear() {
+ this.indexName = null;
+ this.indexHandlerClass = null;
+ this.dbName = null;
+ this.origTableName = null;
+ setCreateTimeIsSet(false);
+ this.createTime = 0;
+ setLastAccessTimeIsSet(false);
+ this.lastAccessTime = 0;
+ this.indexTableName = null;
+ this.sd = null;
+ this.parameters = null;
+ setDeferredRebuildIsSet(false);
+ this.deferredRebuild = false;
+ }
+
public String getIndexName() {
return this.indexName;
}
@@ -181,11 +279,17 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.indexName = null;
}
- // Returns true if field indexName is set (has been asigned a value) and false otherwise
+ /** Returns true if field indexName is set (has been asigned a value) and false otherwise */
public boolean isSetIndexName() {
return this.indexName != null;
}
+ public void setIndexNameIsSet(boolean value) {
+ if (!value) {
+ this.indexName = null;
+ }
+ }
+
public String getIndexHandlerClass() {
return this.indexHandlerClass;
}
@@ -198,11 +302,17 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.indexHandlerClass = null;
}
- // Returns true if field indexHandlerClass is set (has been asigned a value) and false otherwise
+ /** Returns true if field indexHandlerClass is set (has been asigned a value) and false otherwise */
public boolean isSetIndexHandlerClass() {
return this.indexHandlerClass != null;
}
+ public void setIndexHandlerClassIsSet(boolean value) {
+ if (!value) {
+ this.indexHandlerClass = null;
+ }
+ }
+
public String getDbName() {
return this.dbName;
}
@@ -215,11 +325,17 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.dbName = null;
}
- // Returns true if field dbName is set (has been asigned a value) and false otherwise
+ /** Returns true if field dbName is set (has been asigned a value) and false otherwise */
public boolean isSetDbName() {
return this.dbName != null;
}
+ public void setDbNameIsSet(boolean value) {
+ if (!value) {
+ this.dbName = null;
+ }
+ }
+
public String getOrigTableName() {
return this.origTableName;
}
@@ -232,27 +348,37 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.origTableName = null;
}
- // Returns true if field origTableName is set (has been asigned a value) and false otherwise
+ /** Returns true if field origTableName is set (has been asigned a value) and false otherwise */
public boolean isSetOrigTableName() {
return this.origTableName != null;
}
+ public void setOrigTableNameIsSet(boolean value) {
+ if (!value) {
+ this.origTableName = null;
+ }
+ }
+
public int getCreateTime() {
return this.createTime;
}
public void setCreateTime(int createTime) {
this.createTime = createTime;
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
}
public void unsetCreateTime() {
- this.__isset.createTime = false;
+ __isset_bit_vector.clear(__CREATETIME_ISSET_ID);
}
- // Returns true if field createTime is set (has been asigned a value) and false otherwise
+ /** Returns true if field createTime is set (has been asigned a value) and false otherwise */
public boolean isSetCreateTime() {
- return this.__isset.createTime;
+ return __isset_bit_vector.get(__CREATETIME_ISSET_ID);
+ }
+
+ public void setCreateTimeIsSet(boolean value) {
+ __isset_bit_vector.set(__CREATETIME_ISSET_ID, value);
}
public int getLastAccessTime() {
@@ -261,16 +387,20 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
}
public void unsetLastAccessTime() {
- this.__isset.lastAccessTime = false;
+ __isset_bit_vector.clear(__LASTACCESSTIME_ISSET_ID);
}
- // Returns true if field lastAccessTime is set (has been asigned a value) and false otherwise
+ /** Returns true if field lastAccessTime is set (has been asigned a value) and false otherwise */
public boolean isSetLastAccessTime() {
- return this.__isset.lastAccessTime;
+ return __isset_bit_vector.get(__LASTACCESSTIME_ISSET_ID);
+ }
+
+ public void setLastAccessTimeIsSet(boolean value) {
+ __isset_bit_vector.set(__LASTACCESSTIME_ISSET_ID, value);
}
public String getIndexTableName() {
@@ -285,11 +415,17 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.indexTableName = null;
}
- // Returns true if field indexTableName is set (has been asigned a value) and false otherwise
+ /** Returns true if field indexTableName is set (has been asigned a value) and false otherwise */
public boolean isSetIndexTableName() {
return this.indexTableName != null;
}
+ public void setIndexTableNameIsSet(boolean value) {
+ if (!value) {
+ this.indexTableName = null;
+ }
+ }
+
public StorageDescriptor getSd() {
return this.sd;
}
@@ -302,11 +438,17 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.sd = null;
}
- // Returns true if field sd is set (has been asigned a value) and false otherwise
+ /** Returns true if field sd is set (has been asigned a value) and false otherwise */
public boolean isSetSd() {
return this.sd != null;
}
+ public void setSdIsSet(boolean value) {
+ if (!value) {
+ this.sd = null;
+ }
+ }
+
public int getParametersSize() {
return (this.parameters == null) ? 0 : this.parameters.size();
}
@@ -330,32 +472,42 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
this.parameters = null;
}
- // Returns true if field parameters is set (has been asigned a value) and false otherwise
+ /** Returns true if field parameters is set (has been asigned a value) and false otherwise */
public boolean isSetParameters() {
return this.parameters != null;
}
+ public void setParametersIsSet(boolean value) {
+ if (!value) {
+ this.parameters = null;
+ }
+ }
+
public boolean isDeferredRebuild() {
return this.deferredRebuild;
}
public void setDeferredRebuild(boolean deferredRebuild) {
this.deferredRebuild = deferredRebuild;
- this.__isset.deferredRebuild = true;
+ setDeferredRebuildIsSet(true);
}
public void unsetDeferredRebuild() {
- this.__isset.deferredRebuild = false;
+ __isset_bit_vector.clear(__DEFERREDREBUILD_ISSET_ID);
}
- // Returns true if field deferredRebuild is set (has been asigned a value) and false otherwise
+ /** Returns true if field deferredRebuild is set (has been asigned a value) and false otherwise */
public boolean isSetDeferredRebuild() {
- return this.__isset.deferredRebuild;
+ return __isset_bit_vector.get(__DEFERREDREBUILD_ISSET_ID);
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
- case INDEXNAME:
+ public void setDeferredRebuildIsSet(boolean value) {
+ __isset_bit_vector.set(__DEFERREDREBUILD_ISSET_ID, value);
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case INDEX_NAME:
if (value == null) {
unsetIndexName();
} else {
@@ -363,7 +515,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case INDEXHANDLERCLASS:
+ case INDEX_HANDLER_CLASS:
if (value == null) {
unsetIndexHandlerClass();
} else {
@@ -371,7 +523,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case DBNAME:
+ case DB_NAME:
if (value == null) {
unsetDbName();
} else {
@@ -379,7 +531,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case ORIGTABLENAME:
+ case ORIG_TABLE_NAME:
if (value == null) {
unsetOrigTableName();
} else {
@@ -387,7 +539,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case CREATETIME:
+ case CREATE_TIME:
if (value == null) {
unsetCreateTime();
} else {
@@ -395,7 +547,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
if (value == null) {
unsetLastAccessTime();
} else {
@@ -403,7 +555,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case INDEXTABLENAME:
+ case INDEX_TABLE_NAME:
if (value == null) {
unsetIndexTableName();
} else {
@@ -427,7 +579,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- case DEFERREDREBUILD:
+ case DEFERRED_REBUILD:
if (value == null) {
unsetDeferredRebuild();
} else {
@@ -435,32 +587,30 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
- case INDEXNAME:
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case INDEX_NAME:
return getIndexName();
- case INDEXHANDLERCLASS:
+ case INDEX_HANDLER_CLASS:
return getIndexHandlerClass();
- case DBNAME:
+ case DB_NAME:
return getDbName();
- case ORIGTABLENAME:
+ case ORIG_TABLE_NAME:
return getOrigTableName();
- case CREATETIME:
+ case CREATE_TIME:
return new Integer(getCreateTime());
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
return new Integer(getLastAccessTime());
- case INDEXTABLENAME:
+ case INDEX_TABLE_NAME:
return getIndexTableName();
case SD:
@@ -469,40 +619,42 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
case PARAMETERS:
return getParameters();
- case DEFERREDREBUILD:
+ case DEFERRED_REBUILD:
return new Boolean(isDeferredRebuild());
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
- case INDEXNAME:
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
+ case INDEX_NAME:
return isSetIndexName();
- case INDEXHANDLERCLASS:
+ case INDEX_HANDLER_CLASS:
return isSetIndexHandlerClass();
- case DBNAME:
+ case DB_NAME:
return isSetDbName();
- case ORIGTABLENAME:
+ case ORIG_TABLE_NAME:
return isSetOrigTableName();
- case CREATETIME:
+ case CREATE_TIME:
return isSetCreateTime();
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
return isSetLastAccessTime();
- case INDEXTABLENAME:
+ case INDEX_TABLE_NAME:
return isSetIndexTableName();
case SD:
return isSetSd();
case PARAMETERS:
return isSetParameters();
- case DEFERREDREBUILD:
+ case DEFERRED_REBUILD:
return isSetDeferredRebuild();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -616,6 +768,121 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(Index other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ Index typedOther = (Index)other;
+
+ lastComparison = Boolean.valueOf(isSetIndexName()).compareTo(typedOther.isSetIndexName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetIndexName()) {
+ lastComparison = TBaseHelper.compareTo(this.indexName, typedOther.indexName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetIndexHandlerClass()).compareTo(typedOther.isSetIndexHandlerClass());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetIndexHandlerClass()) {
+ lastComparison = TBaseHelper.compareTo(this.indexHandlerClass, typedOther.indexHandlerClass);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetDbName()) {
+ lastComparison = TBaseHelper.compareTo(this.dbName, typedOther.dbName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetOrigTableName()).compareTo(typedOther.isSetOrigTableName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetOrigTableName()) {
+ lastComparison = TBaseHelper.compareTo(this.origTableName, typedOther.origTableName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetCreateTime()) {
+ lastComparison = TBaseHelper.compareTo(this.createTime, typedOther.createTime);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetLastAccessTime()) {
+ lastComparison = TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetIndexTableName()).compareTo(typedOther.isSetIndexTableName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetIndexTableName()) {
+ lastComparison = TBaseHelper.compareTo(this.indexTableName, typedOther.indexTableName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSd()) {
+ lastComparison = TBaseHelper.compareTo(this.sd, typedOther.sd);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetParameters()) {
+ lastComparison = TBaseHelper.compareTo(this.parameters, typedOther.parameters);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetDeferredRebuild()).compareTo(typedOther.isSetDeferredRebuild());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetDeferredRebuild()) {
+ lastComparison = TBaseHelper.compareTo(this.deferredRebuild, typedOther.deferredRebuild);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -625,60 +892,59 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case INDEXNAME:
+ switch (field.id) {
+ case 1: // INDEX_NAME
if (field.type == TType.STRING) {
this.indexName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case INDEXHANDLERCLASS:
+ case 2: // INDEX_HANDLER_CLASS
if (field.type == TType.STRING) {
this.indexHandlerClass = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case DBNAME:
+ case 3: // DB_NAME
if (field.type == TType.STRING) {
this.dbName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case ORIGTABLENAME:
+ case 4: // ORIG_TABLE_NAME
if (field.type == TType.STRING) {
this.origTableName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case CREATETIME:
+ case 5: // CREATE_TIME
if (field.type == TType.I32) {
this.createTime = iprot.readI32();
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case LASTACCESSTIME:
+ case 6: // LAST_ACCESS_TIME
if (field.type == TType.I32) {
this.lastAccessTime = iprot.readI32();
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case INDEXTABLENAME:
+ case 7: // INDEX_TABLE_NAME
if (field.type == TType.STRING) {
this.indexTableName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case SD:
+ case 8: // SD
if (field.type == TType.STRUCT) {
this.sd = new StorageDescriptor();
this.sd.read(iprot);
@@ -686,7 +952,7 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case PARAMETERS:
+ case 9: // PARAMETERS
if (field.type == TType.MAP) {
{
TMap _map44 = iprot.readMapBegin();
@@ -705,22 +971,20 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case DEFERREDREBUILD:
+ case 10: // DEFERRED_REBUILD
if (field.type == TType.BOOL) {
this.deferredRebuild = iprot.readBool();
- this.__isset.deferredRebuild = true;
+ setDeferredRebuildIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -768,7 +1032,8 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.parameters.size()));
- for (Map.Entry _iter48 : this.parameters.entrySet()) {
+ for (Map.Entry _iter48 : this.parameters.entrySet())
+ {
oprot.writeString(_iter48.getKey());
oprot.writeString(_iter48.getValue());
}
@@ -861,7 +1126,6 @@ public class Index implements TBase, java.io.Serializable, Cloneable {
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
index 2692975..392f6fe 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class IndexAlreadyExistsException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class IndexAlreadyExistsException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("IndexAlreadyExistsException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(IndexAlreadyExistsException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
}
}
- @Override
- public IndexAlreadyExistsException clone() {
+ public IndexAlreadyExistsException deepCopy() {
return new IndexAlreadyExistsException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
return 0;
}
+ public int compareTo(IndexAlreadyExistsException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ IndexAlreadyExistsException typedOther = (IndexAlreadyExistsException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class IndexAlreadyExistsException extends Exception implements TBase, jav
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
index 22fba01..6749692 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class InvalidObjectException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class InvalidObjectException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("InvalidObjectException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(InvalidObjectException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
}
}
- @Override
- public InvalidObjectException clone() {
+ public InvalidObjectException deepCopy() {
return new InvalidObjectException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
return 0;
}
+ public int compareTo(InvalidObjectException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ InvalidObjectException typedOther = (InvalidObjectException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class InvalidObjectException extends Exception implements TBase, java.io.
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
index 94af63f..608a6be 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class InvalidOperationException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class InvalidOperationException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("InvalidOperationException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(InvalidOperationException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class InvalidOperationException extends Exception implements TBase, java.
}
}
- @Override
- public InvalidOperationException clone() {
+ public InvalidOperationException deepCopy() {
return new InvalidOperationException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class InvalidOperationException extends Exception implements TBase, java.
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class InvalidOperationException extends Exception implements TBase, java.
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class InvalidOperationException extends Exception implements TBase, java.
return 0;
}
+ public int compareTo(InvalidOperationException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ InvalidOperationException typedOther = (InvalidOperationException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class InvalidOperationException extends Exception implements TBase, java.
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class InvalidOperationException extends Exception implements TBase, java.
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class InvalidOperationException extends Exception implements TBase, java.
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
index dc93f70..4b76546 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class MetaException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class MetaException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("MetaException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(MetaException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
}
}
- @Override
- public MetaException clone() {
+ public MetaException deepCopy() {
return new MetaException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
return 0;
}
+ public int compareTo(MetaException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ MetaException typedOther = (MetaException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class MetaException extends Exception implements TBase, java.io.Serializa
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
index 2864638..d78e762 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
@@ -9,32 +9,96 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class NoSuchObjectException extends Exception implements TBase, java.io.Serializable, Cloneable {
+public class NoSuchObjectException extends Exception implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("NoSuchObjectException");
+
private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)1);
private String message;
- public static final int MESSAGE = 1;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ MESSAGE((short)1, "message");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // MESSAGE
+ return MESSAGE;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- }});
+ // isset id assignments
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(NoSuchObjectException.class, metaDataMap);
}
@@ -57,11 +121,15 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
}
}
- @Override
- public NoSuchObjectException clone() {
+ public NoSuchObjectException deepCopy() {
return new NoSuchObjectException(this);
}
+ @Override
+ public void clear() {
+ this.message = null;
+ }
+
public String getMessage() {
return this.message;
}
@@ -74,13 +142,19 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
this.message = null;
}
- // Returns true if field message is set (has been asigned a value) and false otherwise
+ /** Returns true if field message is set (has been asigned a value) and false otherwise */
public boolean isSetMessage() {
return this.message != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setMessageIsSet(boolean value) {
+ if (!value) {
+ this.message = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case MESSAGE:
if (value == null) {
unsetMessage();
@@ -89,29 +163,29 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case MESSAGE:
return getMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case MESSAGE:
return isSetMessage();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -144,6 +218,31 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
return 0;
}
+ public int compareTo(NoSuchObjectException other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ NoSuchObjectException typedOther = (NoSuchObjectException)other;
+
+ lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetMessage()) {
+ lastComparison = TBaseHelper.compareTo(this.message, typedOther.message);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -153,9 +252,8 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case MESSAGE:
+ switch (field.id) {
+ case 1: // MESSAGE
if (field.type == TType.STRING) {
this.message = iprot.readString();
} else {
@@ -164,12 +262,10 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -204,7 +300,6 @@ public class NoSuchObjectException extends Exception implements TBase, java.io.S
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
index 3537b55..03bc8c1 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
@@ -9,38 +9,105 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class Order implements TBase, java.io.Serializable, Cloneable {
+public class Order implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("Order");
+
private static final TField COL_FIELD_DESC = new TField("col", TType.STRING, (short)1);
private static final TField ORDER_FIELD_DESC = new TField("order", TType.I32, (short)2);
private String col;
- public static final int COL = 1;
private int order;
- public static final int ORDER = 2;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
- public boolean order = false;
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ COL((short)1, "col"),
+ ORDER((short)2, "order");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // COL
+ return COL;
+ case 2: // ORDER
+ return ORDER;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(COL, new FieldMetaData("col", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.STRING)));
- put(ORDER, new FieldMetaData("order", TFieldRequirementType.DEFAULT,
- new FieldValueMetaData(TType.I32)));
- }});
+ // isset id assignments
+ private static final int __ORDER_ISSET_ID = 0;
+ private BitSet __isset_bit_vector = new BitSet(1);
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.COL, new FieldMetaData("col", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.STRING)));
+ tmpMap.put(_Fields.ORDER, new FieldMetaData("order", TFieldRequirementType.DEFAULT,
+ new FieldValueMetaData(TType.I32)));
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
}
@@ -54,25 +121,32 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
this();
this.col = col;
this.order = order;
- this.__isset.order = true;
+ setOrderIsSet(true);
}
/**
* Performs a deep copy on other.
*/
public Order(Order other) {
+ __isset_bit_vector.clear();
+ __isset_bit_vector.or(other.__isset_bit_vector);
if (other.isSetCol()) {
this.col = other.col;
}
- __isset.order = other.__isset.order;
this.order = other.order;
}
- @Override
- public Order clone() {
+ public Order deepCopy() {
return new Order(this);
}
+ @Override
+ public void clear() {
+ this.col = null;
+ setOrderIsSet(false);
+ this.order = 0;
+ }
+
public String getCol() {
return this.col;
}
@@ -85,31 +159,41 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
this.col = null;
}
- // Returns true if field col is set (has been asigned a value) and false otherwise
+ /** Returns true if field col is set (has been asigned a value) and false otherwise */
public boolean isSetCol() {
return this.col != null;
}
+ public void setColIsSet(boolean value) {
+ if (!value) {
+ this.col = null;
+ }
+ }
+
public int getOrder() {
return this.order;
}
public void setOrder(int order) {
this.order = order;
- this.__isset.order = true;
+ setOrderIsSet(true);
}
public void unsetOrder() {
- this.__isset.order = false;
+ __isset_bit_vector.clear(__ORDER_ISSET_ID);
}
- // Returns true if field order is set (has been asigned a value) and false otherwise
+ /** Returns true if field order is set (has been asigned a value) and false otherwise */
public boolean isSetOrder() {
- return this.__isset.order;
+ return __isset_bit_vector.get(__ORDER_ISSET_ID);
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setOrderIsSet(boolean value) {
+ __isset_bit_vector.set(__ORDER_ISSET_ID, value);
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case COL:
if (value == null) {
unsetCol();
@@ -126,34 +210,34 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case COL:
return getCol();
case ORDER:
return new Integer(getOrder());
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case COL:
return isSetCol();
case ORDER:
return isSetOrder();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -195,6 +279,41 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(Order other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ Order typedOther = (Order)other;
+
+ lastComparison = Boolean.valueOf(isSetCol()).compareTo(typedOther.isSetCol());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetCol()) {
+ lastComparison = TBaseHelper.compareTo(this.col, typedOther.col);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetOrder()).compareTo(typedOther.isSetOrder());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetOrder()) {
+ lastComparison = TBaseHelper.compareTo(this.order, typedOther.order);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -204,31 +323,28 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case COL:
+ switch (field.id) {
+ case 1: // COL
if (field.type == TType.STRING) {
this.col = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case ORDER:
+ case 2: // ORDER
if (field.type == TType.I32) {
this.order = iprot.readI32();
- this.__isset.order = true;
+ setOrderIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -270,7 +386,6 @@ public class Order implements TBase, java.io.Serializable, Cloneable {
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
index ce3d7b7..30ce211 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
@@ -9,17 +9,26 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class Partition implements TBase, java.io.Serializable, Cloneable {
+public class Partition implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("Partition");
+
private static final TField VALUES_FIELD_DESC = new TField("values", TType.LIST, (short)1);
private static final TField DB_NAME_FIELD_DESC = new TField("dbName", TType.STRING, (short)2);
private static final TField TABLE_NAME_FIELD_DESC = new TField("tableName", TType.STRING, (short)3);
@@ -29,47 +38,115 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
private static final TField PARAMETERS_FIELD_DESC = new TField("parameters", TType.MAP, (short)7);
private List values;
- public static final int VALUES = 1;
private String dbName;
- public static final int DBNAME = 2;
private String tableName;
- public static final int TABLENAME = 3;
private int createTime;
- public static final int CREATETIME = 4;
private int lastAccessTime;
- public static final int LASTACCESSTIME = 5;
private StorageDescriptor sd;
- public static final int SD = 6;
private Map parameters;
- public static final int PARAMETERS = 7;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
- public boolean createTime = false;
- public boolean lastAccessTime = false;
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ VALUES((short)1, "values"),
+ DB_NAME((short)2, "dbName"),
+ TABLE_NAME((short)3, "tableName"),
+ CREATE_TIME((short)4, "createTime"),
+ LAST_ACCESS_TIME((short)5, "lastAccessTime"),
+ SD((short)6, "sd"),
+ PARAMETERS((short)7, "parameters");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // VALUES
+ return VALUES;
+ case 2: // DB_NAME
+ return DB_NAME;
+ case 3: // TABLE_NAME
+ return TABLE_NAME;
+ case 4: // CREATE_TIME
+ return CREATE_TIME;
+ case 5: // LAST_ACCESS_TIME
+ return LAST_ACCESS_TIME;
+ case 6: // SD
+ return SD;
+ case 7: // PARAMETERS
+ return PARAMETERS;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(VALUES, new FieldMetaData("values", TFieldRequirementType.DEFAULT,
+ // isset id assignments
+ private static final int __CREATETIME_ISSET_ID = 0;
+ private static final int __LASTACCESSTIME_ISSET_ID = 1;
+ private BitSet __isset_bit_vector = new BitSet(2);
+
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.VALUES, new FieldMetaData("values", TFieldRequirementType.DEFAULT,
new ListMetaData(TType.LIST,
new FieldValueMetaData(TType.STRING))));
- put(DBNAME, new FieldMetaData("dbName", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.DB_NAME, new FieldMetaData("dbName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(TABLENAME, new FieldMetaData("tableName", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.TABLE_NAME, new FieldMetaData("tableName", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
- put(CREATETIME, new FieldMetaData("createTime", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.CREATE_TIME, new FieldMetaData("createTime", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I32)));
- put(LASTACCESSTIME, new FieldMetaData("lastAccessTime", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.LAST_ACCESS_TIME, new FieldMetaData("lastAccessTime", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I32)));
- put(SD, new FieldMetaData("sd", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.SD, new FieldMetaData("sd", TFieldRequirementType.DEFAULT,
new StructMetaData(TType.STRUCT, StorageDescriptor.class)));
- put(PARAMETERS, new FieldMetaData("parameters", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.PARAMETERS, new FieldMetaData("parameters", TFieldRequirementType.DEFAULT,
new MapMetaData(TType.MAP,
new FieldValueMetaData(TType.STRING),
new FieldValueMetaData(TType.STRING))));
- }});
-
- static {
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(Partition.class, metaDataMap);
}
@@ -90,9 +167,9 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.dbName = dbName;
this.tableName = tableName;
this.createTime = createTime;
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
this.sd = sd;
this.parameters = parameters;
}
@@ -101,6 +178,8 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
* Performs a deep copy on other.
*/
public Partition(Partition other) {
+ __isset_bit_vector.clear();
+ __isset_bit_vector.or(other.__isset_bit_vector);
if (other.isSetValues()) {
List __this__values = new ArrayList();
for (String other_element : other.values) {
@@ -114,9 +193,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
if (other.isSetTableName()) {
this.tableName = other.tableName;
}
- __isset.createTime = other.__isset.createTime;
this.createTime = other.createTime;
- __isset.lastAccessTime = other.__isset.lastAccessTime;
this.lastAccessTime = other.lastAccessTime;
if (other.isSetSd()) {
this.sd = new StorageDescriptor(other.sd);
@@ -138,11 +215,23 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
}
- @Override
- public Partition clone() {
+ public Partition deepCopy() {
return new Partition(this);
}
+ @Override
+ public void clear() {
+ this.values = null;
+ this.dbName = null;
+ this.tableName = null;
+ setCreateTimeIsSet(false);
+ this.createTime = 0;
+ setLastAccessTimeIsSet(false);
+ this.lastAccessTime = 0;
+ this.sd = null;
+ this.parameters = null;
+ }
+
public int getValuesSize() {
return (this.values == null) ? 0 : this.values.size();
}
@@ -170,11 +259,17 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.values = null;
}
- // Returns true if field values is set (has been asigned a value) and false otherwise
+ /** Returns true if field values is set (has been asigned a value) and false otherwise */
public boolean isSetValues() {
return this.values != null;
}
+ public void setValuesIsSet(boolean value) {
+ if (!value) {
+ this.values = null;
+ }
+ }
+
public String getDbName() {
return this.dbName;
}
@@ -187,11 +282,17 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.dbName = null;
}
- // Returns true if field dbName is set (has been asigned a value) and false otherwise
+ /** Returns true if field dbName is set (has been asigned a value) and false otherwise */
public boolean isSetDbName() {
return this.dbName != null;
}
+ public void setDbNameIsSet(boolean value) {
+ if (!value) {
+ this.dbName = null;
+ }
+ }
+
public String getTableName() {
return this.tableName;
}
@@ -204,27 +305,37 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.tableName = null;
}
- // Returns true if field tableName is set (has been asigned a value) and false otherwise
+ /** Returns true if field tableName is set (has been asigned a value) and false otherwise */
public boolean isSetTableName() {
return this.tableName != null;
}
+ public void setTableNameIsSet(boolean value) {
+ if (!value) {
+ this.tableName = null;
+ }
+ }
+
public int getCreateTime() {
return this.createTime;
}
public void setCreateTime(int createTime) {
this.createTime = createTime;
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
}
public void unsetCreateTime() {
- this.__isset.createTime = false;
+ __isset_bit_vector.clear(__CREATETIME_ISSET_ID);
}
- // Returns true if field createTime is set (has been asigned a value) and false otherwise
+ /** Returns true if field createTime is set (has been asigned a value) and false otherwise */
public boolean isSetCreateTime() {
- return this.__isset.createTime;
+ return __isset_bit_vector.get(__CREATETIME_ISSET_ID);
+ }
+
+ public void setCreateTimeIsSet(boolean value) {
+ __isset_bit_vector.set(__CREATETIME_ISSET_ID, value);
}
public int getLastAccessTime() {
@@ -233,16 +344,20 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
}
public void unsetLastAccessTime() {
- this.__isset.lastAccessTime = false;
+ __isset_bit_vector.clear(__LASTACCESSTIME_ISSET_ID);
}
- // Returns true if field lastAccessTime is set (has been asigned a value) and false otherwise
+ /** Returns true if field lastAccessTime is set (has been asigned a value) and false otherwise */
public boolean isSetLastAccessTime() {
- return this.__isset.lastAccessTime;
+ return __isset_bit_vector.get(__LASTACCESSTIME_ISSET_ID);
+ }
+
+ public void setLastAccessTimeIsSet(boolean value) {
+ __isset_bit_vector.set(__LASTACCESSTIME_ISSET_ID, value);
}
public StorageDescriptor getSd() {
@@ -257,11 +372,17 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.sd = null;
}
- // Returns true if field sd is set (has been asigned a value) and false otherwise
+ /** Returns true if field sd is set (has been asigned a value) and false otherwise */
public boolean isSetSd() {
return this.sd != null;
}
+ public void setSdIsSet(boolean value) {
+ if (!value) {
+ this.sd = null;
+ }
+ }
+
public int getParametersSize() {
return (this.parameters == null) ? 0 : this.parameters.size();
}
@@ -285,13 +406,19 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
this.parameters = null;
}
- // Returns true if field parameters is set (has been asigned a value) and false otherwise
+ /** Returns true if field parameters is set (has been asigned a value) and false otherwise */
public boolean isSetParameters() {
return this.parameters != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
+ public void setParametersIsSet(boolean value) {
+ if (!value) {
+ this.parameters = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
case VALUES:
if (value == null) {
unsetValues();
@@ -300,7 +427,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
break;
- case DBNAME:
+ case DB_NAME:
if (value == null) {
unsetDbName();
} else {
@@ -308,7 +435,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
break;
- case TABLENAME:
+ case TABLE_NAME:
if (value == null) {
unsetTableName();
} else {
@@ -316,7 +443,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
break;
- case CREATETIME:
+ case CREATE_TIME:
if (value == null) {
unsetCreateTime();
} else {
@@ -324,7 +451,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
break;
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
if (value == null) {
unsetLastAccessTime();
} else {
@@ -348,26 +475,24 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
case VALUES:
return getValues();
- case DBNAME:
+ case DB_NAME:
return getDbName();
- case TABLENAME:
+ case TABLE_NAME:
return getTableName();
- case CREATETIME:
+ case CREATE_TIME:
return new Integer(getCreateTime());
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
return new Integer(getLastAccessTime());
case SD:
@@ -376,31 +501,33 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
case PARAMETERS:
return getParameters();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
case VALUES:
return isSetValues();
- case DBNAME:
+ case DB_NAME:
return isSetDbName();
- case TABLENAME:
+ case TABLE_NAME:
return isSetTableName();
- case CREATETIME:
+ case CREATE_TIME:
return isSetCreateTime();
- case LASTACCESSTIME:
+ case LAST_ACCESS_TIME:
return isSetLastAccessTime();
case SD:
return isSetSd();
case PARAMETERS:
return isSetParameters();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -487,6 +614,91 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(Partition other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ Partition typedOther = (Partition)other;
+
+ lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetValues()) {
+ lastComparison = TBaseHelper.compareTo(this.values, typedOther.values);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetDbName()) {
+ lastComparison = TBaseHelper.compareTo(this.dbName, typedOther.dbName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetTableName()) {
+ lastComparison = TBaseHelper.compareTo(this.tableName, typedOther.tableName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetCreateTime()) {
+ lastComparison = TBaseHelper.compareTo(this.createTime, typedOther.createTime);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetLastAccessTime()) {
+ lastComparison = TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSd()) {
+ lastComparison = TBaseHelper.compareTo(this.sd, typedOther.sd);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetParameters()) {
+ lastComparison = TBaseHelper.compareTo(this.parameters, typedOther.parameters);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -496,9 +708,8 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case VALUES:
+ switch (field.id) {
+ case 1: // VALUES
if (field.type == TType.LIST) {
{
TList _list35 = iprot.readListBegin();
@@ -515,37 +726,37 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case DBNAME:
+ case 2: // DB_NAME
if (field.type == TType.STRING) {
this.dbName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case TABLENAME:
+ case 3: // TABLE_NAME
if (field.type == TType.STRING) {
this.tableName = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case CREATETIME:
+ case 4: // CREATE_TIME
if (field.type == TType.I32) {
this.createTime = iprot.readI32();
- this.__isset.createTime = true;
+ setCreateTimeIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case LASTACCESSTIME:
+ case 5: // LAST_ACCESS_TIME
if (field.type == TType.I32) {
this.lastAccessTime = iprot.readI32();
- this.__isset.lastAccessTime = true;
+ setLastAccessTimeIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case SD:
+ case 6: // SD
if (field.type == TType.STRUCT) {
this.sd = new StorageDescriptor();
this.sd.read(iprot);
@@ -553,7 +764,7 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case PARAMETERS:
+ case 7: // PARAMETERS
if (field.type == TType.MAP) {
{
TMap _map38 = iprot.readMapBegin();
@@ -574,12 +785,10 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -591,7 +800,8 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
oprot.writeFieldBegin(VALUES_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRING, this.values.size()));
- for (String _iter42 : this.values) {
+ for (String _iter42 : this.values)
+ {
oprot.writeString(_iter42);
}
oprot.writeListEnd();
@@ -623,7 +833,8 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
oprot.writeFieldBegin(PARAMETERS_FIELD_DESC);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.parameters.size()));
- for (Map.Entry _iter43 : this.parameters.entrySet()) {
+ for (Map.Entry _iter43 : this.parameters.entrySet())
+ {
oprot.writeString(_iter43.getKey());
oprot.writeString(_iter43.getValue());
}
@@ -693,7 +904,6 @@ public class Partition implements TBase, java.io.Serializable, Cloneable {
public void validate() throws TException {
// check for required fields
- // check that fields of type enum have valid values
}
}
diff --git metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
index 21b6439..b375ddd 100644
--- metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
+++ metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
@@ -9,40 +9,106 @@ import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
+import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
+import java.util.EnumSet;
import java.util.Collections;
-import org.apache.log4j.Logger;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import org.apache.thrift.*;
+import org.apache.thrift.async.*;
import org.apache.thrift.meta_data.*;
+import org.apache.thrift.transport.*;
import org.apache.thrift.protocol.*;
-public class Schema implements TBase, java.io.Serializable, Cloneable {
+public class Schema implements TBase, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("Schema");
+
private static final TField FIELD_SCHEMAS_FIELD_DESC = new TField("fieldSchemas", TType.LIST, (short)1);
private static final TField PROPERTIES_FIELD_DESC = new TField("properties", TType.MAP, (short)2);
private List fieldSchemas;
- public static final int FIELDSCHEMAS = 1;
private Map properties;
- public static final int PROPERTIES = 2;
- private final Isset __isset = new Isset();
- private static final class Isset implements java.io.Serializable {
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements TFieldIdEnum {
+ FIELD_SCHEMAS((short)1, "fieldSchemas"),
+ PROPERTIES((short)2, "properties");
+
+ private static final Map byName = new HashMap();
+
+ static {
+ for (_Fields field : EnumSet.allOf(_Fields.class)) {
+ byName.put(field.getFieldName(), field);
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, or null if its not found.
+ */
+ public static _Fields findByThriftId(int fieldId) {
+ switch(fieldId) {
+ case 1: // FIELD_SCHEMAS
+ return FIELD_SCHEMAS;
+ case 2: // PROPERTIES
+ return PROPERTIES;
+ default:
+ return null;
+ }
+ }
+
+ /**
+ * Find the _Fields constant that matches fieldId, throwing an exception
+ * if it is not found.
+ */
+ public static _Fields findByThriftIdOrThrow(int fieldId) {
+ _Fields fields = findByThriftId(fieldId);
+ if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+ return fields;
+ }
+
+ /**
+ * Find the _Fields constant that matches name, or null if its not found.
+ */
+ public static _Fields findByName(String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final String _fieldName;
+
+ _Fields(short thriftId, String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public String getFieldName() {
+ return _fieldName;
+ }
}
- public static final Map metaDataMap = Collections.unmodifiableMap(new HashMap() {{
- put(FIELDSCHEMAS, new FieldMetaData("fieldSchemas", TFieldRequirementType.DEFAULT,
+ // isset id assignments
+
+ public static final Map<_Fields, FieldMetaData> metaDataMap;
+ static {
+ Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.FIELD_SCHEMAS, new FieldMetaData("fieldSchemas", TFieldRequirementType.DEFAULT,
new ListMetaData(TType.LIST,
new StructMetaData(TType.STRUCT, FieldSchema.class))));
- put(PROPERTIES, new FieldMetaData("properties", TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.PROPERTIES, new FieldMetaData("properties", TFieldRequirementType.DEFAULT,
new MapMetaData(TType.MAP,
new FieldValueMetaData(TType.STRING),
new FieldValueMetaData(TType.STRING))));
- }});
-
- static {
+ metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(Schema.class, metaDataMap);
}
@@ -86,11 +152,16 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
}
}
- @Override
- public Schema clone() {
+ public Schema deepCopy() {
return new Schema(this);
}
+ @Override
+ public void clear() {
+ this.fieldSchemas = null;
+ this.properties = null;
+ }
+
public int getFieldSchemasSize() {
return (this.fieldSchemas == null) ? 0 : this.fieldSchemas.size();
}
@@ -118,11 +189,17 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
this.fieldSchemas = null;
}
- // Returns true if field fieldSchemas is set (has been asigned a value) and false otherwise
+ /** Returns true if field fieldSchemas is set (has been asigned a value) and false otherwise */
public boolean isSetFieldSchemas() {
return this.fieldSchemas != null;
}
+ public void setFieldSchemasIsSet(boolean value) {
+ if (!value) {
+ this.fieldSchemas = null;
+ }
+ }
+
public int getPropertiesSize() {
return (this.properties == null) ? 0 : this.properties.size();
}
@@ -146,14 +223,20 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
this.properties = null;
}
- // Returns true if field properties is set (has been asigned a value) and false otherwise
+ /** Returns true if field properties is set (has been asigned a value) and false otherwise */
public boolean isSetProperties() {
return this.properties != null;
}
- public void setFieldValue(int fieldID, Object value) {
- switch (fieldID) {
- case FIELDSCHEMAS:
+ public void setPropertiesIsSet(boolean value) {
+ if (!value) {
+ this.properties = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, Object value) {
+ switch (field) {
+ case FIELD_SCHEMAS:
if (value == null) {
unsetFieldSchemas();
} else {
@@ -169,34 +252,34 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
}
break;
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
}
- public Object getFieldValue(int fieldID) {
- switch (fieldID) {
- case FIELDSCHEMAS:
+ public Object getFieldValue(_Fields field) {
+ switch (field) {
+ case FIELD_SCHEMAS:
return getFieldSchemas();
case PROPERTIES:
return getProperties();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
- // Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
- public boolean isSet(int fieldID) {
- switch (fieldID) {
- case FIELDSCHEMAS:
+ /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+ public boolean isSet(_Fields field) {
+ if (field == null) {
+ throw new IllegalArgumentException();
+ }
+
+ switch (field) {
+ case FIELD_SCHEMAS:
return isSetFieldSchemas();
case PROPERTIES:
return isSetProperties();
- default:
- throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!");
}
+ throw new IllegalStateException();
}
@Override
@@ -238,6 +321,41 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
return 0;
}
+ public int compareTo(Schema other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+ Schema typedOther = (Schema)other;
+
+ lastComparison = Boolean.valueOf(isSetFieldSchemas()).compareTo(typedOther.isSetFieldSchemas());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetFieldSchemas()) {
+ lastComparison = TBaseHelper.compareTo(this.fieldSchemas, typedOther.fieldSchemas);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = Boolean.valueOf(isSetProperties()).compareTo(typedOther.isSetProperties());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetProperties()) {
+ lastComparison = TBaseHelper.compareTo(this.properties, typedOther.properties);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ return 0;
+ }
+
+ public _Fields fieldForId(int fieldId) {
+ return _Fields.findByThriftId(fieldId);
+ }
+
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
@@ -247,9 +365,8 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
if (field.type == TType.STOP) {
break;
}
- switch (field.id)
- {
- case FIELDSCHEMAS:
+ switch (field.id) {
+ case 1: // FIELD_SCHEMAS
if (field.type == TType.LIST) {
{
TList _list49 = iprot.readListBegin();
@@ -267,7 +384,7 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case PROPERTIES:
+ case 2: // PROPERTIES
if (field.type == TType.MAP) {
{
TMap _map52 = iprot.readMapBegin();
@@ -288,12 +405,10 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
break;
default:
TProtocolUtil.skip(iprot, field.type);
- break;
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
-
validate();
}
@@ -305,7 +420,8 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.fieldSchemas.size()));
- for (FieldSchema _iter56 : this.fieldSchemas) {
+ for (FieldSchema _iter56 : this.fieldSchemas)
+ {
_iter56.write(oprot);
}
oprot.writeListEnd();
@@ -316,7 +432,8 @@ public class Schema implements TBase, java.io.Serializable, Cloneable {
oprot.writeFieldBegin(PROPERTIES_FIELD_DESC);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.properties.size()));
- for (Map.Entry _iter57 : this.properties.entrySet()) {
+ for (Map.Entry