diff --git build.xml build.xml
index f20cbb6..d16f46f 100644
--- build.xml
+++ build.xml
@@ -389,8 +389,8 @@
-
-
+
+
diff --git ivy/libraries.properties ivy/libraries.properties
index 4236df1..adde3cb 100644
--- ivy/libraries.properties
+++ ivy/libraries.properties
@@ -37,17 +37,17 @@ commons-logging-api.version=1.0.4
commons-pool.version=1.5.4
hbase.version=0.89.0-SNAPSHOT
hbase-test.version=0.89.0-SNAPSHOT
+ivy.version=2.1.0
jdo-api.version=2.3-ec
jdom.version=1.1
jline.version=0.9.94
junit.version=3.8.1
-ivy.version=2.1.0
+libfb303.version=0.7.0
+libthrift.version=0.7.0
log4j.version=1.2.15
maven-ant-tasks.version=2.1.0
mockito-all.version=1.8.2
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.3.1
guava.version=r06
diff --git lib/thrift-fb303.LICENSE lib/thrift-fb303.LICENSE
deleted file mode 100644
index 4eacb64..0000000
--- lib/thrift-fb303.LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-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
deleted file mode 100644
index 9d189ef..0000000
--- lib/thrift.LICENSE
+++ /dev/null
@@ -1,324 +0,0 @@
-
- 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/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index df1980d..c92a2ab 100644
--- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -760,7 +760,7 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter160;
for (_iter160 = this->success.begin(); _iter160 != this->success.end(); ++_iter160)
{
@@ -956,7 +956,7 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter171;
for (_iter171 = this->success.begin(); _iter171 != this->success.end(); ++_iter171)
{
@@ -1975,7 +1975,7 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::map ::const_iterator _iter184;
for (_iter184 = this->success.begin(); _iter184 != this->success.end(); ++_iter184)
{
@@ -2219,7 +2219,7 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter197;
for (_iter197 = this->success.begin(); _iter197 != this->success.end(); ++_iter197)
{
@@ -2483,7 +2483,7 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter208;
for (_iter208 = this->success.begin(); _iter208 != this->success.end(); ++_iter208)
{
@@ -3155,7 +3155,7 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter219;
for (_iter219 = this->success.begin(); _iter219 != this->success.end(); ++_iter219)
{
@@ -3365,7 +3365,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter230;
for (_iter230 = this->success.begin(); _iter230 != this->success.end(); ++_iter230)
{
@@ -3724,7 +3724,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->tbl_names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size()));
std::vector ::const_iterator _iter241;
for (_iter241 = this->tbl_names.begin(); _iter241 != this->tbl_names.end(); ++_iter241)
{
@@ -3746,7 +3746,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->tbl_names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size()));
std::vector ::const_iterator _iter242;
for (_iter242 = (*(this->tbl_names)).begin(); _iter242 != (*(this->tbl_names)).end(); ++_iter242)
{
@@ -3845,7 +3845,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter248;
for (_iter248 = this->success.begin(); _iter248 != this->success.end(); ++_iter248)
{
@@ -4123,7 +4123,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter259;
for (_iter259 = this->success.begin(); _iter259 != this->success.end(); ++_iter259)
{
@@ -4707,7 +4707,7 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, this->new_parts.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size()));
std::vector ::const_iterator _iter270;
for (_iter270 = this->new_parts.begin(); _iter270 != this->new_parts.end(); ++_iter270)
{
@@ -4726,7 +4726,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, (*(this->new_parts)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size()));
std::vector ::const_iterator _iter271;
for (_iter271 = (*(this->new_parts)).begin(); _iter271 != (*(this->new_parts)).end(); ++_iter271)
{
@@ -4975,7 +4975,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter277;
for (_iter277 = this->part_vals.begin(); _iter277 != this->part_vals.end(); ++_iter277)
{
@@ -5000,7 +5000,7 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter278;
for (_iter278 = (*(this->part_vals)).begin(); _iter278 != (*(this->part_vals)).end(); ++_iter278)
{
@@ -5503,7 +5503,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter284;
for (_iter284 = this->part_vals.begin(); _iter284 != this->part_vals.end(); ++_iter284)
{
@@ -5531,7 +5531,7 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter285;
for (_iter285 = (*(this->part_vals)).begin(); _iter285 != (*(this->part_vals)).end(); ++_iter285)
{
@@ -6003,7 +6003,7 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter291;
for (_iter291 = this->part_vals.begin(); _iter291 != this->part_vals.end(); ++_iter291)
{
@@ -6028,7 +6028,7 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter292;
for (_iter292 = (*(this->part_vals)).begin(); _iter292 != (*(this->part_vals)).end(); ++_iter292)
{
@@ -6285,7 +6285,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter303;
for (_iter303 = this->part_vals.begin(); _iter303 != this->part_vals.end(); ++_iter303)
{
@@ -6299,7 +6299,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size()));
std::vector ::const_iterator _iter304;
for (_iter304 = this->group_names.begin(); _iter304 != this->group_names.end(); ++_iter304)
{
@@ -6324,7 +6324,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter305;
for (_iter305 = (*(this->part_vals)).begin(); _iter305 != (*(this->part_vals)).end(); ++_iter305)
{
@@ -6338,7 +6338,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size()));
std::vector ::const_iterator _iter306;
for (_iter306 = (*(this->group_names)).begin(); _iter306 != (*(this->group_names)).end(); ++_iter306)
{
@@ -6881,7 +6881,7 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter312;
for (_iter312 = this->success.begin(); _iter312 != this->success.end(); ++_iter312)
{
@@ -7073,7 +7073,7 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size()));
std::vector ::const_iterator _iter323;
for (_iter323 = this->group_names.begin(); _iter323 != this->group_names.end(); ++_iter323)
{
@@ -7104,7 +7104,7 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size()));
std::vector ::const_iterator _iter324;
for (_iter324 = (*(this->group_names)).begin(); _iter324 != (*(this->group_names)).end(); ++_iter324)
{
@@ -7195,7 +7195,7 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter330;
for (_iter330 = this->success.begin(); _iter330 != this->success.end(); ++_iter330)
{
@@ -7445,7 +7445,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift:
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter341;
for (_iter341 = this->success.begin(); _iter341 != this->success.end(); ++_iter341)
{
@@ -7611,7 +7611,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter352;
for (_iter352 = this->part_vals.begin(); _iter352 != this->part_vals.end(); ++_iter352)
{
@@ -7639,7 +7639,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter353;
for (_iter353 = (*(this->part_vals)).begin(); _iter353 != (*(this->part_vals)).end(); ++_iter353)
{
@@ -7725,7 +7725,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter359;
for (_iter359 = this->success.begin(); _iter359 != this->success.end(); ++_iter359)
{
@@ -7919,7 +7919,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter375;
for (_iter375 = this->part_vals.begin(); _iter375 != this->part_vals.end(); ++_iter375)
{
@@ -7936,7 +7936,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size()));
std::vector ::const_iterator _iter376;
for (_iter376 = this->group_names.begin(); _iter376 != this->group_names.end(); ++_iter376)
{
@@ -7961,7 +7961,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter377;
for (_iter377 = (*(this->part_vals)).begin(); _iter377 != (*(this->part_vals)).end(); ++_iter377)
{
@@ -7978,7 +7978,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size()));
std::vector ::const_iterator _iter378;
for (_iter378 = (*(this->group_names)).begin(); _iter378 != (*(this->group_names)).end(); ++_iter378)
{
@@ -8069,7 +8069,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache:
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter384;
for (_iter384 = this->success.begin(); _iter384 != this->success.end(); ++_iter384)
{
@@ -8247,7 +8247,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift
xfer += oprot->writeFieldEnd();
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, static_cast(this->part_vals.size()));
std::vector ::const_iterator _iter395;
for (_iter395 = this->part_vals.begin(); _iter395 != this->part_vals.end(); ++_iter395)
{
@@ -8275,7 +8275,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif
xfer += oprot->writeFieldEnd();
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, static_cast((*(this->part_vals)).size()));
std::vector ::const_iterator _iter396;
for (_iter396 = (*(this->part_vals)).begin(); _iter396 != (*(this->part_vals)).end(); ++_iter396)
{
@@ -8361,7 +8361,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter402;
for (_iter402 = this->success.begin(); _iter402 != this->success.end(); ++_iter402)
{
@@ -8621,7 +8621,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter413;
for (_iter413 = this->success.begin(); _iter413 != this->success.end(); ++_iter413)
{
@@ -8791,7 +8791,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size()));
std::vector ::const_iterator _iter424;
for (_iter424 = this->names.begin(); _iter424 != this->names.end(); ++_iter424)
{
@@ -8816,7 +8816,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size()));
std::vector ::const_iterator _iter425;
for (_iter425 = (*(this->names)).begin(); _iter425 != (*(this->names)).end(); ++_iter425)
{
@@ -8907,7 +8907,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter431;
for (_iter431 = this->success.begin(); _iter431 != this->success.end(); ++_iter431)
{
@@ -9527,7 +9527,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter442;
for (_iter442 = this->success.begin(); _iter442 != this->success.end(); ++_iter442)
{
@@ -9740,7 +9740,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::map ::const_iterator _iter455;
for (_iter455 = this->success.begin(); _iter455 != this->success.end(); ++_iter455)
{
@@ -9915,7 +9915,7 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift:
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size()));
std::map ::const_iterator _iter471;
for (_iter471 = this->part_vals.begin(); _iter471 != this->part_vals.end(); ++_iter471)
{
@@ -9944,7 +9944,7 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size()));
std::map ::const_iterator _iter472;
for (_iter472 = (*(this->part_vals)).begin(); _iter472 != (*(this->part_vals)).end(); ++_iter472)
{
@@ -10250,7 +10250,7 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, this->part_vals.size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size()));
std::map ::const_iterator _iter481;
for (_iter481 = this->part_vals.begin(); _iter481 != this->part_vals.end(); ++_iter481)
{
@@ -10279,7 +10279,7 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3);
{
- xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, (*(this->part_vals)).size());
+ xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size()));
std::map ::const_iterator _iter482;
for (_iter482 = (*(this->part_vals)).begin(); _iter482 != (*(this->part_vals)).end(); ++_iter482)
{
@@ -11598,7 +11598,7 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter488;
for (_iter488 = this->success.begin(); _iter488 != this->success.end(); ++_iter488)
{
@@ -11848,7 +11848,7 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter499;
for (_iter499 = this->success.begin(); _iter499 != this->success.end(); ++_iter499)
{
@@ -12400,7 +12400,7 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter510;
for (_iter510 = this->success.begin(); _iter510 != this->success.end(); ++_iter510)
{
@@ -13086,7 +13086,7 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter525;
for (_iter525 = this->success.begin(); _iter525 != this->success.end(); ++_iter525)
{
@@ -13244,7 +13244,7 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->group_names.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size()));
std::vector ::const_iterator _iter536;
for (_iter536 = this->group_names.begin(); _iter536 != this->group_names.end(); ++_iter536)
{
@@ -13269,7 +13269,7 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, (*(this->group_names)).size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size()));
std::vector ::const_iterator _iter537;
for (_iter537 = (*(this->group_names)).begin(); _iter537 != (*(this->group_names)).end(); ++_iter537)
{
@@ -13560,7 +13560,7 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro
if (this->__isset.success) {
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, static_cast(this->success.size()));
std::vector ::const_iterator _iter544;
for (_iter544 = this->success.begin(); _iter544 != this->success.end(); ++_iter544)
{
@@ -14539,8 +14539,8 @@ void ThriftHiveMetastoreClient::send_create_database(const Database& database)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_create_database()
@@ -14562,13 +14562,11 @@ void ThriftHiveMetastoreClient::recv_create_database()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_database") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_create_database_presult result;
result.read(iprot_);
@@ -14603,8 +14601,8 @@ void ThriftHiveMetastoreClient::send_get_database(const std::string& name)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_database(Database& _return)
@@ -14626,13 +14624,11 @@ void ThriftHiveMetastoreClient::recv_get_database(Database& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_database") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_database_presult result;
result.success = &_return;
@@ -14671,8 +14667,8 @@ void ThriftHiveMetastoreClient::send_drop_database(const std::string& name, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_drop_database()
@@ -14694,13 +14690,11 @@ void ThriftHiveMetastoreClient::recv_drop_database()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_database") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_drop_database_presult result;
result.read(iprot_);
@@ -14735,8 +14729,8 @@ void ThriftHiveMetastoreClient::send_get_databases(const std::string& pattern)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_databases(std::vector & _return)
@@ -14758,13 +14752,11 @@ void ThriftHiveMetastoreClient::recv_get_databases(std::vector & _r
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_databases") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_databases_presult result;
result.success = &_return;
@@ -14797,8 +14789,8 @@ void ThriftHiveMetastoreClient::send_get_all_databases()
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_all_databases(std::vector & _return)
@@ -14820,13 +14812,11 @@ void ThriftHiveMetastoreClient::recv_get_all_databases(std::vector
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_all_databases_presult result;
result.success = &_return;
@@ -14861,8 +14851,8 @@ void ThriftHiveMetastoreClient::send_alter_database(const std::string& dbname, c
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_alter_database()
@@ -14884,13 +14874,11 @@ void ThriftHiveMetastoreClient::recv_alter_database()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_database") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_database_presult result;
result.read(iprot_);
@@ -14922,8 +14910,8 @@ void ThriftHiveMetastoreClient::send_get_type(const std::string& name)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_type(Type& _return)
@@ -14945,13 +14933,11 @@ void ThriftHiveMetastoreClient::recv_get_type(Type& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_type") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_type_presult result;
result.success = &_return;
@@ -14988,8 +14974,8 @@ void ThriftHiveMetastoreClient::send_create_type(const Type& type)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_create_type()
@@ -15011,13 +14997,11 @@ bool ThriftHiveMetastoreClient::recv_create_type()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_type") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_create_type_presult result;
@@ -15057,8 +15041,8 @@ void ThriftHiveMetastoreClient::send_drop_type(const std::string& type)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_drop_type()
@@ -15080,13 +15064,11 @@ bool ThriftHiveMetastoreClient::recv_drop_type()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_type") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_type_presult result;
@@ -15123,8 +15105,8 @@ void ThriftHiveMetastoreClient::send_get_type_all(const std::string& name)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_type_all(std::map & _return)
@@ -15146,13 +15128,11 @@ void ThriftHiveMetastoreClient::recv_get_type_all(std::map &
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_type_all_presult result;
result.success = &_return;
@@ -15187,8 +15167,8 @@ void ThriftHiveMetastoreClient::send_get_fields(const std::string& db_name, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_fields(std::vector & _return)
@@ -15210,13 +15190,11 @@ void ThriftHiveMetastoreClient::recv_get_fields(std::vector & _retu
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_fields") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_fields_presult result;
result.success = &_return;
@@ -15257,8 +15235,8 @@ void ThriftHiveMetastoreClient::send_get_schema(const std::string& db_name, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_schema(std::vector & _return)
@@ -15280,13 +15258,11 @@ void ThriftHiveMetastoreClient::recv_get_schema(std::vector & _retu
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_schema") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_schema_presult result;
result.success = &_return;
@@ -15326,8 +15302,8 @@ void ThriftHiveMetastoreClient::send_create_table(const Table& tbl)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_create_table()
@@ -15349,13 +15325,11 @@ void ThriftHiveMetastoreClient::recv_create_table()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_table") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_create_table_presult result;
result.read(iprot_);
@@ -15395,8 +15369,8 @@ void ThriftHiveMetastoreClient::send_drop_table(const std::string& dbname, const
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_drop_table()
@@ -15418,13 +15392,11 @@ void ThriftHiveMetastoreClient::recv_drop_table()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_table") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_drop_table_presult result;
result.read(iprot_);
@@ -15457,8 +15429,8 @@ void ThriftHiveMetastoreClient::send_get_tables(const std::string& db_name, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_tables(std::vector & _return)
@@ -15480,13 +15452,11 @@ void ThriftHiveMetastoreClient::recv_get_tables(std::vector & _retu
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_tables") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_tables_presult result;
result.success = &_return;
@@ -15520,8 +15490,8 @@ void ThriftHiveMetastoreClient::send_get_all_tables(const std::string& db_name)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_all_tables(std::vector & _return)
@@ -15543,13 +15513,11 @@ void ThriftHiveMetastoreClient::recv_get_all_tables(std::vector & _
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_all_tables_presult result;
result.success = &_return;
@@ -15584,8 +15552,8 @@ void ThriftHiveMetastoreClient::send_get_table(const std::string& dbname, const
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_table(Table& _return)
@@ -15607,13 +15575,11 @@ void ThriftHiveMetastoreClient::recv_get_table(Table& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_table") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_table_presult result;
result.success = &_return;
@@ -15651,8 +15617,8 @@ void ThriftHiveMetastoreClient::send_get_table_objects_by_name(const std::string
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_table_objects_by_name(std::vector & _return)
@@ -15674,13 +15640,11 @@ void ThriftHiveMetastoreClient::recv_get_table_objects_by_name(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_table_objects_by_name") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_table_objects_by_name_presult result;
result.success = &_return;
@@ -15722,8 +15686,8 @@ void ThriftHiveMetastoreClient::send_get_table_names_by_filter(const std::string
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_table_names_by_filter(std::vector & _return)
@@ -15745,13 +15709,11 @@ void ThriftHiveMetastoreClient::recv_get_table_names_by_filter(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_table_names_by_filter") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_table_names_by_filter_presult result;
result.success = &_return;
@@ -15793,8 +15755,8 @@ void ThriftHiveMetastoreClient::send_alter_table(const std::string& dbname, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_alter_table()
@@ -15816,13 +15778,11 @@ void ThriftHiveMetastoreClient::recv_alter_table()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_table") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_table_presult result;
result.read(iprot_);
@@ -15854,8 +15814,8 @@ void ThriftHiveMetastoreClient::send_add_partition(const Partition& new_part)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_add_partition(Partition& _return)
@@ -15877,13 +15837,11 @@ void ThriftHiveMetastoreClient::recv_add_partition(Partition& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("add_partition") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_add_partition_presult result;
result.success = &_return;
@@ -15923,8 +15881,8 @@ void ThriftHiveMetastoreClient::send_add_partitions(const std::vector
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
int32_t ThriftHiveMetastoreClient::recv_add_partitions()
@@ -15946,13 +15904,11 @@ int32_t ThriftHiveMetastoreClient::recv_add_partitions()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("add_partitions") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
int32_t _return;
ThriftHiveMetastore_add_partitions_presult result;
@@ -15994,8 +15950,8 @@ void ThriftHiveMetastoreClient::send_append_partition(const std::string& db_name
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_append_partition(Partition& _return)
@@ -16017,13 +15973,11 @@ void ThriftHiveMetastoreClient::recv_append_partition(Partition& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("append_partition") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_append_partition_presult result;
result.success = &_return;
@@ -16065,8 +16019,8 @@ void ThriftHiveMetastoreClient::send_append_partition_by_name(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_append_partition_by_name(Partition& _return)
@@ -16088,13 +16042,11 @@ void ThriftHiveMetastoreClient::recv_append_partition_by_name(Partition& _return
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_append_partition_by_name_presult result;
result.success = &_return;
@@ -16137,8 +16089,8 @@ void ThriftHiveMetastoreClient::send_drop_partition(const std::string& db_name,
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_drop_partition()
@@ -16160,13 +16112,11 @@ bool ThriftHiveMetastoreClient::recv_drop_partition()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_partition") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_partition_presult result;
@@ -16206,8 +16156,8 @@ void ThriftHiveMetastoreClient::send_drop_partition_by_name(const std::string& d
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_drop_partition_by_name()
@@ -16229,13 +16179,11 @@ bool ThriftHiveMetastoreClient::recv_drop_partition_by_name()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_partition_by_name_presult result;
@@ -16274,8 +16222,8 @@ void ThriftHiveMetastoreClient::send_get_partition(const std::string& db_name, c
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partition(Partition& _return)
@@ -16297,13 +16245,11 @@ void ThriftHiveMetastoreClient::recv_get_partition(Partition& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_presult result;
result.success = &_return;
@@ -16344,8 +16290,8 @@ void ThriftHiveMetastoreClient::send_get_partition_with_auth(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partition_with_auth(Partition& _return)
@@ -16367,13 +16313,11 @@ void ThriftHiveMetastoreClient::recv_get_partition_with_auth(Partition& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partition_with_auth") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_with_auth_presult result;
result.success = &_return;
@@ -16412,8 +16356,8 @@ void ThriftHiveMetastoreClient::send_get_partition_by_name(const std::string& db
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partition_by_name(Partition& _return)
@@ -16435,13 +16379,11 @@ void ThriftHiveMetastoreClient::recv_get_partition_by_name(Partition& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_by_name_presult result;
result.success = &_return;
@@ -16480,8 +16422,8 @@ void ThriftHiveMetastoreClient::send_get_partitions(const std::string& db_name,
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions(std::vector & _return)
@@ -16503,13 +16445,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions(std::vector & _re
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_presult result;
result.success = &_return;
@@ -16550,8 +16490,8 @@ void ThriftHiveMetastoreClient::send_get_partitions_with_auth(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions_with_auth(std::vector & _return)
@@ -16573,13 +16513,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions_with_auth(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions_with_auth") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_with_auth_presult result;
result.success = &_return;
@@ -16618,8 +16556,8 @@ void ThriftHiveMetastoreClient::send_get_partition_names(const std::string& db_n
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partition_names(std::vector & _return)
@@ -16641,13 +16579,11 @@ void ThriftHiveMetastoreClient::recv_get_partition_names(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_names_presult result;
result.success = &_return;
@@ -16684,8 +16620,8 @@ void ThriftHiveMetastoreClient::send_get_partitions_ps(const std::string& db_nam
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions_ps(std::vector & _return)
@@ -16707,13 +16643,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions_ps(std::vector &
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_ps_presult result;
result.success = &_return;
@@ -16752,8 +16686,8 @@ void ThriftHiveMetastoreClient::send_get_partitions_ps_with_auth(const std::stri
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions_ps_with_auth(std::vector & _return)
@@ -16775,13 +16709,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions_ps_with_auth(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions_ps_with_auth") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_ps_with_auth_presult result;
result.success = &_return;
@@ -16821,8 +16753,8 @@ void ThriftHiveMetastoreClient::send_get_partition_names_ps(const std::string& d
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partition_names_ps(std::vector & _return)
@@ -16844,13 +16776,11 @@ void ThriftHiveMetastoreClient::recv_get_partition_names_ps(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partition_names_ps_presult result;
result.success = &_return;
@@ -16887,8 +16817,8 @@ void ThriftHiveMetastoreClient::send_get_partitions_by_filter(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions_by_filter(std::vector & _return)
@@ -16910,13 +16840,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions_by_filter(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_by_filter_presult result;
result.success = &_return;
@@ -16955,8 +16883,8 @@ void ThriftHiveMetastoreClient::send_get_partitions_by_names(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_partitions_by_names(std::vector & _return)
@@ -16978,13 +16906,11 @@ void ThriftHiveMetastoreClient::recv_get_partitions_by_names(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_partitions_by_names") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_partitions_by_names_presult result;
result.success = &_return;
@@ -17023,8 +16949,8 @@ void ThriftHiveMetastoreClient::send_alter_partition(const std::string& db_name,
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_alter_partition()
@@ -17046,13 +16972,11 @@ void ThriftHiveMetastoreClient::recv_alter_partition()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_partition") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_partition_presult result;
result.read(iprot_);
@@ -17085,8 +17009,8 @@ void ThriftHiveMetastoreClient::send_get_config_value(const std::string& name, c
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_config_value(std::string& _return)
@@ -17108,13 +17032,11 @@ void ThriftHiveMetastoreClient::recv_get_config_value(std::string& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_config_value_presult result;
result.success = &_return;
@@ -17148,8 +17070,8 @@ void ThriftHiveMetastoreClient::send_partition_name_to_vals(const std::string& p
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_partition_name_to_vals(std::vector & _return)
@@ -17171,13 +17093,11 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_vals(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_partition_name_to_vals_presult result;
result.success = &_return;
@@ -17211,8 +17131,8 @@ void ThriftHiveMetastoreClient::send_partition_name_to_spec(const std::string& p
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_partition_name_to_spec(std::map & _return)
@@ -17234,13 +17154,11 @@ void ThriftHiveMetastoreClient::recv_partition_name_to_spec(std::mapskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_partition_name_to_spec_presult result;
result.success = &_return;
@@ -17277,8 +17195,8 @@ void ThriftHiveMetastoreClient::send_markPartitionForEvent(const std::string& db
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_markPartitionForEvent()
@@ -17300,13 +17218,11 @@ void ThriftHiveMetastoreClient::recv_markPartitionForEvent()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("markPartitionForEvent") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_markPartitionForEvent_presult result;
result.read(iprot_);
@@ -17353,8 +17269,8 @@ void ThriftHiveMetastoreClient::send_isPartitionMarkedForEvent(const std::string
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_isPartitionMarkedForEvent()
@@ -17376,13 +17292,11 @@ bool ThriftHiveMetastoreClient::recv_isPartitionMarkedForEvent()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("isPartitionMarkedForEvent") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_isPartitionMarkedForEvent_presult result;
@@ -17432,8 +17346,8 @@ void ThriftHiveMetastoreClient::send_add_index(const Index& new_index, const Tab
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_add_index(Index& _return)
@@ -17455,13 +17369,11 @@ void ThriftHiveMetastoreClient::recv_add_index(Index& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("add_index") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_add_index_presult result;
result.success = &_return;
@@ -17504,8 +17416,8 @@ void ThriftHiveMetastoreClient::send_alter_index(const std::string& dbname, cons
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_alter_index()
@@ -17527,13 +17439,11 @@ void ThriftHiveMetastoreClient::recv_alter_index()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("alter_index") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_alter_index_presult result;
result.read(iprot_);
@@ -17568,8 +17478,8 @@ void ThriftHiveMetastoreClient::send_drop_index_by_name(const std::string& db_na
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_drop_index_by_name()
@@ -17591,13 +17501,11 @@ bool ThriftHiveMetastoreClient::recv_drop_index_by_name()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_index_by_name_presult result;
@@ -17636,8 +17544,8 @@ void ThriftHiveMetastoreClient::send_get_index_by_name(const std::string& db_nam
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_index_by_name(Index& _return)
@@ -17659,13 +17567,11 @@ void ThriftHiveMetastoreClient::recv_get_index_by_name(Index& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_index_by_name_presult result;
result.success = &_return;
@@ -17704,8 +17610,8 @@ void ThriftHiveMetastoreClient::send_get_indexes(const std::string& db_name, con
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_indexes(std::vector & _return)
@@ -17727,13 +17633,11 @@ void ThriftHiveMetastoreClient::recv_get_indexes(std::vector & _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_indexes") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_indexes_presult result;
result.success = &_return;
@@ -17772,8 +17676,8 @@ void ThriftHiveMetastoreClient::send_get_index_names(const std::string& db_name,
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_index_names(std::vector & _return)
@@ -17795,13 +17699,11 @@ void ThriftHiveMetastoreClient::recv_get_index_names(std::vector &
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- 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_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_index_names_presult result;
result.success = &_return;
@@ -17835,8 +17737,8 @@ void ThriftHiveMetastoreClient::send_create_role(const Role& role)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_create_role()
@@ -17858,13 +17760,11 @@ bool ThriftHiveMetastoreClient::recv_create_role()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("create_role") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_create_role_presult result;
@@ -17898,8 +17798,8 @@ void ThriftHiveMetastoreClient::send_drop_role(const std::string& role_name)
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_drop_role()
@@ -17921,13 +17821,11 @@ bool ThriftHiveMetastoreClient::recv_drop_role()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("drop_role") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_drop_role_presult result;
@@ -17960,8 +17858,8 @@ void ThriftHiveMetastoreClient::send_get_role_names()
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_role_names(std::vector & _return)
@@ -17983,13 +17881,11 @@ void ThriftHiveMetastoreClient::recv_get_role_names(std::vector & _
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_role_names") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_role_names_presult result;
result.success = &_return;
@@ -18028,8 +17924,8 @@ void ThriftHiveMetastoreClient::send_grant_role(const std::string& role_name, co
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_grant_role()
@@ -18051,13 +17947,11 @@ bool ThriftHiveMetastoreClient::recv_grant_role()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("grant_role") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_grant_role_presult result;
@@ -18093,8 +17987,8 @@ void ThriftHiveMetastoreClient::send_revoke_role(const std::string& role_name, c
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_revoke_role()
@@ -18116,13 +18010,11 @@ bool ThriftHiveMetastoreClient::recv_revoke_role()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("revoke_role") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_revoke_role_presult result;
@@ -18157,8 +18049,8 @@ void ThriftHiveMetastoreClient::send_list_roles(const std::string& principal_nam
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_list_roles(std::vector & _return)
@@ -18180,13 +18072,11 @@ void ThriftHiveMetastoreClient::recv_list_roles(std::vector & _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("list_roles") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_list_roles_presult result;
result.success = &_return;
@@ -18222,8 +18112,8 @@ void ThriftHiveMetastoreClient::send_get_privilege_set(const HiveObjectRef& hive
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_privilege_set(PrincipalPrivilegeSet& _return)
@@ -18245,13 +18135,11 @@ void ThriftHiveMetastoreClient::recv_get_privilege_set(PrincipalPrivilegeSet& _r
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_privilege_set") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_privilege_set_presult result;
result.success = &_return;
@@ -18287,8 +18175,8 @@ void ThriftHiveMetastoreClient::send_list_privileges(const std::string& principa
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_list_privileges(std::vector & _return)
@@ -18310,13 +18198,11 @@ void ThriftHiveMetastoreClient::recv_list_privileges(std::vectorskip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("list_privileges") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_list_privileges_presult result;
result.success = &_return;
@@ -18350,8 +18236,8 @@ void ThriftHiveMetastoreClient::send_grant_privileges(const PrivilegeBag& privil
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_grant_privileges()
@@ -18373,13 +18259,11 @@ bool ThriftHiveMetastoreClient::recv_grant_privileges()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("grant_privileges") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_grant_privileges_presult result;
@@ -18413,8 +18297,8 @@ void ThriftHiveMetastoreClient::send_revoke_privileges(const PrivilegeBag& privi
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
bool ThriftHiveMetastoreClient::recv_revoke_privileges()
@@ -18436,13 +18320,11 @@ bool ThriftHiveMetastoreClient::recv_revoke_privileges()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("revoke_privileges") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
bool _return;
ThriftHiveMetastore_revoke_privileges_presult result;
@@ -18477,8 +18359,8 @@ void ThriftHiveMetastoreClient::send_get_delegation_token(const std::string& tok
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_get_delegation_token(std::string& _return)
@@ -18500,13 +18382,11 @@ void ThriftHiveMetastoreClient::recv_get_delegation_token(std::string& _return)
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("get_delegation_token") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_get_delegation_token_presult result;
result.success = &_return;
@@ -18540,8 +18420,8 @@ void ThriftHiveMetastoreClient::send_renew_delegation_token(const std::string& t
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
int64_t ThriftHiveMetastoreClient::recv_renew_delegation_token()
@@ -18563,13 +18443,11 @@ int64_t ThriftHiveMetastoreClient::recv_renew_delegation_token()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("renew_delegation_token") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
int64_t _return;
ThriftHiveMetastore_renew_delegation_token_presult result;
@@ -18603,8 +18481,8 @@ void ThriftHiveMetastoreClient::send_cancel_delegation_token(const std::string&
args.write(oprot_);
oprot_->writeMessageEnd();
- oprot_->getTransport()->flush();
oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
}
void ThriftHiveMetastoreClient::recv_cancel_delegation_token()
@@ -18626,13 +18504,11 @@ void ThriftHiveMetastoreClient::recv_cancel_delegation_token()
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::INVALID_MESSAGE_TYPE);
}
if (fname.compare("cancel_delegation_token") != 0) {
iprot_->skip(::apache::thrift::protocol::T_STRUCT);
iprot_->readMessageEnd();
iprot_->getTransport()->readEnd();
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::WRONG_METHOD_NAME);
}
ThriftHiveMetastore_cancel_delegation_token_presult result;
result.read(iprot_);
@@ -18645,7 +18521,7 @@ void ThriftHiveMetastoreClient::recv_cancel_delegation_token()
return;
}
-bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot) {
+bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot, void* callContext) {
::apache::thrift::protocol::TProtocol* iprot = piprot.get();
::apache::thrift::protocol::TProtocol* oprot = poprot.get();
@@ -18663,30 +18539,44 @@ bool ThriftHiveMetastoreProcessor::process(boost::shared_ptr< ::apache::thrift::
oprot->writeMessageBegin(fname, ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
- return true;
+ oprot->getTransport()->flush();
+ return false;
}
- return process_fn(iprot, oprot, fname, seqid);
+ return process_fn(iprot, oprot, fname, seqid, callContext);
}
-bool ThriftHiveMetastoreProcessor::process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid) {
- std::map::iterator pfn;
+bool ThriftHiveMetastoreProcessor::process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid, void* callContext) {
+ std::map::iterator pfn;
pfn = processMap_.find(fname);
if (pfn == processMap_.end()) {
- return facebook::fb303::FacebookServiceProcessor::process_fn(iprot, oprot, fname, seqid);
+ return facebook::fb303::FacebookServiceProcessor::process_fn(iprot, oprot, fname, seqid, callContext);
}
- (this->*(pfn->second))(seqid, iprot, oprot);
+ (this->*(pfn->second))(seqid, iprot, oprot, callContext);
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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.create_database", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.create_database");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.create_database");
+ }
+
ThriftHiveMetastore_create_database_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.create_database", bytes);
+ }
ThriftHiveMetastore_create_database_result result;
try {
@@ -18701,28 +18591,54 @@ void ThriftHiveMetastoreProcessor::process_create_database(int32_t seqid, ::apac
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.create_database");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("create_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.create_database");
+ }
+
oprot->writeMessageBegin("create_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.create_database", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_database", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_database");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_database");
+ }
+
ThriftHiveMetastore_get_database_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_database", bytes);
+ }
ThriftHiveMetastore_get_database_result result;
try {
@@ -18735,28 +18651,54 @@ void ThriftHiveMetastoreProcessor::process_get_database(int32_t seqid, ::apache:
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_database");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_database");
+ }
+
oprot->writeMessageBegin("get_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_database", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_database", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_database");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_database");
+ }
+
ThriftHiveMetastore_drop_database_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_database", bytes);
+ }
ThriftHiveMetastore_drop_database_result result;
try {
@@ -18771,28 +18713,54 @@ void ThriftHiveMetastoreProcessor::process_drop_database(int32_t seqid, ::apache
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_database");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_database");
+ }
+
oprot->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_database", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_databases", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_databases");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_databases");
+ }
+
ThriftHiveMetastore_get_databases_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_databases", bytes);
+ }
ThriftHiveMetastore_get_databases_result result;
try {
@@ -18802,28 +18770,54 @@ void ThriftHiveMetastoreProcessor::process_get_databases(int32_t seqid, ::apache
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_databases");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_databases");
+ }
+
oprot->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_databases", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_all_databases", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_all_databases");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_all_databases");
+ }
+
ThriftHiveMetastore_get_all_databases_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_all_databases", bytes);
+ }
ThriftHiveMetastore_get_all_databases_result result;
try {
@@ -18833,28 +18827,54 @@ void ThriftHiveMetastoreProcessor::process_get_all_databases(int32_t seqid, ::ap
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_all_databases");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_all_databases");
+ }
+
oprot->writeMessageBegin("get_all_databases", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_all_databases", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_alter_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_alter_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.alter_database", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.alter_database");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.alter_database");
+ }
+
ThriftHiveMetastore_alter_database_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.alter_database", bytes);
+ }
ThriftHiveMetastore_alter_database_result result;
try {
@@ -18866,28 +18886,54 @@ void ThriftHiveMetastoreProcessor::process_alter_database(int32_t seqid, ::apach
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.alter_database");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("alter_database", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.alter_database");
+ }
+
oprot->writeMessageBegin("alter_database", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.alter_database", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_type", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_type");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_type");
+ }
+
ThriftHiveMetastore_get_type_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_type", bytes);
+ }
ThriftHiveMetastore_get_type_result result;
try {
@@ -18900,28 +18946,54 @@ void ThriftHiveMetastoreProcessor::process_get_type(int32_t seqid, ::apache::thr
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_type");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_type");
+ }
+
oprot->writeMessageBegin("get_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_type", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.create_type", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.create_type");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.create_type");
+ }
+
ThriftHiveMetastore_create_type_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.create_type", bytes);
+ }
ThriftHiveMetastore_create_type_result result;
try {
@@ -18937,28 +19009,54 @@ void ThriftHiveMetastoreProcessor::process_create_type(int32_t seqid, ::apache::
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.create_type");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("create_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.create_type");
+ }
+
oprot->writeMessageBegin("create_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.create_type", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_type", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_type");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_type");
+ }
+
ThriftHiveMetastore_drop_type_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_type", bytes);
+ }
ThriftHiveMetastore_drop_type_result result;
try {
@@ -18971,28 +19069,54 @@ void ThriftHiveMetastoreProcessor::process_drop_type(int32_t seqid, ::apache::th
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_type");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_type");
+ }
+
oprot->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_type", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_type_all", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_type_all");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_type_all");
+ }
+
ThriftHiveMetastore_get_type_all_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_type_all", bytes);
+ }
ThriftHiveMetastore_get_type_all_result result;
try {
@@ -19002,28 +19126,54 @@ void ThriftHiveMetastoreProcessor::process_get_type_all(int32_t seqid, ::apache:
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_type_all");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_type_all");
+ }
+
oprot->writeMessageBegin("get_type_all", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_type_all", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_fields", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_fields");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_fields");
+ }
+
ThriftHiveMetastore_get_fields_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_fields", bytes);
+ }
ThriftHiveMetastore_get_fields_result result;
try {
@@ -19039,28 +19189,54 @@ void ThriftHiveMetastoreProcessor::process_get_fields(int32_t seqid, ::apache::t
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_fields");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_fields");
+ }
+
oprot->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_fields", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_schema", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_schema");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_schema");
+ }
+
ThriftHiveMetastore_get_schema_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_schema", bytes);
+ }
ThriftHiveMetastore_get_schema_result result;
try {
@@ -19076,28 +19252,54 @@ void ThriftHiveMetastoreProcessor::process_get_schema(int32_t seqid, ::apache::t
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_schema");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_schema");
+ }
+
oprot->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_schema", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.create_table", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.create_table");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.create_table");
+ }
+
ThriftHiveMetastore_create_table_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.create_table", bytes);
+ }
ThriftHiveMetastore_create_table_result result;
try {
@@ -19115,28 +19317,54 @@ void ThriftHiveMetastoreProcessor::process_create_table(int32_t seqid, ::apache:
result.o4 = o4;
result.__isset.o4 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.create_table");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("create_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.create_table");
+ }
+
oprot->writeMessageBegin("create_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.create_table", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_table", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_table");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_table");
+ }
+
ThriftHiveMetastore_drop_table_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_table", bytes);
+ }
ThriftHiveMetastore_drop_table_result result;
try {
@@ -19148,28 +19376,54 @@ void ThriftHiveMetastoreProcessor::process_drop_table(int32_t seqid, ::apache::t
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_table");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_table");
+ }
+
oprot->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_table", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_tables", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_tables");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_tables");
+ }
+
ThriftHiveMetastore_get_tables_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_tables", bytes);
+ }
ThriftHiveMetastore_get_tables_result result;
try {
@@ -19179,28 +19433,54 @@ void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, ::apache::t
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_tables");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_tables");
+ }
+
oprot->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_tables", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_all_tables", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_all_tables");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_all_tables");
+ }
+
ThriftHiveMetastore_get_all_tables_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_all_tables", bytes);
+ }
ThriftHiveMetastore_get_all_tables_result result;
try {
@@ -19210,28 +19490,54 @@ void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, ::apach
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_all_tables");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_all_tables");
+ }
+
oprot->writeMessageBegin("get_all_tables", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_all_tables", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_table", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_table");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_table");
+ }
+
ThriftHiveMetastore_get_table_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_table", bytes);
+ }
ThriftHiveMetastore_get_table_result result;
try {
@@ -19244,28 +19550,54 @@ void ThriftHiveMetastoreProcessor::process_get_table(int32_t seqid, ::apache::th
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_table");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_table");
+ }
+
oprot->writeMessageBegin("get_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_table", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_table_objects_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_table_objects_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_table_objects_by_name");
+ }
+
ThriftHiveMetastore_get_table_objects_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_table_objects_by_name", bytes);
+ }
ThriftHiveMetastore_get_table_objects_by_name_result result;
try {
@@ -19281,28 +19613,54 @@ void ThriftHiveMetastoreProcessor::process_get_table_objects_by_name(int32_t seq
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_table_objects_by_name");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_table_objects_by_name", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_table_objects_by_name");
+ }
+
oprot->writeMessageBegin("get_table_objects_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_table_objects_by_name", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_table_names_by_filter", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_table_names_by_filter");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_table_names_by_filter");
+ }
+
ThriftHiveMetastore_get_table_names_by_filter_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_table_names_by_filter", bytes);
+ }
ThriftHiveMetastore_get_table_names_by_filter_result result;
try {
@@ -19318,28 +19676,54 @@ void ThriftHiveMetastoreProcessor::process_get_table_names_by_filter(int32_t seq
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_table_names_by_filter");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_table_names_by_filter", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_table_names_by_filter");
+ }
+
oprot->writeMessageBegin("get_table_names_by_filter", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_table_names_by_filter", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.alter_table", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.alter_table");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.alter_table");
+ }
+
ThriftHiveMetastore_alter_table_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.alter_table", bytes);
+ }
ThriftHiveMetastore_alter_table_result result;
try {
@@ -19351,28 +19735,54 @@ void ThriftHiveMetastoreProcessor::process_alter_table(int32_t seqid, ::apache::
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.alter_table");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.alter_table");
+ }
+
oprot->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.alter_table", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.add_partition", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.add_partition");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.add_partition");
+ }
+
ThriftHiveMetastore_add_partition_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.add_partition", bytes);
+ }
ThriftHiveMetastore_add_partition_result result;
try {
@@ -19388,28 +19798,54 @@ void ThriftHiveMetastoreProcessor::process_add_partition(int32_t seqid, ::apache
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.add_partition");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.add_partition");
+ }
+
oprot->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.add_partition", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.add_partitions", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.add_partitions");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.add_partitions");
+ }
+
ThriftHiveMetastore_add_partitions_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.add_partitions", bytes);
+ }
ThriftHiveMetastore_add_partitions_result result;
try {
@@ -19425,28 +19861,54 @@ void ThriftHiveMetastoreProcessor::process_add_partitions(int32_t seqid, ::apach
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.add_partitions");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("add_partitions", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.add_partitions");
+ }
+
oprot->writeMessageBegin("add_partitions", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.add_partitions", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.append_partition", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.append_partition");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.append_partition");
+ }
+
ThriftHiveMetastore_append_partition_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.append_partition", bytes);
+ }
ThriftHiveMetastore_append_partition_result result;
try {
@@ -19462,28 +19924,54 @@ void ThriftHiveMetastoreProcessor::process_append_partition(int32_t seqid, ::apa
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.append_partition");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.append_partition");
+ }
+
oprot->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.append_partition", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.append_partition_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.append_partition_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.append_partition_by_name");
+ }
+
ThriftHiveMetastore_append_partition_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.append_partition_by_name", bytes);
+ }
ThriftHiveMetastore_append_partition_by_name_result result;
try {
@@ -19499,28 +19987,54 @@ void ThriftHiveMetastoreProcessor::process_append_partition_by_name(int32_t seqi
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.append_partition_by_name");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.append_partition_by_name");
+ }
+
oprot->writeMessageBegin("append_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.append_partition_by_name", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_partition", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_partition");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_partition");
+ }
+
ThriftHiveMetastore_drop_partition_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_partition", bytes);
+ }
ThriftHiveMetastore_drop_partition_result result;
try {
@@ -19533,28 +20047,54 @@ void ThriftHiveMetastoreProcessor::process_drop_partition(int32_t seqid, ::apach
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_partition");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_partition");
+ }
+
oprot->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_partition", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_partition_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_partition_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_partition_by_name");
+ }
+
ThriftHiveMetastore_drop_partition_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_partition_by_name", bytes);
+ }
ThriftHiveMetastore_drop_partition_by_name_result result;
try {
@@ -19567,28 +20107,54 @@ void ThriftHiveMetastoreProcessor::process_drop_partition_by_name(int32_t seqid,
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_partition_by_name");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_partition_by_name");
+ }
+
oprot->writeMessageBegin("drop_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_partition_by_name", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partition", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition");
+ }
+
ThriftHiveMetastore_get_partition_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition", bytes);
+ }
ThriftHiveMetastore_get_partition_result result;
try {
@@ -19601,28 +20167,54 @@ void ThriftHiveMetastoreProcessor::process_get_partition(int32_t seqid, ::apache
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition");
+ }
+
oprot->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partition_with_auth", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_with_auth");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_with_auth");
+ }
+
ThriftHiveMetastore_get_partition_with_auth_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_with_auth", bytes);
+ }
ThriftHiveMetastore_get_partition_with_auth_result result;
try {
@@ -19635,28 +20227,54 @@ void ThriftHiveMetastoreProcessor::process_get_partition_with_auth(int32_t seqid
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_with_auth");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partition_with_auth", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition_with_auth");
+ }
+
oprot->writeMessageBegin("get_partition_with_auth", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition_with_auth", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partition_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_by_name");
+ }
+
ThriftHiveMetastore_get_partition_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_by_name", bytes);
+ }
ThriftHiveMetastore_get_partition_by_name_result result;
try {
@@ -19669,28 +20287,54 @@ void ThriftHiveMetastoreProcessor::process_get_partition_by_name(int32_t seqid,
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_by_name");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition_by_name");
+ }
+
oprot->writeMessageBegin("get_partition_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition_by_name", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions");
+ }
+
ThriftHiveMetastore_get_partitions_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions", bytes);
+ }
ThriftHiveMetastore_get_partitions_result result;
try {
@@ -19703,28 +20347,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions(int32_t seqid, ::apach
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions");
+ }
+
oprot->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions_with_auth", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions_with_auth");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions_with_auth");
+ }
+
ThriftHiveMetastore_get_partitions_with_auth_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions_with_auth", bytes);
+ }
ThriftHiveMetastore_get_partitions_with_auth_result result;
try {
@@ -19737,28 +20407,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_with_auth(int32_t seqi
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions_with_auth");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partitions_with_auth", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions_with_auth");
+ }
+
oprot->writeMessageBegin("get_partitions_with_auth", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions_with_auth", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partition_names", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_names");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_names");
+ }
+
ThriftHiveMetastore_get_partition_names_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_names", bytes);
+ }
ThriftHiveMetastore_get_partition_names_result result;
try {
@@ -19768,28 +20464,54 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, ::
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_names");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition_names");
+ }
+
oprot->writeMessageBegin("get_partition_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition_names", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions_ps", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions_ps");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions_ps");
+ }
+
ThriftHiveMetastore_get_partitions_ps_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions_ps", bytes);
+ }
ThriftHiveMetastore_get_partitions_ps_result result;
try {
@@ -19799,28 +20521,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_ps(int32_t seqid, ::ap
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions_ps");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions_ps");
+ }
+
oprot->writeMessageBegin("get_partitions_ps", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions_ps", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions_ps_with_auth", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth");
+ }
+
ThriftHiveMetastore_get_partitions_ps_with_auth_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth", bytes);
+ }
ThriftHiveMetastore_get_partitions_ps_with_auth_result result;
try {
@@ -19833,28 +20581,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_ps_with_auth(int32_t s
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partitions_ps_with_auth", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth");
+ }
+
oprot->writeMessageBegin("get_partitions_ps_with_auth", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions_ps_with_auth", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partition_names_ps", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_names_ps");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_names_ps");
+ }
+
ThriftHiveMetastore_get_partition_names_ps_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_names_ps", bytes);
+ }
ThriftHiveMetastore_get_partition_names_ps_result result;
try {
@@ -19864,28 +20638,54 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names_ps(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_names_ps");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partition_names_ps");
+ }
+
oprot->writeMessageBegin("get_partition_names_ps", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partition_names_ps", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions_by_filter", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions_by_filter");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions_by_filter");
+ }
+
ThriftHiveMetastore_get_partitions_by_filter_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions_by_filter", bytes);
+ }
ThriftHiveMetastore_get_partitions_by_filter_result result;
try {
@@ -19898,28 +20698,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_by_filter(int32_t seqi
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions_by_filter");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions_by_filter");
+ }
+
oprot->writeMessageBegin("get_partitions_by_filter", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions_by_filter", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_partitions_by_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_partitions_by_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_partitions_by_names", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partitions_by_names");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partitions_by_names");
+ }
+
ThriftHiveMetastore_get_partitions_by_names_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partitions_by_names", bytes);
+ }
ThriftHiveMetastore_get_partitions_by_names_result result;
try {
@@ -19932,28 +20758,54 @@ void ThriftHiveMetastoreProcessor::process_get_partitions_by_names(int32_t seqid
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partitions_by_names");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_partitions_by_names", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_partitions_by_names");
+ }
+
oprot->writeMessageBegin("get_partitions_by_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_partitions_by_names", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.alter_partition", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.alter_partition");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.alter_partition");
+ }
+
ThriftHiveMetastore_alter_partition_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.alter_partition", bytes);
+ }
ThriftHiveMetastore_alter_partition_result result;
try {
@@ -19965,28 +20817,54 @@ void ThriftHiveMetastoreProcessor::process_alter_partition(int32_t seqid, ::apac
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.alter_partition");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.alter_partition");
+ }
+
oprot->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.alter_partition", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_config_value", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_config_value");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_config_value");
+ }
+
ThriftHiveMetastore_get_config_value_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_config_value", bytes);
+ }
ThriftHiveMetastore_get_config_value_result result;
try {
@@ -19996,28 +20874,54 @@ void ThriftHiveMetastoreProcessor::process_get_config_value(int32_t seqid, ::apa
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_config_value");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_config_value");
+ }
+
oprot->writeMessageBegin("get_config_value", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_config_value", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.partition_name_to_vals", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.partition_name_to_vals");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.partition_name_to_vals");
+ }
+
ThriftHiveMetastore_partition_name_to_vals_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.partition_name_to_vals", bytes);
+ }
ThriftHiveMetastore_partition_name_to_vals_result result;
try {
@@ -20027,28 +20931,54 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_vals(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.partition_name_to_vals");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.partition_name_to_vals");
+ }
+
oprot->writeMessageBegin("partition_name_to_vals", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.partition_name_to_vals", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.partition_name_to_spec", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.partition_name_to_spec");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.partition_name_to_spec");
+ }
+
ThriftHiveMetastore_partition_name_to_spec_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.partition_name_to_spec", bytes);
+ }
ThriftHiveMetastore_partition_name_to_spec_result result;
try {
@@ -20058,28 +20988,54 @@ void ThriftHiveMetastoreProcessor::process_partition_name_to_spec(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.partition_name_to_spec");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.partition_name_to_spec");
+ }
+
oprot->writeMessageBegin("partition_name_to_spec", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.partition_name_to_spec", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.markPartitionForEvent", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.markPartitionForEvent");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.markPartitionForEvent");
+ }
+
ThriftHiveMetastore_markPartitionForEvent_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.markPartitionForEvent", bytes);
+ }
ThriftHiveMetastore_markPartitionForEvent_result result;
try {
@@ -20103,28 +21059,54 @@ void ThriftHiveMetastoreProcessor::process_markPartitionForEvent(int32_t seqid,
result.o6 = o6;
result.__isset.o6 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.markPartitionForEvent");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("markPartitionForEvent", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.markPartitionForEvent");
+ }
+
oprot->writeMessageBegin("markPartitionForEvent", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.markPartitionForEvent", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_isPartitionMarkedForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_isPartitionMarkedForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.isPartitionMarkedForEvent", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent");
+ }
+
ThriftHiveMetastore_isPartitionMarkedForEvent_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent", bytes);
+ }
ThriftHiveMetastore_isPartitionMarkedForEvent_result result;
try {
@@ -20149,28 +21131,54 @@ void ThriftHiveMetastoreProcessor::process_isPartitionMarkedForEvent(int32_t seq
result.o6 = o6;
result.__isset.o6 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("isPartitionMarkedForEvent", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent");
+ }
+
oprot->writeMessageBegin("isPartitionMarkedForEvent", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.isPartitionMarkedForEvent", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.add_index", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.add_index");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.add_index");
+ }
+
ThriftHiveMetastore_add_index_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.add_index", bytes);
+ }
ThriftHiveMetastore_add_index_result result;
try {
@@ -20186,28 +21194,54 @@ void ThriftHiveMetastoreProcessor::process_add_index(int32_t seqid, ::apache::th
result.o3 = o3;
result.__isset.o3 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.add_index");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("add_index", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.add_index");
+ }
+
oprot->writeMessageBegin("add_index", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.add_index", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_alter_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_alter_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.alter_index", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.alter_index");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.alter_index");
+ }
+
ThriftHiveMetastore_alter_index_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.alter_index", bytes);
+ }
ThriftHiveMetastore_alter_index_result result;
try {
@@ -20219,28 +21253,54 @@ void ThriftHiveMetastoreProcessor::process_alter_index(int32_t seqid, ::apache::
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.alter_index");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("alter_index", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.alter_index");
+ }
+
oprot->writeMessageBegin("alter_index", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.alter_index", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_index_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_index_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_index_by_name");
+ }
+
ThriftHiveMetastore_drop_index_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_index_by_name", bytes);
+ }
ThriftHiveMetastore_drop_index_by_name_result result;
try {
@@ -20253,28 +21313,54 @@ void ThriftHiveMetastoreProcessor::process_drop_index_by_name(int32_t seqid, ::a
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_index_by_name");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_index_by_name");
+ }
+
oprot->writeMessageBegin("drop_index_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_index_by_name", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_index_by_name", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_index_by_name");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_index_by_name");
+ }
+
ThriftHiveMetastore_get_index_by_name_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_index_by_name", bytes);
+ }
ThriftHiveMetastore_get_index_by_name_result result;
try {
@@ -20287,28 +21373,54 @@ void ThriftHiveMetastoreProcessor::process_get_index_by_name(int32_t seqid, ::ap
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_index_by_name");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_index_by_name");
+ }
+
oprot->writeMessageBegin("get_index_by_name", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_index_by_name", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_indexes", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_indexes");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_indexes");
+ }
+
ThriftHiveMetastore_get_indexes_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_indexes", bytes);
+ }
ThriftHiveMetastore_get_indexes_result result;
try {
@@ -20321,28 +21433,54 @@ void ThriftHiveMetastoreProcessor::process_get_indexes(int32_t seqid, ::apache::
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_indexes");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_indexes");
+ }
+
oprot->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_indexes", bytes);
+ }
}
-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, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_index_names", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_index_names");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_index_names");
+ }
+
ThriftHiveMetastore_get_index_names_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_index_names", bytes);
+ }
ThriftHiveMetastore_get_index_names_result result;
try {
@@ -20352,28 +21490,54 @@ void ThriftHiveMetastoreProcessor::process_get_index_names(int32_t seqid, ::apac
result.o2 = o2;
result.__isset.o2 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_index_names");
+ }
+
::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();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_index_names");
+ }
+
oprot->writeMessageBegin("get_index_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_index_names", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.create_role", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.create_role");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.create_role");
+ }
+
ThriftHiveMetastore_create_role_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.create_role", bytes);
+ }
ThriftHiveMetastore_create_role_result result;
try {
@@ -20383,28 +21547,54 @@ void ThriftHiveMetastoreProcessor::process_create_role(int32_t seqid, ::apache::
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.create_role");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("create_role", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.create_role");
+ }
+
oprot->writeMessageBegin("create_role", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.create_role", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.drop_role", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.drop_role");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.drop_role");
+ }
+
ThriftHiveMetastore_drop_role_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.drop_role", bytes);
+ }
ThriftHiveMetastore_drop_role_result result;
try {
@@ -20414,28 +21604,54 @@ void ThriftHiveMetastoreProcessor::process_drop_role(int32_t seqid, ::apache::th
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.drop_role");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("drop_role", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.drop_role");
+ }
+
oprot->writeMessageBegin("drop_role", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.drop_role", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_role_names", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_role_names");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_role_names");
+ }
+
ThriftHiveMetastore_get_role_names_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_role_names", bytes);
+ }
ThriftHiveMetastore_get_role_names_result result;
try {
@@ -20445,28 +21661,54 @@ void ThriftHiveMetastoreProcessor::process_get_role_names(int32_t seqid, ::apach
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_role_names");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_role_names", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_role_names");
+ }
+
oprot->writeMessageBegin("get_role_names", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_role_names", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.grant_role", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.grant_role");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.grant_role");
+ }
+
ThriftHiveMetastore_grant_role_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.grant_role", bytes);
+ }
ThriftHiveMetastore_grant_role_result result;
try {
@@ -20476,28 +21718,54 @@ void ThriftHiveMetastoreProcessor::process_grant_role(int32_t seqid, ::apache::t
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.grant_role");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("grant_role", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.grant_role");
+ }
+
oprot->writeMessageBegin("grant_role", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.grant_role", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.revoke_role", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.revoke_role");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.revoke_role");
+ }
+
ThriftHiveMetastore_revoke_role_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.revoke_role", bytes);
+ }
ThriftHiveMetastore_revoke_role_result result;
try {
@@ -20507,28 +21775,54 @@ void ThriftHiveMetastoreProcessor::process_revoke_role(int32_t seqid, ::apache::
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.revoke_role");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("revoke_role", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.revoke_role");
+ }
+
oprot->writeMessageBegin("revoke_role", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.revoke_role", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.list_roles", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.list_roles");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.list_roles");
+ }
+
ThriftHiveMetastore_list_roles_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.list_roles", bytes);
+ }
ThriftHiveMetastore_list_roles_result result;
try {
@@ -20538,28 +21832,54 @@ void ThriftHiveMetastoreProcessor::process_list_roles(int32_t seqid, ::apache::t
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.list_roles");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("list_roles", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.list_roles");
+ }
+
oprot->writeMessageBegin("list_roles", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.list_roles", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_privilege_set", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_privilege_set");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_privilege_set");
+ }
+
ThriftHiveMetastore_get_privilege_set_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_privilege_set", bytes);
+ }
ThriftHiveMetastore_get_privilege_set_result result;
try {
@@ -20569,28 +21889,54 @@ void ThriftHiveMetastoreProcessor::process_get_privilege_set(int32_t seqid, ::ap
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_privilege_set");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_privilege_set", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_privilege_set");
+ }
+
oprot->writeMessageBegin("get_privilege_set", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_privilege_set", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.list_privileges", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.list_privileges");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.list_privileges");
+ }
+
ThriftHiveMetastore_list_privileges_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.list_privileges", bytes);
+ }
ThriftHiveMetastore_list_privileges_result result;
try {
@@ -20600,28 +21946,54 @@ void ThriftHiveMetastoreProcessor::process_list_privileges(int32_t seqid, ::apac
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.list_privileges");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("list_privileges", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.list_privileges");
+ }
+
oprot->writeMessageBegin("list_privileges", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.list_privileges", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.grant_privileges", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.grant_privileges");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.grant_privileges");
+ }
+
ThriftHiveMetastore_grant_privileges_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.grant_privileges", bytes);
+ }
ThriftHiveMetastore_grant_privileges_result result;
try {
@@ -20631,28 +22003,54 @@ void ThriftHiveMetastoreProcessor::process_grant_privileges(int32_t seqid, ::apa
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.grant_privileges");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("grant_privileges", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.grant_privileges");
+ }
+
oprot->writeMessageBegin("grant_privileges", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.grant_privileges", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.revoke_privileges", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.revoke_privileges");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.revoke_privileges");
+ }
+
ThriftHiveMetastore_revoke_privileges_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.revoke_privileges", bytes);
+ }
ThriftHiveMetastore_revoke_privileges_result result;
try {
@@ -20662,28 +22060,54 @@ void ThriftHiveMetastoreProcessor::process_revoke_privileges(int32_t seqid, ::ap
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.revoke_privileges");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("revoke_privileges", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.revoke_privileges");
+ }
+
oprot->writeMessageBegin("revoke_privileges", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.revoke_privileges", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.get_delegation_token", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.get_delegation_token");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_delegation_token");
+ }
+
ThriftHiveMetastore_get_delegation_token_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_delegation_token", bytes);
+ }
ThriftHiveMetastore_get_delegation_token_result result;
try {
@@ -20693,28 +22117,54 @@ void ThriftHiveMetastoreProcessor::process_get_delegation_token(int32_t seqid, :
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_delegation_token");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("get_delegation_token", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_delegation_token");
+ }
+
oprot->writeMessageBegin("get_delegation_token", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_delegation_token", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.renew_delegation_token", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.renew_delegation_token");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.renew_delegation_token");
+ }
+
ThriftHiveMetastore_renew_delegation_token_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.renew_delegation_token", bytes);
+ }
ThriftHiveMetastore_renew_delegation_token_result result;
try {
@@ -20724,28 +22174,54 @@ void ThriftHiveMetastoreProcessor::process_renew_delegation_token(int32_t seqid,
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.renew_delegation_token");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("renew_delegation_token", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.renew_delegation_token");
+ }
+
oprot->writeMessageBegin("renew_delegation_token", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.renew_delegation_token", bytes);
+ }
}
-void ThriftHiveMetastoreProcessor::process_cancel_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot)
+void ThriftHiveMetastoreProcessor::process_cancel_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext)
{
+ void* ctx = NULL;
+ if (eventHandler_.get() != NULL) {
+ ctx = eventHandler_->getContext("ThriftHiveMetastore.cancel_delegation_token", callContext);
+ }
+ ::apache::thrift::TProcessorContextFreer freer(eventHandler_.get(), ctx, "ThriftHiveMetastore.cancel_delegation_token");
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preRead(ctx, "ThriftHiveMetastore.cancel_delegation_token");
+ }
+
ThriftHiveMetastore_cancel_delegation_token_args args;
args.read(iprot);
iprot->readMessageEnd();
- iprot->getTransport()->readEnd();
+ uint32_t bytes = iprot->getTransport()->readEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postRead(ctx, "ThriftHiveMetastore.cancel_delegation_token", bytes);
+ }
ThriftHiveMetastore_cancel_delegation_token_result result;
try {
@@ -20754,20 +22230,32 @@ void ThriftHiveMetastoreProcessor::process_cancel_delegation_token(int32_t seqid
result.o1 = o1;
result.__isset.o1 = true;
} catch (const std::exception& e) {
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->handlerError(ctx, "ThriftHiveMetastore.cancel_delegation_token");
+ }
+
::apache::thrift::TApplicationException x(e.what());
oprot->writeMessageBegin("cancel_delegation_token", ::apache::thrift::protocol::T_EXCEPTION, seqid);
x.write(oprot);
oprot->writeMessageEnd();
- oprot->getTransport()->flush();
oprot->getTransport()->writeEnd();
+ oprot->getTransport()->flush();
return;
}
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->preWrite(ctx, "ThriftHiveMetastore.cancel_delegation_token");
+ }
+
oprot->writeMessageBegin("cancel_delegation_token", ::apache::thrift::protocol::T_REPLY, seqid);
result.write(oprot);
oprot->writeMessageEnd();
+ bytes = oprot->getTransport()->writeEnd();
oprot->getTransport()->flush();
- oprot->getTransport()->writeEnd();
+
+ if (eventHandler_.get() != NULL) {
+ eventHandler_->postWrite(ctx, "ThriftHiveMetastore.cancel_delegation_token", bytes);
+ }
}
}}} // namespace
diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
index 80f2264..a6bfe31 100644
--- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
+++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -301,6 +301,10 @@ class ThriftHiveMetastore_create_database_args {
_ThriftHiveMetastore_create_database_args__isset __isset;
+ void __set_database(const Database& val) {
+ database = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_database_args & rhs) const
{
if (!(database == rhs.database))
@@ -352,6 +356,18 @@ class ThriftHiveMetastore_create_database_result {
_ThriftHiveMetastore_create_database_result__isset __isset;
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -413,6 +429,10 @@ class ThriftHiveMetastore_get_database_args {
_ThriftHiveMetastore_get_database_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_database_args & rhs) const
{
if (!(name == rhs.name))
@@ -464,6 +484,18 @@ class ThriftHiveMetastore_get_database_result {
_ThriftHiveMetastore_get_database_result__isset __isset;
+ void __set_success(const Database& val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_database_result & rhs) const
{
if (!(success == rhs.success))
@@ -529,6 +561,18 @@ class ThriftHiveMetastore_drop_database_args {
_ThriftHiveMetastore_drop_database_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
+ void __set_cascade(const bool val) {
+ cascade = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_database_args & rhs) const
{
if (!(name == rhs.name))
@@ -586,6 +630,18 @@ class ThriftHiveMetastore_drop_database_result {
_ThriftHiveMetastore_drop_database_result__isset __isset;
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -647,6 +703,10 @@ class ThriftHiveMetastore_get_databases_args {
_ThriftHiveMetastore_get_databases_args__isset __isset;
+ void __set_pattern(const std::string& val) {
+ pattern = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_databases_args & rhs) const
{
if (!(pattern == rhs.pattern))
@@ -696,6 +756,14 @@ class ThriftHiveMetastore_get_databases_result {
_ThriftHiveMetastore_get_databases_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_databases_result & rhs) const
{
if (!(success == rhs.success))
@@ -792,6 +860,14 @@ class ThriftHiveMetastore_get_all_databases_result {
_ThriftHiveMetastore_get_all_databases_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_databases_result & rhs) const
{
if (!(success == rhs.success))
@@ -851,6 +927,14 @@ class ThriftHiveMetastore_alter_database_args {
_ThriftHiveMetastore_alter_database_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_db(const Database& val) {
+ db = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_database_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -903,6 +987,14 @@ class ThriftHiveMetastore_alter_database_result {
_ThriftHiveMetastore_alter_database_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -960,6 +1052,10 @@ class ThriftHiveMetastore_get_type_args {
_ThriftHiveMetastore_get_type_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_args & rhs) const
{
if (!(name == rhs.name))
@@ -1011,6 +1107,18 @@ class ThriftHiveMetastore_get_type_result {
_ThriftHiveMetastore_get_type_result__isset __isset;
+ void __set_success(const Type& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1072,6 +1180,10 @@ class ThriftHiveMetastore_create_type_args {
_ThriftHiveMetastore_create_type_args__isset __isset;
+ void __set_type(const Type& val) {
+ type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_type_args & rhs) const
{
if (!(type == rhs.type))
@@ -1125,6 +1237,22 @@ class ThriftHiveMetastore_create_type_result {
_ThriftHiveMetastore_create_type_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1190,6 +1318,10 @@ class ThriftHiveMetastore_drop_type_args {
_ThriftHiveMetastore_drop_type_args__isset __isset;
+ void __set_type(const std::string& val) {
+ type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_type_args & rhs) const
{
if (!(type == rhs.type))
@@ -1241,6 +1373,18 @@ class ThriftHiveMetastore_drop_type_result {
_ThriftHiveMetastore_drop_type_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1302,6 +1446,10 @@ class ThriftHiveMetastore_get_type_all_args {
_ThriftHiveMetastore_get_type_all_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_all_args & rhs) const
{
if (!(name == rhs.name))
@@ -1351,6 +1499,14 @@ class ThriftHiveMetastore_get_type_all_result {
_ThriftHiveMetastore_get_type_all_result__isset __isset;
+ void __set_success(const std::map & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_all_result & rhs) const
{
if (!(success == rhs.success))
@@ -1410,6 +1566,14 @@ class ThriftHiveMetastore_get_fields_args {
_ThriftHiveMetastore_get_fields_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_table_name(const std::string& val) {
+ table_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_fields_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1466,6 +1630,22 @@ class ThriftHiveMetastore_get_fields_result {
_ThriftHiveMetastore_get_fields_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const UnknownTableException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_fields_result & rhs) const
{
if (!(success == rhs.success))
@@ -1533,6 +1713,14 @@ class ThriftHiveMetastore_get_schema_args {
_ThriftHiveMetastore_get_schema_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_table_name(const std::string& val) {
+ table_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_schema_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1589,6 +1777,22 @@ class ThriftHiveMetastore_get_schema_result {
_ThriftHiveMetastore_get_schema_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const UnknownTableException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_schema_result & rhs) const
{
if (!(success == rhs.success))
@@ -1654,6 +1858,10 @@ class ThriftHiveMetastore_create_table_args {
_ThriftHiveMetastore_create_table_args__isset __isset;
+ void __set_tbl(const Table& val) {
+ tbl = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_table_args & rhs) const
{
if (!(tbl == rhs.tbl))
@@ -1707,6 +1915,22 @@ class ThriftHiveMetastore_create_table_result {
_ThriftHiveMetastore_create_table_result__isset __isset;
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const NoSuchObjectException& val) {
+ o4 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -1776,6 +2000,18 @@ class ThriftHiveMetastore_drop_table_args {
_ThriftHiveMetastore_drop_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -1831,6 +2067,14 @@ class ThriftHiveMetastore_drop_table_result {
_ThriftHiveMetastore_drop_table_result__isset __isset;
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -1890,6 +2134,14 @@ class ThriftHiveMetastore_get_tables_args {
_ThriftHiveMetastore_get_tables_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_pattern(const std::string& val) {
+ pattern = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_tables_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1942,6 +2194,14 @@ class ThriftHiveMetastore_get_tables_result {
_ThriftHiveMetastore_get_tables_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_tables_result & rhs) const
{
if (!(success == rhs.success))
@@ -1999,6 +2259,10 @@ class ThriftHiveMetastore_get_all_tables_args {
_ThriftHiveMetastore_get_all_tables_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_tables_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -2048,6 +2312,14 @@ class ThriftHiveMetastore_get_all_tables_result {
_ThriftHiveMetastore_get_all_tables_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_tables_result & rhs) const
{
if (!(success == rhs.success))
@@ -2107,6 +2379,14 @@ class ThriftHiveMetastore_get_table_args {
_ThriftHiveMetastore_get_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2161,6 +2441,18 @@ class ThriftHiveMetastore_get_table_result {
_ThriftHiveMetastore_get_table_result__isset __isset;
+ void __set_success(const Table& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_result & rhs) const
{
if (!(success == rhs.success))
@@ -2224,6 +2516,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args {
_ThriftHiveMetastore_get_table_objects_by_name_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_names(const std::vector & val) {
+ tbl_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2280,6 +2580,22 @@ class ThriftHiveMetastore_get_table_objects_by_name_result {
_ThriftHiveMetastore_get_table_objects_by_name_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -2349,6 +2665,18 @@ class ThriftHiveMetastore_get_table_names_by_filter_args {
_ThriftHiveMetastore_get_table_names_by_filter_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_filter(const std::string& val) {
+ filter = val;
+ }
+
+ void __set_max_tables(const int16_t val) {
+ max_tables = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2408,6 +2736,22 @@ class ThriftHiveMetastore_get_table_names_by_filter_result {
_ThriftHiveMetastore_get_table_names_by_filter_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_result & rhs) const
{
if (!(success == rhs.success))
@@ -2477,6 +2821,18 @@ class ThriftHiveMetastore_alter_table_args {
_ThriftHiveMetastore_alter_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_new_tbl(const Table& val) {
+ new_tbl = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2532,6 +2888,14 @@ class ThriftHiveMetastore_alter_table_result {
_ThriftHiveMetastore_alter_table_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -2589,6 +2953,10 @@ class ThriftHiveMetastore_add_partition_args {
_ThriftHiveMetastore_add_partition_args__isset __isset;
+ void __set_new_part(const Partition& val) {
+ new_part = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partition_args & rhs) const
{
if (!(new_part == rhs.new_part))
@@ -2642,6 +3010,22 @@ class ThriftHiveMetastore_add_partition_result {
_ThriftHiveMetastore_add_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -2707,6 +3091,10 @@ class ThriftHiveMetastore_add_partitions_args {
_ThriftHiveMetastore_add_partitions_args__isset __isset;
+ void __set_new_parts(const std::vector & val) {
+ new_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partitions_args & rhs) const
{
if (!(new_parts == rhs.new_parts))
@@ -2760,6 +3148,22 @@ class ThriftHiveMetastore_add_partitions_result {
_ThriftHiveMetastore_add_partitions_result__isset __isset;
+ void __set_success(const int32_t val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partitions_result & rhs) const
{
if (!(success == rhs.success))
@@ -2829,6 +3233,18 @@ class ThriftHiveMetastore_append_partition_args {
_ThriftHiveMetastore_append_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -2888,6 +3304,22 @@ class ThriftHiveMetastore_append_partition_result {
_ThriftHiveMetastore_append_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -2957,6 +3389,18 @@ class ThriftHiveMetastore_append_partition_by_name_args {
_ThriftHiveMetastore_append_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3016,6 +3460,22 @@ class ThriftHiveMetastore_append_partition_by_name_result {
_ThriftHiveMetastore_append_partition_by_name_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3087,6 +3547,22 @@ class ThriftHiveMetastore_drop_partition_args {
_ThriftHiveMetastore_drop_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3147,6 +3623,18 @@ class ThriftHiveMetastore_drop_partition_result {
_ThriftHiveMetastore_drop_partition_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -3214,6 +3702,22 @@ class ThriftHiveMetastore_drop_partition_by_name_args {
_ThriftHiveMetastore_drop_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3274,6 +3778,18 @@ class ThriftHiveMetastore_drop_partition_by_name_result {
_ThriftHiveMetastore_drop_partition_by_name_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3339,6 +3855,18 @@ class ThriftHiveMetastore_get_partition_args {
_ThriftHiveMetastore_get_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3396,6 +3924,18 @@ class ThriftHiveMetastore_get_partition_result {
_ThriftHiveMetastore_get_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -3465,6 +4005,26 @@ class ThriftHiveMetastore_get_partition_with_auth_args {
_ThriftHiveMetastore_get_partition_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3528,6 +4088,18 @@ class ThriftHiveMetastore_get_partition_with_auth_result {
_ThriftHiveMetastore_get_partition_with_auth_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -3593,6 +4165,18 @@ class ThriftHiveMetastore_get_partition_by_name_args {
_ThriftHiveMetastore_get_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3650,6 +4234,18 @@ class ThriftHiveMetastore_get_partition_by_name_result {
_ThriftHiveMetastore_get_partition_by_name_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3715,6 +4311,18 @@ class ThriftHiveMetastore_get_partitions_args {
_ThriftHiveMetastore_get_partitions_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3772,6 +4380,18 @@ class ThriftHiveMetastore_get_partitions_result {
_ThriftHiveMetastore_get_partitions_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_result & rhs) const
{
if (!(success == rhs.success))
@@ -3841,6 +4461,26 @@ class ThriftHiveMetastore_get_partitions_with_auth_args {
_ThriftHiveMetastore_get_partitions_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3904,6 +4544,18 @@ class ThriftHiveMetastore_get_partitions_with_auth_result {
_ThriftHiveMetastore_get_partitions_with_auth_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -3969,6 +4621,18 @@ class ThriftHiveMetastore_get_partition_names_args {
_ThriftHiveMetastore_get_partition_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4024,6 +4688,14 @@ class ThriftHiveMetastore_get_partition_names_result {
_ThriftHiveMetastore_get_partition_names_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -4087,6 +4759,22 @@ class ThriftHiveMetastore_get_partitions_ps_args {
_ThriftHiveMetastore_get_partitions_ps_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4145,6 +4833,14 @@ class ThriftHiveMetastore_get_partitions_ps_result {
_ThriftHiveMetastore_get_partitions_ps_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_result & rhs) const
{
if (!(success == rhs.success))
@@ -4212,6 +4908,30 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args {
_ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4278,6 +4998,18 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result {
_ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -4345,6 +5077,22 @@ class ThriftHiveMetastore_get_partition_names_ps_args {
_ThriftHiveMetastore_get_partition_names_ps_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4403,6 +5151,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result {
_ThriftHiveMetastore_get_partition_names_ps_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_result & rhs) const
{
if (!(success == rhs.success))
@@ -4466,6 +5222,22 @@ class ThriftHiveMetastore_get_partitions_by_filter_args {
_ThriftHiveMetastore_get_partitions_by_filter_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_filter(const std::string& val) {
+ filter = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4526,6 +5298,18 @@ class ThriftHiveMetastore_get_partitions_by_filter_result {
_ThriftHiveMetastore_get_partitions_by_filter_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_result & rhs) const
{
if (!(success == rhs.success))
@@ -4591,6 +5375,18 @@ class ThriftHiveMetastore_get_partitions_by_names_args {
_ThriftHiveMetastore_get_partitions_by_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_names(const std::vector & val) {
+ names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4648,6 +5444,18 @@ class ThriftHiveMetastore_get_partitions_by_names_result {
_ThriftHiveMetastore_get_partitions_by_names_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -4713,6 +5521,18 @@ class ThriftHiveMetastore_alter_partition_args {
_ThriftHiveMetastore_alter_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_new_part(const Partition& val) {
+ new_part = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4768,6 +5588,14 @@ class ThriftHiveMetastore_alter_partition_result {
_ThriftHiveMetastore_alter_partition_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_partition_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -4827,6 +5655,14 @@ class ThriftHiveMetastore_get_config_value_args {
_ThriftHiveMetastore_get_config_value_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_defaultValue(const std::string& val) {
+ defaultValue = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_config_value_args & rhs) const
{
if (!(name == rhs.name))
@@ -4879,6 +5715,14 @@ class ThriftHiveMetastore_get_config_value_result {
_ThriftHiveMetastore_get_config_value_result__isset __isset;
+ void __set_success(const std::string& val) {
+ success = val;
+ }
+
+ void __set_o1(const ConfigValSecurityException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_config_value_result & rhs) const
{
if (!(success == rhs.success))
@@ -4936,6 +5780,10 @@ class ThriftHiveMetastore_partition_name_to_vals_args {
_ThriftHiveMetastore_partition_name_to_vals_args__isset __isset;
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_args & rhs) const
{
if (!(part_name == rhs.part_name))
@@ -4985,6 +5833,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result {
_ThriftHiveMetastore_partition_name_to_vals_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_result & rhs) const
{
if (!(success == rhs.success))
@@ -5042,6 +5898,10 @@ class ThriftHiveMetastore_partition_name_to_spec_args {
_ThriftHiveMetastore_partition_name_to_spec_args__isset __isset;
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_args & rhs) const
{
if (!(part_name == rhs.part_name))
@@ -5091,6 +5951,14 @@ class ThriftHiveMetastore_partition_name_to_spec_result {
_ThriftHiveMetastore_partition_name_to_spec_result__isset __isset;
+ void __set_success(const std::map & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_result & rhs) const
{
if (!(success == rhs.success))
@@ -5154,6 +6022,22 @@ class ThriftHiveMetastore_markPartitionForEvent_args {
_ThriftHiveMetastore_markPartitionForEvent_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::map & val) {
+ part_vals = val;
+ }
+
+ void __set_eventType(const PartitionEventType::type val) {
+ eventType = val;
+ }
+
bool operator == (const ThriftHiveMetastore_markPartitionForEvent_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5220,6 +6104,30 @@ class ThriftHiveMetastore_markPartitionForEvent_result {
_ThriftHiveMetastore_markPartitionForEvent_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const UnknownTableException& val) {
+ o4 = val;
+ }
+
+ void __set_o5(const UnknownPartitionException& val) {
+ o5 = val;
+ }
+
+ void __set_o6(const InvalidPartitionException& val) {
+ o6 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_markPartitionForEvent_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -5299,6 +6207,22 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args {
_ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::map & val) {
+ part_vals = val;
+ }
+
+ void __set_eventType(const PartitionEventType::type val) {
+ eventType = val;
+ }
+
bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5367,6 +6291,34 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_result {
_ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const UnknownTableException& val) {
+ o4 = val;
+ }
+
+ void __set_o5(const UnknownPartitionException& val) {
+ o5 = val;
+ }
+
+ void __set_o6(const InvalidPartitionException& val) {
+ o6 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_result & rhs) const
{
if (!(success == rhs.success))
@@ -5446,6 +6398,14 @@ class ThriftHiveMetastore_add_index_args {
_ThriftHiveMetastore_add_index_args__isset __isset;
+ void __set_new_index(const Index& val) {
+ new_index = val;
+ }
+
+ void __set_index_table(const Table& val) {
+ index_table = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_index_args & rhs) const
{
if (!(new_index == rhs.new_index))
@@ -5502,6 +6462,22 @@ class ThriftHiveMetastore_add_index_result {
_ThriftHiveMetastore_add_index_result__isset __isset;
+ void __set_success(const Index& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_index_result & rhs) const
{
if (!(success == rhs.success))
@@ -5573,6 +6549,22 @@ class ThriftHiveMetastore_alter_index_args {
_ThriftHiveMetastore_alter_index_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_base_tbl_name(const std::string& val) {
+ base_tbl_name = val;
+ }
+
+ void __set_idx_name(const std::string& val) {
+ idx_name = val;
+ }
+
+ void __set_new_idx(const Index& val) {
+ new_idx = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_index_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -5631,6 +6623,14 @@ class ThriftHiveMetastore_alter_index_result {
_ThriftHiveMetastore_alter_index_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_index_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -5694,6 +6694,22 @@ class ThriftHiveMetastore_drop_index_by_name_args {
_ThriftHiveMetastore_drop_index_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_index_name(const std::string& val) {
+ index_name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_index_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5754,6 +6770,18 @@ class ThriftHiveMetastore_drop_index_by_name_result {
_ThriftHiveMetastore_drop_index_by_name_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_index_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -5819,6 +6847,18 @@ class ThriftHiveMetastore_get_index_by_name_args {
_ThriftHiveMetastore_get_index_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_index_name(const std::string& val) {
+ index_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5876,6 +6916,18 @@ class ThriftHiveMetastore_get_index_by_name_result {
_ThriftHiveMetastore_get_index_by_name_result__isset __isset;
+ void __set_success(const Index& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -5941,6 +6993,18 @@ class ThriftHiveMetastore_get_indexes_args {
_ThriftHiveMetastore_get_indexes_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_indexes(const int16_t val) {
+ max_indexes = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_indexes_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5998,6 +7062,18 @@ class ThriftHiveMetastore_get_indexes_result {
_ThriftHiveMetastore_get_indexes_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_indexes_result & rhs) const
{
if (!(success == rhs.success))
@@ -6063,6 +7139,18 @@ class ThriftHiveMetastore_get_index_names_args {
_ThriftHiveMetastore_get_index_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_indexes(const int16_t val) {
+ max_indexes = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -6118,6 +7206,14 @@ class ThriftHiveMetastore_get_index_names_result {
_ThriftHiveMetastore_get_index_names_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -6175,6 +7271,10 @@ class ThriftHiveMetastore_create_role_args {
_ThriftHiveMetastore_create_role_args__isset __isset;
+ void __set_role(const Role& val) {
+ role = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_role_args & rhs) const
{
if (!(role == rhs.role))
@@ -6224,6 +7324,14 @@ class ThriftHiveMetastore_create_role_result {
_ThriftHiveMetastore_create_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6281,6 +7389,10 @@ class ThriftHiveMetastore_drop_role_args {
_ThriftHiveMetastore_drop_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6330,6 +7442,14 @@ class ThriftHiveMetastore_drop_role_result {
_ThriftHiveMetastore_drop_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6426,6 +7546,14 @@ class ThriftHiveMetastore_get_role_names_result {
_ThriftHiveMetastore_get_role_names_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_role_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -6493,6 +7621,30 @@ class ThriftHiveMetastore_grant_role_args {
_ThriftHiveMetastore_grant_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
+ void __set_grantor(const std::string& val) {
+ grantor = val;
+ }
+
+ void __set_grantorType(const PrincipalType::type val) {
+ grantorType = val;
+ }
+
+ void __set_grant_option(const bool val) {
+ grant_option = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6557,6 +7709,14 @@ class ThriftHiveMetastore_grant_role_result {
_ThriftHiveMetastore_grant_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6618,6 +7778,18 @@ class ThriftHiveMetastore_revoke_role_args {
_ThriftHiveMetastore_revoke_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6673,6 +7845,14 @@ class ThriftHiveMetastore_revoke_role_result {
_ThriftHiveMetastore_revoke_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6732,6 +7912,14 @@ class ThriftHiveMetastore_list_roles_args {
_ThriftHiveMetastore_list_roles_args__isset __isset;
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_roles_args & rhs) const
{
if (!(principal_name == rhs.principal_name))
@@ -6784,6 +7972,14 @@ class ThriftHiveMetastore_list_roles_result {
_ThriftHiveMetastore_list_roles_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_roles_result & rhs) const
{
if (!(success == rhs.success))
@@ -6845,6 +8041,18 @@ class ThriftHiveMetastore_get_privilege_set_args {
_ThriftHiveMetastore_get_privilege_set_args__isset __isset;
+ void __set_hiveObject(const HiveObjectRef& val) {
+ hiveObject = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_privilege_set_args & rhs) const
{
if (!(hiveObject == rhs.hiveObject))
@@ -6900,6 +8108,14 @@ class ThriftHiveMetastore_get_privilege_set_result {
_ThriftHiveMetastore_get_privilege_set_result__isset __isset;
+ void __set_success(const PrincipalPrivilegeSet& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_privilege_set_result & rhs) const
{
if (!(success == rhs.success))
@@ -6961,6 +8177,18 @@ class ThriftHiveMetastore_list_privileges_args {
_ThriftHiveMetastore_list_privileges_args__isset __isset;
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
+ void __set_hiveObject(const HiveObjectRef& val) {
+ hiveObject = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_privileges_args & rhs) const
{
if (!(principal_name == rhs.principal_name))
@@ -7016,6 +8244,14 @@ class ThriftHiveMetastore_list_privileges_result {
_ThriftHiveMetastore_list_privileges_result__isset __isset;
+ void __set_success(const std::vector & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7073,6 +8309,10 @@ class ThriftHiveMetastore_grant_privileges_args {
_ThriftHiveMetastore_grant_privileges_args__isset __isset;
+ void __set_privileges(const PrivilegeBag& val) {
+ privileges = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_privileges_args & rhs) const
{
if (!(privileges == rhs.privileges))
@@ -7122,6 +8362,14 @@ class ThriftHiveMetastore_grant_privileges_result {
_ThriftHiveMetastore_grant_privileges_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7179,6 +8427,10 @@ class ThriftHiveMetastore_revoke_privileges_args {
_ThriftHiveMetastore_revoke_privileges_args__isset __isset;
+ void __set_privileges(const PrivilegeBag& val) {
+ privileges = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_privileges_args & rhs) const
{
if (!(privileges == rhs.privileges))
@@ -7228,6 +8480,14 @@ class ThriftHiveMetastore_revoke_privileges_result {
_ThriftHiveMetastore_revoke_privileges_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7287,6 +8547,14 @@ class ThriftHiveMetastore_get_delegation_token_args {
_ThriftHiveMetastore_get_delegation_token_args__isset __isset;
+ void __set_token_owner(const std::string& val) {
+ token_owner = val;
+ }
+
+ void __set_renewer_kerberos_principal_name(const std::string& val) {
+ renewer_kerberos_principal_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_delegation_token_args & rhs) const
{
if (!(token_owner == rhs.token_owner))
@@ -7339,6 +8607,14 @@ class ThriftHiveMetastore_get_delegation_token_result {
_ThriftHiveMetastore_get_delegation_token_result__isset __isset;
+ void __set_success(const std::string& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_delegation_token_result & rhs) const
{
if (!(success == rhs.success))
@@ -7396,6 +8672,10 @@ class ThriftHiveMetastore_renew_delegation_token_args {
_ThriftHiveMetastore_renew_delegation_token_args__isset __isset;
+ void __set_token_str_form(const std::string& val) {
+ token_str_form = val;
+ }
+
bool operator == (const ThriftHiveMetastore_renew_delegation_token_args & rhs) const
{
if (!(token_str_form == rhs.token_str_form))
@@ -7445,6 +8725,14 @@ class ThriftHiveMetastore_renew_delegation_token_result {
_ThriftHiveMetastore_renew_delegation_token_result__isset __isset;
+ void __set_success(const int64_t val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_renew_delegation_token_result & rhs) const
{
if (!(success == rhs.success))
@@ -7502,6 +8790,10 @@ class ThriftHiveMetastore_cancel_delegation_token_args {
_ThriftHiveMetastore_cancel_delegation_token_args__isset __isset;
+ void __set_token_str_form(const std::string& val) {
+ token_str_form = val;
+ }
+
bool operator == (const ThriftHiveMetastore_cancel_delegation_token_args & rhs) const
{
if (!(token_str_form == rhs.token_str_form))
@@ -7549,6 +8841,10 @@ class ThriftHiveMetastore_cancel_delegation_token_result {
_ThriftHiveMetastore_cancel_delegation_token_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_cancel_delegation_token_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -7788,71 +9084,71 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public f
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, void* callContext);
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_alter_database(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_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_table_names_by_filter(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_add_partitions(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_with_auth(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_partitions_with_auth(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_partitions_ps_with_auth(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_get_partitions_by_names(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_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_isPartitionMarkedForEvent(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_alter_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);
- void process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_cancel_delegation_token(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* callContext);
+ void process_get_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_all_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_type_all(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_fields(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_schema(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_by_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_config_value(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_partition_name_to_vals(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_partition_name_to_spec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_isPartitionMarkedForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_indexes(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_index_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_cancel_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
public:
ThriftHiveMetastoreProcessor(boost::shared_ptr iface) :
facebook::fb303::FacebookServiceProcessor(iface),
@@ -7921,7 +9217,7 @@ class ThriftHiveMetastoreProcessor : virtual public ::apache::thrift::TProcessor
processMap_["cancel_delegation_token"] = &ThriftHiveMetastoreProcessor::process_cancel_delegation_token;
}
- virtual bool process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot);
+ virtual bool process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot, void* callContext);
virtual ~ThriftHiveMetastoreProcessor() {}
};
@@ -7943,15 +9239,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
public:
void create_database(const Database& database) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->create_database(database);
}
}
void get_database(Database& _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_database(_return, name);
return;
@@ -7962,15 +9258,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void drop_database(const std::string& name, const bool deleteData, const bool cascade) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->drop_database(name, deleteData, cascade);
}
}
void get_databases(std::vector & _return, const std::string& pattern) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_databases(_return, pattern);
return;
@@ -7981,8 +9277,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_all_databases(std::vector & _return) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_all_databases(_return);
return;
@@ -7993,15 +9289,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void alter_database(const std::string& dbname, const Database& db) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_database(dbname, db);
}
}
void get_type(Type& _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_type(_return, name);
return;
@@ -8012,8 +9308,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool create_type(const Type& type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->create_type(type);
} else {
@@ -8023,8 +9319,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool drop_type(const std::string& type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_type(type);
} else {
@@ -8034,8 +9330,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_type_all(std::map & _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_type_all(_return, name);
return;
@@ -8046,8 +9342,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_fields(std::vector & _return, const std::string& db_name, const std::string& table_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_fields(_return, db_name, table_name);
return;
@@ -8058,8 +9354,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_schema(std::vector & _return, const std::string& db_name, const std::string& table_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_schema(_return, db_name, table_name);
return;
@@ -8070,22 +9366,22 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void create_table(const Table& tbl) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->create_table(tbl);
}
}
void drop_table(const std::string& dbname, const std::string& name, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->drop_table(dbname, name, deleteData);
}
}
void get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_tables(_return, db_name, pattern);
return;
@@ -8096,8 +9392,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_all_tables(std::vector & _return, const std::string& db_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_all_tables(_return, db_name);
return;
@@ -8108,8 +9404,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_table(Table& _return, const std::string& dbname, const std::string& tbl_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table(_return, dbname, tbl_name);
return;
@@ -8120,8 +9416,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_table_objects_by_name(std::vector & _return, const std::string& dbname, const std::vector & tbl_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table_objects_by_name(_return, dbname, tbl_names);
return;
@@ -8132,8 +9428,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_table_names_by_filter(std::vector & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table_names_by_filter(_return, dbname, filter, max_tables);
return;
@@ -8144,15 +9440,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_table(dbname, tbl_name, new_tbl);
}
}
void add_partition(Partition& _return, const Partition& new_part) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->add_partition(_return, new_part);
return;
@@ -8163,8 +9459,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
int32_t add_partitions(const std::vector & new_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->add_partitions(new_parts);
} else {
@@ -8174,8 +9470,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->append_partition(_return, db_name, tbl_name, part_vals);
return;
@@ -8186,8 +9482,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->append_partition_by_name(_return, db_name, tbl_name, part_name);
return;
@@ -8198,8 +9494,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_partition(db_name, tbl_name, part_vals, deleteData);
} else {
@@ -8209,8 +9505,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_partition_by_name(db_name, tbl_name, part_name, deleteData);
} else {
@@ -8220,8 +9516,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition(_return, db_name, tbl_name, part_vals);
return;
@@ -8232,8 +9528,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partition_with_auth(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const std::string& user_name, const std::vector & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_with_auth(_return, db_name, tbl_name, part_vals, user_name, group_names);
return;
@@ -8244,8 +9540,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_by_name(_return, db_name, tbl_name, part_name);
return;
@@ -8256,8 +9552,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions(_return, db_name, tbl_name, max_parts);
return;
@@ -8268,8 +9564,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_with_auth(_return, db_name, tbl_name, max_parts, user_name, group_names);
return;
@@ -8280,8 +9576,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_names(_return, db_name, tbl_name, max_parts);
return;
@@ -8292,8 +9588,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_ps(_return, db_name, tbl_name, part_vals, max_parts);
return;
@@ -8304,8 +9600,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions_ps_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_ps_with_auth(_return, db_name, tbl_name, part_vals, max_parts, user_name, group_names);
return;
@@ -8316,8 +9612,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void 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) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_names_ps(_return, db_name, tbl_name, part_vals, max_parts);
return;
@@ -8328,8 +9624,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions_by_filter(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_by_filter(_return, db_name, tbl_name, filter, max_parts);
return;
@@ -8340,8 +9636,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_partitions_by_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_by_names(_return, db_name, tbl_name, names);
return;
@@ -8352,15 +9648,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_partition(db_name, tbl_name, new_part);
}
}
void get_config_value(std::string& _return, const std::string& name, const std::string& defaultValue) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_config_value(_return, name, defaultValue);
return;
@@ -8371,8 +9667,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void partition_name_to_vals(std::vector & _return, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->partition_name_to_vals(_return, part_name);
return;
@@ -8383,8 +9679,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void partition_name_to_spec(std::map & _return, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->partition_name_to_spec(_return, part_name);
return;
@@ -8395,15 +9691,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->markPartitionForEvent(db_name, tbl_name, part_vals, eventType);
}
}
bool isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->isPartitionMarkedForEvent(db_name, tbl_name, part_vals, eventType);
} else {
@@ -8413,8 +9709,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void add_index(Index& _return, const Index& new_index, const Table& index_table) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->add_index(_return, new_index, index_table);
return;
@@ -8425,15 +9721,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_index(dbname, base_tbl_name, idx_name, new_idx);
}
}
bool drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_index_by_name(db_name, tbl_name, index_name, deleteData);
} else {
@@ -8443,8 +9739,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_index_by_name(Index& _return, const std::string& db_name, const std::string& tbl_name, const std::string& index_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_index_by_name(_return, db_name, tbl_name, index_name);
return;
@@ -8455,8 +9751,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_indexes(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_indexes(_return, db_name, tbl_name, max_indexes);
return;
@@ -8467,8 +9763,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_index_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_index_names(_return, db_name, tbl_name, max_indexes);
return;
@@ -8479,8 +9775,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool create_role(const Role& role) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->create_role(role);
} else {
@@ -8490,8 +9786,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool drop_role(const std::string& role_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_role(role_name);
} else {
@@ -8501,8 +9797,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_role_names(std::vector & _return) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_role_names(_return);
return;
@@ -8513,8 +9809,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option);
} else {
@@ -8524,8 +9820,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->revoke_role(role_name, principal_name, principal_type);
} else {
@@ -8535,8 +9831,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void list_roles(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->list_roles(_return, principal_name, principal_type);
return;
@@ -8547,8 +9843,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_privilege_set(PrincipalPrivilegeSet& _return, const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_privilege_set(_return, hiveObject, user_name, group_names);
return;
@@ -8559,8 +9855,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void list_privileges(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->list_privileges(_return, principal_name, principal_type, hiveObject);
return;
@@ -8571,8 +9867,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool grant_privileges(const PrivilegeBag& privileges) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->grant_privileges(privileges);
} else {
@@ -8582,8 +9878,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
bool revoke_privileges(const PrivilegeBag& privileges) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->revoke_privileges(privileges);
} else {
@@ -8593,8 +9889,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void get_delegation_token(std::string& _return, const std::string& token_owner, const std::string& renewer_kerberos_principal_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_delegation_token(_return, token_owner, renewer_kerberos_principal_name);
return;
@@ -8605,8 +9901,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
int64_t renew_delegation_token(const std::string& token_str_form) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->renew_delegation_token(token_str_form);
} else {
@@ -8616,8 +9912,8 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi
}
void cancel_delegation_token(const std::string& token_str_form) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->cancel_delegation_token(token_str_form);
}
}
diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
index a2eec7a..98f2f10 100644
--- metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
+++ metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
index 65a44d8..ad08586 100644
--- metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
+++ metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
index 16d3d81..4a38aec 100644
--- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
+++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -7,6 +7,42 @@
namespace Apache { namespace Hadoop { namespace Hive {
+int _kHiveObjectTypeValues[] = {
+ HiveObjectType::GLOBAL,
+ HiveObjectType::DATABASE,
+ HiveObjectType::TABLE,
+ HiveObjectType::PARTITION,
+ HiveObjectType::COLUMN
+};
+const char* _kHiveObjectTypeNames[] = {
+ "GLOBAL",
+ "DATABASE",
+ "TABLE",
+ "PARTITION",
+ "COLUMN"
+};
+const std::map _HiveObjectType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(5, _kHiveObjectTypeValues, _kHiveObjectTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
+
+int _kPrincipalTypeValues[] = {
+ PrincipalType::USER,
+ PrincipalType::ROLE,
+ PrincipalType::GROUP
+};
+const char* _kPrincipalTypeNames[] = {
+ "USER",
+ "ROLE",
+ "GROUP"
+};
+const std::map _PrincipalType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kPrincipalTypeValues, _kPrincipalTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
+
+int _kPartitionEventTypeValues[] = {
+ PartitionEventType::LOAD_DONE
+};
+const char* _kPartitionEventTypeNames[] = {
+ "LOAD_DONE"
+};
+const std::map _PartitionEventType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(1, _kPartitionEventTypeValues, _kPartitionEventTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
+
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};
@@ -246,7 +282,7 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
if (this->__isset.fields) {
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, static_cast(this->fields.size()));
std::vector ::const_iterator _iter5;
for (_iter5 = this->fields.begin(); _iter5 != this->fields.end(); ++_iter5)
{
@@ -364,7 +400,7 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldBegin("partValues", ::apache::thrift::protocol::T_LIST, 4);
{
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, this->partValues.size());
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partValues.size()));
std::vector