You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by am...@apache.org on 2015/12/21 09:45:51 UTC
[01/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Repository: hive
Updated Branches:
refs/heads/master 6f44fc810 -> ccb30e3ec
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
index 978c2a3..177531d 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -8,7 +8,6 @@
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
import hive_metastore.ThriftHiveMetastore
-import logging
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
@@ -117,7 +116,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchOne failed: unknown result");
def fetchN(self, numRows):
"""
@@ -150,7 +149,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result");
def fetchAll(self):
self.send_fetchAll()
@@ -178,7 +177,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result");
def getSchema(self):
self.send_getSchema()
@@ -206,7 +205,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result");
def getThriftSchema(self):
self.send_getThriftSchema()
@@ -234,7 +233,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result");
def getClusterStatus(self):
self.send_getClusterStatus()
@@ -262,7 +261,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result");
def getQueryPlan(self):
self.send_getQueryPlan()
@@ -290,7 +289,7 @@ class Client(hive_metastore.ThriftHiveMetastore.Client, Iface):
return result.success
if result.ex is not None:
raise result.ex
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result");
def clean(self):
self.send_clean()
@@ -352,17 +351,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = execute_result()
try:
self._handler.execute(args.query)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("execute", msg_type, seqid)
+ oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -374,17 +365,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchOne_result()
try:
result.success = self._handler.fetchOne()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("fetchOne", msg_type, seqid)
+ oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -396,17 +379,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchN_result()
try:
result.success = self._handler.fetchN(args.numRows)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("fetchN", msg_type, seqid)
+ oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -418,17 +393,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchAll_result()
try:
result.success = self._handler.fetchAll()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("fetchAll", msg_type, seqid)
+ oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -440,17 +407,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getSchema_result()
try:
result.success = self._handler.getSchema()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getSchema", msg_type, seqid)
+ oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -462,17 +421,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getThriftSchema_result()
try:
result.success = self._handler.getThriftSchema()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getThriftSchema", msg_type, seqid)
+ oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -484,17 +435,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getClusterStatus_result()
try:
result.success = self._handler.getClusterStatus()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getClusterStatus", msg_type, seqid)
+ oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -506,17 +449,9 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getQueryPlan_result()
try:
result.success = self._handler.getQueryPlan()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except HiveServerException as ex:
- msg_type = TMessageType.REPLY
+ except HiveServerException, ex:
result.ex = ex
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getQueryPlan", msg_type, seqid)
+ oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -526,16 +461,8 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
args.read(iprot)
iprot.readMessageEnd()
result = clean_result()
- try:
- self._handler.clean()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("clean", msg_type, seqid)
+ self._handler.clean()
+ oprot.writeMessageBegin("clean", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -568,7 +495,7 @@ class execute_args:
break
if fid == 1:
if ftype == TType.STRING:
- self.query = iprot.readString()
+ self.query = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -747,7 +674,7 @@ class fetchOne_result:
break
if fid == 0:
if ftype == TType.STRING:
- self.success = iprot.readString()
+ self.success = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 1:
@@ -823,7 +750,7 @@ class fetchN_args:
break
if fid == 1:
if ftype == TType.I32:
- self.numRows = iprot.readI32()
+ self.numRows = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -893,7 +820,7 @@ class fetchN_result:
self.success = []
(_etype3, _size0) = iprot.readListBegin()
for _i4 in xrange(_size0):
- _elem5 = iprot.readString()
+ _elem5 = iprot.readString();
self.success.append(_elem5)
iprot.readListEnd()
else:
@@ -1025,7 +952,7 @@ class fetchAll_result:
self.success = []
(_etype10, _size7) = iprot.readListBegin()
for _i11 in xrange(_size7):
- _elem12 = iprot.readString()
+ _elem12 = iprot.readString();
self.success.append(_elem12)
iprot.readListEnd()
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/hive_service/constants.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/constants.py b/service/src/gen/thrift/gen-py/hive_service/constants.py
index 4a6492b..99717a9 100644
--- a/service/src/gen/thrift/gen-py/hive_service/constants.py
+++ b/service/src/gen/thrift/gen-py/hive_service/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/hive_service/ttypes.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ttypes.py b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
index e19fe2a..29eb916 100644
--- a/service/src/gen/thrift/gen-py/hive_service/ttypes.py
+++ b/service/src/gen/thrift/gen-py/hive_service/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -75,32 +75,32 @@ class HiveClusterStatus:
break
if fid == 1:
if ftype == TType.I32:
- self.taskTrackers = iprot.readI32()
+ self.taskTrackers = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.mapTasks = iprot.readI32()
+ self.mapTasks = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.reduceTasks = iprot.readI32()
+ self.reduceTasks = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.maxMapTasks = iprot.readI32()
+ self.maxMapTasks = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.maxReduceTasks = iprot.readI32()
+ self.maxReduceTasks = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.state = iprot.readI32()
+ self.state = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -196,17 +196,17 @@ class HiveServerException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.errorCode = iprot.readI32()
+ self.errorCode = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.SQLState = iprot.readString()
+ self.SQLState = iprot.readString();
else:
iprot.skip(ftype)
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/hive_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_constants.rb b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
index ed7d2d7..73f4d7b 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/hive_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/hive_service_types.rb b/service/src/gen/thrift/gen-rb/hive_service_types.rb
index 9191767..f97a6fb 100644
--- a/service/src/gen/thrift/gen-rb/hive_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/hive_service_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
index 7d7f7a7..f754d7d 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
index 25adbb4..3f72769 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
index f004ec4..bfb2b69 100644
--- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
+++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-rb/thrift_hive.rb
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-rb/thrift_hive.rb b/service/src/gen/thrift/gen-rb/thrift_hive.rb
index 2b57cd9..6859ceb 100644
--- a/service/src/gen/thrift/gen-rb/thrift_hive.rb
+++ b/service/src/gen/thrift/gen-rb/thrift_hive.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
[22/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index 22bea87..d2b9841 100644
--- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,7 +15,6 @@ ThriftHiveMetastore_getMetaConf_args::~ThriftHiveMetastore_getMetaConf_args() th
uint32_t ThriftHiveMetastore_getMetaConf_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -56,7 +55,7 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::read(::apache::thrift::protocol::
uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_args");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -65,6 +64,7 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -75,7 +75,7 @@ ThriftHiveMetastore_getMetaConf_pargs::~ThriftHiveMetastore_getMetaConf_pargs()
uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_pargs");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -84,6 +84,7 @@ uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -94,7 +95,6 @@ ThriftHiveMetastore_getMetaConf_result::~ThriftHiveMetastore_getMetaConf_result(
uint32_t ThriftHiveMetastore_getMetaConf_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -168,7 +168,6 @@ ThriftHiveMetastore_getMetaConf_presult::~ThriftHiveMetastore_getMetaConf_presul
uint32_t ThriftHiveMetastore_getMetaConf_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -222,7 +221,6 @@ ThriftHiveMetastore_setMetaConf_args::~ThriftHiveMetastore_setMetaConf_args() th
uint32_t ThriftHiveMetastore_setMetaConf_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -271,7 +269,7 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::read(::apache::thrift::protocol::
uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_args");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -284,6 +282,7 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -294,7 +293,7 @@ ThriftHiveMetastore_setMetaConf_pargs::~ThriftHiveMetastore_setMetaConf_pargs()
uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_pargs");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -307,6 +306,7 @@ uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -317,7 +317,6 @@ ThriftHiveMetastore_setMetaConf_result::~ThriftHiveMetastore_setMetaConf_result(
uint32_t ThriftHiveMetastore_setMetaConf_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -379,7 +378,6 @@ ThriftHiveMetastore_setMetaConf_presult::~ThriftHiveMetastore_setMetaConf_presul
uint32_t ThriftHiveMetastore_setMetaConf_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -425,7 +423,6 @@ ThriftHiveMetastore_create_database_args::~ThriftHiveMetastore_create_database_a
uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -466,7 +463,7 @@ uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protoc
uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args");
xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -475,6 +472,7 @@ uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -485,7 +483,7 @@ ThriftHiveMetastore_create_database_pargs::~ThriftHiveMetastore_create_database_
uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs");
xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -494,6 +492,7 @@ uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::prot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -504,7 +503,6 @@ ThriftHiveMetastore_create_database_result::~ThriftHiveMetastore_create_database
uint32_t ThriftHiveMetastore_create_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -590,7 +588,6 @@ ThriftHiveMetastore_create_database_presult::~ThriftHiveMetastore_create_databas
uint32_t ThriftHiveMetastore_create_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -652,7 +649,6 @@ ThriftHiveMetastore_get_database_args::~ThriftHiveMetastore_get_database_args()
uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -693,7 +689,7 @@ uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol:
uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -702,6 +698,7 @@ uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -712,7 +709,7 @@ ThriftHiveMetastore_get_database_pargs::~ThriftHiveMetastore_get_database_pargs(
uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -721,6 +718,7 @@ uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -731,7 +729,6 @@ ThriftHiveMetastore_get_database_result::~ThriftHiveMetastore_get_database_resul
uint32_t ThriftHiveMetastore_get_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -817,7 +814,6 @@ ThriftHiveMetastore_get_database_presult::~ThriftHiveMetastore_get_database_pres
uint32_t ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -879,7 +875,6 @@ ThriftHiveMetastore_drop_database_args::~ThriftHiveMetastore_drop_database_args(
uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -936,7 +931,7 @@ uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol
uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -953,6 +948,7 @@ uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -963,7 +959,7 @@ ThriftHiveMetastore_drop_database_pargs::~ThriftHiveMetastore_drop_database_parg
uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -980,6 +976,7 @@ uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -990,7 +987,6 @@ ThriftHiveMetastore_drop_database_result::~ThriftHiveMetastore_drop_database_res
uint32_t ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1076,7 +1072,6 @@ ThriftHiveMetastore_drop_database_presult::~ThriftHiveMetastore_drop_database_pr
uint32_t ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1138,7 +1133,6 @@ ThriftHiveMetastore_get_databases_args::~ThriftHiveMetastore_get_databases_args(
uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1179,7 +1173,7 @@ uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol
uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args");
xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
@@ -1188,6 +1182,7 @@ uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1198,7 +1193,7 @@ ThriftHiveMetastore_get_databases_pargs::~ThriftHiveMetastore_get_databases_parg
uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs");
xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
@@ -1207,6 +1202,7 @@ uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1217,7 +1213,6 @@ ThriftHiveMetastore_get_databases_result::~ThriftHiveMetastore_get_databases_res
uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1311,7 +1306,6 @@ ThriftHiveMetastore_get_databases_presult::~ThriftHiveMetastore_get_databases_pr
uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1377,7 +1371,6 @@ ThriftHiveMetastore_get_all_databases_args::~ThriftHiveMetastore_get_all_databas
uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1405,11 +1398,12 @@ uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::prot
uint32_t ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1420,11 +1414,12 @@ ThriftHiveMetastore_get_all_databases_pargs::~ThriftHiveMetastore_get_all_databa
uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1435,7 +1430,6 @@ ThriftHiveMetastore_get_all_databases_result::~ThriftHiveMetastore_get_all_datab
uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1529,7 +1523,6 @@ ThriftHiveMetastore_get_all_databases_presult::~ThriftHiveMetastore_get_all_data
uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1595,7 +1588,6 @@ ThriftHiveMetastore_alter_database_args::~ThriftHiveMetastore_alter_database_arg
uint32_t ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1644,7 +1636,7 @@ uint32_t ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protoco
uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -1657,6 +1649,7 @@ uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1667,7 +1660,7 @@ ThriftHiveMetastore_alter_database_pargs::~ThriftHiveMetastore_alter_database_pa
uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -1680,6 +1673,7 @@ uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1690,7 +1684,6 @@ ThriftHiveMetastore_alter_database_result::~ThriftHiveMetastore_alter_database_r
uint32_t ThriftHiveMetastore_alter_database_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1764,7 +1757,6 @@ ThriftHiveMetastore_alter_database_presult::~ThriftHiveMetastore_alter_database_
uint32_t ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1818,7 +1810,6 @@ ThriftHiveMetastore_get_type_args::~ThriftHiveMetastore_get_type_args() throw()
uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1859,7 +1850,7 @@ uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TPr
uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -1868,6 +1859,7 @@ uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1878,7 +1870,7 @@ ThriftHiveMetastore_get_type_pargs::~ThriftHiveMetastore_get_type_pargs() throw(
uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -1887,6 +1879,7 @@ uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1897,7 +1890,6 @@ ThriftHiveMetastore_get_type_result::~ThriftHiveMetastore_get_type_result() thro
uint32_t ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1983,7 +1975,6 @@ ThriftHiveMetastore_get_type_presult::~ThriftHiveMetastore_get_type_presult() th
uint32_t ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2045,7 +2036,6 @@ ThriftHiveMetastore_create_type_args::~ThriftHiveMetastore_create_type_args() th
uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2086,7 +2076,7 @@ uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::
uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2095,6 +2085,7 @@ uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2105,7 +2096,7 @@ ThriftHiveMetastore_create_type_pargs::~ThriftHiveMetastore_create_type_pargs()
uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2114,6 +2105,7 @@ uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2124,7 +2116,6 @@ ThriftHiveMetastore_create_type_result::~ThriftHiveMetastore_create_type_result(
uint32_t ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2222,7 +2213,6 @@ ThriftHiveMetastore_create_type_presult::~ThriftHiveMetastore_create_type_presul
uint32_t ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2292,7 +2282,6 @@ ThriftHiveMetastore_drop_type_args::~ThriftHiveMetastore_drop_type_args() throw(
uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2333,7 +2322,7 @@ uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TP
uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
@@ -2342,6 +2331,7 @@ uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2352,7 +2342,7 @@ ThriftHiveMetastore_drop_type_pargs::~ThriftHiveMetastore_drop_type_pargs() thro
uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
@@ -2361,6 +2351,7 @@ uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2371,7 +2362,6 @@ ThriftHiveMetastore_drop_type_result::~ThriftHiveMetastore_drop_type_result() th
uint32_t ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2457,7 +2447,6 @@ ThriftHiveMetastore_drop_type_presult::~ThriftHiveMetastore_drop_type_presult()
uint32_t ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2519,7 +2508,6 @@ ThriftHiveMetastore_get_type_all_args::~ThriftHiveMetastore_get_type_all_args()
uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2560,7 +2548,7 @@ uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol:
uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2569,6 +2557,7 @@ uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2579,7 +2568,7 @@ ThriftHiveMetastore_get_type_all_pargs::~ThriftHiveMetastore_get_type_all_pargs(
uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2588,6 +2577,7 @@ uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2598,7 +2588,6 @@ ThriftHiveMetastore_get_type_all_result::~ThriftHiveMetastore_get_type_all_resul
uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2696,7 +2685,6 @@ ThriftHiveMetastore_get_type_all_presult::~ThriftHiveMetastore_get_type_all_pres
uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2765,7 +2753,6 @@ ThriftHiveMetastore_get_fields_args::~ThriftHiveMetastore_get_fields_args() thro
uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2814,7 +2801,7 @@ uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::T
uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2827,6 +2814,7 @@ uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2837,7 +2825,7 @@ ThriftHiveMetastore_get_fields_pargs::~ThriftHiveMetastore_get_fields_pargs() th
uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2850,6 +2838,7 @@ uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2860,7 +2849,6 @@ ThriftHiveMetastore_get_fields_result::~ThriftHiveMetastore_get_fields_result()
uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2978,7 +2966,6 @@ ThriftHiveMetastore_get_fields_presult::~ThriftHiveMetastore_get_fields_presult(
uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3060,7 +3047,6 @@ ThriftHiveMetastore_get_fields_with_environment_context_args::~ThriftHiveMetasto
uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3117,7 +3103,7 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::read(::ap
uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3134,6 +3120,7 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3144,7 +3131,7 @@ ThriftHiveMetastore_get_fields_with_environment_context_pargs::~ThriftHiveMetast
uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3161,6 +3148,7 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3171,7 +3159,6 @@ ThriftHiveMetastore_get_fields_with_environment_context_result::~ThriftHiveMetas
uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3289,7 +3276,6 @@ ThriftHiveMetastore_get_fields_with_environment_context_presult::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3371,7 +3357,6 @@ ThriftHiveMetastore_get_schema_args::~ThriftHiveMetastore_get_schema_args() thro
uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3420,7 +3405,7 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::T
uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3433,6 +3418,7 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3443,7 +3429,7 @@ ThriftHiveMetastore_get_schema_pargs::~ThriftHiveMetastore_get_schema_pargs() th
uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3456,6 +3442,7 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3466,7 +3453,6 @@ ThriftHiveMetastore_get_schema_result::~ThriftHiveMetastore_get_schema_result()
uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3584,7 +3570,6 @@ ThriftHiveMetastore_get_schema_presult::~ThriftHiveMetastore_get_schema_presult(
uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3666,7 +3651,6 @@ ThriftHiveMetastore_get_schema_with_environment_context_args::~ThriftHiveMetasto
uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3723,7 +3707,7 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::ap
uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3740,6 +3724,7 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3750,7 +3735,7 @@ ThriftHiveMetastore_get_schema_with_environment_context_pargs::~ThriftHiveMetast
uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3767,6 +3752,7 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3777,7 +3763,6 @@ ThriftHiveMetastore_get_schema_with_environment_context_result::~ThriftHiveMetas
uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3895,7 +3880,6 @@ ThriftHiveMetastore_get_schema_with_environment_context_presult::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3977,7 +3961,6 @@ ThriftHiveMetastore_create_table_args::~ThriftHiveMetastore_create_table_args()
uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4018,7 +4001,7 @@ uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol:
uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4027,6 +4010,7 @@ uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4037,7 +4021,7 @@ ThriftHiveMetastore_create_table_pargs::~ThriftHiveMetastore_create_table_pargs(
uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4046,6 +4030,7 @@ uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4056,7 +4041,6 @@ ThriftHiveMetastore_create_table_result::~ThriftHiveMetastore_create_table_resul
uint32_t ThriftHiveMetastore_create_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4154,7 +4138,6 @@ ThriftHiveMetastore_create_table_presult::~ThriftHiveMetastore_create_table_pres
uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4224,7 +4207,6 @@ ThriftHiveMetastore_create_table_with_environment_context_args::~ThriftHiveMetas
uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4273,7 +4255,7 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(::
uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4286,6 +4268,7 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4296,7 +4279,7 @@ ThriftHiveMetastore_create_table_with_environment_context_pargs::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4309,6 +4292,7 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write(
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4319,7 +4303,6 @@ ThriftHiveMetastore_create_table_with_environment_context_result::~ThriftHiveMet
uint32_t ThriftHiveMetastore_create_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4417,7 +4400,6 @@ ThriftHiveMetastore_create_table_with_environment_context_presult::~ThriftHiveMe
uint32_t ThriftHiveMetastore_create_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4487,7 +4469,6 @@ ThriftHiveMetastore_drop_table_args::~ThriftHiveMetastore_drop_table_args() thro
uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4544,7 +4525,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::T
uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4561,6 +4542,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4571,7 +4553,7 @@ ThriftHiveMetastore_drop_table_pargs::~ThriftHiveMetastore_drop_table_pargs() th
uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4588,6 +4570,7 @@ uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4598,7 +4581,6 @@ ThriftHiveMetastore_drop_table_result::~ThriftHiveMetastore_drop_table_result()
uint32_t ThriftHiveMetastore_drop_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4672,7 +4654,6 @@ ThriftHiveMetastore_drop_table_presult::~ThriftHiveMetastore_drop_table_presult(
uint32_t ThriftHiveMetastore_drop_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4726,7 +4707,6 @@ ThriftHiveMetastore_drop_table_with_environment_context_args::~ThriftHiveMetasto
uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4791,7 +4771,7 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::read(::ap
uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4812,6 +4792,7 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4822,7 +4803,7 @@ ThriftHiveMetastore_drop_table_with_environment_context_pargs::~ThriftHiveMetast
uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4843,6 +4824,7 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4853,7 +4835,6 @@ ThriftHiveMetastore_drop_table_with_environment_context_result::~ThriftHiveMetas
uint32_t ThriftHiveMetastore_drop_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4927,7 +4908,6 @@ ThriftHiveMetastore_drop_table_with_environment_context_presult::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_drop_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4981,7 +4961,6 @@ ThriftHiveMetastore_get_tables_args::~ThriftHiveMetastore_get_tables_args() thro
uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5030,7 +5009,7 @@ uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::T
uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5043,6 +5022,7 @@ uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5053,7 +5033,7 @@ ThriftHiveMetastore_get_tables_pargs::~ThriftHiveMetastore_get_tables_pargs() th
uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5066,6 +5046,7 @@ uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5076,7 +5057,6 @@ ThriftHiveMetastore_get_tables_result::~ThriftHiveMetastore_get_tables_result()
uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5170,7 +5150,6 @@ ThriftHiveMetastore_get_tables_presult::~ThriftHiveMetastore_get_tables_presult(
uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5236,7 +5215,6 @@ ThriftHiveMetastore_get_table_meta_args::~ThriftHiveMetastore_get_table_meta_arg
uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5305,7 +5283,7 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco
uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_meta_args");
xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1);
@@ -5330,6 +5308,7 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5340,7 +5319,7 @@ ThriftHiveMetastore_get_table_meta_pargs::~ThriftHiveMetastore_get_table_meta_pa
uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_meta_pargs");
xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1);
@@ -5365,6 +5344,7 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5375,7 +5355,6 @@ ThriftHiveMetastore_get_table_meta_result::~ThriftHiveMetastore_get_table_meta_r
uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5469,7 +5448,6 @@ ThriftHiveMetastore_get_table_meta_presult::~ThriftHiveMetastore_get_table_meta_
uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5535,7 +5513,6 @@ ThriftHiveMetastore_get_all_tables_args::~ThriftHiveMetastore_get_all_tables_arg
uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5576,7 +5553,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protoco
uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5585,6 +5562,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5595,7 +5573,7 @@ ThriftHiveMetastore_get_all_tables_pargs::~ThriftHiveMetastore_get_all_tables_pa
uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5604,6 +5582,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5614,7 +5593,6 @@ ThriftHiveMetastore_get_all_tables_result::~ThriftHiveMetastore_get_all_tables_r
uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5708,7 +5686,6 @@ ThriftHiveMetastore_get_all_tables_presult::~ThriftHiveMetastore_get_all_tables_
uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5774,7 +5751,6 @@ ThriftHiveMetastore_get_table_args::~ThriftHiveMetastore_get_table_args() throw(
uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5823,7 +5799,7 @@ uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TP
uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -5836,6 +5812,7 @@ uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5846,7 +5823,7 @@ ThriftHiveMetastore_get_table_pargs::~ThriftHiveMetastore_get_table_pargs() thro
uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -5859,6 +5836,7 @@ uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5869,7 +5847,6 @@ ThriftHiveMetastore_get_table_result::~ThriftHiveMetastore_get_table_result() th
uint32_t ThriftHiveMetastore_get_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5955,7 +5932,6 @@ ThriftHiveMetastore_get_table_presult::~ThriftHiveMetastore_get_table_presult()
uint32_t ThriftHiveMetastore_get_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6017,7 +5993,6 @@ ThriftHiveMetastore_get_table_objects_by_name_args::~ThriftHiveMetastore_get_tab
uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6078,7 +6053,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri
uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6099,6 +6074,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6109,7 +6085,7 @@ ThriftHiveMetastore_get_table_objects_by_name_pargs::~ThriftHiveMetastore_get_ta
uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6130,6 +6106,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6140,7 +6117,6 @@ ThriftHiveMetastore_get_table_objects_by_name_result::~ThriftHiveMetastore_get_t
uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6258,7 +6234,6 @@ ThriftHiveMetastore_get_table_objects_by_name_presult::~ThriftHiveMetastore_get_
uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6340,7 +6315,6 @@ ThriftHiveMetastore_get_table_names_by_filter_args::~ThriftHiveMetastore_get_tab
uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6397,7 +6371,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::read(::apache::thri
uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6414,6 +6388,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6424,7 +6399,7 @@ ThriftHiveMetastore_get_table_names_by_filter_pargs::~ThriftHiveMetastore_get_ta
uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6441,6 +6416,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::th
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6451,7 +6427,6 @@ ThriftHiveMetastore_get_table_names_by_filter_result::~ThriftHiveMetastore_get_t
uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6569,7 +6544,6 @@ ThriftHiveMetastore_get_table_names_by_filter_presult::~ThriftHiveMetastore_get_
uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6651,7 +6625,6 @@ ThriftHiveMetastore_alter_table_args::~ThriftHiveMetastore_alter_table_args() th
uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6708,7 +6681,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol::
uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6725,6 +6698,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6735,7 +6709,7 @@ ThriftHiveMetastore_alter_table_pargs::~ThriftHiveMetastore_alter_table_pargs()
uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6752,6 +6726,7 @@ uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6762,7 +6737,6 @@ ThriftHiveMetastore_alter_table_result::~ThriftHiveMetastore_alter_table_result(
uint32_t ThriftHiveMetastore_alter_table_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6836,7 +6810,6 @@ ThriftHiveMetastore_alter_table_presult::~ThriftHiveMetastore_alter_table_presul
uint32_t ThriftHiveMetastore_alter_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6890,7 +6863,6 @@ ThriftHiveMetastore_alter_table_with_environment_context_args::~ThriftHiveMetast
uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6955,7 +6927,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::read(::a
uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6976,6 +6948,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6986,7 +6959,7 @@ ThriftHiveMetastore_alter_table_with_environment_context_pargs::~ThriftHiveMetas
uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -7007,6 +6980,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7017,7 +6991,6 @@ ThriftHiveMetastore_alter_table_with_environment_context_result::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_alter_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7091,7 +7064,6 @@ ThriftHiveMetastore_alter_table_with_environment_context_presult::~ThriftHiveMet
uint32_t ThriftHiveMetastore_alter_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7145,7 +7117,6 @@ ThriftHiveMetastore_alter_table_with_cascade_args::~ThriftHiveMetastore_alter_ta
uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7210,7 +7181,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::read(::apache::thrif
uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -7231,6 +7202,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thri
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7241,7 +7213,7 @@ ThriftHiveMetastore_alter_table_with_cascade_pargs::~ThriftHiveMetastore_alter_t
uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -7262,6 +7234,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7272,7 +7245,6 @@ ThriftHiveMetastore_alter_table_with_cascade_result::~ThriftHiveMetastore_alter_
uint32_t ThriftHiveMetastore_alter_table_with_cascade_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7346,7 +7318,6 @@ ThriftHiveMetastore_alter_table_with_cascade_presult::~ThriftHiveMetastore_alter
uint32_t ThriftHiveMetastore_alter_table_with_cascade_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7400,7 +7371,6 @@ ThriftHiveMetastore_add_partition_args::~ThriftHiveMetastore_add_partition_args(
uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7441,7 +7411,7 @@ uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol
uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_args");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7450,6 +7420,7 @@ uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7460,7 +7431,7 @@ ThriftHiveMetastore_add_partition_pargs::~ThriftHiveMetastore_add_partition_parg
uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_pargs");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7469,6 +7440,7 @@ uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7479,7 +7451,6 @@ ThriftHiveMetastore_add_partition_result::~ThriftHiveMetastore_add_partition_res
uint32_t ThriftHiveMetastore_add_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7577,7 +7548,6 @@ ThriftHiveMetastore_add_partition_presult::~ThriftHiveMetastore_add_partition_pr
uint32_t ThriftHiveMetastore_add_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7647,7 +7617,6 @@ ThriftHiveMetastore_add_partition_with_environment_context_args::~ThriftHiveMeta
uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7696,7 +7665,7 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::read(:
uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_args");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7709,6 +7678,7 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write(
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7719,7 +7689,7 @@ ThriftHiveMetastore_add_partition_with_environment_context_pargs::~ThriftHiveMet
uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7732,6 +7702,7 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7742,7 +7713,6 @@ ThriftHiveMetastore_add_partition_with_environment_context_result::~ThriftHiveMe
uint32_t ThriftHiveMetastore_add_partition_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7840,7 +7810,6 @@ ThriftHiveMetastore_add_partition_with_environment_context_presult::~ThriftHiveM
uint32_t ThriftHiveMetastore_add_partition_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7910,7 +7879,6 @@ ThriftHiveMetastore_add_partitions_args::~ThriftHiveMetastore_add_partitions_arg
uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -7963,7 +7931,7 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco
uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -7980,6 +7948,7 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -7990,7 +7959,7 @@ ThriftHiveMetastore_add_partitions_pargs::~ThriftHiveMetastore_add_partitions_pa
uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -8007,6 +7976,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -8017,7 +7987,6 @@ ThriftHiveMetastore_add_partitions_result::~ThriftHiveMetastore_add_partitions_r
uint32_t ThriftHiveMetastore_add_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8115,7 +8084,6 @@ ThriftHiveMetastore_add_partitions_presult::~ThriftHiveMetastore_add_partitions_
uint32_t ThriftHiveMetastore_add_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8185,7 +8153,6 @@ ThriftHiveMetastore_add_partitions_pspec_args::~ThriftHiveMetastore_add_partitio
uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8238,7 +8205,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p
uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_args");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -8255,6 +8222,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -8265,7 +8233,7 @@ ThriftHiveMetastore_add_partitions_pspec_pargs::~ThriftHiveMetastore_add_partiti
uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_pargs");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -8282,6 +8250,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -8292,7 +8261,6 @@ ThriftHiveMetastore_add_partitions_pspec_result::~ThriftHiveMetastore_add_partit
uint32_t ThriftHiveMetastore_add_partitions_pspec_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8390,7 +8358,6 @@ ThriftHiveMetastore_add_partitions_pspec_presult::~ThriftHiveMetastore_add_parti
uint32_t ThriftHiveMetastore_add_partitions_pspec_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8460,7 +8427,6 @@ ThriftHiveMetastore_append_partition_args::~ThriftHiveMetastore_append_partition
uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8529,7 +8495,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto
uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -8554,6 +8520,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -8564,7 +8531,7 @@ ThriftHiveMetastore_append_partition_pargs::~ThriftHiveMetastore_append_partitio
uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -8589,6 +8556,7 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -8599,7 +8567,6 @@ ThriftHiveMetastore_append_partition_result::~ThriftHiveMetastore_append_partiti
uint32_t ThriftHiveMetastore_append_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -8697,7 +8664,6 @@ ThriftHiveMetastore_append_partition_presult::~ThriftHiveMetastore_append_partit
uint32_t ThriftHiveMetastore_append_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::pr
<TRUNCATED>
[16/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java
index f15d7a9..b64c133 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HeartbeatTxnRangeRequest implements org.apache.thrift.TBase<HeartbeatTxnRangeRequest, HeartbeatTxnRangeRequest._Fields>, java.io.Serializable, Cloneable, Comparable<HeartbeatTxnRangeRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatTxnRangeRequest");
@@ -229,10 +229,10 @@ public class HeartbeatTxnRangeRequest implements org.apache.thrift.TBase<Heartbe
public Object getFieldValue(_Fields field) {
switch (field) {
case MIN:
- return getMin();
+ return Long.valueOf(getMin());
case MAX:
- return getMax();
+ return Long.valueOf(getMax());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
index b00fb9c..2b5955d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase<HeartbeatTxnRangeResponse, HeartbeatTxnRangeResponse._Fields>, java.io.Serializable, Cloneable, Comparable<HeartbeatTxnRangeResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatTxnRangeResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java
index 3b818ab..b4903cc 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HiveObjectPrivilege implements org.apache.thrift.TBase<HiveObjectPrivilege, HiveObjectPrivilege._Fields>, java.io.Serializable, Cloneable, Comparable<HiveObjectPrivilege> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveObjectPrivilege");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java
index d7dd8ec..1d2e27c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HiveObjectRef implements org.apache.thrift.TBase<HiveObjectRef, HiveObjectRef._Fields>, java.io.Serializable, Cloneable, Comparable<HiveObjectRef> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveObjectRef");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java
index f5b1d0e..427930f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
index 44d99c7..54f4ab9 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Index implements org.apache.thrift.TBase<Index, Index._Fields>, java.io.Serializable, Cloneable, Comparable<Index> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Index");
@@ -607,10 +607,10 @@ public class Index implements org.apache.thrift.TBase<Index, Index._Fields>, jav
return getOrigTableName();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case LAST_ACCESS_TIME:
- return getLastAccessTime();
+ return Integer.valueOf(getLastAccessTime());
case INDEX_TABLE_NAME:
return getIndexTableName();
@@ -622,7 +622,7 @@ public class Index implements org.apache.thrift.TBase<Index, Index._Fields>, jav
return getParameters();
case DEFERRED_REBUILD:
- return isDeferredRebuild();
+ return Boolean.valueOf(isDeferredRebuild());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
index 2588524..bbf3340 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class IndexAlreadyExistsException extends TException implements org.apache.thrift.TBase<IndexAlreadyExistsException, IndexAlreadyExistsException._Fields>, java.io.Serializable, Cloneable, Comparable<IndexAlreadyExistsException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IndexAlreadyExistsException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
index 488d3a0..d91cc30 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InsertEventRequestData implements org.apache.thrift.TBase<InsertEventRequestData, InsertEventRequestData._Fields>, java.io.Serializable, Cloneable, Comparable<InsertEventRequestData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InsertEventRequestData");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java
index 7c7e000..5092451 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InvalidInputException extends TException implements org.apache.thrift.TBase<InvalidInputException, InvalidInputException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidInputException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidInputException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
index 957aca0..b7488c1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InvalidObjectException extends TException implements org.apache.thrift.TBase<InvalidObjectException, InvalidObjectException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidObjectException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidObjectException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
index 6217bb8..49b6189 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InvalidOperationException extends TException implements org.apache.thrift.TBase<InvalidOperationException, InvalidOperationException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidOperationException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperationException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java
index ef71511..96534d3 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InvalidPartitionException extends TException implements org.apache.thrift.TBase<InvalidPartitionException, InvalidPartitionException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidPartitionException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidPartitionException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java
index adb0c44..0966575 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class LockComponent implements org.apache.thrift.TBase<LockComponent, LockComponent._Fields>, java.io.Serializable, Cloneable, Comparable<LockComponent> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockComponent");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java
index e58ea46..08840f1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
index eada4ee..8ca149c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockRequest._Fields>, java.io.Serializable, Cloneable, Comparable<LockRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockRequest");
@@ -338,7 +338,7 @@ public class LockRequest implements org.apache.thrift.TBase<LockRequest, LockReq
return getComponent();
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java
index 862c67f..12ba695 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class LockResponse implements org.apache.thrift.TBase<LockResponse, LockResponse._Fields>, java.io.Serializable, Cloneable, Comparable<LockResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockResponse");
@@ -241,7 +241,7 @@ public class LockResponse implements org.apache.thrift.TBase<LockResponse, LockR
public Object getFieldValue(_Fields field) {
switch (field) {
case LOCKID:
- return getLockid();
+ return Long.valueOf(getLockid());
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java
index 48a0bbd..bce2b5a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java
index 8ae4351..9d60531 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java
index 2f41c5a..41033ee 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class LongColumnStatsData implements org.apache.thrift.TBase<LongColumnStatsData, LongColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<LongColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LongColumnStatsData");
@@ -312,16 +312,16 @@ public class LongColumnStatsData implements org.apache.thrift.TBase<LongColumnSt
public Object getFieldValue(_Fields field) {
switch (field) {
case LOW_VALUE:
- return getLowValue();
+ return Long.valueOf(getLowValue());
case HIGH_VALUE:
- return getHighValue();
+ return Long.valueOf(getHighValue());
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
case NUM_DVS:
- return getNumDVs();
+ return Long.valueOf(getNumDVs());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
index 21be66b..a231251 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class MetaException extends TException implements org.apache.thrift.TBase<MetaException, MetaException._Fields>, java.io.Serializable, Cloneable, Comparable<MetaException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MetaException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetadataPpdResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetadataPpdResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetadataPpdResult.java
index 87fad1a..6acffb6 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetadataPpdResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetadataPpdResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class MetadataPpdResult implements org.apache.thrift.TBase<MetadataPpdResult, MetadataPpdResult._Fields>, java.io.Serializable, Cloneable, Comparable<MetadataPpdResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MetadataPpdResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java
index aefbe4a..0179964 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NoSuchLockException extends TException implements org.apache.thrift.TBase<NoSuchLockException, NoSuchLockException._Fields>, java.io.Serializable, Cloneable, Comparable<NoSuchLockException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchLockException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
index efa5326..5605337 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NoSuchObjectException extends TException implements org.apache.thrift.TBase<NoSuchObjectException, NoSuchObjectException._Fields>, java.io.Serializable, Cloneable, Comparable<NoSuchObjectException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchObjectException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java
index 8149d9c..95bf970 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NoSuchTxnException extends TException implements org.apache.thrift.TBase<NoSuchTxnException, NoSuchTxnException._Fields>, java.io.Serializable, Cloneable, Comparable<NoSuchTxnException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchTxnException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java
index c40bb4b..f91c29e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NotificationEvent implements org.apache.thrift.TBase<NotificationEvent, NotificationEvent._Fields>, java.io.Serializable, Cloneable, Comparable<NotificationEvent> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEvent");
@@ -402,10 +402,10 @@ public class NotificationEvent implements org.apache.thrift.TBase<NotificationEv
public Object getFieldValue(_Fields field) {
switch (field) {
case EVENT_ID:
- return getEventId();
+ return Long.valueOf(getEventId());
case EVENT_TIME:
- return getEventTime();
+ return Integer.valueOf(getEventTime());
case EVENT_TYPE:
return getEventType();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java
index bafb9b6..bf3f60d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NotificationEventRequest implements org.apache.thrift.TBase<NotificationEventRequest, NotificationEventRequest._Fields>, java.io.Serializable, Cloneable, Comparable<NotificationEventRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEventRequest");
@@ -227,10 +227,10 @@ public class NotificationEventRequest implements org.apache.thrift.TBase<Notific
public Object getFieldValue(_Fields field) {
switch (field) {
case LAST_EVENT:
- return getLastEvent();
+ return Long.valueOf(getLastEvent());
case MAX_EVENTS:
- return getMaxEvents();
+ return Integer.valueOf(getMaxEvents());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
index fcbbd18..3c6f7cb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class NotificationEventResponse implements org.apache.thrift.TBase<NotificationEventResponse, NotificationEventResponse._Fields>, java.io.Serializable, Cloneable, Comparable<NotificationEventResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEventResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
index 01371ec..eccfa93 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class OpenTxnRequest implements org.apache.thrift.TBase<OpenTxnRequest, OpenTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<OpenTxnRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnRequest");
@@ -273,7 +273,7 @@ public class OpenTxnRequest implements org.apache.thrift.TBase<OpenTxnRequest, O
public Object getFieldValue(_Fields field) {
switch (field) {
case NUM_TXNS:
- return getNum_txns();
+ return Integer.valueOf(getNum_txns());
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
index e11a2b3..a81ead2 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class OpenTxnsResponse implements org.apache.thrift.TBase<OpenTxnsResponse, OpenTxnsResponse._Fields>, java.io.Serializable, Cloneable, Comparable<OpenTxnsResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnsResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
index cc0e2dd..b07b0cb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Order implements org.apache.thrift.TBase<Order, Order._Fields>, java.io.Serializable, Cloneable, Comparable<Order> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Order");
@@ -232,7 +232,7 @@ public class Order implements org.apache.thrift.TBase<Order, Order._Fields>, jav
return getCol();
case ORDER:
- return getOrder();
+ return Integer.valueOf(getOrder());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
index a247221..5cdeaa6 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Partition implements org.apache.thrift.TBase<Partition, Partition._Fields>, java.io.Serializable, Cloneable, Comparable<Partition> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Partition");
@@ -532,10 +532,10 @@ public class Partition implements org.apache.thrift.TBase<Partition, Partition._
return getTableName();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case LAST_ACCESS_TIME:
- return getLastAccessTime();
+ return Integer.valueOf(getLastAccessTime());
case SD:
return getSd();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
index b515401..40bdb56 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
index e8232b9..848b512 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionListComposingSpec implements org.apache.thrift.TBase<PartitionListComposingSpec, PartitionListComposingSpec._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionListComposingSpec> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionListComposingSpec");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
index e8188a9..3237c8c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionSpec implements org.apache.thrift.TBase<PartitionSpec, PartitionSpec._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionSpec> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpec");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
index 2c41912..ba84f83 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase<PartitionSpecWithSharedSD, PartitionSpecWithSharedSD._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionSpecWithSharedSD> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpecWithSharedSD");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
index f0c5ce1..57d8b4a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWithoutSD, PartitionWithoutSD._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionWithoutSD> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionWithoutSD");
@@ -438,10 +438,10 @@ public class PartitionWithoutSD implements org.apache.thrift.TBase<PartitionWith
return getValues();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case LAST_ACCESS_TIME:
- return getLastAccessTime();
+ return Integer.valueOf(getLastAccessTime());
case RELATIVE_PATH:
return getRelativePath();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
index 59972af..a4ffef3 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionsByExprRequest implements org.apache.thrift.TBase<PartitionsByExprRequest, PartitionsByExprRequest._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionsByExprRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsByExprRequest");
@@ -380,7 +380,7 @@ public class PartitionsByExprRequest implements org.apache.thrift.TBase<Partitio
return getDefaultPartitionName();
case MAX_PARTS:
- return getMaxParts();
+ return Short.valueOf(getMaxParts());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
index 12ae66d..7d91fd5 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionsByExprResult implements org.apache.thrift.TBase<PartitionsByExprResult, PartitionsByExprResult._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionsByExprResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsByExprResult");
@@ -252,7 +252,7 @@ public class PartitionsByExprResult implements org.apache.thrift.TBase<Partition
return getPartitions();
case HAS_UNKNOWN_PARTITIONS:
- return isHasUnknownPartitions();
+ return Boolean.valueOf(isHasUnknownPartitions());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
index 8416369..8a57ccf 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionsStatsRequest implements org.apache.thrift.TBase<PartitionsStatsRequest, PartitionsStatsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionsStatsRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsStatsRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
index 2e903f1..4b07b46 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PartitionsStatsResult implements org.apache.thrift.TBase<PartitionsStatsResult, PartitionsStatsResult._Fields>, java.io.Serializable, Cloneable, Comparable<PartitionsStatsResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsStatsResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java
index e1792bd..04d2569 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PrincipalPrivilegeSet implements org.apache.thrift.TBase<PrincipalPrivilegeSet, PrincipalPrivilegeSet._Fields>, java.io.Serializable, Cloneable, Comparable<PrincipalPrivilegeSet> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrincipalPrivilegeSet");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java
index 82eb8fd..65e937e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java
index bba2d40..136f107 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PrivilegeBag implements org.apache.thrift.TBase<PrivilegeBag, PrivilegeBag._Fields>, java.io.Serializable, Cloneable, Comparable<PrivilegeBag> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrivilegeBag");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java
index ba08d3a..0b33119 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PrivilegeGrantInfo implements org.apache.thrift.TBase<PrivilegeGrantInfo, PrivilegeGrantInfo._Fields>, java.io.Serializable, Cloneable, Comparable<PrivilegeGrantInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrivilegeGrantInfo");
@@ -376,7 +376,7 @@ public class PrivilegeGrantInfo implements org.apache.thrift.TBase<PrivilegeGran
return getPrivilege();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case GRANTOR:
return getGrantor();
@@ -385,7 +385,7 @@ public class PrivilegeGrantInfo implements org.apache.thrift.TBase<PrivilegeGran
return getGrantorType();
case GRANT_OPTION:
- return isGrantOption();
+ return Boolean.valueOf(isGrantOption());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
index 1b7bbf0..f3fd608 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMetadataRequest, PutFileMetadataRequest._Fields>, java.io.Serializable, Cloneable, Comparable<PutFileMetadataRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PutFileMetadataRequest");
@@ -480,7 +480,7 @@ public class PutFileMetadataRequest implements org.apache.thrift.TBase<PutFileMe
if (this.metadata == null) {
sb.append("null");
} else {
- org.apache.thrift.TBaseHelper.toString(this.metadata, sb);
+ sb.append(this.metadata);
}
first = false;
if (isSetType()) {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataResult.java
index d807671..d657957 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class PutFileMetadataResult implements org.apache.thrift.TBase<PutFileMetadataResult, PutFileMetadataResult._Fields>, java.io.Serializable, Cloneable, Comparable<PutFileMetadataResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PutFileMetadataResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
index 7f8a044..9207934 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java
index a15c1ee..861a6db 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java
index 994a498..edf69bd 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ResourceUri implements org.apache.thrift.TBase<ResourceUri, ResourceUri._Fields>, java.io.Serializable, Cloneable, Comparable<ResourceUri> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ResourceUri");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java
index 612c64d..7a659a8 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Role implements org.apache.thrift.TBase<Role, Role._Fields>, java.io.Serializable, Cloneable, Comparable<Role> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Role");
@@ -276,7 +276,7 @@ public class Role implements org.apache.thrift.TBase<Role, Role._Fields>, java.i
return getRoleName();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case OWNER_NAME:
return getOwnerName();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java
index 81e8d16..4ecde4c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class RolePrincipalGrant implements org.apache.thrift.TBase<RolePrincipalGrant, RolePrincipalGrant._Fields>, java.io.Serializable, Cloneable, Comparable<RolePrincipalGrant> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RolePrincipalGrant");
@@ -482,10 +482,10 @@ public class RolePrincipalGrant implements org.apache.thrift.TBase<RolePrincipal
return getPrincipalType();
case GRANT_OPTION:
- return isGrantOption();
+ return Boolean.valueOf(isGrantOption());
case GRANT_TIME:
- return getGrantTime();
+ return Integer.valueOf(getGrantTime());
case GRANTOR_NAME:
return getGrantorName();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
index 75d0ebb..b9bc115 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Schema implements org.apache.thrift.TBase<Schema, Schema._Fields>, java.io.Serializable, Cloneable, Comparable<Schema> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Schema");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
index d5a8d99..61a369a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class SerDeInfo implements org.apache.thrift.TBase<SerDeInfo, SerDeInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SerDeInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SerDeInfo");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
index 6e334f6..1f0259f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class SetPartitionsStatsRequest implements org.apache.thrift.TBase<SetPartitionsStatsRequest, SetPartitionsStatsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<SetPartitionsStatsRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetPartitionsStatsRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java
index ad1c57c..1fda8c8 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowCompactRequest implements org.apache.thrift.TBase<ShowCompactRequest, ShowCompactRequest._Fields>, java.io.Serializable, Cloneable, Comparable<ShowCompactRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
index afa832c..5471de4 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowCompactResponse implements org.apache.thrift.TBase<ShowCompactResponse, ShowCompactResponse._Fields>, java.io.Serializable, Cloneable, Comparable<ShowCompactResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java
index dd7dd8e..d88276c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowCompactResponseElement implements org.apache.thrift.TBase<ShowCompactResponseElement, ShowCompactResponseElement._Fields>, java.io.Serializable, Cloneable, Comparable<ShowCompactResponseElement> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactResponseElement");
@@ -515,7 +515,7 @@ public class ShowCompactResponseElement implements org.apache.thrift.TBase<ShowC
return getWorkerid();
case START:
- return getStart();
+ return Long.valueOf(getStart());
case RUN_AS:
return getRunAs();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java
index e89b93b..6c85bc2 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowLocksRequest implements org.apache.thrift.TBase<ShowLocksRequest, ShowLocksRequest._Fields>, java.io.Serializable, Cloneable, Comparable<ShowLocksRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksRequest");
[09/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/serde_types.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.cpp b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
index c05f86d..a37ff7c 100644
--- a/serde/src/gen/thrift/gen-cpp/serde_types.cpp
+++ b/serde/src/gen/thrift/gen-cpp/serde_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/serde_types.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.h b/serde/src/gen/thrift/gen-cpp/serde_types.h
index bdaab33..eb7659a 100644
--- a/serde/src/gen/thrift/gen-cpp/serde_types.h
+++ b/serde/src/gen/thrift/gen-cpp/serde_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
index 9538dae..0fa57e7 100644
--- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
+++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
index 45fdc28..cba3296 100644
--- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
+++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
index c76e2fd..0cd19b9 100644
--- a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
+++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -22,9 +22,11 @@ void InnerStruct::__set_field0(const int32_t val) {
this->field0 = val;
}
+const char* InnerStruct::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
+const uint8_t InnerStruct::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -65,7 +67,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("InnerStruct");
xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1);
@@ -74,6 +76,7 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -92,11 +95,12 @@ InnerStruct& InnerStruct::operator=(const InnerStruct& other1) {
__isset = other1.__isset;
return *this;
}
-void InnerStruct::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) {
+ using apache::thrift::to_string;
out << "InnerStruct(";
- out << "field0=" << to_string(field0);
+ out << "field0=" << to_string(obj.field0);
out << ")";
+ return out;
}
@@ -116,9 +120,11 @@ void ThriftTestObj::__set_field3(const std::vector<InnerStruct> & val) {
this->field3 = val;
}
+const char* ThriftTestObj::ascii_fingerprint = "2BA5D8DAACFBBE6599779830A6185706";
+const uint8_t ThriftTestObj::binary_fingerprint[16] = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
+
uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -187,7 +193,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftTestObj");
xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1);
@@ -212,6 +218,7 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -236,13 +243,14 @@ ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) {
__isset = other9.__isset;
return *this;
}
-void ThriftTestObj::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) {
+ using apache::thrift::to_string;
out << "ThriftTestObj(";
- out << "field1=" << to_string(field1);
- out << ", " << "field2=" << to_string(field2);
- out << ", " << "field3=" << to_string(field3);
+ out << "field1=" << to_string(obj.field1);
+ out << ", " << "field2=" << to_string(obj.field2);
+ out << ", " << "field3=" << to_string(obj.field3);
out << ")";
+ return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/testthrift_types.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.h b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
index a59346a..8c57e48 100644
--- a/serde/src/gen/thrift/gen-cpp/testthrift_types.h
+++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -31,6 +31,9 @@ typedef struct _InnerStruct__isset {
class InnerStruct {
public:
+ static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
+ static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
InnerStruct(const InnerStruct&);
InnerStruct& operator=(const InnerStruct&);
InnerStruct() : field0(0) {
@@ -58,17 +61,11 @@ class InnerStruct {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const InnerStruct& obj);
};
void swap(InnerStruct &a, InnerStruct &b);
-inline std::ostream& operator<<(std::ostream& out, const InnerStruct& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ThriftTestObj__isset {
_ThriftTestObj__isset() : field1(false), field2(false), field3(false) {}
bool field1 :1;
@@ -79,6 +76,9 @@ typedef struct _ThriftTestObj__isset {
class ThriftTestObj {
public:
+ static const char* ascii_fingerprint; // = "2BA5D8DAACFBBE6599779830A6185706";
+ static const uint8_t binary_fingerprint[16]; // = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06};
+
ThriftTestObj(const ThriftTestObj&);
ThriftTestObj& operator=(const ThriftTestObj&);
ThriftTestObj() : field1(0), field2() {
@@ -116,17 +116,11 @@ class ThriftTestObj {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj);
};
void swap(ThriftTestObj &a, ThriftTestObj &b);
-inline std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj)
-{
- obj.printTo(out);
- return out;
-}
-
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
index 8b3eeb7..7902849 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
index 01a84fe..b29780d 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class InnerStruct implements org.apache.thrift.TBase<InnerStruct, InnerStruct._Fields>, java.io.Serializable, Cloneable, Comparable<InnerStruct> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerStruct");
@@ -185,7 +185,7 @@ public class InnerStruct implements org.apache.thrift.TBase<InnerStruct, InnerSt
public Object getFieldValue(_Fields field) {
switch (field) {
case FIELD0:
- return getField0();
+ return Integer.valueOf(getField0());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
index d2f78f5..7fdd99a 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ThriftTestObj implements org.apache.thrift.TBase<ThriftTestObj, ThriftTestObj._Fields>, java.io.Serializable, Cloneable, Comparable<ThriftTestObj> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftTestObj");
@@ -293,7 +293,7 @@ public class ThriftTestObj implements org.apache.thrift.TBase<ThriftTestObj, Thr
public Object getFieldValue(_Fields field) {
switch (field) {
case FIELD1:
- return getField1();
+ return Integer.valueOf(getField1());
case FIELD2:
return getField2();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
index 6f0c721..c4a7e4f 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Complex implements org.apache.thrift.TBase<Complex, Complex._Fields>, java.io.Serializable, Cloneable, Comparable<Complex> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Complex");
@@ -700,7 +700,7 @@ public class Complex implements org.apache.thrift.TBase<Complex, Complex._Fields
public Object getFieldValue(_Fields field) {
switch (field) {
case AINT:
- return getAint();
+ return Integer.valueOf(getAint());
case A_STRING:
return getAString();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
index ea7747f..84b5728 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class IntString implements org.apache.thrift.TBase<IntString, IntString._Fields>, java.io.Serializable, Cloneable, Comparable<IntString> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IntString");
@@ -273,13 +273,13 @@ public class IntString implements org.apache.thrift.TBase<IntString, IntString._
public Object getFieldValue(_Fields field) {
switch (field) {
case MYINT:
- return getMyint();
+ return Integer.valueOf(getMyint());
case MY_STRING:
return getMyString();
case UNDERSCORE_INT:
- return getUnderscore_int();
+ return Integer.valueOf(getUnderscore_int());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
index b8f8dfd..b5bf63c 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class MegaStruct implements org.apache.thrift.TBase<MegaStruct, MegaStruct._Fields>, java.io.Serializable, Cloneable, Comparable<MegaStruct> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MegaStruct");
@@ -1238,22 +1238,22 @@ public class MegaStruct implements org.apache.thrift.TBase<MegaStruct, MegaStruc
public Object getFieldValue(_Fields field) {
switch (field) {
case MY_BOOL:
- return isMy_bool();
+ return Boolean.valueOf(isMy_bool());
case MY_BYTE:
- return getMy_byte();
+ return Byte.valueOf(getMy_byte());
case MY_16BIT_INT:
- return getMy_16bit_int();
+ return Short.valueOf(getMy_16bit_int());
case MY_32BIT_INT:
- return getMy_32bit_int();
+ return Integer.valueOf(getMy_32bit_int());
case MY_64BIT_INT:
- return getMy_64bit_int();
+ return Long.valueOf(getMy_64bit_int());
case MY_DOUBLE:
- return getMy_double();
+ return Double.valueOf(getMy_double());
case MY_STRING:
return getMy_string();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
index 10f10d2..42dd95c 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class MiniStruct implements org.apache.thrift.TBase<MiniStruct, MiniStruct._Fields>, java.io.Serializable, Cloneable, Comparable<MiniStruct> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MiniStruct");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
index e5baf36..03f88c5 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
index 92d5a0a..2a70482 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
index a331638..a349f65 100644
--- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
+++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class SetIntString implements org.apache.thrift.TBase<SetIntString, SetIntString._Fields>, java.io.Serializable, Cloneable, Comparable<SetIntString> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetIntString");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-php/Types.php
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-php/Types.php b/serde/src/gen/thrift/gen-php/Types.php
index 27c5b25..8bb2fe3 100644
--- a/serde/src/gen/thrift/gen-php/Types.php
+++ b/serde/src/gen/thrift/gen-php/Types.php
@@ -1,6 +1,8 @@
<?php
+namespace ;
+
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
index 8370698..94dc455 100644
--- a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
+++ b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php
@@ -2,7 +2,7 @@
namespace org\apache\hadoop\hive\serde;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/complex/constants.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/complex/constants.py b/serde/src/gen/thrift/gen-py/complex/constants.py
index 4a6492b..99717a9 100644
--- a/serde/src/gen/thrift/gen-py/complex/constants.py
+++ b/serde/src/gen/thrift/gen-py/complex/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/complex/ttypes.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/complex/ttypes.py b/serde/src/gen/thrift/gen-py/complex/ttypes.py
index d39de75..7f757da 100644
--- a/serde/src/gen/thrift/gen-py/complex/ttypes.py
+++ b/serde/src/gen/thrift/gen-py/complex/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -60,27 +60,27 @@ class PropValueUnion:
break
if fid == 1:
if ftype == TType.I32:
- self.intValue = iprot.readI32()
+ self.intValue = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.longValue = iprot.readI64()
+ self.longValue = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.stringValue = iprot.readString()
+ self.stringValue = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.DOUBLE:
- self.doubleValue = iprot.readDouble()
+ self.doubleValue = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.flag = iprot.readBool()
+ self.flag = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 6:
@@ -88,7 +88,7 @@ class PropValueUnion:
self.lString = []
(_etype3, _size0) = iprot.readListBegin()
for _i4 in xrange(_size0):
- _elem5 = iprot.readString()
+ _elem5 = iprot.readString();
self.lString.append(_elem5)
iprot.readListEnd()
else:
@@ -98,8 +98,8 @@ class PropValueUnion:
self.unionMStringString = {}
(_ktype7, _vtype8, _size6 ) = iprot.readMapBegin()
for _i10 in xrange(_size6):
- _key11 = iprot.readString()
- _val12 = iprot.readString()
+ _key11 = iprot.readString();
+ _val12 = iprot.readString();
self.unionMStringString[_key11] = _val12
iprot.readMapEnd()
else:
@@ -209,17 +209,17 @@ class IntString:
break
if fid == 1:
if ftype == TType.I32:
- self.myint = iprot.readI32()
+ self.myint = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.myString = iprot.readString()
+ self.myString = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.underscore_int = iprot.readI32()
+ self.underscore_int = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -321,12 +321,12 @@ class Complex:
break
if fid == 1:
if ftype == TType.I32:
- self.aint = iprot.readI32()
+ self.aint = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.aString = iprot.readString()
+ self.aString = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -334,7 +334,7 @@ class Complex:
self.lint = []
(_etype19, _size16) = iprot.readListBegin()
for _i20 in xrange(_size16):
- _elem21 = iprot.readI32()
+ _elem21 = iprot.readI32();
self.lint.append(_elem21)
iprot.readListEnd()
else:
@@ -344,7 +344,7 @@ class Complex:
self.lString = []
(_etype25, _size22) = iprot.readListBegin()
for _i26 in xrange(_size22):
- _elem27 = iprot.readString()
+ _elem27 = iprot.readString();
self.lString.append(_elem27)
iprot.readListEnd()
else:
@@ -365,8 +365,8 @@ class Complex:
self.mStringString = {}
(_ktype35, _vtype36, _size34 ) = iprot.readMapBegin()
for _i38 in xrange(_size34):
- _key39 = iprot.readString()
- _val40 = iprot.readString()
+ _key39 = iprot.readString();
+ _val40 = iprot.readString();
self.mStringString[_key39] = _val40
iprot.readMapEnd()
else:
@@ -376,15 +376,15 @@ class Complex:
self.attributes = {}
(_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
for _i45 in xrange(_size41):
- _key46 = iprot.readString()
+ _key46 = iprot.readString();
_val47 = {}
(_ktype49, _vtype50, _size48 ) = iprot.readMapBegin()
for _i52 in xrange(_size48):
- _key53 = iprot.readString()
+ _key53 = iprot.readString();
_val54 = {}
(_ktype56, _vtype57, _size55 ) = iprot.readMapBegin()
for _i59 in xrange(_size55):
- _key60 = iprot.readString()
+ _key60 = iprot.readString();
_val61 = PropValueUnion()
_val61.read(iprot)
_val54[_key60] = _val61
@@ -559,7 +559,7 @@ class SetIntString:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.aString = iprot.readString()
+ self.aString = iprot.readString();
else:
iprot.skip(ftype)
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/megastruct/constants.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/megastruct/constants.py b/serde/src/gen/thrift/gen-py/megastruct/constants.py
index 4a6492b..99717a9 100644
--- a/serde/src/gen/thrift/gen-py/megastruct/constants.py
+++ b/serde/src/gen/thrift/gen-py/megastruct/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
index 93c9250..c4c5a7f 100644
--- a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
+++ b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -59,12 +59,12 @@ class MiniStruct:
break
if fid == 1:
if ftype == TType.STRING:
- self.my_string = iprot.readString()
+ self.my_string = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.my_enum = iprot.readI32()
+ self.my_enum = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -191,42 +191,42 @@ class MegaStruct:
break
if fid == 1:
if ftype == TType.BOOL:
- self.my_bool = iprot.readBool()
+ self.my_bool = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BYTE:
- self.my_byte = iprot.readByte()
+ self.my_byte = iprot.readByte();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I16:
- self.my_16bit_int = iprot.readI16()
+ self.my_16bit_int = iprot.readI16();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.my_32bit_int = iprot.readI32()
+ self.my_32bit_int = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I64:
- self.my_64bit_int = iprot.readI64()
+ self.my_64bit_int = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.DOUBLE:
- self.my_double = iprot.readDouble()
+ self.my_double = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.STRING:
- self.my_string = iprot.readString()
+ self.my_string = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.STRING:
- self.my_binary = iprot.readString()
+ self.my_binary = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 9:
@@ -234,8 +234,8 @@ class MegaStruct:
self.my_string_string_map = {}
(_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
for _i4 in xrange(_size0):
- _key5 = iprot.readString()
- _val6 = iprot.readString()
+ _key5 = iprot.readString();
+ _val6 = iprot.readString();
self.my_string_string_map[_key5] = _val6
iprot.readMapEnd()
else:
@@ -245,8 +245,8 @@ class MegaStruct:
self.my_string_enum_map = {}
(_ktype8, _vtype9, _size7 ) = iprot.readMapBegin()
for _i11 in xrange(_size7):
- _key12 = iprot.readString()
- _val13 = iprot.readI32()
+ _key12 = iprot.readString();
+ _val13 = iprot.readI32();
self.my_string_enum_map[_key12] = _val13
iprot.readMapEnd()
else:
@@ -256,8 +256,8 @@ class MegaStruct:
self.my_enum_string_map = {}
(_ktype15, _vtype16, _size14 ) = iprot.readMapBegin()
for _i18 in xrange(_size14):
- _key19 = iprot.readI32()
- _val20 = iprot.readString()
+ _key19 = iprot.readI32();
+ _val20 = iprot.readString();
self.my_enum_string_map[_key19] = _val20
iprot.readMapEnd()
else:
@@ -267,7 +267,7 @@ class MegaStruct:
self.my_enum_struct_map = {}
(_ktype22, _vtype23, _size21 ) = iprot.readMapBegin()
for _i25 in xrange(_size21):
- _key26 = iprot.readI32()
+ _key26 = iprot.readI32();
_val27 = MiniStruct()
_val27.read(iprot)
self.my_enum_struct_map[_key26] = _val27
@@ -279,11 +279,11 @@ class MegaStruct:
self.my_enum_stringlist_map = {}
(_ktype29, _vtype30, _size28 ) = iprot.readMapBegin()
for _i32 in xrange(_size28):
- _key33 = iprot.readI32()
+ _key33 = iprot.readI32();
_val34 = []
(_etype38, _size35) = iprot.readListBegin()
for _i39 in xrange(_size35):
- _elem40 = iprot.readString()
+ _elem40 = iprot.readString();
_val34.append(_elem40)
iprot.readListEnd()
self.my_enum_stringlist_map[_key33] = _val34
@@ -295,7 +295,7 @@ class MegaStruct:
self.my_enum_structlist_map = {}
(_ktype42, _vtype43, _size41 ) = iprot.readMapBegin()
for _i45 in xrange(_size41):
- _key46 = iprot.readI32()
+ _key46 = iprot.readI32();
_val47 = []
(_etype51, _size48) = iprot.readListBegin()
for _i52 in xrange(_size48):
@@ -312,7 +312,7 @@ class MegaStruct:
self.my_stringlist = []
(_etype57, _size54) = iprot.readListBegin()
for _i58 in xrange(_size54):
- _elem59 = iprot.readString()
+ _elem59 = iprot.readString();
self.my_stringlist.append(_elem59)
iprot.readListEnd()
else:
@@ -333,7 +333,7 @@ class MegaStruct:
self.my_enumlist = []
(_etype69, _size66) = iprot.readListBegin()
for _i70 in xrange(_size66):
- _elem71 = iprot.readI32()
+ _elem71 = iprot.readI32();
self.my_enumlist.append(_elem71)
iprot.readListEnd()
else:
@@ -343,7 +343,7 @@ class MegaStruct:
self.my_stringset = set()
(_etype75, _size72) = iprot.readSetBegin()
for _i76 in xrange(_size72):
- _elem77 = iprot.readString()
+ _elem77 = iprot.readString();
self.my_stringset.add(_elem77)
iprot.readSetEnd()
else:
@@ -353,7 +353,7 @@ class MegaStruct:
self.my_enumset = set()
(_etype81, _size78) = iprot.readSetBegin()
for _i82 in xrange(_size78):
- _elem83 = iprot.readI32()
+ _elem83 = iprot.readI32();
self.my_enumset.add(_elem83)
iprot.readSetEnd()
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
index 6ef3bcf..1673073 100644
--- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
+++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
index 8621257..daa619e 100644
--- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
+++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/testthrift/constants.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/testthrift/constants.py b/serde/src/gen/thrift/gen-py/testthrift/constants.py
index 4a6492b..99717a9 100644
--- a/serde/src/gen/thrift/gen-py/testthrift/constants.py
+++ b/serde/src/gen/thrift/gen-py/testthrift/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
index 133a602..1b64a7d 100644
--- a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
+++ b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -42,7 +42,7 @@ class InnerStruct:
break
if fid == 1:
if ftype == TType.I32:
- self.field0 = iprot.readI32()
+ self.field0 = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -113,12 +113,12 @@ class ThriftTestObj:
break
if fid == 1:
if ftype == TType.I32:
- self.field1 = iprot.readI32()
+ self.field1 = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.field2 = iprot.readString()
+ self.field2 = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/complex_constants.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/complex_constants.rb b/serde/src/gen/thrift/gen-rb/complex_constants.rb
index 8b75421..3df0b7a 100644
--- a/serde/src/gen/thrift/gen-rb/complex_constants.rb
+++ b/serde/src/gen/thrift/gen-rb/complex_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/complex_types.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/complex_types.rb b/serde/src/gen/thrift/gen-rb/complex_types.rb
index 8a03efd..13d981f 100644
--- a/serde/src/gen/thrift/gen-rb/complex_types.rb
+++ b/serde/src/gen/thrift/gen-rb/complex_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
index ab01193..6eb3f07 100644
--- a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
+++ b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/megastruct_types.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/megastruct_types.rb b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
index fb8ccdf..7d425af 100644
--- a/serde/src/gen/thrift/gen-rb/megastruct_types.rb
+++ b/serde/src/gen/thrift/gen-rb/megastruct_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/serde_constants.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/serde_constants.rb b/serde/src/gen/thrift/gen-rb/serde_constants.rb
index f98441b..56d9e76 100644
--- a/serde/src/gen/thrift/gen-rb/serde_constants.rb
+++ b/serde/src/gen/thrift/gen-rb/serde_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/serde_types.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/serde_types.rb b/serde/src/gen/thrift/gen-rb/serde_types.rb
index 3bf85ab..b3143d1 100644
--- a/serde/src/gen/thrift/gen-rb/serde_types.rb
+++ b/serde/src/gen/thrift/gen-rb/serde_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
index a793bf2..1f9473e 100644
--- a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
+++ b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-rb/testthrift_types.rb
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-rb/testthrift_types.rb b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
index f265d42..80d5572 100644
--- a/serde/src/gen/thrift/gen-rb/testthrift_types.rb
+++ b/serde/src/gen/thrift/gen-rb/testthrift_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
[18/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
index 97d3362..ffe096e 100644
--- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
+++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -396,6 +396,9 @@ typedef struct _Version__isset {
class Version {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
Version(const Version&);
Version& operator=(const Version&);
Version() : version(), comments() {
@@ -428,17 +431,11 @@ class Version {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Version& obj);
};
void swap(Version &a, Version &b);
-inline std::ostream& operator<<(std::ostream& out, const Version& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _FieldSchema__isset {
_FieldSchema__isset() : name(false), type(false), comment(false) {}
bool name :1;
@@ -449,6 +446,9 @@ typedef struct _FieldSchema__isset {
class FieldSchema {
public:
+ static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271";
+ static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
+
FieldSchema(const FieldSchema&);
FieldSchema& operator=(const FieldSchema&);
FieldSchema() : name(), type(), comment() {
@@ -486,17 +486,11 @@ class FieldSchema {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const FieldSchema& obj);
};
void swap(FieldSchema &a, FieldSchema &b);
-inline std::ostream& operator<<(std::ostream& out, const FieldSchema& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Type__isset {
_Type__isset() : name(false), type1(false), type2(false), fields(false) {}
bool name :1;
@@ -508,6 +502,9 @@ typedef struct _Type__isset {
class Type {
public:
+ static const char* ascii_fingerprint; // = "20DF02DE523C27F7066C7BD4D9120842";
+ static const uint8_t binary_fingerprint[16]; // = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42};
+
Type(const Type&);
Type& operator=(const Type&);
Type() : name(), type1(), type2() {
@@ -556,17 +553,11 @@ class Type {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Type& obj);
};
void swap(Type &a, Type &b);
-inline std::ostream& operator<<(std::ostream& out, const Type& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _HiveObjectRef__isset {
_HiveObjectRef__isset() : objectType(false), dbName(false), objectName(false), partValues(false), columnName(false) {}
bool objectType :1;
@@ -579,6 +570,9 @@ typedef struct _HiveObjectRef__isset {
class HiveObjectRef {
public:
+ static const char* ascii_fingerprint; // = "205CD8311CF3AA9EC161BAEF8D7C933C";
+ static const uint8_t binary_fingerprint[16]; // = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C};
+
HiveObjectRef(const HiveObjectRef&);
HiveObjectRef& operator=(const HiveObjectRef&);
HiveObjectRef() : objectType((HiveObjectType::type)0), dbName(), objectName(), columnName() {
@@ -626,17 +620,11 @@ class HiveObjectRef {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj);
};
void swap(HiveObjectRef &a, HiveObjectRef &b);
-inline std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PrivilegeGrantInfo__isset {
_PrivilegeGrantInfo__isset() : privilege(false), createTime(false), grantor(false), grantorType(false), grantOption(false) {}
bool privilege :1;
@@ -649,6 +637,9 @@ typedef struct _PrivilegeGrantInfo__isset {
class PrivilegeGrantInfo {
public:
+ static const char* ascii_fingerprint; // = "A58923AF7294BE492D6F90E07E8CEE1F";
+ static const uint8_t binary_fingerprint[16]; // = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F};
+
PrivilegeGrantInfo(const PrivilegeGrantInfo&);
PrivilegeGrantInfo& operator=(const PrivilegeGrantInfo&);
PrivilegeGrantInfo() : privilege(), createTime(0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) {
@@ -696,17 +687,11 @@ class PrivilegeGrantInfo {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj);
};
void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b);
-inline std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _HiveObjectPrivilege__isset {
_HiveObjectPrivilege__isset() : hiveObject(false), principalName(false), principalType(false), grantInfo(false) {}
bool hiveObject :1;
@@ -718,6 +703,9 @@ typedef struct _HiveObjectPrivilege__isset {
class HiveObjectPrivilege {
public:
+ static const char* ascii_fingerprint; // = "83D71969B23BD853E29DBA9D43B29AF8";
+ static const uint8_t binary_fingerprint[16]; // = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8};
+
HiveObjectPrivilege(const HiveObjectPrivilege&);
HiveObjectPrivilege& operator=(const HiveObjectPrivilege&);
HiveObjectPrivilege() : principalName(), principalType((PrincipalType::type)0) {
@@ -760,17 +748,11 @@ class HiveObjectPrivilege {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj);
};
void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b);
-inline std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PrivilegeBag__isset {
_PrivilegeBag__isset() : privileges(false) {}
bool privileges :1;
@@ -779,6 +761,9 @@ typedef struct _PrivilegeBag__isset {
class PrivilegeBag {
public:
+ static const char* ascii_fingerprint; // = "BB89E4701B7B709B046A74C90B1147F2";
+ static const uint8_t binary_fingerprint[16]; // = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2};
+
PrivilegeBag(const PrivilegeBag&);
PrivilegeBag& operator=(const PrivilegeBag&);
PrivilegeBag() {
@@ -806,17 +791,11 @@ class PrivilegeBag {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj);
};
void swap(PrivilegeBag &a, PrivilegeBag &b);
-inline std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PrincipalPrivilegeSet__isset {
_PrincipalPrivilegeSet__isset() : userPrivileges(false), groupPrivileges(false), rolePrivileges(false) {}
bool userPrivileges :1;
@@ -827,6 +806,9 @@ typedef struct _PrincipalPrivilegeSet__isset {
class PrincipalPrivilegeSet {
public:
+ static const char* ascii_fingerprint; // = "08F75D2533906EA87BE34EA640856683";
+ static const uint8_t binary_fingerprint[16]; // = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83};
+
PrincipalPrivilegeSet(const PrincipalPrivilegeSet&);
PrincipalPrivilegeSet& operator=(const PrincipalPrivilegeSet&);
PrincipalPrivilegeSet() {
@@ -864,17 +846,11 @@ class PrincipalPrivilegeSet {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj);
};
void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b);
-inline std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _GrantRevokePrivilegeRequest__isset {
_GrantRevokePrivilegeRequest__isset() : requestType(false), privileges(false), revokeGrantOption(false) {}
bool requestType :1;
@@ -885,6 +861,9 @@ typedef struct _GrantRevokePrivilegeRequest__isset {
class GrantRevokePrivilegeRequest {
public:
+ static const char* ascii_fingerprint; // = "DF474A3CB526AD40DC0F2C3702F7AA2C";
+ static const uint8_t binary_fingerprint[16]; // = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C};
+
GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest&);
GrantRevokePrivilegeRequest& operator=(const GrantRevokePrivilegeRequest&);
GrantRevokePrivilegeRequest() : requestType((GrantRevokeType::type)0), revokeGrantOption(0) {
@@ -924,17 +903,11 @@ class GrantRevokePrivilegeRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj);
};
void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _GrantRevokePrivilegeResponse__isset {
_GrantRevokePrivilegeResponse__isset() : success(false) {}
bool success :1;
@@ -943,6 +916,9 @@ typedef struct _GrantRevokePrivilegeResponse__isset {
class GrantRevokePrivilegeResponse {
public:
+ static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD";
+ static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse&);
GrantRevokePrivilegeResponse& operator=(const GrantRevokePrivilegeResponse&);
GrantRevokePrivilegeResponse() : success(0) {
@@ -972,17 +948,11 @@ class GrantRevokePrivilegeResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj);
};
void swap(GrantRevokePrivilegeResponse &a, GrantRevokePrivilegeResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Role__isset {
_Role__isset() : roleName(false), createTime(false), ownerName(false) {}
bool roleName :1;
@@ -993,6 +963,9 @@ typedef struct _Role__isset {
class Role {
public:
+ static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26";
+ static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
+
Role(const Role&);
Role& operator=(const Role&);
Role() : roleName(), createTime(0), ownerName() {
@@ -1030,17 +1003,11 @@ class Role {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Role& obj);
};
void swap(Role &a, Role &b);
-inline std::ostream& operator<<(std::ostream& out, const Role& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _RolePrincipalGrant__isset {
_RolePrincipalGrant__isset() : roleName(false), principalName(false), principalType(false), grantOption(false), grantTime(false), grantorName(false), grantorPrincipalType(false) {}
bool roleName :1;
@@ -1055,6 +1022,9 @@ typedef struct _RolePrincipalGrant__isset {
class RolePrincipalGrant {
public:
+ static const char* ascii_fingerprint; // = "899BA3F6214DD1B79D27206BA857C772";
+ static const uint8_t binary_fingerprint[16]; // = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72};
+
RolePrincipalGrant(const RolePrincipalGrant&);
RolePrincipalGrant& operator=(const RolePrincipalGrant&);
RolePrincipalGrant() : roleName(), principalName(), principalType((PrincipalType::type)0), grantOption(0), grantTime(0), grantorName(), grantorPrincipalType((PrincipalType::type)0) {
@@ -1112,21 +1082,18 @@ class RolePrincipalGrant {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj);
};
void swap(RolePrincipalGrant &a, RolePrincipalGrant &b);
-inline std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetRoleGrantsForPrincipalRequest {
public:
+ static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192";
+ static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92};
+
GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest&);
GetRoleGrantsForPrincipalRequest& operator=(const GetRoleGrantsForPrincipalRequest&);
GetRoleGrantsForPrincipalRequest() : principal_name(), principal_type((PrincipalType::type)0) {
@@ -1157,21 +1124,18 @@ class GetRoleGrantsForPrincipalRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj);
};
void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetRoleGrantsForPrincipalResponse {
public:
+ static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690";
+ static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90};
+
GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse&);
GetRoleGrantsForPrincipalResponse& operator=(const GetRoleGrantsForPrincipalResponse&);
GetRoleGrantsForPrincipalResponse() {
@@ -1197,21 +1161,18 @@ class GetRoleGrantsForPrincipalResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj);
};
void swap(GetRoleGrantsForPrincipalResponse &a, GetRoleGrantsForPrincipalResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetPrincipalsInRoleRequest {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest&);
GetPrincipalsInRoleRequest& operator=(const GetPrincipalsInRoleRequest&);
GetPrincipalsInRoleRequest() : roleName() {
@@ -1237,21 +1198,18 @@ class GetPrincipalsInRoleRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj);
};
void swap(GetPrincipalsInRoleRequest &a, GetPrincipalsInRoleRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetPrincipalsInRoleResponse {
public:
+ static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690";
+ static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90};
+
GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse&);
GetPrincipalsInRoleResponse& operator=(const GetPrincipalsInRoleResponse&);
GetPrincipalsInRoleResponse() {
@@ -1277,17 +1235,11 @@ class GetPrincipalsInRoleResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj);
};
void swap(GetPrincipalsInRoleResponse &a, GetPrincipalsInRoleResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _GrantRevokeRoleRequest__isset {
_GrantRevokeRoleRequest__isset() : requestType(false), roleName(false), principalName(false), principalType(false), grantor(false), grantorType(false), grantOption(false) {}
bool requestType :1;
@@ -1302,6 +1254,9 @@ typedef struct _GrantRevokeRoleRequest__isset {
class GrantRevokeRoleRequest {
public:
+ static const char* ascii_fingerprint; // = "907DEA796F2BA7AF76DC2566E75FAEE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7};
+
GrantRevokeRoleRequest(const GrantRevokeRoleRequest&);
GrantRevokeRoleRequest& operator=(const GrantRevokeRoleRequest&);
GrantRevokeRoleRequest() : requestType((GrantRevokeType::type)0), roleName(), principalName(), principalType((PrincipalType::type)0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) {
@@ -1365,17 +1320,11 @@ class GrantRevokeRoleRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj);
};
void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _GrantRevokeRoleResponse__isset {
_GrantRevokeRoleResponse__isset() : success(false) {}
bool success :1;
@@ -1384,6 +1333,9 @@ typedef struct _GrantRevokeRoleResponse__isset {
class GrantRevokeRoleResponse {
public:
+ static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD";
+ static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
GrantRevokeRoleResponse(const GrantRevokeRoleResponse&);
GrantRevokeRoleResponse& operator=(const GrantRevokeRoleResponse&);
GrantRevokeRoleResponse() : success(0) {
@@ -1413,17 +1365,11 @@ class GrantRevokeRoleResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj);
};
void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Database__isset {
_Database__isset() : name(false), description(false), locationUri(false), parameters(false), privileges(false), ownerName(false), ownerType(false) {}
bool name :1;
@@ -1438,6 +1384,9 @@ typedef struct _Database__isset {
class Database {
public:
+ static const char* ascii_fingerprint; // = "553495CAE243A1C583D5C3DD990AED53";
+ static const uint8_t binary_fingerprint[16]; // = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53};
+
Database(const Database&);
Database& operator=(const Database&);
Database() : name(), description(), locationUri(), ownerName(), ownerType((PrincipalType::type)0) {
@@ -1501,17 +1450,11 @@ class Database {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Database& obj);
};
void swap(Database &a, Database &b);
-inline std::ostream& operator<<(std::ostream& out, const Database& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _SerDeInfo__isset {
_SerDeInfo__isset() : name(false), serializationLib(false), parameters(false) {}
bool name :1;
@@ -1522,6 +1465,9 @@ typedef struct _SerDeInfo__isset {
class SerDeInfo {
public:
+ static const char* ascii_fingerprint; // = "B1021C32A35A2AEFCD2F57A5424159A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7};
+
SerDeInfo(const SerDeInfo&);
SerDeInfo& operator=(const SerDeInfo&);
SerDeInfo() : name(), serializationLib() {
@@ -1559,17 +1505,11 @@ class SerDeInfo {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj);
};
void swap(SerDeInfo &a, SerDeInfo &b);
-inline std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Order__isset {
_Order__isset() : col(false), order(false) {}
bool col :1;
@@ -1579,6 +1519,9 @@ typedef struct _Order__isset {
class Order {
public:
+ static const char* ascii_fingerprint; // = "EEBC915CE44901401D881E6091423036";
+ static const uint8_t binary_fingerprint[16]; // = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36};
+
Order(const Order&);
Order& operator=(const Order&);
Order() : col(), order(0) {
@@ -1611,17 +1554,11 @@ class Order {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Order& obj);
};
void swap(Order &a, Order &b);
-inline std::ostream& operator<<(std::ostream& out, const Order& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _SkewedInfo__isset {
_SkewedInfo__isset() : skewedColNames(false), skewedColValues(false), skewedColValueLocationMaps(false) {}
bool skewedColNames :1;
@@ -1632,6 +1569,9 @@ typedef struct _SkewedInfo__isset {
class SkewedInfo {
public:
+ static const char* ascii_fingerprint; // = "4BF2ED84BC3C3EB297A2AE2FA8427EB1";
+ static const uint8_t binary_fingerprint[16]; // = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1};
+
SkewedInfo(const SkewedInfo&);
SkewedInfo& operator=(const SkewedInfo&);
SkewedInfo() {
@@ -1669,17 +1609,11 @@ class SkewedInfo {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj);
};
void swap(SkewedInfo &a, SkewedInfo &b);
-inline std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _StorageDescriptor__isset {
_StorageDescriptor__isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false), skewedInfo(false), storedAsSubDirectories(false) {}
bool cols :1;
@@ -1699,6 +1633,9 @@ typedef struct _StorageDescriptor__isset {
class StorageDescriptor {
public:
+ static const char* ascii_fingerprint; // = "CA8C9AA5FE4C32643757D8639CEF0CD7";
+ static const uint8_t binary_fingerprint[16]; // = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7};
+
StorageDescriptor(const StorageDescriptor&);
StorageDescriptor& operator=(const StorageDescriptor&);
StorageDescriptor() : location(), inputFormat(), outputFormat(), compressed(0), numBuckets(0), storedAsSubDirectories(0) {
@@ -1785,17 +1722,11 @@ class StorageDescriptor {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj);
};
void swap(StorageDescriptor &a, StorageDescriptor &b);
-inline std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Table__isset {
_Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true) {}
bool tableName :1;
@@ -1817,6 +1748,9 @@ typedef struct _Table__isset {
class Table {
public:
+ static const char* ascii_fingerprint; // = "29EFB2A5970EF572039E5D94CC78AA85";
+ static const uint8_t binary_fingerprint[16]; // = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85};
+
Table(const Table&);
Table& operator=(const Table&);
Table() : tableName(), dbName(), owner(), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(), viewExpandedText(), tableType(), temporary(false) {
@@ -1913,17 +1847,11 @@ class Table {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Table& obj);
};
void swap(Table &a, Table &b);
-inline std::ostream& operator<<(std::ostream& out, const Table& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Partition__isset {
_Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false) {}
bool values :1;
@@ -1939,6 +1867,9 @@ typedef struct _Partition__isset {
class Partition {
public:
+ static const char* ascii_fingerprint; // = "31A52241B88A426C34087FE38343FF51";
+ static const uint8_t binary_fingerprint[16]; // = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51};
+
Partition(const Partition&);
Partition& operator=(const Partition&);
Partition() : dbName(), tableName(), createTime(0), lastAccessTime(0) {
@@ -2003,17 +1934,11 @@ class Partition {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Partition& obj);
};
void swap(Partition &a, Partition &b);
-inline std::ostream& operator<<(std::ostream& out, const Partition& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PartitionWithoutSD__isset {
_PartitionWithoutSD__isset() : values(false), createTime(false), lastAccessTime(false), relativePath(false), parameters(false), privileges(false) {}
bool values :1;
@@ -2027,6 +1952,9 @@ typedef struct _PartitionWithoutSD__isset {
class PartitionWithoutSD {
public:
+ static const char* ascii_fingerprint; // = "D79FA44499888D0E50B5625E0C536DEA";
+ static const uint8_t binary_fingerprint[16]; // = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA};
+
PartitionWithoutSD(const PartitionWithoutSD&);
PartitionWithoutSD& operator=(const PartitionWithoutSD&);
PartitionWithoutSD() : createTime(0), lastAccessTime(0), relativePath() {
@@ -2081,17 +2009,11 @@ class PartitionWithoutSD {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj);
};
void swap(PartitionWithoutSD &a, PartitionWithoutSD &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PartitionSpecWithSharedSD__isset {
_PartitionSpecWithSharedSD__isset() : partitions(false), sd(false) {}
bool partitions :1;
@@ -2101,6 +2023,9 @@ typedef struct _PartitionSpecWithSharedSD__isset {
class PartitionSpecWithSharedSD {
public:
+ static const char* ascii_fingerprint; // = "7BEE9305B42DCD083FF06BEE6DDC61CF";
+ static const uint8_t binary_fingerprint[16]; // = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF};
+
PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD&);
PartitionSpecWithSharedSD& operator=(const PartitionSpecWithSharedSD&);
PartitionSpecWithSharedSD() {
@@ -2133,17 +2058,11 @@ class PartitionSpecWithSharedSD {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj);
};
void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PartitionListComposingSpec__isset {
_PartitionListComposingSpec__isset() : partitions(false) {}
bool partitions :1;
@@ -2152,6 +2071,9 @@ typedef struct _PartitionListComposingSpec__isset {
class PartitionListComposingSpec {
public:
+ static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674";
+ static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74};
+
PartitionListComposingSpec(const PartitionListComposingSpec&);
PartitionListComposingSpec& operator=(const PartitionListComposingSpec&);
PartitionListComposingSpec() {
@@ -2179,17 +2101,11 @@ class PartitionListComposingSpec {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj);
};
void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PartitionSpec__isset {
_PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false) {}
bool dbName :1;
@@ -2202,6 +2118,9 @@ typedef struct _PartitionSpec__isset {
class PartitionSpec {
public:
+ static const char* ascii_fingerprint; // = "C3F548C24D072CF6422F25096143E3E8";
+ static const uint8_t binary_fingerprint[16]; // = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8};
+
PartitionSpec(const PartitionSpec&);
PartitionSpec& operator=(const PartitionSpec&);
PartitionSpec() : dbName(), tableName(), rootPath() {
@@ -2253,17 +2172,11 @@ class PartitionSpec {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj);
};
void swap(PartitionSpec &a, PartitionSpec &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Index__isset {
_Index__isset() : indexName(false), indexHandlerClass(false), dbName(false), origTableName(false), createTime(false), lastAccessTime(false), indexTableName(false), sd(false), parameters(false), deferredRebuild(false) {}
bool indexName :1;
@@ -2281,6 +2194,9 @@ typedef struct _Index__isset {
class Index {
public:
+ static const char* ascii_fingerprint; // = "09EEF655216AC81802850988D6C470A6";
+ static const uint8_t binary_fingerprint[16]; // = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6};
+
Index(const Index&);
Index& operator=(const Index&);
Index() : indexName(), indexHandlerClass(), dbName(), origTableName(), createTime(0), lastAccessTime(0), indexTableName(), deferredRebuild(0) {
@@ -2353,21 +2269,18 @@ class Index {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Index& obj);
};
void swap(Index &a, Index &b);
-inline std::ostream& operator<<(std::ostream& out, const Index& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class BooleanColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "EA2D65F1E0BB78760205682082304B41";
+ static const uint8_t binary_fingerprint[16]; // = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41};
+
BooleanColumnStatsData(const BooleanColumnStatsData&);
BooleanColumnStatsData& operator=(const BooleanColumnStatsData&);
BooleanColumnStatsData() : numTrues(0), numFalses(0), numNulls(0) {
@@ -2403,17 +2316,11 @@ class BooleanColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj);
};
void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DoubleColumnStatsData__isset {
_DoubleColumnStatsData__isset() : lowValue(false), highValue(false) {}
bool lowValue :1;
@@ -2423,6 +2330,9 @@ typedef struct _DoubleColumnStatsData__isset {
class DoubleColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "DA7C011321D74C48396AA002E61A0CBB";
+ static const uint8_t binary_fingerprint[16]; // = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB};
+
DoubleColumnStatsData(const DoubleColumnStatsData&);
DoubleColumnStatsData& operator=(const DoubleColumnStatsData&);
DoubleColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) {
@@ -2469,17 +2379,11 @@ class DoubleColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj);
};
void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _LongColumnStatsData__isset {
_LongColumnStatsData__isset() : lowValue(false), highValue(false) {}
bool lowValue :1;
@@ -2489,6 +2393,9 @@ typedef struct _LongColumnStatsData__isset {
class LongColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "E685FC220B24E3B8B93604790DCB9AEA";
+ static const uint8_t binary_fingerprint[16]; // = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA};
+
LongColumnStatsData(const LongColumnStatsData&);
LongColumnStatsData& operator=(const LongColumnStatsData&);
LongColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) {
@@ -2535,21 +2442,18 @@ class LongColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj);
};
void swap(LongColumnStatsData &a, LongColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class StringColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "D017B08C3DF12C3AB98788B2E67DAAB3";
+ static const uint8_t binary_fingerprint[16]; // = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3};
+
StringColumnStatsData(const StringColumnStatsData&);
StringColumnStatsData& operator=(const StringColumnStatsData&);
StringColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0), numDVs(0) {
@@ -2590,21 +2494,18 @@ class StringColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj);
};
void swap(StringColumnStatsData &a, StringColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class BinaryColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "22B0CB67183FCDB945892B9974518D06";
+ static const uint8_t binary_fingerprint[16]; // = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06};
+
BinaryColumnStatsData(const BinaryColumnStatsData&);
BinaryColumnStatsData& operator=(const BinaryColumnStatsData&);
BinaryColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0) {
@@ -2640,21 +2541,18 @@ class BinaryColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj);
};
void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class Decimal {
public:
+ static const char* ascii_fingerprint; // = "C4DDF6759F9B17C5C380806CE743DE8E";
+ static const uint8_t binary_fingerprint[16]; // = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E};
+
Decimal(const Decimal&);
Decimal& operator=(const Decimal&);
Decimal() : unscaled(), scale(0) {
@@ -2685,17 +2583,11 @@ class Decimal {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Decimal& obj);
};
void swap(Decimal &a, Decimal &b);
-inline std::ostream& operator<<(std::ostream& out, const Decimal& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DecimalColumnStatsData__isset {
_DecimalColumnStatsData__isset() : lowValue(false), highValue(false) {}
bool lowValue :1;
@@ -2705,6 +2597,9 @@ typedef struct _DecimalColumnStatsData__isset {
class DecimalColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "B6D47E7A28922BFA93FE05E9F1B04748";
+ static const uint8_t binary_fingerprint[16]; // = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48};
+
DecimalColumnStatsData(const DecimalColumnStatsData&);
DecimalColumnStatsData& operator=(const DecimalColumnStatsData&);
DecimalColumnStatsData() : numNulls(0), numDVs(0) {
@@ -2751,21 +2646,18 @@ class DecimalColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj);
};
void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class Date {
public:
+ static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+ static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
Date(const Date&);
Date& operator=(const Date&);
Date() : daysSinceEpoch(0) {
@@ -2791,17 +2683,11 @@ class Date {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Date& obj);
};
void swap(Date &a, Date &b);
-inline std::ostream& operator<<(std::ostream& out, const Date& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DateColumnStatsData__isset {
_DateColumnStatsData__isset() : lowValue(false), highValue(false) {}
bool lowValue :1;
@@ -2811,6 +2697,9 @@ typedef struct _DateColumnStatsData__isset {
class DateColumnStatsData {
public:
+ static const char* ascii_fingerprint; // = "D0719F3BBA8248297BB5287552897F59";
+ static const uint8_t binary_fingerprint[16]; // = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59};
+
DateColumnStatsData(const DateColumnStatsData&);
DateColumnStatsData& operator=(const DateColumnStatsData&);
DateColumnStatsData() : numNulls(0), numDVs(0) {
@@ -2857,17 +2746,11 @@ class DateColumnStatsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj);
};
void swap(DateColumnStatsData &a, DateColumnStatsData &b);
-inline std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ColumnStatisticsData__isset {
_ColumnStatisticsData__isset() : booleanStats(false), longStats(false), doubleStats(false), stringStats(false), binaryStats(false), decimalStats(false), dateStats(false) {}
bool booleanStats :1;
@@ -2882,6 +2765,9 @@ typedef struct _ColumnStatisticsData__isset {
class ColumnStatisticsData {
public:
+ static const char* ascii_fingerprint; // = "15E449CA15A23E37F2D54C31ACA52106";
+ static const uint8_t binary_fingerprint[16]; // = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06};
+
ColumnStatisticsData(const ColumnStatisticsData&);
ColumnStatisticsData& operator=(const ColumnStatisticsData&);
ColumnStatisticsData() {
@@ -2939,21 +2825,18 @@ class ColumnStatisticsData {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj);
};
void swap(ColumnStatisticsData &a, ColumnStatisticsData &b);
-inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ColumnStatisticsObj {
public:
+ static const char* ascii_fingerprint; // = "A82BA819C9FFEDDEBC0D50F6F4E46534";
+ static const uint8_t binary_fingerprint[16]; // = {0xA8,0x2B,0xA8,0x19,0xC9,0xFF,0xED,0xDE,0xBC,0x0D,0x50,0xF6,0xF4,0xE4,0x65,0x34};
+
ColumnStatisticsObj(const ColumnStatisticsObj&);
ColumnStatisticsObj& operator=(const ColumnStatisticsObj&);
ColumnStatisticsObj() : colName(), colType() {
@@ -2989,17 +2872,11 @@ class ColumnStatisticsObj {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj);
};
void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b);
-inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ColumnStatisticsDesc__isset {
_ColumnStatisticsDesc__isset() : partName(false), lastAnalyzed(false) {}
bool partName :1;
@@ -3009,6 +2886,9 @@ typedef struct _ColumnStatisticsDesc__isset {
class ColumnStatisticsDesc {
public:
+ static const char* ascii_fingerprint; // = "261759FF6F8FAB53F941453007FE18CB";
+ static const uint8_t binary_fingerprint[16]; // = {0x26,0x17,0x59,0xFF,0x6F,0x8F,0xAB,0x53,0xF9,0x41,0x45,0x30,0x07,0xFE,0x18,0xCB};
+
ColumnStatisticsDesc(const ColumnStatisticsDesc&);
ColumnStatisticsDesc& operator=(const ColumnStatisticsDesc&);
ColumnStatisticsDesc() : isTblLevel(0), dbName(), tableName(), partName(), lastAnalyzed(0) {
@@ -3060,21 +2940,18 @@ class ColumnStatisticsDesc {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj);
};
void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b);
-inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ColumnStatistics {
public:
+ static const char* ascii_fingerprint; // = "8A64D0A67FFD3A372726A320B3913D5A";
+ static const uint8_t binary_fingerprint[16]; // = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A};
+
ColumnStatistics(const ColumnStatistics&);
ColumnStatistics& operator=(const ColumnStatistics&);
ColumnStatistics() {
@@ -3105,21 +2982,18 @@ class ColumnStatistics {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj);
};
void swap(ColumnStatistics &a, ColumnStatistics &b);
-inline std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class AggrStats {
public:
+ static const char* ascii_fingerprint; // = "1FC765A3AB2954591C14B0D946778213";
+ static const uint8_t binary_fingerprint[16]; // = {0x1F,0xC7,0x65,0xA3,0xAB,0x29,0x54,0x59,0x1C,0x14,0xB0,0xD9,0x46,0x77,0x82,0x13};
+
AggrStats(const AggrStats&);
AggrStats& operator=(const AggrStats&);
AggrStats() : partsFound(0) {
@@ -3150,21 +3024,18 @@ class AggrStats {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const AggrStats& obj);
};
void swap(AggrStats &a, AggrStats &b);
-inline std::ostream& operator<<(std::ostream& out, const AggrStats& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class SetPartitionsStatsRequest {
public:
+ static const char* ascii_fingerprint; // = "8BCBF2CE9E942D0FB7D8F4ED57D8DC27";
+ static const uint8_t binary_fingerprint[16]; // = {0x8B,0xCB,0xF2,0xCE,0x9E,0x94,0x2D,0x0F,0xB7,0xD8,0xF4,0xED,0x57,0xD8,0xDC,0x27};
+
SetPartitionsStatsRequest(const SetPartitionsStatsRequest&);
SetPartitionsStatsRequest& operator=(const SetPartitionsStatsRequest&);
SetPartitionsStatsRequest() {
@@ -3190,17 +3061,11 @@ class SetPartitionsStatsRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj);
};
void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Schema__isset {
_Schema__isset() : fieldSchemas(false), properties(false) {}
bool fieldSchemas :1;
@@ -3210,6 +3075,9 @@ typedef struct _Schema__isset {
class Schema {
public:
+ static const char* ascii_fingerprint; // = "5CFEE46C975F4E2368D905109B8E3B5B";
+ static const uint8_t binary_fingerprint[16]; // = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B};
+
Schema(const Schema&);
Schema& operator=(const Schema&);
Schema() {
@@ -3242,17 +3110,11 @@ class Schema {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Schema& obj);
};
void swap(Schema &a, Schema &b);
-inline std::ostream& operator<<(std::ostream& out, const Schema& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _EnvironmentContext__isset {
_EnvironmentContext__isset() : properties(false) {}
bool properties :1;
@@ -3261,6 +3123,9 @@ typedef struct _EnvironmentContext__isset {
class EnvironmentContext {
public:
+ static const char* ascii_fingerprint; // = "5EA2D527ECA3BA20C77AFC023EE8C05F";
+ static const uint8_t binary_fingerprint[16]; // = {0x5E,0xA2,0xD5,0x27,0xEC,0xA3,0xBA,0x20,0xC7,0x7A,0xFC,0x02,0x3E,0xE8,0xC0,0x5F};
+
EnvironmentContext(const EnvironmentContext&);
EnvironmentContext& operator=(const EnvironmentContext&);
EnvironmentContext() {
@@ -3288,21 +3153,18 @@ class EnvironmentContext {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj);
};
void swap(EnvironmentContext &a, EnvironmentContext &b);
-inline std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class PartitionsByExprResult {
public:
+ static const char* ascii_fingerprint; // = "40B789CC91B508FE36600A14E3F80425";
+ static const uint8_t binary_fingerprint[16]; // = {0x40,0xB7,0x89,0xCC,0x91,0xB5,0x08,0xFE,0x36,0x60,0x0A,0x14,0xE3,0xF8,0x04,0x25};
+
PartitionsByExprResult(const PartitionsByExprResult&);
PartitionsByExprResult& operator=(const PartitionsByExprResult&);
PartitionsByExprResult() : hasUnknownPartitions(0) {
@@ -3333,17 +3195,11 @@ class PartitionsByExprResult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj);
};
void swap(PartitionsByExprResult &a, PartitionsByExprResult &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _PartitionsByExprRequest__isset {
_PartitionsByExprRequest__isset() : defaultPartitionName(false), maxParts(true) {}
bool defaultPartitionName :1;
@@ -3353,6 +3209,9 @@ typedef struct _PartitionsByExprRequest__isset {
class PartitionsByExprRequest {
public:
+ static const char* ascii_fingerprint; // = "835944417A026FE6ABD0DF5A35BF52C5";
+ static const uint8_t binary_fingerprint[16]; // = {0x83,0x59,0x44,0x41,0x7A,0x02,0x6F,0xE6,0xAB,0xD0,0xDF,0x5A,0x35,0xBF,0x52,0xC5};
+
PartitionsByExprRequest(const PartitionsByExprRequest&);
PartitionsByExprRequest& operator=(const PartitionsByExprRequest&);
PartitionsByExprRequest() : dbName(), tblName(), expr(), defaultPartitionName(), maxParts(-1) {
@@ -3404,21 +3263,18 @@ class PartitionsByExprRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj);
};
void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TableStatsResult {
public:
+ static const char* ascii_fingerprint; // = "2E398BAC949C93A194F1A19CA5074FF8";
+ static const uint8_t binary_fingerprint[16]; // = {0x2E,0x39,0x8B,0xAC,0x94,0x9C,0x93,0xA1,0x94,0xF1,0xA1,0x9C,0xA5,0x07,0x4F,0xF8};
+
TableStatsResult(const TableStatsResult&);
TableStatsResult& operator=(const TableStatsResult&);
TableStatsResult() {
@@ -3444,21 +3300,18 @@ class TableStatsResult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj);
};
void swap(TableStatsResult &a, TableStatsResult &b);
-inline std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class PartitionsStatsResult {
public:
+ static const char* ascii_fingerprint; // = "DD38B4AA7D02E288659AA12CBAAEF33B";
+ static const uint8_t binary_fingerprint[16]; // = {0xDD,0x38,0xB4,0xAA,0x7D,0x02,0xE2,0x88,0x65,0x9A,0xA1,0x2C,0xBA,0xAE,0xF3,0x3B};
+
PartitionsStatsResult(const PartitionsStatsResult&);
PartitionsStatsResult& operator=(const PartitionsStatsResult&);
PartitionsStatsResult() {
@@ -3484,21 +3337,18 @@ class PartitionsStatsResult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj);
};
void swap(PartitionsStatsResult &a, PartitionsStatsResult &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TableStatsRequest {
public:
+ static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F";
+ static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F};
+
TableStatsRequest(const TableStatsRequest&);
TableStatsRequest& operator=(const TableStatsRequest&);
TableStatsRequest() : dbName(), tblName() {
@@ -3534,21 +3384,18 @@ class TableStatsRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj);
};
void swap(TableStatsRequest &a, TableStatsRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class PartitionsStatsRequest {
public:
+ static const char* ascii_fingerprint; // = "5F51D90BC323BCE4B704B7D98EDA0BD4";
+ static const uint8_t binary_fingerprint[16]; // = {0x5F,0x51,0xD9,0x0B,0xC3,0x23,0xBC,0xE4,0xB7,0x04,0xB7,0xD9,0x8E,0xDA,0x0B,0xD4};
+
PartitionsStatsRequest(const PartitionsStatsRequest&);
PartitionsStatsRequest& operator=(const PartitionsStatsRequest&);
PartitionsStatsRequest() : dbName(), tblName() {
@@ -3589,17 +3436,11 @@ class PartitionsStatsRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj);
};
void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _AddPartitionsResult__isset {
_AddPartitionsResult__isset() : partitions(false) {}
bool partitions :1;
@@ -3608,6 +3449,9 @@ typedef struct _AddPartitionsResult__isset {
class AddPartitionsResult {
public:
+ static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31";
+ static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31};
+
AddPartitionsResult(const AddPartitionsResult&);
AddPartitionsResult& operator=(const AddPartitionsResult&);
AddPartitionsResult() {
@@ -3637,17 +3481,11 @@ class AddPartitionsResult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj);
};
void swap(AddPartitionsResult &a, AddPartitionsResult &b);
-inline std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _AddPartitionsRequest__isset {
_AddPartitionsRequest__isset() : needResult(true) {}
bool needResult :1;
@@ -3656,6 +3494,9 @@ typedef struct _AddPartitionsRequest__isset {
class AddPartitionsRequest {
public:
+ static const char* ascii_fingerprint; // = "94F938D035892CF6873DEDB99358F069";
+ static const uint8_t binary_fingerprint[16]; // = {0x94,0xF9,0x38,0xD0,0x35,0x89,0x2C,0xF6,0x87,0x3D,0xED,0xB9,0x93,0x58,0xF0,0x69};
+
AddPartitionsRequest(const AddPartitionsRequest&);
AddPartitionsRequest& operator=(const AddPartitionsRequest&);
AddPartitionsRequest() : dbName(), tblName(), ifNotExists(0), needResult(true) {
@@ -3705,17 +3546,11 @@ class AddPartitionsRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj);
};
void swap(AddPartitionsRequest &a, AddPartitionsRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DropPartitionsResult__isset {
_DropPartitionsResult__isset() : partitions(false) {}
bool partitions :1;
@@ -3724,6 +3559,9 @@ typedef struct _DropPartitionsResult__isset {
class DropPartitionsResult {
public:
+ static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31";
+ static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31};
+
DropPartitionsResult(const DropPartitionsResult&);
DropPartitionsResult& operator=(const DropPartitionsResult&);
DropPartitionsResult() {
@@ -3753,17 +3591,11 @@ class DropPartitionsResult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj);
};
void swap(DropPartitionsResult &a, DropPartitionsResult &b);
-inline std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DropPartitionsExpr__isset {
_DropPartitionsExpr__isset() : partArchiveLevel(false) {}
bool partArchiveLevel :1;
@@ -3772,6 +3604,9 @@ typedef struct _DropPartitionsExpr__isset {
class DropPartitionsExpr {
public:
+ static const char* ascii_fingerprint; // = "18B162B1D15D8D46509D3911A9F1C2AA";
+ static const uint8_t binary_fingerprint[16]; // = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA};
+
DropPartitionsExpr(const DropPartitionsExpr&);
DropPartitionsExpr& operator=(const DropPartitionsExpr&);
DropPartitionsExpr() : expr(), partArchiveLevel(0) {
@@ -3806,17 +3641,11 @@ class DropPartitionsExpr {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj);
};
void swap(DropPartitionsExpr &a, DropPartitionsExpr &b);
-inline std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _RequestPartsSpec__isset {
_RequestPartsSpec__isset() : names(false), exprs(false) {}
bool names :1;
@@ -3826,6 +3655,9 @@ typedef struct _RequestPartsSpec__isset {
class RequestPartsSpec {
public:
+ static const char* ascii_fingerprint; // = "864492ECAB27996CD222AACDA10C292E";
+ static const uint8_t binary_fingerprint[16]; // = {0x86,0x44,0x92,0xEC,0xAB,0x27,0x99,0x6C,0xD2,0x22,0xAA,0xCD,0xA1,0x0C,0x29,0x2E};
+
RequestPartsSpec(const RequestPartsSpec&);
RequestPartsSpec& operator=(const RequestPartsSpec&);
RequestPartsSpec() {
@@ -3858,17 +3690,11 @@ class RequestPartsSpec {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj);
};
void swap(RequestPartsSpec &a, RequestPartsSpec &b);
-inline std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _DropPartitionsRequest__isset {
_DropPartitionsRequest__isset() : deleteData(false), ifExists(true), ignoreProtection(false), environmentContext(false), needResult(true) {}
bool deleteData :1;
@@ -3881,6 +3707,9 @@ typedef struct _DropPartitionsRequest__isset {
class DropPartitionsRequest {
public:
+ static const char* ascii_fingerprint; // = "EB263FBA01215C480A9A24C11D69E672";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72};
+
DropPartitionsRequest(const DropPartitionsRequest&);
DropPartitionsRequest& operator=(const DropPartitionsRequest&);
DropPartitionsRequest() : dbName(), tblName(), deleteData(0), ifExists(true), ignoreProtection(0), needResult(true) {
@@ -3953,17 +3782,11 @@ class DropPartitionsRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj);
};
void swap(DropPartitionsRequest &a, DropPartitionsRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ResourceUri__isset {
_ResourceUri__isset() : resourceType(false), uri(false) {}
bool resourceType :1;
@@ -3973,6 +3796,9 @@ typedef struct _ResourceUri__isset {
class ResourceUri {
public:
+ static const char* ascii_fingerprint; // = "19B5240589E680301A7E32DF3971EFBE";
+ static const uint8_t binary_fingerprint[16]; // = {0x19,0xB5,0x24,0x05,0x89,0xE6,0x80,0x30,0x1A,0x7E,0x32,0xDF,0x39,0x71,0xEF,0xBE};
+
ResourceUri(const ResourceUri&);
ResourceUri& operator=(const ResourceUri&);
ResourceUri() : resourceType((ResourceType::type)0), uri() {
@@ -4005,17 +3831,11 @@ class ResourceUri {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ResourceUri& obj);
};
void swap(ResourceUri &a, ResourceUri &b);
-inline std::ostream& operator<<(std::ostream& out, const ResourceUri& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Function__isset {
_Function__isset() : functionName(false), dbName(false), className(false), ownerName(false), ownerType(false), createTime(false), functionType(false), resourceUris(false) {}
bool functionName :1;
@@ -4031,6 +3851,9 @@ typedef struct _Function__isset {
class Function {
public:
+ static const char* ascii_fingerprint; // = "72279C515E70F888568542F97616ADB8";
+ static const uint8_t binary_fingerprint[16]; // = {0x72,0x27,0x9C,0x51,0x5E,0x70,0xF8,0x88,0x56,0x85,0x42,0xF9,0x76,0x16,0xAD,0xB8};
+
Function(const Function&);
Function& operator=(const Function&);
Function() : functionName(), dbName(), className(), ownerName(), ownerType((PrincipalType::type)0), createTime(0), functionType((FunctionType::type)0) {
@@ -4093,21 +3916,18 @@ class Function {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Function& obj);
};
void swap(Function &a, Function &b);
-inline std::ostream& operator<<(std::ostream& out, const Function& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TxnInfo {
public:
+ static const char* ascii_fingerprint; // = "6C5C0773A901CCA3BE9D085B3B47A767";
+ static const uint8_t binary_fingerprint[16]; // = {0x6C,0x5C,0x07,0x73,0xA9,0x01,0xCC,0xA3,0xBE,0x9D,0x08,0x5B,0x3B,0x47,0xA7,0x67};
+
TxnInfo(const TxnInfo&);
TxnInfo& operator=(const TxnInfo&);
TxnInfo() : id(0), state((TxnState::type)0), user(), hostname() {
@@ -4148,21 +3968,18 @@ class TxnInfo {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TxnInfo& obj);
};
void swap(TxnInfo &a, TxnInfo &b);
-inline std::ostream& operator<<(std::ostream& out, const TxnInfo& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetOpenTxnsInfoResponse {
public:
+ static const char* ascii_fingerprint; // = "CCF769BBD33005B61F2079A6665E3B9C";
+ static const uint8_t binary_fingerprint[16]; // = {0xCC,0xF7,0x69,0xBB,0xD3,0x30,0x05,0xB6,0x1F,0x20,0x79,0xA6,0x66,0x5E,0x3B,0x9C};
+
GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse&);
GetOpenTxnsInfoResponse& operator=(const GetOpenTxnsInfoResponse&);
GetOpenTxnsInfoResponse() : txn_high_water_mark(0) {
@@ -4193,21 +4010,18 @@ class GetOpenTxnsInfoResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj);
};
void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class GetOpenTxnsResponse {
public:
+ static const char* ascii_fingerprint; // = "590531FF1BE8611678B255374F6109EE";
+ static const uint8_t binary_fingerprint[16]; // = {0x59,0x05,0x31,0xFF,0x1B,0xE8,0x61,0x16,0x78,0xB2,0x55,0x37,0x4F,0x61,0x09,0xEE};
+
GetOpenTxnsResponse(const GetOpenTxnsResponse&);
GetOpenTxnsResponse& operator=(const GetOpenTxnsResponse&);
GetOpenTxnsResponse() : txn_high_water_mark(0) {
@@ -4238,21 +4052,18 @@ class GetOpenTxnsResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj);
};
void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class OpenTxnRequest {
public:
+ static const char* ascii_fingerprint; // = "3368C2F81F2FEF71F11EDACDB2A3ECEF";
+ static const uint8_t binary_fingerprint[16]; // = {0x33,0x68,0xC2,0xF8,0x1F,0x2F,0xEF,0x71,0xF1,0x1E,0xDA,0xCD,0xB2,0xA3,0xEC,0xEF};
+
OpenTxnRequest(const OpenTxnRequest&);
OpenTxnRequest& operator=(const OpenTxnRequest&);
OpenTxnRequest() : num_txns(0), user(), hostname() {
@@ -4288,21 +4099,18 @@ class OpenTxnRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj);
};
void swap(OpenTxnRequest &a, OpenTxnRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class OpenTxnsResponse {
public:
+ static const char* ascii_fingerprint; // = "E49D7D1A9013CC81CD0F69D631EF82E4";
+ static const uint8_t binary_fingerprint[16]; // = {0xE4,0x9D,0x7D,0x1A,0x90,0x13,0xCC,0x81,0xCD,0x0F,0x69,0xD6,0x31,0xEF,0x82,0xE4};
+
OpenTxnsResponse(const OpenTxnsResponse&);
OpenTxnsResponse& operator=(const OpenTxnsResponse&);
OpenTxnsResponse() {
@@ -4328,21 +4136,18 @@ class OpenTxnsResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj);
};
void swap(OpenTxnsResponse &a, OpenTxnsResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class AbortTxnRequest {
public:
+ static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+ static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
AbortTxnRequest(const AbortTxnRequest&);
AbortTxnRequest& operator=(const AbortTxnRequest&);
AbortTxnRequest() : txnid(0) {
@@ -4368,21 +4173,18 @@ class AbortTxnRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj);
};
void swap(AbortTxnRequest &a, AbortTxnRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class CommitTxnRequest {
public:
+ static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+ static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
CommitTxnRequest(const CommitTxnRequest&);
CommitTxnRequest& operator=(const CommitTxnRequest&);
CommitTxnRequest() : txnid(0) {
@@ -4408,17 +4210,11 @@ class CommitTxnRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj);
};
void swap(CommitTxnRequest &a, CommitTxnRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _LockComponent__isset {
_LockComponent__isset() : tablename(false), partitionname(false) {}
bool tablename :1;
@@ -4428,6 +4224,9 @@ typedef struct _LockComponent__isset {
class LockComponent {
public:
+ static const char* ascii_fingerprint; // = "38B02531B0840AC9C72904A4649FD15F";
+ static const uint8_t binary_fingerprint[16]; // = {0x38,0xB0,0x25,0x31,0xB0,0x84,0x0A,0xC9,0xC7,0x29,0x04,0xA4,0x64,0x9F,0xD1,0x5F};
+
LockComponent(const LockComponent&);
LockComponent& operator=(const LockComponent&);
LockComponent() : type((LockType::type)0), level((LockLevel::type)0), dbname(), tablename(), partitionname() {
@@ -4479,17 +4278,11 @@ class LockComponent {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const LockComponent& obj);
};
void swap(LockComponent &a, LockComponent &b);
-inline std::ostream& operator<<(std::ostream& out, const LockComponent& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _LockRequest__isset {
_LockRequest__isset() : txnid(false) {}
bool txnid :1;
@@ -4498,6 +4291,9 @@ typedef struct _LockRequest__isset {
class LockRequest {
public:
+ static const char* ascii_fingerprint; // = "46BC5ED7196BC16CB216AD5CC67C6930";
+ static const uint8_t binary_fingerprint[16]; // = {0x46,0xBC,0x5E,0xD7,0x19,0x6B,0xC1,0x6C,0xB2,0x16,0xAD,0x5C,0xC6,0x7C,0x69,0x30};
+
LockRequest(const LockRequest&);
LockRequest& operator=(const LockRequest&);
LockRequest() : txnid(0), user(), hostname() {
@@ -4542,21 +4338,18 @@ class LockRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const LockRequest& obj);
};
void swap(LockRequest &a, LockRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const LockRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class LockResponse {
public:
+ static const char* ascii_fingerprint; // = "DFA40D9D2884599F3D1E7A57578F1384";
+ static const uint8_t binary_fingerprint[16]; // = {0xDF,0xA4,0x0D,0x9D,0x28,0x84,0x59,0x9F,0x3D,0x1E,0x7A,0x57,0x57,0x8F,0x13,0x84};
+
LockResponse(const LockResponse&);
LockResponse& operator=(const LockResponse&);
LockResponse() : lockid(0), state((LockState::type)0) {
@@ -4587,21 +4380,18 @@ class LockResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const LockResponse& obj);
};
void swap(LockResponse &a, LockResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const LockResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class CheckLockRequest {
public:
+ static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+ static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
CheckLockRequest(const CheckLockRequest&);
CheckLockRequest& operator=(const CheckLockRequest&);
CheckLockRequest() : lockid(0) {
@@ -4627,21 +4417,18 @@ class CheckLockRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj);
};
void swap(CheckLockRequest &a, CheckLockRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class UnlockRequest {
public:
+ static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+ static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
UnlockRequest(const UnlockRequest&);
UnlockRequest& operator=(const UnlockRequest&);
UnlockRequest() : lockid(0) {
@@ -4667,21 +4454,18 @@ class UnlockRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj);
};
void swap(UnlockRequest &a, UnlockRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ShowLocksRequest {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ShowLocksRequest(const ShowLocksRequest&);
ShowLocksRequest& operator=(const ShowLocksRequest&);
ShowLocksRequest() {
@@ -4702,17 +4486,11 @@ class ShowLocksRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj);
};
void swap(ShowLocksRequest &a, ShowLocksRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ShowLocksResponseElement__isset {
_ShowLocksResponseElement__isset() : tablename(false), partname(false), txnid(false), acquiredat(false) {}
bool tablename :1;
@@ -4724,6 +4502,9 @@ typedef struct _ShowLocksResponseElement__isset {
class ShowLocksResponseElement {
public:
+ static const char* ascii_fingerprint; // = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F";
+ static const uint8_t binary_fingerprint[16]; // = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F};
+
ShowLocksResponseElement(const ShowLocksResponseElement&);
ShowLocksResponseElement& operator=(const ShowLocksResponseElement&);
ShowLocksResponseElement() : lockid(0), dbname(), tablename(), partname(), state((LockState::type)0), type((LockType::type)0), txnid(0), lastheartbeat(0), acquiredat(0), user(), hostname() {
@@ -4809,17 +4590,11 @@ class ShowLocksResponseElement {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj);
};
void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b);
-inline std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ShowLocksResponse__isset {
_ShowLocksResponse__isset() : locks(false) {}
bool locks :1;
@@ -4828,6 +4603,9 @@ typedef struct _ShowLocksResponse__isset {
class ShowLocksResponse {
public:
+ static const char* ascii_fingerprint; // = "BD598AA60FE941361FB54C43973C011F";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x59,0x8A,0xA6,0x0F,0xE9,0x41,0x36,0x1F,0xB5,0x4C,0x43,0x97,0x3C,0x01,0x1F};
+
ShowLocksResponse(const ShowLocksResponse&);
ShowLocksResponse& operator=(const ShowLocksResponse&);
ShowLocksResponse() {
@@ -4855,17 +4633,11 @@ class ShowLocksResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj);
};
void swap(ShowLocksResponse &a, ShowLocksResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _HeartbeatRequest__isset {
_HeartbeatRequest__isset() : lockid(false), txnid(false) {}
bool lockid :1;
@@ -4875,6 +4647,9 @@ typedef struct _HeartbeatRequest__isset {
class HeartbeatRequest {
public:
+ static const char* ascii_fingerprint; // = "0354D07C94CB8542872CA1277008860A";
+ static const uint8_t binary_fingerprint[16]; // = {0x03,0x54,0xD0,0x7C,0x94,0xCB,0x85,0x42,0x87,0x2C,0xA1,0x27,0x70,0x08,0x86,0x0A};
+
HeartbeatRequest(const HeartbeatRequest&);
HeartbeatRequest& operator=(const HeartbeatRequest&);
HeartbeatRequest() : lockid(0), txnid(0) {
@@ -4911,21 +4686,18 @@ class HeartbeatRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj);
};
void swap(HeartbeatRequest &a, HeartbeatRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class HeartbeatTxnRangeRequest {
public:
+ static const char* ascii_fingerprint; // = "F33135321253DAEB67B0E79E416CA831";
+ static const uint8_t binary_fingerprint[16]; // = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31};
+
HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest&);
HeartbeatTxnRangeRequest& operator=(const HeartbeatTxnRangeRequest&);
HeartbeatTxnRangeRequest() : min(0), max(0) {
@@ -4956,21 +4728,18 @@ class HeartbeatTxnRangeRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj);
};
void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class HeartbeatTxnRangeResponse {
public:
+ static const char* ascii_fingerprint; // = "33E49A70BD5C04262A0F407E3656E3CF";
+ static const uint8_t binary_fingerprint[16]; // = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF};
+
HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse&);
HeartbeatTxnRangeResponse& operator=(const HeartbeatTxnRangeResponse&);
HeartbeatTxnRangeResponse() {
@@ -5001,17 +4770,11 @@ class HeartbeatTxnRangeResponse {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj);
};
void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b);
-inline std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _CompactionRequest__isset {
_CompactionRequest__isset() : partitionname(false), runas(false) {}
bool partitionname :1;
@@ -5021,6 +4784,9 @@ typedef struct _CompactionRequest__isset {
class CompactionRequest {
public:
+ static const char* ascii_fingerprint; // = "899FD1F339D8318D628687CC2CE2864B";
+ static const uint8_t binary_fingerprint[16]; // = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B};
+
CompactionRequest(const CompactionRequest&);
CompactionRequest& operator=(const CompactionRequest&);
CompactionRequest() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), runas() {
@@ -5072,21 +4838,18 @@ class CompactionRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj);
};
void swap(CompactionRequest &a, CompactionRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ShowCompactRequest {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ShowCompactRequest(const ShowCompactRequest&);
ShowCompactRequest& operator=(const ShowCompactRequest&);
ShowCompactRequest() {
@@ -5107,17 +4870,11 @@ class ShowCompactRequest {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj);
};
void swap(ShowCompactRequest &a, ShowCompactRequest &b);
-inline std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _ShowCompactResponseElement__isset {
_ShowCompactResponseElement__isset() : partitionname(false), workerid(false), start(false), runAs(false) {}
bool partitionname :1;
@@ -5129,6 +4886,9 @@ typedef struct _ShowCompactResponseElement__isset {
class ShowCompactResponseElement {
public:
+ static const char* ascii_fingerprint; // = "2F338C265DC4FD82DD13F4966FE43F13";
+ static const uint8_t binary_fingerprint[16]; // = {0x2F,0x33,0x8C,0x26,0x5D,0xC4,0xFD,0x82,0xDD,0x13,0xF4,0x96,0x6F,0xE4,0x3F,0x13};
+
ShowCompactResponseElement(const ShowCompactResponseElement&);
ShowCompactResponseElement& operator=(const ShowCompactResponseElement&);
ShowCompactResponseElement() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), state(), workerid(), start(0), runAs() {
@@ -5199,21 +4959,18 @@ class ShowCompactResponseElement {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj);
};
void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b);
-inline std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class ShowCompactResponse {
public:
+ static const char* ascii_fingerprint; // = "915B7B8DB8966D6576
<TRUNCATED>
[07/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.h b/service/src/gen/thrift/gen-cpp/TCLIService.h
index 2ea80c7..29a9f4a 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService.h
+++ b/service/src/gen/thrift/gen-cpp/TCLIService.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,16 +8,10 @@
#define TCLIService_H
#include <thrift/TDispatchProcessor.h>
-#include <thrift/async/TConcurrentClientSyncInfo.h>
#include "TCLIService_types.h"
namespace apache { namespace hive { namespace service { namespace cli { namespace thrift {
-#ifdef _WIN32
- #pragma warning( push )
- #pragma warning (disable : 4250 ) //inheriting methods via dominance
-#endif
-
class TCLIServiceIf {
public:
virtual ~TCLIServiceIf() {}
@@ -136,6 +130,9 @@ typedef struct _TCLIService_OpenSession_args__isset {
class TCLIService_OpenSession_args {
public:
+ static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
+ static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
+
TCLIService_OpenSession_args(const TCLIService_OpenSession_args&);
TCLIService_OpenSession_args& operator=(const TCLIService_OpenSession_args&);
TCLIService_OpenSession_args() {
@@ -163,18 +160,23 @@ class TCLIService_OpenSession_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_args& obj);
};
class TCLIService_OpenSession_pargs {
public:
+ static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A";
+ static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A};
+
virtual ~TCLIService_OpenSession_pargs() throw();
const TOpenSessionReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_pargs& obj);
};
typedef struct _TCLIService_OpenSession_result__isset {
@@ -185,6 +187,9 @@ typedef struct _TCLIService_OpenSession_result__isset {
class TCLIService_OpenSession_result {
public:
+ static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
+ static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
+
TCLIService_OpenSession_result(const TCLIService_OpenSession_result&);
TCLIService_OpenSession_result& operator=(const TCLIService_OpenSession_result&);
TCLIService_OpenSession_result() {
@@ -212,6 +217,7 @@ class TCLIService_OpenSession_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_result& obj);
};
typedef struct _TCLIService_OpenSession_presult__isset {
@@ -222,6 +228,9 @@ typedef struct _TCLIService_OpenSession_presult__isset {
class TCLIService_OpenSession_presult {
public:
+ static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E";
+ static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E};
+
virtual ~TCLIService_OpenSession_presult() throw();
TOpenSessionResp* success;
@@ -230,6 +239,7 @@ class TCLIService_OpenSession_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_presult& obj);
};
typedef struct _TCLIService_CloseSession_args__isset {
@@ -240,6 +250,9 @@ typedef struct _TCLIService_CloseSession_args__isset {
class TCLIService_CloseSession_args {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
TCLIService_CloseSession_args(const TCLIService_CloseSession_args&);
TCLIService_CloseSession_args& operator=(const TCLIService_CloseSession_args&);
TCLIService_CloseSession_args() {
@@ -267,18 +280,23 @@ class TCLIService_CloseSession_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_args& obj);
};
class TCLIService_CloseSession_pargs {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
virtual ~TCLIService_CloseSession_pargs() throw();
const TCloseSessionReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_pargs& obj);
};
typedef struct _TCLIService_CloseSession_result__isset {
@@ -289,6 +307,9 @@ typedef struct _TCLIService_CloseSession_result__isset {
class TCLIService_CloseSession_result {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
TCLIService_CloseSession_result(const TCLIService_CloseSession_result&);
TCLIService_CloseSession_result& operator=(const TCLIService_CloseSession_result&);
TCLIService_CloseSession_result() {
@@ -316,6 +337,7 @@ class TCLIService_CloseSession_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_result& obj);
};
typedef struct _TCLIService_CloseSession_presult__isset {
@@ -326,6 +348,9 @@ typedef struct _TCLIService_CloseSession_presult__isset {
class TCLIService_CloseSession_presult {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
virtual ~TCLIService_CloseSession_presult() throw();
TCloseSessionResp* success;
@@ -334,6 +359,7 @@ class TCLIService_CloseSession_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_presult& obj);
};
typedef struct _TCLIService_GetInfo_args__isset {
@@ -344,6 +370,9 @@ typedef struct _TCLIService_GetInfo_args__isset {
class TCLIService_GetInfo_args {
public:
+ static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
+ static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
+
TCLIService_GetInfo_args(const TCLIService_GetInfo_args&);
TCLIService_GetInfo_args& operator=(const TCLIService_GetInfo_args&);
TCLIService_GetInfo_args() {
@@ -371,18 +400,23 @@ class TCLIService_GetInfo_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_args& obj);
};
class TCLIService_GetInfo_pargs {
public:
+ static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA";
+ static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA};
+
virtual ~TCLIService_GetInfo_pargs() throw();
const TGetInfoReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_pargs& obj);
};
typedef struct _TCLIService_GetInfo_result__isset {
@@ -393,6 +427,9 @@ typedef struct _TCLIService_GetInfo_result__isset {
class TCLIService_GetInfo_result {
public:
+ static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
+ static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
+
TCLIService_GetInfo_result(const TCLIService_GetInfo_result&);
TCLIService_GetInfo_result& operator=(const TCLIService_GetInfo_result&);
TCLIService_GetInfo_result() {
@@ -420,6 +457,7 @@ class TCLIService_GetInfo_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_result& obj);
};
typedef struct _TCLIService_GetInfo_presult__isset {
@@ -430,6 +468,9 @@ typedef struct _TCLIService_GetInfo_presult__isset {
class TCLIService_GetInfo_presult {
public:
+ static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75";
+ static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75};
+
virtual ~TCLIService_GetInfo_presult() throw();
TGetInfoResp* success;
@@ -438,6 +479,7 @@ class TCLIService_GetInfo_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_presult& obj);
};
typedef struct _TCLIService_ExecuteStatement_args__isset {
@@ -448,6 +490,9 @@ typedef struct _TCLIService_ExecuteStatement_args__isset {
class TCLIService_ExecuteStatement_args {
public:
+ static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
+
TCLIService_ExecuteStatement_args(const TCLIService_ExecuteStatement_args&);
TCLIService_ExecuteStatement_args& operator=(const TCLIService_ExecuteStatement_args&);
TCLIService_ExecuteStatement_args() {
@@ -475,18 +520,23 @@ class TCLIService_ExecuteStatement_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_args& obj);
};
class TCLIService_ExecuteStatement_pargs {
public:
+ static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73};
+
virtual ~TCLIService_ExecuteStatement_pargs() throw();
const TExecuteStatementReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_pargs& obj);
};
typedef struct _TCLIService_ExecuteStatement_result__isset {
@@ -497,6 +547,9 @@ typedef struct _TCLIService_ExecuteStatement_result__isset {
class TCLIService_ExecuteStatement_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_ExecuteStatement_result(const TCLIService_ExecuteStatement_result&);
TCLIService_ExecuteStatement_result& operator=(const TCLIService_ExecuteStatement_result&);
TCLIService_ExecuteStatement_result() {
@@ -524,6 +577,7 @@ class TCLIService_ExecuteStatement_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_result& obj);
};
typedef struct _TCLIService_ExecuteStatement_presult__isset {
@@ -534,6 +588,9 @@ typedef struct _TCLIService_ExecuteStatement_presult__isset {
class TCLIService_ExecuteStatement_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_ExecuteStatement_presult() throw();
TExecuteStatementResp* success;
@@ -542,6 +599,7 @@ class TCLIService_ExecuteStatement_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_presult& obj);
};
typedef struct _TCLIService_GetTypeInfo_args__isset {
@@ -552,6 +610,9 @@ typedef struct _TCLIService_GetTypeInfo_args__isset {
class TCLIService_GetTypeInfo_args {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
TCLIService_GetTypeInfo_args(const TCLIService_GetTypeInfo_args&);
TCLIService_GetTypeInfo_args& operator=(const TCLIService_GetTypeInfo_args&);
TCLIService_GetTypeInfo_args() {
@@ -579,18 +640,23 @@ class TCLIService_GetTypeInfo_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_args& obj);
};
class TCLIService_GetTypeInfo_pargs {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
virtual ~TCLIService_GetTypeInfo_pargs() throw();
const TGetTypeInfoReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_pargs& obj);
};
typedef struct _TCLIService_GetTypeInfo_result__isset {
@@ -601,6 +667,9 @@ typedef struct _TCLIService_GetTypeInfo_result__isset {
class TCLIService_GetTypeInfo_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetTypeInfo_result(const TCLIService_GetTypeInfo_result&);
TCLIService_GetTypeInfo_result& operator=(const TCLIService_GetTypeInfo_result&);
TCLIService_GetTypeInfo_result() {
@@ -628,6 +697,7 @@ class TCLIService_GetTypeInfo_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_result& obj);
};
typedef struct _TCLIService_GetTypeInfo_presult__isset {
@@ -638,6 +708,9 @@ typedef struct _TCLIService_GetTypeInfo_presult__isset {
class TCLIService_GetTypeInfo_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetTypeInfo_presult() throw();
TGetTypeInfoResp* success;
@@ -646,6 +719,7 @@ class TCLIService_GetTypeInfo_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_presult& obj);
};
typedef struct _TCLIService_GetCatalogs_args__isset {
@@ -656,6 +730,9 @@ typedef struct _TCLIService_GetCatalogs_args__isset {
class TCLIService_GetCatalogs_args {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
TCLIService_GetCatalogs_args(const TCLIService_GetCatalogs_args&);
TCLIService_GetCatalogs_args& operator=(const TCLIService_GetCatalogs_args&);
TCLIService_GetCatalogs_args() {
@@ -683,18 +760,23 @@ class TCLIService_GetCatalogs_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_args& obj);
};
class TCLIService_GetCatalogs_pargs {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
virtual ~TCLIService_GetCatalogs_pargs() throw();
const TGetCatalogsReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_pargs& obj);
};
typedef struct _TCLIService_GetCatalogs_result__isset {
@@ -705,6 +787,9 @@ typedef struct _TCLIService_GetCatalogs_result__isset {
class TCLIService_GetCatalogs_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetCatalogs_result(const TCLIService_GetCatalogs_result&);
TCLIService_GetCatalogs_result& operator=(const TCLIService_GetCatalogs_result&);
TCLIService_GetCatalogs_result() {
@@ -732,6 +817,7 @@ class TCLIService_GetCatalogs_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_result& obj);
};
typedef struct _TCLIService_GetCatalogs_presult__isset {
@@ -742,6 +828,9 @@ typedef struct _TCLIService_GetCatalogs_presult__isset {
class TCLIService_GetCatalogs_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetCatalogs_presult() throw();
TGetCatalogsResp* success;
@@ -750,6 +839,7 @@ class TCLIService_GetCatalogs_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_presult& obj);
};
typedef struct _TCLIService_GetSchemas_args__isset {
@@ -760,6 +850,9 @@ typedef struct _TCLIService_GetSchemas_args__isset {
class TCLIService_GetSchemas_args {
public:
+ static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
+ static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
+
TCLIService_GetSchemas_args(const TCLIService_GetSchemas_args&);
TCLIService_GetSchemas_args& operator=(const TCLIService_GetSchemas_args&);
TCLIService_GetSchemas_args() {
@@ -787,18 +880,23 @@ class TCLIService_GetSchemas_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_args& obj);
};
class TCLIService_GetSchemas_pargs {
public:
+ static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE";
+ static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE};
+
virtual ~TCLIService_GetSchemas_pargs() throw();
const TGetSchemasReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_pargs& obj);
};
typedef struct _TCLIService_GetSchemas_result__isset {
@@ -809,6 +907,9 @@ typedef struct _TCLIService_GetSchemas_result__isset {
class TCLIService_GetSchemas_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetSchemas_result(const TCLIService_GetSchemas_result&);
TCLIService_GetSchemas_result& operator=(const TCLIService_GetSchemas_result&);
TCLIService_GetSchemas_result() {
@@ -836,6 +937,7 @@ class TCLIService_GetSchemas_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_result& obj);
};
typedef struct _TCLIService_GetSchemas_presult__isset {
@@ -846,6 +948,9 @@ typedef struct _TCLIService_GetSchemas_presult__isset {
class TCLIService_GetSchemas_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetSchemas_presult() throw();
TGetSchemasResp* success;
@@ -854,6 +959,7 @@ class TCLIService_GetSchemas_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_presult& obj);
};
typedef struct _TCLIService_GetTables_args__isset {
@@ -864,6 +970,9 @@ typedef struct _TCLIService_GetTables_args__isset {
class TCLIService_GetTables_args {
public:
+ static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
+ static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
+
TCLIService_GetTables_args(const TCLIService_GetTables_args&);
TCLIService_GetTables_args& operator=(const TCLIService_GetTables_args&);
TCLIService_GetTables_args() {
@@ -891,18 +1000,23 @@ class TCLIService_GetTables_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_args& obj);
};
class TCLIService_GetTables_pargs {
public:
+ static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6";
+ static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6};
+
virtual ~TCLIService_GetTables_pargs() throw();
const TGetTablesReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_pargs& obj);
};
typedef struct _TCLIService_GetTables_result__isset {
@@ -913,6 +1027,9 @@ typedef struct _TCLIService_GetTables_result__isset {
class TCLIService_GetTables_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetTables_result(const TCLIService_GetTables_result&);
TCLIService_GetTables_result& operator=(const TCLIService_GetTables_result&);
TCLIService_GetTables_result() {
@@ -940,6 +1057,7 @@ class TCLIService_GetTables_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_result& obj);
};
typedef struct _TCLIService_GetTables_presult__isset {
@@ -950,6 +1068,9 @@ typedef struct _TCLIService_GetTables_presult__isset {
class TCLIService_GetTables_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetTables_presult() throw();
TGetTablesResp* success;
@@ -958,6 +1079,7 @@ class TCLIService_GetTables_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_presult& obj);
};
typedef struct _TCLIService_GetTableTypes_args__isset {
@@ -968,6 +1090,9 @@ typedef struct _TCLIService_GetTableTypes_args__isset {
class TCLIService_GetTableTypes_args {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
TCLIService_GetTableTypes_args(const TCLIService_GetTableTypes_args&);
TCLIService_GetTableTypes_args& operator=(const TCLIService_GetTableTypes_args&);
TCLIService_GetTableTypes_args() {
@@ -995,18 +1120,23 @@ class TCLIService_GetTableTypes_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_args& obj);
};
class TCLIService_GetTableTypes_pargs {
public:
+ static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC";
+ static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC};
+
virtual ~TCLIService_GetTableTypes_pargs() throw();
const TGetTableTypesReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_pargs& obj);
};
typedef struct _TCLIService_GetTableTypes_result__isset {
@@ -1017,6 +1147,9 @@ typedef struct _TCLIService_GetTableTypes_result__isset {
class TCLIService_GetTableTypes_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetTableTypes_result(const TCLIService_GetTableTypes_result&);
TCLIService_GetTableTypes_result& operator=(const TCLIService_GetTableTypes_result&);
TCLIService_GetTableTypes_result() {
@@ -1044,6 +1177,7 @@ class TCLIService_GetTableTypes_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_result& obj);
};
typedef struct _TCLIService_GetTableTypes_presult__isset {
@@ -1054,6 +1188,9 @@ typedef struct _TCLIService_GetTableTypes_presult__isset {
class TCLIService_GetTableTypes_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetTableTypes_presult() throw();
TGetTableTypesResp* success;
@@ -1062,6 +1199,7 @@ class TCLIService_GetTableTypes_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_presult& obj);
};
typedef struct _TCLIService_GetColumns_args__isset {
@@ -1072,6 +1210,9 @@ typedef struct _TCLIService_GetColumns_args__isset {
class TCLIService_GetColumns_args {
public:
+ static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
+
TCLIService_GetColumns_args(const TCLIService_GetColumns_args&);
TCLIService_GetColumns_args& operator=(const TCLIService_GetColumns_args&);
TCLIService_GetColumns_args() {
@@ -1099,18 +1240,23 @@ class TCLIService_GetColumns_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_args& obj);
};
class TCLIService_GetColumns_pargs {
public:
+ static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3};
+
virtual ~TCLIService_GetColumns_pargs() throw();
const TGetColumnsReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_pargs& obj);
};
typedef struct _TCLIService_GetColumns_result__isset {
@@ -1121,6 +1267,9 @@ typedef struct _TCLIService_GetColumns_result__isset {
class TCLIService_GetColumns_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetColumns_result(const TCLIService_GetColumns_result&);
TCLIService_GetColumns_result& operator=(const TCLIService_GetColumns_result&);
TCLIService_GetColumns_result() {
@@ -1148,6 +1297,7 @@ class TCLIService_GetColumns_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_result& obj);
};
typedef struct _TCLIService_GetColumns_presult__isset {
@@ -1158,6 +1308,9 @@ typedef struct _TCLIService_GetColumns_presult__isset {
class TCLIService_GetColumns_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetColumns_presult() throw();
TGetColumnsResp* success;
@@ -1166,6 +1319,7 @@ class TCLIService_GetColumns_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_presult& obj);
};
typedef struct _TCLIService_GetFunctions_args__isset {
@@ -1176,6 +1330,9 @@ typedef struct _TCLIService_GetFunctions_args__isset {
class TCLIService_GetFunctions_args {
public:
+ static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
+ static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
+
TCLIService_GetFunctions_args(const TCLIService_GetFunctions_args&);
TCLIService_GetFunctions_args& operator=(const TCLIService_GetFunctions_args&);
TCLIService_GetFunctions_args() {
@@ -1203,18 +1360,23 @@ class TCLIService_GetFunctions_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_args& obj);
};
class TCLIService_GetFunctions_pargs {
public:
+ static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52";
+ static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52};
+
virtual ~TCLIService_GetFunctions_pargs() throw();
const TGetFunctionsReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_pargs& obj);
};
typedef struct _TCLIService_GetFunctions_result__isset {
@@ -1225,6 +1387,9 @@ typedef struct _TCLIService_GetFunctions_result__isset {
class TCLIService_GetFunctions_result {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
TCLIService_GetFunctions_result(const TCLIService_GetFunctions_result&);
TCLIService_GetFunctions_result& operator=(const TCLIService_GetFunctions_result&);
TCLIService_GetFunctions_result() {
@@ -1252,6 +1417,7 @@ class TCLIService_GetFunctions_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_result& obj);
};
typedef struct _TCLIService_GetFunctions_presult__isset {
@@ -1262,6 +1428,9 @@ typedef struct _TCLIService_GetFunctions_presult__isset {
class TCLIService_GetFunctions_presult {
public:
+ static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF";
+ static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF};
+
virtual ~TCLIService_GetFunctions_presult() throw();
TGetFunctionsResp* success;
@@ -1270,6 +1439,7 @@ class TCLIService_GetFunctions_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_presult& obj);
};
typedef struct _TCLIService_GetOperationStatus_args__isset {
@@ -1280,6 +1450,9 @@ typedef struct _TCLIService_GetOperationStatus_args__isset {
class TCLIService_GetOperationStatus_args {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
TCLIService_GetOperationStatus_args(const TCLIService_GetOperationStatus_args&);
TCLIService_GetOperationStatus_args& operator=(const TCLIService_GetOperationStatus_args&);
TCLIService_GetOperationStatus_args() {
@@ -1307,18 +1480,23 @@ class TCLIService_GetOperationStatus_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_args& obj);
};
class TCLIService_GetOperationStatus_pargs {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
virtual ~TCLIService_GetOperationStatus_pargs() throw();
const TGetOperationStatusReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_pargs& obj);
};
typedef struct _TCLIService_GetOperationStatus_result__isset {
@@ -1329,6 +1507,9 @@ typedef struct _TCLIService_GetOperationStatus_result__isset {
class TCLIService_GetOperationStatus_result {
public:
+ static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
+ static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
+
TCLIService_GetOperationStatus_result(const TCLIService_GetOperationStatus_result&);
TCLIService_GetOperationStatus_result& operator=(const TCLIService_GetOperationStatus_result&);
TCLIService_GetOperationStatus_result() {
@@ -1356,6 +1537,7 @@ class TCLIService_GetOperationStatus_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_result& obj);
};
typedef struct _TCLIService_GetOperationStatus_presult__isset {
@@ -1366,6 +1548,9 @@ typedef struct _TCLIService_GetOperationStatus_presult__isset {
class TCLIService_GetOperationStatus_presult {
public:
+ static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85";
+ static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85};
+
virtual ~TCLIService_GetOperationStatus_presult() throw();
TGetOperationStatusResp* success;
@@ -1374,6 +1559,7 @@ class TCLIService_GetOperationStatus_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_presult& obj);
};
typedef struct _TCLIService_CancelOperation_args__isset {
@@ -1384,6 +1570,9 @@ typedef struct _TCLIService_CancelOperation_args__isset {
class TCLIService_CancelOperation_args {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
TCLIService_CancelOperation_args(const TCLIService_CancelOperation_args&);
TCLIService_CancelOperation_args& operator=(const TCLIService_CancelOperation_args&);
TCLIService_CancelOperation_args() {
@@ -1411,18 +1600,23 @@ class TCLIService_CancelOperation_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_args& obj);
};
class TCLIService_CancelOperation_pargs {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
virtual ~TCLIService_CancelOperation_pargs() throw();
const TCancelOperationReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_pargs& obj);
};
typedef struct _TCLIService_CancelOperation_result__isset {
@@ -1433,6 +1627,9 @@ typedef struct _TCLIService_CancelOperation_result__isset {
class TCLIService_CancelOperation_result {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
TCLIService_CancelOperation_result(const TCLIService_CancelOperation_result&);
TCLIService_CancelOperation_result& operator=(const TCLIService_CancelOperation_result&);
TCLIService_CancelOperation_result() {
@@ -1460,6 +1657,7 @@ class TCLIService_CancelOperation_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_result& obj);
};
typedef struct _TCLIService_CancelOperation_presult__isset {
@@ -1470,6 +1668,9 @@ typedef struct _TCLIService_CancelOperation_presult__isset {
class TCLIService_CancelOperation_presult {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
virtual ~TCLIService_CancelOperation_presult() throw();
TCancelOperationResp* success;
@@ -1478,6 +1679,7 @@ class TCLIService_CancelOperation_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_presult& obj);
};
typedef struct _TCLIService_CloseOperation_args__isset {
@@ -1488,6 +1690,9 @@ typedef struct _TCLIService_CloseOperation_args__isset {
class TCLIService_CloseOperation_args {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
TCLIService_CloseOperation_args(const TCLIService_CloseOperation_args&);
TCLIService_CloseOperation_args& operator=(const TCLIService_CloseOperation_args&);
TCLIService_CloseOperation_args() {
@@ -1515,18 +1720,23 @@ class TCLIService_CloseOperation_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_args& obj);
};
class TCLIService_CloseOperation_pargs {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
virtual ~TCLIService_CloseOperation_pargs() throw();
const TCloseOperationReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_pargs& obj);
};
typedef struct _TCLIService_CloseOperation_result__isset {
@@ -1537,6 +1747,9 @@ typedef struct _TCLIService_CloseOperation_result__isset {
class TCLIService_CloseOperation_result {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
TCLIService_CloseOperation_result(const TCLIService_CloseOperation_result&);
TCLIService_CloseOperation_result& operator=(const TCLIService_CloseOperation_result&);
TCLIService_CloseOperation_result() {
@@ -1564,6 +1777,7 @@ class TCLIService_CloseOperation_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_result& obj);
};
typedef struct _TCLIService_CloseOperation_presult__isset {
@@ -1574,6 +1788,9 @@ typedef struct _TCLIService_CloseOperation_presult__isset {
class TCLIService_CloseOperation_presult {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
virtual ~TCLIService_CloseOperation_presult() throw();
TCloseOperationResp* success;
@@ -1582,6 +1799,7 @@ class TCLIService_CloseOperation_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_presult& obj);
};
typedef struct _TCLIService_GetResultSetMetadata_args__isset {
@@ -1592,6 +1810,9 @@ typedef struct _TCLIService_GetResultSetMetadata_args__isset {
class TCLIService_GetResultSetMetadata_args {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
TCLIService_GetResultSetMetadata_args(const TCLIService_GetResultSetMetadata_args&);
TCLIService_GetResultSetMetadata_args& operator=(const TCLIService_GetResultSetMetadata_args&);
TCLIService_GetResultSetMetadata_args() {
@@ -1619,18 +1840,23 @@ class TCLIService_GetResultSetMetadata_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_args& obj);
};
class TCLIService_GetResultSetMetadata_pargs {
public:
+ static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7";
+ static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7};
+
virtual ~TCLIService_GetResultSetMetadata_pargs() throw();
const TGetResultSetMetadataReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_pargs& obj);
};
typedef struct _TCLIService_GetResultSetMetadata_result__isset {
@@ -1641,6 +1867,9 @@ typedef struct _TCLIService_GetResultSetMetadata_result__isset {
class TCLIService_GetResultSetMetadata_result {
public:
+ static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
+ static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
+
TCLIService_GetResultSetMetadata_result(const TCLIService_GetResultSetMetadata_result&);
TCLIService_GetResultSetMetadata_result& operator=(const TCLIService_GetResultSetMetadata_result&);
TCLIService_GetResultSetMetadata_result() {
@@ -1668,6 +1897,7 @@ class TCLIService_GetResultSetMetadata_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_result& obj);
};
typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
@@ -1678,6 +1908,9 @@ typedef struct _TCLIService_GetResultSetMetadata_presult__isset {
class TCLIService_GetResultSetMetadata_presult {
public:
+ static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463";
+ static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63};
+
virtual ~TCLIService_GetResultSetMetadata_presult() throw();
TGetResultSetMetadataResp* success;
@@ -1686,6 +1919,7 @@ class TCLIService_GetResultSetMetadata_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_presult& obj);
};
typedef struct _TCLIService_FetchResults_args__isset {
@@ -1696,6 +1930,9 @@ typedef struct _TCLIService_FetchResults_args__isset {
class TCLIService_FetchResults_args {
public:
+ static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
+ static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
+
TCLIService_FetchResults_args(const TCLIService_FetchResults_args&);
TCLIService_FetchResults_args& operator=(const TCLIService_FetchResults_args&);
TCLIService_FetchResults_args() {
@@ -1723,18 +1960,23 @@ class TCLIService_FetchResults_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_args& obj);
};
class TCLIService_FetchResults_pargs {
public:
+ static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8";
+ static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8};
+
virtual ~TCLIService_FetchResults_pargs() throw();
const TFetchResultsReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_pargs& obj);
};
typedef struct _TCLIService_FetchResults_result__isset {
@@ -1745,6 +1987,9 @@ typedef struct _TCLIService_FetchResults_result__isset {
class TCLIService_FetchResults_result {
public:
+ static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
+ static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
+
TCLIService_FetchResults_result(const TCLIService_FetchResults_result&);
TCLIService_FetchResults_result& operator=(const TCLIService_FetchResults_result&);
TCLIService_FetchResults_result() {
@@ -1772,6 +2017,7 @@ class TCLIService_FetchResults_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_result& obj);
};
typedef struct _TCLIService_FetchResults_presult__isset {
@@ -1782,6 +2028,9 @@ typedef struct _TCLIService_FetchResults_presult__isset {
class TCLIService_FetchResults_presult {
public:
+ static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196";
+ static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96};
+
virtual ~TCLIService_FetchResults_presult() throw();
TFetchResultsResp* success;
@@ -1790,6 +2039,7 @@ class TCLIService_FetchResults_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_presult& obj);
};
typedef struct _TCLIService_GetDelegationToken_args__isset {
@@ -1800,6 +2050,9 @@ typedef struct _TCLIService_GetDelegationToken_args__isset {
class TCLIService_GetDelegationToken_args {
public:
+ static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
+ static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
+
TCLIService_GetDelegationToken_args(const TCLIService_GetDelegationToken_args&);
TCLIService_GetDelegationToken_args& operator=(const TCLIService_GetDelegationToken_args&);
TCLIService_GetDelegationToken_args() {
@@ -1827,18 +2080,23 @@ class TCLIService_GetDelegationToken_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_args& obj);
};
class TCLIService_GetDelegationToken_pargs {
public:
+ static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4";
+ static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4};
+
virtual ~TCLIService_GetDelegationToken_pargs() throw();
const TGetDelegationTokenReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_pargs& obj);
};
typedef struct _TCLIService_GetDelegationToken_result__isset {
@@ -1849,6 +2107,9 @@ typedef struct _TCLIService_GetDelegationToken_result__isset {
class TCLIService_GetDelegationToken_result {
public:
+ static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
+ static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
+
TCLIService_GetDelegationToken_result(const TCLIService_GetDelegationToken_result&);
TCLIService_GetDelegationToken_result& operator=(const TCLIService_GetDelegationToken_result&);
TCLIService_GetDelegationToken_result() {
@@ -1876,6 +2137,7 @@ class TCLIService_GetDelegationToken_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_result& obj);
};
typedef struct _TCLIService_GetDelegationToken_presult__isset {
@@ -1886,6 +2148,9 @@ typedef struct _TCLIService_GetDelegationToken_presult__isset {
class TCLIService_GetDelegationToken_presult {
public:
+ static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7";
+ static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7};
+
virtual ~TCLIService_GetDelegationToken_presult() throw();
TGetDelegationTokenResp* success;
@@ -1894,6 +2159,7 @@ class TCLIService_GetDelegationToken_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_presult& obj);
};
typedef struct _TCLIService_CancelDelegationToken_args__isset {
@@ -1904,6 +2170,9 @@ typedef struct _TCLIService_CancelDelegationToken_args__isset {
class TCLIService_CancelDelegationToken_args {
public:
+ static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
+ static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
+
TCLIService_CancelDelegationToken_args(const TCLIService_CancelDelegationToken_args&);
TCLIService_CancelDelegationToken_args& operator=(const TCLIService_CancelDelegationToken_args&);
TCLIService_CancelDelegationToken_args() {
@@ -1931,18 +2200,23 @@ class TCLIService_CancelDelegationToken_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_args& obj);
};
class TCLIService_CancelDelegationToken_pargs {
public:
+ static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
+ static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
+
virtual ~TCLIService_CancelDelegationToken_pargs() throw();
const TCancelDelegationTokenReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_pargs& obj);
};
typedef struct _TCLIService_CancelDelegationToken_result__isset {
@@ -1953,6 +2227,9 @@ typedef struct _TCLIService_CancelDelegationToken_result__isset {
class TCLIService_CancelDelegationToken_result {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
TCLIService_CancelDelegationToken_result(const TCLIService_CancelDelegationToken_result&);
TCLIService_CancelDelegationToken_result& operator=(const TCLIService_CancelDelegationToken_result&);
TCLIService_CancelDelegationToken_result() {
@@ -1980,6 +2257,7 @@ class TCLIService_CancelDelegationToken_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_result& obj);
};
typedef struct _TCLIService_CancelDelegationToken_presult__isset {
@@ -1990,6 +2268,9 @@ typedef struct _TCLIService_CancelDelegationToken_presult__isset {
class TCLIService_CancelDelegationToken_presult {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
virtual ~TCLIService_CancelDelegationToken_presult() throw();
TCancelDelegationTokenResp* success;
@@ -1998,6 +2279,7 @@ class TCLIService_CancelDelegationToken_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_presult& obj);
};
typedef struct _TCLIService_RenewDelegationToken_args__isset {
@@ -2008,6 +2290,9 @@ typedef struct _TCLIService_RenewDelegationToken_args__isset {
class TCLIService_RenewDelegationToken_args {
public:
+ static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
+ static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
+
TCLIService_RenewDelegationToken_args(const TCLIService_RenewDelegationToken_args&);
TCLIService_RenewDelegationToken_args& operator=(const TCLIService_RenewDelegationToken_args&);
TCLIService_RenewDelegationToken_args() {
@@ -2035,18 +2320,23 @@ class TCLIService_RenewDelegationToken_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_args& obj);
};
class TCLIService_RenewDelegationToken_pargs {
public:
+ static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54";
+ static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54};
+
virtual ~TCLIService_RenewDelegationToken_pargs() throw();
const TRenewDelegationTokenReq* req;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_pargs& obj);
};
typedef struct _TCLIService_RenewDelegationToken_result__isset {
@@ -2057,6 +2347,9 @@ typedef struct _TCLIService_RenewDelegationToken_result__isset {
class TCLIService_RenewDelegationToken_result {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
TCLIService_RenewDelegationToken_result(const TCLIService_RenewDelegationToken_result&);
TCLIService_RenewDelegationToken_result& operator=(const TCLIService_RenewDelegationToken_result&);
TCLIService_RenewDelegationToken_result() {
@@ -2084,6 +2377,7 @@ class TCLIService_RenewDelegationToken_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_result& obj);
};
typedef struct _TCLIService_RenewDelegationToken_presult__isset {
@@ -2094,6 +2388,9 @@ typedef struct _TCLIService_RenewDelegationToken_presult__isset {
class TCLIService_RenewDelegationToken_presult {
public:
+ static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7};
+
virtual ~TCLIService_RenewDelegationToken_presult() throw();
TRenewDelegationTokenResp* success;
@@ -2102,6 +2399,7 @@ class TCLIService_RenewDelegationToken_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_presult& obj);
};
class TCLIServiceClient : virtual public TCLIServiceIf {
@@ -2462,103 +2760,6 @@ class TCLIServiceMultiface : virtual public TCLIServiceIf {
};
-// The 'concurrent' client is a thread safe client that correctly handles
-// out of order responses. It is slower than the regular client, so should
-// only be used when you need to share a connection among multiple threads
-class TCLIServiceConcurrentClient : virtual public TCLIServiceIf {
- public:
- TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
- setProtocol(prot);
- }
- TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
- setProtocol(iprot,oprot);
- }
- private:
- void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) {
- setProtocol(prot,prot);
- }
- void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) {
- piprot_=iprot;
- poprot_=oprot;
- iprot_ = iprot.get();
- oprot_ = oprot.get();
- }
- public:
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
- return piprot_;
- }
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
- return poprot_;
- }
- void OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req);
- int32_t send_OpenSession(const TOpenSessionReq& req);
- void recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid);
- void CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req);
- int32_t send_CloseSession(const TCloseSessionReq& req);
- void recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid);
- void GetInfo(TGetInfoResp& _return, const TGetInfoReq& req);
- int32_t send_GetInfo(const TGetInfoReq& req);
- void recv_GetInfo(TGetInfoResp& _return, const int32_t seqid);
- void ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req);
- int32_t send_ExecuteStatement(const TExecuteStatementReq& req);
- void recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid);
- void GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req);
- int32_t send_GetTypeInfo(const TGetTypeInfoReq& req);
- void recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid);
- void GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req);
- int32_t send_GetCatalogs(const TGetCatalogsReq& req);
- void recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid);
- void GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req);
- int32_t send_GetSchemas(const TGetSchemasReq& req);
- void recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid);
- void GetTables(TGetTablesResp& _return, const TGetTablesReq& req);
- int32_t send_GetTables(const TGetTablesReq& req);
- void recv_GetTables(TGetTablesResp& _return, const int32_t seqid);
- void GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req);
- int32_t send_GetTableTypes(const TGetTableTypesReq& req);
- void recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid);
- void GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req);
- int32_t send_GetColumns(const TGetColumnsReq& req);
- void recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid);
- void GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req);
- int32_t send_GetFunctions(const TGetFunctionsReq& req);
- void recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid);
- void GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req);
- int32_t send_GetOperationStatus(const TGetOperationStatusReq& req);
- void recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid);
- void CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req);
- int32_t send_CancelOperation(const TCancelOperationReq& req);
- void recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid);
- void CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req);
- int32_t send_CloseOperation(const TCloseOperationReq& req);
- void recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid);
- void GetResultSetMetadata(TGetResultSetMetadataResp& _return, const TGetResultSetMetadataReq& req);
- int32_t send_GetResultSetMetadata(const TGetResultSetMetadataReq& req);
- void recv_GetResultSetMetadata(TGetResultSetMetadataResp& _return, const int32_t seqid);
- void FetchResults(TFetchResultsResp& _return, const TFetchResultsReq& req);
- int32_t send_FetchResults(const TFetchResultsReq& req);
- void recv_FetchResults(TFetchResultsResp& _return, const int32_t seqid);
- void GetDelegationToken(TGetDelegationTokenResp& _return, const TGetDelegationTokenReq& req);
- int32_t send_GetDelegationToken(const TGetDelegationTokenReq& req);
- void recv_GetDelegationToken(TGetDelegationTokenResp& _return, const int32_t seqid);
- void CancelDelegationToken(TCancelDelegationTokenResp& _return, const TCancelDelegationTokenReq& req);
- int32_t send_CancelDelegationToken(const TCancelDelegationTokenReq& req);
- void recv_CancelDelegationToken(TCancelDelegationTokenResp& _return, const int32_t seqid);
- void RenewDelegationToken(TRenewDelegationTokenResp& _return, const TRenewDelegationTokenReq& req);
- int32_t send_RenewDelegationToken(const TRenewDelegationTokenReq& req);
- void recv_RenewDelegationToken(TRenewDelegationTokenResp& _return, const int32_t seqid);
- protected:
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_;
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_;
- ::apache::thrift::protocol::TProtocol* iprot_;
- ::apache::thrift::protocol::TProtocol* oprot_;
- ::apache::thrift::async::TConcurrentClientSyncInfo sync_;
-};
-
-#ifdef _WIN32
- #pragma warning( pop )
-#endif
-
}}}}} // namespace
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
index 60eeff7..dcca5c8 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
+++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
index 9310717..8993394 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
+++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[14/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
index 47b7afa..809f68c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ThriftHiveMetastore {
/**
@@ -158,6 +158,8 @@ public class ThriftHiveMetastore {
public PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
+ public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
+
public List<Partition> get_partitions_by_names(String db_name, String tbl_name, List<String> names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public void alter_partition(String db_name, String tbl_name, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
@@ -426,6 +428,8 @@ public class ThriftHiveMetastore {
public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+ public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+
public void get_partitions_by_names(String db_name, String tbl_name, List<String> names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -2394,6 +2398,37 @@ public class ThriftHiveMetastore {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result");
}
+ public int get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
+ {
+ send_get_num_partitions_by_filter(db_name, tbl_name, filter);
+ return recv_get_num_partitions_by_filter();
+ }
+
+ public void send_get_num_partitions_by_filter(String db_name, String tbl_name, String filter) throws org.apache.thrift.TException
+ {
+ get_num_partitions_by_filter_args args = new get_num_partitions_by_filter_args();
+ args.setDb_name(db_name);
+ args.setTbl_name(tbl_name);
+ args.setFilter(filter);
+ sendBase("get_num_partitions_by_filter", args);
+ }
+
+ public int recv_get_num_partitions_by_filter() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
+ {
+ get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
+ receiveBase(result, "get_num_partitions_by_filter");
+ if (result.isSetSuccess()) {
+ return result.success;
+ }
+ if (result.o1 != null) {
+ throw result.o1;
+ }
+ if (result.o2 != null) {
+ throw result.o2;
+ }
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_num_partitions_by_filter failed: unknown result");
+ }
+
public List<Partition> get_partitions_by_names(String db_name, String tbl_name, List<String> names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_partitions_by_names(db_name, tbl_name, names);
@@ -6620,6 +6655,44 @@ public class ThriftHiveMetastore {
}
}
+ public void get_num_partitions_by_filter(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+ checkReady();
+ get_num_partitions_by_filter_call method_call = new get_num_partitions_by_filter_call(db_name, tbl_name, filter, resultHandler, this, ___protocolFactory, ___transport);
+ this.___currentMethod = method_call;
+ ___manager.call(method_call);
+ }
+
+ public static class get_num_partitions_by_filter_call extends org.apache.thrift.async.TAsyncMethodCall {
+ private String db_name;
+ private String tbl_name;
+ private String filter;
+ public get_num_partitions_by_filter_call(String db_name, String tbl_name, String filter, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+ super(client, protocolFactory, transport, resultHandler, false);
+ this.db_name = db_name;
+ this.tbl_name = tbl_name;
+ this.filter = filter;
+ }
+
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_num_partitions_by_filter", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ get_num_partitions_by_filter_args args = new get_num_partitions_by_filter_args();
+ args.setDb_name(db_name);
+ args.setTbl_name(tbl_name);
+ args.setFilter(filter);
+ args.write(prot);
+ prot.writeMessageEnd();
+ }
+
+ public int getResult() throws MetaException, NoSuchObjectException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
+ throw new IllegalStateException("Method call not finished!");
+ }
+ org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
+ org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+ return (new Client(prot)).recv_get_num_partitions_by_filter();
+ }
+ }
+
public void get_partitions_by_names(String db_name, String tbl_name, List<String> names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
get_partitions_by_names_call method_call = new get_partitions_by_names_call(db_name, tbl_name, names, resultHandler, this, ___protocolFactory, ___transport);
@@ -9227,6 +9300,7 @@ public class ThriftHiveMetastore {
processMap.put("get_partitions_by_filter", new get_partitions_by_filter());
processMap.put("get_part_specs_by_filter", new get_part_specs_by_filter());
processMap.put("get_partitions_by_expr", new get_partitions_by_expr());
+ processMap.put("get_num_partitions_by_filter", new get_num_partitions_by_filter());
processMap.put("get_partitions_by_names", new get_partitions_by_names());
processMap.put("alter_partition", new alter_partition());
processMap.put("alter_partitions", new alter_partitions());
@@ -10854,6 +10928,33 @@ public class ThriftHiveMetastore {
}
}
+ public static class get_num_partitions_by_filter<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_num_partitions_by_filter_args> {
+ public get_num_partitions_by_filter() {
+ super("get_num_partitions_by_filter");
+ }
+
+ public get_num_partitions_by_filter_args getEmptyArgsInstance() {
+ return new get_num_partitions_by_filter_args();
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public get_num_partitions_by_filter_result getResult(I iface, get_num_partitions_by_filter_args args) throws org.apache.thrift.TException {
+ get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
+ try {
+ result.success = iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter);
+ result.setSuccessIsSet(true);
+ } catch (MetaException o1) {
+ result.o1 = o1;
+ } catch (NoSuchObjectException o2) {
+ result.o2 = o2;
+ }
+ return result;
+ }
+ }
+
public static class get_partitions_by_names<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_partitions_by_names_args> {
public get_partitions_by_names() {
super("get_partitions_by_names");
@@ -12770,6 +12871,7 @@ public class ThriftHiveMetastore {
processMap.put("get_partitions_by_filter", new get_partitions_by_filter());
processMap.put("get_part_specs_by_filter", new get_part_specs_by_filter());
processMap.put("get_partitions_by_expr", new get_partitions_by_expr());
+ processMap.put("get_num_partitions_by_filter", new get_num_partitions_by_filter());
processMap.put("get_partitions_by_names", new get_partitions_by_names());
processMap.put("alter_partition", new alter_partition());
processMap.put("alter_partitions", new alter_partitions());
@@ -16525,6 +16627,69 @@ public class ThriftHiveMetastore {
}
}
+ public static class get_num_partitions_by_filter<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, get_num_partitions_by_filter_args, Integer> {
+ public get_num_partitions_by_filter() {
+ super("get_num_partitions_by_filter");
+ }
+
+ public get_num_partitions_by_filter_args getEmptyArgsInstance() {
+ return new get_num_partitions_by_filter_args();
+ }
+
+ public AsyncMethodCallback<Integer> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new AsyncMethodCallback<Integer>() {
+ public void onComplete(Integer o) {
+ get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
+ result.success = o;
+ result.setSuccessIsSet(true);
+ try {
+ fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ return;
+ } catch (Exception e) {
+ LOGGER.error("Exception writing to internal frame buffer", e);
+ }
+ fb.close();
+ }
+ public void onError(Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TBase msg;
+ get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result();
+ if (e instanceof MetaException) {
+ result.o1 = (MetaException) e;
+ result.setO1IsSet(true);
+ msg = result;
+ }
+ else if (e instanceof NoSuchObjectException) {
+ result.o2 = (NoSuchObjectException) e;
+ result.setO2IsSet(true);
+ msg = result;
+ }
+ else
+ {
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ return;
+ } catch (Exception ex) {
+ LOGGER.error("Exception writing to internal frame buffer", ex);
+ }
+ fb.close();
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, get_num_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback<Integer> resultHandler) throws TException {
+ iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter,resultHandler);
+ }
+ }
+
public static class get_partitions_by_names<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, get_partitions_by_names_args, List<Partition>> {
public get_partitions_by_names() {
super("get_partitions_by_names");
@@ -24695,10 +24860,10 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
case CASCADE:
- return isCascade();
+ return Boolean.valueOf(isCascade());
}
throw new IllegalStateException();
@@ -29725,7 +29890,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -30715,7 +30880,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -39355,7 +39520,7 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
}
throw new IllegalStateException();
@@ -40429,7 +40594,7 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -46783,7 +46948,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_TABLES:
- return getMax_tables();
+ return Short.valueOf(getMax_tables());
}
throw new IllegalStateException();
@@ -50302,7 +50467,7 @@ public class ThriftHiveMetastore {
return getNew_tbl();
case CASCADE:
- return isCascade();
+ return Boolean.valueOf(isCascade());
}
throw new IllegalStateException();
@@ -54041,7 +54206,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return getSuccess();
+ return Integer.valueOf(getSuccess());
case O1:
return getO1();
@@ -55129,7 +55294,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return getSuccess();
+ return Integer.valueOf(getSuccess());
case O1:
return getO1();
@@ -62179,7 +62344,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
}
throw new IllegalStateException();
@@ -62826,7 +62991,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -63510,7 +63675,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -64222,7 +64387,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -64845,7 +65010,7 @@ public class ThriftHiveMetastore {
return getPart_name();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
}
throw new IllegalStateException();
@@ -65460,7 +65625,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -66127,7 +66292,7 @@ public class ThriftHiveMetastore {
return getPart_name();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -66807,7 +66972,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
case O1:
return getO1();
@@ -75376,7 +75541,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -76671,7 +76836,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
case USER_NAME:
return getUser_name();
@@ -78013,7 +78178,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return getMax_parts();
+ return Integer.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -79203,7 +79368,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -80346,7 +80511,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -81794,7 +81959,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
case USER_NAME:
return getUser_name();
@@ -83289,7 +83454,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -84610,7 +84775,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_PARTS:
- return getMax_parts();
+ return Short.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -85904,7 +86069,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_PARTS:
- return getMax_parts();
+ return Integer.valueOf(getMax_parts());
}
throw new IllegalStateException();
@@ -87843,28 +88008,28 @@ public class ThriftHiveMetastore {
}
- public static class get_partitions_by_names_args implements org.apache.thrift.TBase<get_partitions_by_names_args, get_partitions_by_names_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_args");
+ public static class get_num_partitions_by_filter_args implements org.apache.thrift.TBase<get_num_partitions_by_filter_args, get_num_partitions_by_filter_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_num_partitions_by_filter_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_num_partitions_by_filter_args");
private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("names", org.apache.thrift.protocol.TType.LIST, (short)3);
+ private static final org.apache.thrift.protocol.TField FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", org.apache.thrift.protocol.TType.STRING, (short)3);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new get_partitions_by_names_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_partitions_by_names_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_num_partitions_by_filter_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_num_partitions_by_filter_argsTupleSchemeFactory());
}
private String db_name; // required
private String tbl_name; // required
- private List<String> names; // required
+ private String filter; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
DB_NAME((short)1, "db_name"),
TBL_NAME((short)2, "tbl_name"),
- NAMES((short)3, "names");
+ FILTER((short)3, "filter");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -87883,8 +88048,8 @@ public class ThriftHiveMetastore {
return DB_NAME;
case 2: // TBL_NAME
return TBL_NAME;
- case 3: // NAMES
- return NAMES;
+ case 3: // FILTER
+ return FILTER;
default:
return null;
}
@@ -87932,52 +88097,50 @@ public class ThriftHiveMetastore {
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.NAMES, new org.apache.thrift.meta_data.FieldMetaData("names", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+ tmpMap.put(_Fields.FILTER, new org.apache.thrift.meta_data.FieldMetaData("filter", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_num_partitions_by_filter_args.class, metaDataMap);
}
- public get_partitions_by_names_args() {
+ public get_num_partitions_by_filter_args() {
}
- public get_partitions_by_names_args(
+ public get_num_partitions_by_filter_args(
String db_name,
String tbl_name,
- List<String> names)
+ String filter)
{
this();
this.db_name = db_name;
this.tbl_name = tbl_name;
- this.names = names;
+ this.filter = filter;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_partitions_by_names_args(get_partitions_by_names_args other) {
+ public get_num_partitions_by_filter_args(get_num_partitions_by_filter_args other) {
if (other.isSetDb_name()) {
this.db_name = other.db_name;
}
if (other.isSetTbl_name()) {
this.tbl_name = other.tbl_name;
}
- if (other.isSetNames()) {
- List<String> __this__names = new ArrayList<String>(other.names);
- this.names = __this__names;
+ if (other.isSetFilter()) {
+ this.filter = other.filter;
}
}
- public get_partitions_by_names_args deepCopy() {
- return new get_partitions_by_names_args(this);
+ public get_num_partitions_by_filter_args deepCopy() {
+ return new get_num_partitions_by_filter_args(this);
}
@Override
public void clear() {
this.db_name = null;
this.tbl_name = null;
- this.names = null;
+ this.filter = null;
}
public String getDb_name() {
@@ -88026,41 +88189,26 @@ public class ThriftHiveMetastore {
}
}
- public int getNamesSize() {
- return (this.names == null) ? 0 : this.names.size();
- }
-
- public java.util.Iterator<String> getNamesIterator() {
- return (this.names == null) ? null : this.names.iterator();
- }
-
- public void addToNames(String elem) {
- if (this.names == null) {
- this.names = new ArrayList<String>();
- }
- this.names.add(elem);
- }
-
- public List<String> getNames() {
- return this.names;
+ public String getFilter() {
+ return this.filter;
}
- public void setNames(List<String> names) {
- this.names = names;
+ public void setFilter(String filter) {
+ this.filter = filter;
}
- public void unsetNames() {
- this.names = null;
+ public void unsetFilter() {
+ this.filter = null;
}
- /** Returns true if field names is set (has been assigned a value) and false otherwise */
- public boolean isSetNames() {
- return this.names != null;
+ /** Returns true if field filter is set (has been assigned a value) and false otherwise */
+ public boolean isSetFilter() {
+ return this.filter != null;
}
- public void setNamesIsSet(boolean value) {
+ public void setFilterIsSet(boolean value) {
if (!value) {
- this.names = null;
+ this.filter = null;
}
}
@@ -88082,11 +88230,11 @@ public class ThriftHiveMetastore {
}
break;
- case NAMES:
+ case FILTER:
if (value == null) {
- unsetNames();
+ unsetFilter();
} else {
- setNames((List<String>)value);
+ setFilter((String)value);
}
break;
@@ -88101,8 +88249,8 @@ public class ThriftHiveMetastore {
case TBL_NAME:
return getTbl_name();
- case NAMES:
- return getNames();
+ case FILTER:
+ return getFilter();
}
throw new IllegalStateException();
@@ -88119,8 +88267,8 @@ public class ThriftHiveMetastore {
return isSetDb_name();
case TBL_NAME:
return isSetTbl_name();
- case NAMES:
- return isSetNames();
+ case FILTER:
+ return isSetFilter();
}
throw new IllegalStateException();
}
@@ -88129,12 +88277,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_partitions_by_names_args)
- return this.equals((get_partitions_by_names_args)that);
+ if (that instanceof get_num_partitions_by_filter_args)
+ return this.equals((get_num_partitions_by_filter_args)that);
return false;
}
- public boolean equals(get_partitions_by_names_args that) {
+ public boolean equals(get_num_partitions_by_filter_args that) {
if (that == null)
return false;
@@ -88156,12 +88304,12 @@ public class ThriftHiveMetastore {
return false;
}
- boolean this_present_names = true && this.isSetNames();
- boolean that_present_names = true && that.isSetNames();
- if (this_present_names || that_present_names) {
- if (!(this_present_names && that_present_names))
+ boolean this_present_filter = true && this.isSetFilter();
+ boolean that_present_filter = true && that.isSetFilter();
+ if (this_present_filter || that_present_filter) {
+ if (!(this_present_filter && that_present_filter))
return false;
- if (!this.names.equals(that.names))
+ if (!this.filter.equals(that.filter))
return false;
}
@@ -88182,16 +88330,16 @@ public class ThriftHiveMetastore {
if (present_tbl_name)
list.add(tbl_name);
- boolean present_names = true && (isSetNames());
- list.add(present_names);
- if (present_names)
- list.add(names);
+ boolean present_filter = true && (isSetFilter());
+ list.add(present_filter);
+ if (present_filter)
+ list.add(filter);
return list.hashCode();
}
@Override
- public int compareTo(get_partitions_by_names_args other) {
+ public int compareTo(get_num_partitions_by_filter_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -88218,12 +88366,12 @@ public class ThriftHiveMetastore {
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
+ lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetNames()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
+ if (isSetFilter()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter);
if (lastComparison != 0) {
return lastComparison;
}
@@ -88245,7 +88393,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
+ StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_args(");
boolean first = true;
sb.append("db_name:");
@@ -88264,11 +88412,11 @@ public class ThriftHiveMetastore {
}
first = false;
if (!first) sb.append(", ");
- sb.append("names:");
- if (this.names == null) {
+ sb.append("filter:");
+ if (this.filter == null) {
sb.append("null");
} else {
- sb.append(this.names);
+ sb.append(this.filter);
}
first = false;
sb.append(")");
@@ -88296,15 +88444,15 @@ public class ThriftHiveMetastore {
}
}
- private static class get_partitions_by_names_argsStandardSchemeFactory implements SchemeFactory {
- public get_partitions_by_names_argsStandardScheme getScheme() {
- return new get_partitions_by_names_argsStandardScheme();
+ private static class get_num_partitions_by_filter_argsStandardSchemeFactory implements SchemeFactory {
+ public get_num_partitions_by_filter_argsStandardScheme getScheme() {
+ return new get_num_partitions_by_filter_argsStandardScheme();
}
}
- private static class get_partitions_by_names_argsStandardScheme extends StandardScheme<get_partitions_by_names_args> {
+ private static class get_num_partitions_by_filter_argsStandardScheme extends StandardScheme<get_num_partitions_by_filter_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -88330,20 +88478,10 @@ public class ThriftHiveMetastore {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // NAMES
- if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
- {
- org.apache.thrift.protocol.TList _list918 = iprot.readListBegin();
- struct.names = new ArrayList<String>(_list918.size);
- String _elem919;
- for (int _i920 = 0; _i920 < _list918.size; ++_i920)
- {
- _elem919 = iprot.readString();
- struct.names.add(_elem919);
- }
- iprot.readListEnd();
- }
- struct.setNamesIsSet(true);
+ case 3: // FILTER
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.filter = iprot.readString();
+ struct.setFilterIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -88357,7 +88495,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -88371,16 +88509,9 @@ public class ThriftHiveMetastore {
oprot.writeString(struct.tbl_name);
oprot.writeFieldEnd();
}
- if (struct.names != null) {
- oprot.writeFieldBegin(NAMES_FIELD_DESC);
- {
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size()));
- for (String _iter921 : struct.names)
- {
- oprot.writeString(_iter921);
- }
- oprot.writeListEnd();
- }
+ if (struct.filter != null) {
+ oprot.writeFieldBegin(FILTER_FIELD_DESC);
+ oprot.writeString(struct.filter);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -88389,16 +88520,16 @@ public class ThriftHiveMetastore {
}
- private static class get_partitions_by_names_argsTupleSchemeFactory implements SchemeFactory {
- public get_partitions_by_names_argsTupleScheme getScheme() {
- return new get_partitions_by_names_argsTupleScheme();
+ private static class get_num_partitions_by_filter_argsTupleSchemeFactory implements SchemeFactory {
+ public get_num_partitions_by_filter_argsTupleScheme getScheme() {
+ return new get_num_partitions_by_filter_argsTupleScheme();
}
}
- private static class get_partitions_by_names_argsTupleScheme extends TupleScheme<get_partitions_by_names_args> {
+ private static class get_num_partitions_by_filter_argsTupleScheme extends TupleScheme<get_num_partitions_by_filter_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetDb_name()) {
@@ -88407,7 +88538,7 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
optionals.set(1);
}
- if (struct.isSetNames()) {
+ if (struct.isSetFilter()) {
optionals.set(2);
}
oprot.writeBitSet(optionals, 3);
@@ -88417,19 +88548,13 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
oprot.writeString(struct.tbl_name);
}
- if (struct.isSetNames()) {
- {
- oprot.writeI32(struct.names.size());
- for (String _iter922 : struct.names)
- {
- oprot.writeString(_iter922);
- }
- }
+ if (struct.isSetFilter()) {
+ oprot.writeString(struct.filter);
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
@@ -88441,37 +88566,28 @@ public class ThriftHiveMetastore {
struct.setTbl_nameIsSet(true);
}
if (incoming.get(2)) {
- {
- org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.names = new ArrayList<String>(_list923.size);
- String _elem924;
- for (int _i925 = 0; _i925 < _list923.size; ++_i925)
- {
- _elem924 = iprot.readString();
- struct.names.add(_elem924);
- }
- }
- struct.setNamesIsSet(true);
+ struct.filter = iprot.readString();
+ struct.setFilterIsSet(true);
}
}
}
}
- public static class get_partitions_by_names_result implements org.apache.thrift.TBase<get_partitions_by_names_result, get_partitions_by_names_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_result");
+ public static class get_num_partitions_by_filter_result implements org.apache.thrift.TBase<get_num_partitions_by_filter_result, get_num_partitions_by_filter_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_num_partitions_by_filter_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_num_partitions_by_filter_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0);
private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new get_partitions_by_names_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_num_partitions_by_filter_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_num_partitions_by_filter_resultTupleSchemeFactory());
}
- private List<Partition> success; // required
+ private int success; // required
private MetaException o1; // required
private NoSuchObjectException o2; // required
@@ -88540,30 +88656,32 @@ public class ThriftHiveMetastore {
}
// isset id assignments
+ private static final int __SUCCESS_ISSET_ID = 0;
+ private byte __isset_bitfield = 0;
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))));
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_num_partitions_by_filter_result.class, metaDataMap);
}
- public get_partitions_by_names_result() {
+ public get_num_partitions_by_filter_result() {
}
- public get_partitions_by_names_result(
- List<Partition> success,
+ public get_num_partitions_by_filter_result(
+ int success,
MetaException o1,
NoSuchObjectException o2)
{
this();
this.success = success;
+ setSuccessIsSet(true);
this.o1 = o1;
this.o2 = o2;
}
@@ -88571,14 +88689,9 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_partitions_by_names_result(get_partitions_by_names_result other) {
- if (other.isSetSuccess()) {
- List<Partition> __this__success = new ArrayList<Partition>(other.success.size());
- for (Partition other_element : other.success) {
- __this__success.add(new Partition(other_element));
- }
- this.success = __this__success;
- }
+ public get_num_partitions_by_filter_result(get_num_partitions_by_filter_result other) {
+ __isset_bitfield = other.__isset_bitfield;
+ this.success = other.success;
if (other.isSetO1()) {
this.o1 = new MetaException(other.o1);
}
@@ -88587,53 +88700,38 @@ public class ThriftHiveMetastore {
}
}
- public get_partitions_by_names_result deepCopy() {
- return new get_partitions_by_names_result(this);
+ public get_num_partitions_by_filter_result deepCopy() {
+ return new get_num_partitions_by_filter_result(this);
}
@Override
public void clear() {
- this.success = null;
+ setSuccessIsSet(false);
+ this.success = 0;
this.o1 = null;
this.o2 = null;
}
- public int getSuccessSize() {
- return (this.success == null) ? 0 : this.success.size();
- }
-
- public java.util.Iterator<Partition> getSuccessIterator() {
- return (this.success == null) ? null : this.success.iterator();
- }
-
- public void addToSuccess(Partition elem) {
- if (this.success == null) {
- this.success = new ArrayList<Partition>();
- }
- this.success.add(elem);
- }
-
- public List<Partition> getSuccess() {
+ public int getSuccess() {
return this.success;
}
- public void setSuccess(List<Partition> success) {
+ public void setSuccess(int success) {
this.success = success;
+ setSuccessIsSet(true);
}
public void unsetSuccess() {
- this.success = null;
+ __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
- return this.success != null;
+ return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
- if (!value) {
- this.success = null;
- }
+ __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
}
public MetaException getO1() {
@@ -88688,7 +88786,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((List<Partition>)value);
+ setSuccess((Integer)value);
}
break;
@@ -88714,7 +88812,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return getSuccess();
+ return Integer.valueOf(getSuccess());
case O1:
return getO1();
@@ -88747,21 +88845,21 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_partitions_by_names_result)
- return this.equals((get_partitions_by_names_result)that);
+ if (that instanceof get_num_partitions_by_filter_result)
+ return this.equals((get_num_partitions_by_filter_result)that);
return false;
}
- public boolean equals(get_partitions_by_names_result that) {
+ public boolean equals(get_num_partitions_by_filter_result that) {
if (that == null)
return false;
- boolean this_present_success = true && this.isSetSuccess();
- boolean that_present_success = true && that.isSetSuccess();
+ boolean this_present_success = true;
+ boolean that_present_success = true;
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
- if (!this.success.equals(that.success))
+ if (this.success != that.success)
return false;
}
@@ -88790,7 +88888,7 @@ public class ThriftHiveMetastore {
public int hashCode() {
List<Object> list = new ArrayList<Object>();
- boolean present_success = true && (isSetSuccess());
+ boolean present_success = true;
list.add(present_success);
if (present_success)
list.add(success);
@@ -88809,7 +88907,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_partitions_by_names_result other) {
+ public int compareTo(get_num_partitions_by_filter_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -88863,15 +88961,11 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
+ StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_result(");
boolean first = true;
sb.append("success:");
- if (this.success == null) {
- sb.append("null");
- } else {
- sb.append(this.success);
- }
+ sb.append(this.success);
first = false;
if (!first) sb.append(", ");
sb.append("o1:");
@@ -88908,21 +89002,23 @@ public class ThriftHiveMetastore {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
- private static class get_partitions_by_names_resultStandardSchemeFactory implements SchemeFactory {
- public get_partitions_by_names_resultStandardScheme getScheme() {
- return new get_partitions_by_names_resultStandardScheme();
+ private static class get_num_partitions_by_filter_resultStandardSchemeFactory implements SchemeFactory {
+ public get_num_partitions_by_filter_resultStandardScheme getScheme() {
+ return new get_num_partitions_by_filter_resultStandardScheme();
}
}
- private static class get_partitions_by_names_resultStandardScheme extends StandardScheme<get_partitions_by_names_result> {
+ private static class get_num_partitions_by_filter_resultStandardScheme extends StandardScheme<get_num_partitions_by_filter_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -88933,19 +89029,8 @@ public class ThriftHiveMetastore {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
- {
- org.apache.thrift.protocol.TList _list926 = iprot.readListBegin();
- struct.success = new ArrayList<Partition>(_list926.size);
- Partition _elem927;
- for (int _i928 = 0; _i928 < _list926.size; ++_i928)
- {
- _elem927 = new Partition();
- _elem927.read(iprot);
- struct.success.add(_elem927);
- }
- iprot.readListEnd();
- }
+ if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+ struct.success = iprot.readI32();
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -88978,20 +89063,13 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.success != null) {
+ if (struct.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- {
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (Partition _iter929 : struct.success)
- {
- _iter929.write(oprot);
- }
- oprot.writeListEnd();
- }
+ oprot.writeI32(struct.success);
oprot.writeFieldEnd();
}
if (struct.o1 != null) {
@@ -89010,16 +89088,16 @@ public class ThriftHiveMetastore {
}
- private static class get_partitions_by_names_resultTupleSchemeFactory implements SchemeFactory {
- public get_partitions_by_names_resultTupleScheme getScheme() {
- return new get_partitions_by_names_resultTupleScheme();
+ private static class get_num_partitions_by_filter_resultTupleSchemeFactory implements SchemeFactory {
+ public get_num_partitions_by_filter_resultTupleScheme getScheme() {
+ return new get_num_partitions_by_filter_resultTupleScheme();
}
}
- private static class get_partitions_by_names_resultTupleScheme extends TupleScheme<get_partitions_by_names_result> {
+ private static class get_num_partitions_by_filter_resultTupleScheme extends TupleScheme<get_num_partitions_by_filter_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -89033,13 +89111,7 @@ public class ThriftHiveMetastore {
}
oprot.writeBitSet(optionals, 3);
if (struct.isSetSuccess()) {
- {
- oprot.writeI32(struct.success.size());
- for (Partition _iter930 : struct.success)
- {
- _iter930.write(oprot);
- }
- }
+ oprot.writeI32(struct.success);
}
if (struct.isSetO1()) {
struct.o1.write(oprot);
@@ -89050,21 +89122,11 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
- {
- org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new ArrayList<Partition>(_list931.size);
- Partition _elem932;
- for (int _i933 = 0; _i933 < _list931.size; ++_i933)
- {
- _elem932 = new Partition();
- _elem932.read(iprot);
- struct.success.add(_elem932);
- }
- }
+ struct.success = iprot.readI32();
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -89082,28 +89144,28 @@ public class ThriftHiveMetastore {
}
- public static class alter_partition_args implements org.apache.thrift.TBase<alter_partition_args, alter_partition_args._Fields>, java.io.Serializable, Cloneable, Comparable<alter_partition_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_args");
+ public static class get_partitions_by_names_args implements org.apache.thrift.TBase<get_partitions_by_names_args, get_partitions_by_names_args._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_args");
private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField NEW_PART_FIELD_DESC = new org.apache.thrift.protocol.TField("new_part", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+ private static final org.apache.thrift.protocol.TField NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("names", org.apache.thrift.protocol.TType.LIST, (short)3);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new alter_partition_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new alter_partition_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_partitions_by_names_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_partitions_by_names_argsTupleSchemeFactory());
}
private String db_name; // required
private String tbl_name; // required
- private Partition new_part; // required
+ private List<String> names; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
DB_NAME((short)1, "db_name"),
TBL_NAME((short)2, "tbl_name"),
- NEW_PART((short)3, "new_part");
+ NAMES((short)3, "names");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -89122,8 +89184,8 @@ public class ThriftHiveMetastore {
return DB_NAME;
case 2: // TBL_NAME
return TBL_NAME;
- case 3: // NEW_PART
- return NEW_PART;
+ case 3: // NAMES
+ return NAMES;
default:
return null;
}
@@ -89171,50 +89233,52 @@ public class ThriftHiveMetastore {
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.NEW_PART, new org.apache.thrift.meta_data.FieldMetaData("new_part", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class)));
+ tmpMap.put(_Fields.NAMES, new org.apache.thrift.meta_data.FieldMetaData("names", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_partition_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_args.class, metaDataMap);
}
- public alter_partition_args() {
+ public get_partitions_by_names_args() {
}
- public alter_partition_args(
+ public get_partitions_by_names_args(
String db_name,
String tbl_name,
- Partition new_part)
+ List<String> names)
{
this();
this.db_name = db_name;
this.tbl_name = tbl_name;
- this.new_part = new_part;
+ this.names = names;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public alter_partition_args(alter_partition_args other) {
+ public get_partitions_by_names_args(get_partitions_by_names_args other) {
if (other.isSetDb_name()) {
this.db_name = other.db_name;
}
if (other.isSetTbl_name()) {
this.tbl_name = other.tbl_name;
}
- if (other.isSetNew_part()) {
- this.new_part = new Partition(other.new_part);
+ if (other.isSetNames()) {
+ List<String> __this__names = new ArrayList<String>(other.names);
+ this.names = __this__names;
}
}
- public alter_partition_args deepCopy() {
- return new alter_partition_args(this);
+ public get_partitions_by_names_args deepCopy() {
+ return new get_partitions_by_names_args(this);
}
@Override
public void clear() {
this.db_name = null;
this.tbl_name = null;
- this.new_part = null;
+ this.names = null;
}
public String getDb_name() {
@@ -89263,26 +89327,41 @@ public class ThriftHiveMetastore {
}
}
- public Partition getNew_part() {
- return this.new_part;
+ public int getNamesSize() {
+ return (this.names == null) ? 0 : this.names.size();
}
- public void setNew_part(Partition new_part) {
- this.new_part = new_part;
+ public java.util.Iterator<String> getNamesIterator() {
+ return (this.names == null) ? null : this.names.iterator();
}
- public void unsetNew_part() {
- this.new_part = null;
+ public void addToNames(String elem) {
+ if (this.names == null) {
+ this.names = new ArrayList<String>();
+ }
+ this.names.add(elem);
}
- /** Returns true if field new_part is set (has been assigned a value) and false otherwise */
- public boolean isSetNew_part() {
- return this.new_part != null;
+ public List<String> getNames() {
+ return this.names;
}
- public void setNew_partIsSet(boolean value) {
+ public void setNames(List<String> names) {
+ this.names = names;
+ }
+
+ public void unsetNames() {
+ this.names = null;
+ }
+
+ /** Returns true if field names is set (has been assigned a value) and false otherwise */
+ public boolean isSetNames() {
+ return this.names != null;
+ }
+
+ public void setNamesIsSet(boolean value) {
if (!value) {
- this.new_part = null;
+ this.names = null;
}
}
@@ -89304,11 +89383,11 @@ public class ThriftHiveMetastore {
}
break;
- case NEW_PART:
+ case NAMES:
if (value == null) {
- unsetNew_part();
+ unsetNames();
} else {
- setNew_part((Partition)value);
+ setNames((List<String>)value);
}
break;
@@ -89323,8 +89402,8 @@ public class ThriftHiveMetastore {
case TBL_NAME:
return getTbl_name();
- case NEW_PART:
- return getNew_part();
+ case NAMES:
+ return getNames();
}
throw new IllegalStateException();
@@ -89341,8 +89420,8 @@ public class ThriftHiveMetastore {
return isSetDb_name();
case TBL_NAME:
return isSetTbl_name();
- case NEW_PART:
- return isSetNew_part();
+ case NAMES:
+ return isSetNames();
}
throw new IllegalStateException();
}
@@ -89351,12 +89430,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof alter_partition_args)
- return this.equals((alter_partition_args)that);
+ if (that instanceof get_partitions_by_names_args)
+ return this.equals((get_partitions_by_names_args)that);
return false;
}
- public boolean equals(alter_partition_args that) {
+ public boolean equals(get_partitions_by_names_args that) {
if (that == null)
return false;
@@ -89378,12 +89457,12 @@ public class ThriftHiveMetastore {
return false;
}
- boolean this_present_new_part = true && this.isSetNew_part();
- boolean that_present_new_part = true && that.isSetNew_part();
- if (this_present_new_part || that_present_new_part) {
- if (!(this_present_new_part && that_present_new_part))
+ boolean this_present_names = true && this.isSetNames();
+ boolean that_present_names = true && that.isSetNames();
+ if (this_present_names || that_present_names) {
+ if (!(this_present_names && that_present_names))
return false;
- if (!this.new_part.equals(that.new_part))
+ if (!this.names.equals(that.names))
return false;
}
@@ -89404,16 +89483,16 @@ public class ThriftHiveMetastore {
if (present_tbl_name)
list.add(tbl_name);
- boolean present_new_part = true && (isSetNew_part());
- list.add(present_new_part);
- if (present_new_part)
- list.add(new_part);
+ boolean present_names = true && (isSetNames());
+ list.add(present_names);
+ if (present_names)
+ list.add(names);
return list.hashCode();
}
@Override
- public int compareTo(alter_partition_args other) {
+ public int compareTo(get_partitions_by_names_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -89440,12 +89519,12 @@ public class ThriftHiveMetastore {
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part());
+ lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetNew_part()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part);
+ if (isSetNames()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
if (lastComparison != 0) {
return lastComparison;
}
@@ -89467,7 +89546,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("alter_partition_args(");
+ StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
boolean first = true;
sb.append("db_name:");
@@ -89486,11 +89565,11 @@ public class ThriftHiveMetastore {
}
first = false;
if (!first) sb.append(", ");
- sb.append("new_part:");
- if (this.new_part == null) {
+ sb.append("names:");
+ if (this.names == null) {
sb.append("null");
} else {
- sb.append(this.new_part);
+ sb.append(this.names);
}
first = false;
sb.append(")");
@@ -89500,9 +89579,6 @@ public class ThriftHiveMetastore {
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
- if (new_part != null) {
- new_part.validate();
- }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -89521,15 +89597,15 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_partition_argsStandardSchemeFactory implements SchemeFactory {
- public alter_partition_argsStandardScheme getScheme() {
- return new alter_partition_argsStandardScheme();
+ private static class get_partitions_by_names_argsStandardSchemeFactory implements SchemeFactory {
+ public get_partitions_by_names_argsStandardScheme getScheme() {
+ return new get_partitions_by_names_argsStandardScheme();
}
}
- private static class alter_partition_argsStandardScheme extends StandardScheme<alter_partition_args> {
+ private static class get_partitions_by_names_argsStandardScheme extends StandardScheme<get_partitions_by_names_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partition_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -89555,11 +89631,20 @@ public class ThriftHiveMetastore {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // NEW_PART
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.new_part = new Partition();
- struct.new_part.read(iprot);
- struct.setNew_partIsSet(true);
+ case 3: // NAMES
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list918 = iprot.readListBegin();
+ struct.names = new ArrayList<String>(_list918.size);
+ String _elem919;
+ for (int _i920 = 0; _i920 < _list918.size; ++_i920)
+ {
+ _elem919 = iprot.readString();
+ struct.names.add(_elem919);
+ }
+ iprot.readListEnd();
+ }
+ struct.setNamesIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -89573,7 +89658,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partition_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -89587,9 +89672,16 @@ public class ThriftHiveMetastore {
oprot.writeString(struct.tbl_name);
oprot.writeFieldEnd();
}
- if (struct.new_part != null) {
- oprot.writeFieldBegin(NEW_PART_FIELD_DESC);
- struct.new_part.write(oprot);
+ if (struct.names != null) {
+ oprot.writeFieldBegin(NAMES_FIELD_DESC);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size()));
+ for (String _iter921 : struct.names)
+ {
+ oprot.writeString(_iter921);
+ }
+ oprot.writeListEnd();
+ }
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -89598,16 +89690,16 @@ public class ThriftHiveMetastore {
}
- private static class alter_partition_argsTupleSchemeFactory implements SchemeFactory {
- public alter_partition_argsTupleScheme getScheme() {
- return new alter_partition_argsTupleScheme();
+ private static class get_partitions_by_names_argsTupleSchemeFactory implements SchemeFactory {
+ public get_partitions_by_names_argsTupleScheme getScheme() {
+ return new get_partitions_by_names_argsTupleScheme();
}
}
- private static class alter_partition_argsTupleScheme extends TupleScheme<alter_partition_args> {
+ private static class get_partitions_by_names_argsTupleScheme extends TupleScheme<get_partitions_by_names_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, alter_partition_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetDb_name()) {
@@ -89616,7 +89708,7 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
optionals.set(1);
}
- if (struct.isSetNew_part()) {
+ if (struct.isSetNames()) {
optionals.set(2);
}
oprot.writeBitSet(optionals, 3);
@@ -89626,13 +89718,19 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
oprot.writeString(struct.tbl_name);
}
- if (struct.isSetNew_part()) {
- struct.new_part.write(oprot);
+ if (struct.isSetNames()) {
+ {
+ oprot.writeI32(struct.names.size());
+ for (String _iter922 : struct.names)
+ {
+ oprot.writeString(_iter922);
+ }
+ }
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
@@ -89644,32 +89742,43 @@ public class ThriftHiveMetastore {
struct.setTbl_nameIsSet(true);
}
if (incoming.get(2)) {
- struct.new_part = new Partition();
- struct.new_part.read(iprot);
- struct.setNew_partIsSet(true);
+ {
+ org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+ struct.names = new ArrayList<String>(_list923.size);
+ String _elem924;
+ for (int _i925 = 0; _i925 < _list923.size; ++_i925)
+ {
+ _elem924 = iprot.readString();
+ struct.names.add(_elem924);
+ }
+ }
+ struct.setNamesIsSet(true);
}
}
}
}
- public static class alter_partition_result implements org.apache.thrift.TBase<alter_partition_result, alter_partition_result._Fields>, java.io.Serializable, Cloneable, Comparable<alter_partition_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_result");
+ public static class get_partitions_by_names_result implements org.apache.thrift.TBase<get_partitions_by_names_result, get_partitions_by_names_result._Fields>, java.io.Serializable, Cloneable, Comparable<get_partitions_by_names_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_result");
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new alter_partition_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new alter_partition_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_partitions_by_names_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
}
- private InvalidOperationException o1; // required
- private MetaException o2; // required
+ private List<Partition> success; // required
+ private MetaException o1; // required
+ private NoSuchObjectException o2; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ SUCCESS((short)0, "success"),
O1((short)1, "o1"),
O2((short)2, "o2");
@@ -89686,6 +89795,8 @@ public class ThriftHiveMetastore {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
case 1: // O1
return O1;
case 2: // O2
@@ -89733,22 +89844,27 @@ public class ThriftHiveMetastore {
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class))));
tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_partition_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_result.class, metaDataMap);
}
- public alter_partition_result() {
+ public get_partitions_by_names_result() {
}
- public alter_partition_result(
- InvalidOperationException o1,
- MetaException o2)
+ public get_partitions_by_names_result(
+ List<Partition> success,
+ MetaException o1,
+ NoSuchObjectException o2)
{
this();
+ this.success = success;
this.o1 = o1;
this.o2 = o2;
}
@@ -89756,30 +89872,76 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public alter_partition_result(alter_partition_result other) {
+ public get_partitions_by_names_result(get_partitions_by_names_result other) {
+ if (other.isSetSuccess()) {
+ List<Partition> __this__success = new ArrayList<Partition>(other.success.size());
+ for (Partition other_element : other.success) {
+ __this__success.add(new Partition(other_element));
+ }
+ this.success = __this__success;
+ }
if (other.isSetO1()) {
- this.o1 = new InvalidOperationException(other.o1);
+ this.o1 = new MetaException(other.o1);
}
if (other.isSetO2()) {
- this.o2 = new MetaException(other.o2);
+ this.o2 = new NoSuchObjectException(other.o2);
}
}
- public alter_partition_result deepCopy() {
- return new alter_partition_result(this);
+ public get_partitions_by_names_result deepCopy() {
+ return new get_partitions_by_names_result(this);
}
@Override
public void clear() {
+ this.success = null;
this.o1 = null;
this.o2 = null;
}
- public InvalidOperationException getO1() {
+ public int getSuccessSize() {
+ return (this.success == null) ? 0 : this.success.size();
+ }
+
+ public java.util.Iterator<Partition> getSuccessIterator() {
+ return (this.success == null) ? null : this.success.iterator();
+ }
+
+ public void addToSuccess(Partition elem) {
+ if (this.success == null) {
+ this.success = new ArrayList<Partition>();
+ }
+ this.success.add(elem);
+ }
+
+ public List<Partition> getSuccess() {
+ return this.success;
+ }
+
+ public void setSuccess(List<Partition> success) {
+ this.success = success;
+ }
+
+ public void unsetSuccess() {
+ this.success = null;
+ }
+
+ /** Returns true if field success is set (has been assigned a value) and false otherwise */
+ public boolean isSetSuccess() {
+ return this.success != null;
+ }
+
+ public void setSuccessIsSet(boolean value) {
+ if (!value) {
+ this.success = null;
+ }
+ }
+
+ public MetaException getO1() {
return this.o1;
}
- public void setO1(InvalidOperationException o1) {
+ public void setO1(MetaException o1) {
this.o1 = o1;
}
@@ -89798,11 +89960,11 @@ public class ThriftHiveMetastore {
}
}
- public MetaException getO2() {
+ public NoSuchObjectException getO2() {
return this.o2;
}
- public void setO2(MetaException o2) {
+ public void setO2(NoSuchObjectException o2) {
this.o2 = o2;
}
@@ -89823,11 +89985,19 @@ public class ThriftHiveMetastore {
public void setFieldValue(_Fields field, Object value) {
switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((List<Partition>)value);
+ }
+ break;
+
case O1:
if (value == null) {
unsetO1();
} else {
- setO1((InvalidOperationException)value);
+ setO1((MetaException)value);
}
break;
@@ -89835,7 +90005,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetO2();
} else {
- setO2((MetaException)value);
+ setO2((NoSuchObjectException)value);
}
break;
@@ -89844,6 +90014,9 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
case O1:
return getO1();
@@ -89861,6 +90034,8 @@ public class ThriftHiveMetastore {
}
switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
case O1:
return isSetO1();
case O2:
@@ -89873,15 +90048,24 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof alter_partition_result)
- return this.equals((alter_partition_result)that);
+ if (that instanceof get_partitions_by_names_result)
+ return this.equals((get_partitions_by_names_result)that);
return false;
}
- public boolean equals(alter_partition_result that) {
+ public boolean equals(get_partitions_by_names_result that) {
if (that == null)
return false;
+ boolean this_present_success = true && this.isSetSuccess();
+ boolean that_present_success = true && that.isSetSuccess();
+ if (this_present_success || that_present_success) {
+ if (!(this_present_success && that_present_success))
+ return false;
+ if (!this.success.equals(that.success))
+ return false;
+ }
+
boolean this_present_o1 = true && this.isSetO1();
boolean that_present_o1 = true && that.isSetO1();
if (this_present_o1 || that_present_o1) {
@@ -89907,6 +90091,11 @@ public class ThriftHiveMetastore {
public int hashCode() {
List<Object> list = new ArrayList<Object>();
+ boolean present_success = true && (isSetSuccess());
+ list.add(present_success);
+ if (present_success)
+ list.add(success);
+
boolean present_o1 = true && (isSetO1());
list.add(present_o1);
if (present_o1)
@@ -89921,13 +90110,23 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(alter_partition_result other) {
+ public int compareTo(get_partitions_by_names_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
+ lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSuccess()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1());
if (lastComparison != 0) {
return lastComparison;
@@ -89965,9 +90164,17 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("alter_partition_result(");
+ StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
boolean first = true;
+ sb.append("success:");
+ if (this.success == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.success);
+ }
+ first = false;
+ if (!first) sb.append(", ");
sb.append("o1:");
if (this.o1 == null) {
sb.append("null");
@@ -90008,15 +90215,15 @@ public class ThriftHiveMetastore {
}
}
- private static class alter_partition_resultStandardSchemeFactory implements SchemeFactory {
- public alter_partition_resultStandardScheme getScheme() {
- return new alter_partition_resultStandardScheme();
+ private static class get_partitions_by_names_resultStandardSchemeFactory implements SchemeFactory {
+ public get_partitions_by_names_resultStandardScheme getScheme() {
+ return new get_partitions_by_names_resultStandardScheme();
}
}
- private static class alter_partition_resultStandardScheme extends StandardScheme<alter_partition_result> {
+ private static class get_partitions_by_names_resultStandardScheme extends StandardScheme<get_partitions_by_names_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partition_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -90026,9 +90233,28 @@ public class ThriftHiveMetastore {
break;
}
switch (schemeField.id) {
+ case 0: // SUCCESS
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list926 = iprot.readListBegin();
+ struct.success = new ArrayList<Partition>(_list926.size);
+ Partition _elem927;
+ for (int _i928 = 0; _i928 < _list926.size; ++_i928)
+ {
+ _elem927 = new Partition();
+ _elem927.read(iprot);
+ struct.success.add(_elem927);
+ }
+ iprot.readListEnd();
+ }
+ struct.setSuccessIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
case 1: // O1
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.o1 = new InvalidOperationException();
+ struct.o1 = new MetaException();
struct.o1.read(iprot);
struct.setO1IsSet(true);
} else {
@@ -90037,7 +90263,7 @@ public class ThriftHiveMetastore {
break;
case 2: // O2
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.o2 = new MetaException();
+ struct.o2 = new NoSuchObjectException();
struct.o2.read(iprot);
struct.setO2IsSet(true);
} else {
@@ -90053,10 +90279,22 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partition_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.success != null) {
+ oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+ for (Partition _iter929 : struct.success)
+ {
+ _iter92
<TRUNCATED>
[11/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py b/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py
index d1c07a5..f86fda9 100644
--- a/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py
+++ b/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
index fbeab5e..877a7e4 100644
--- a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
+++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -253,12 +253,12 @@ class Version:
break
if fid == 1:
if ftype == TType.STRING:
- self.version = iprot.readString()
+ self.version = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.comments = iprot.readString()
+ self.comments = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -334,17 +334,17 @@ class FieldSchema:
break
if fid == 1:
if ftype == TType.STRING:
- self.name = iprot.readString()
+ self.name = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.type = iprot.readString()
+ self.type = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.comment = iprot.readString()
+ self.comment = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -428,17 +428,17 @@ class Type:
break
if fid == 1:
if ftype == TType.STRING:
- self.name = iprot.readString()
+ self.name = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.type1 = iprot.readString()
+ self.type1 = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.type2 = iprot.readString()
+ self.type2 = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -544,17 +544,17 @@ class HiveObjectRef:
break
if fid == 1:
if ftype == TType.I32:
- self.objectType = iprot.readI32()
+ self.objectType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.objectName = iprot.readString()
+ self.objectName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -562,14 +562,14 @@ class HiveObjectRef:
self.partValues = []
(_etype10, _size7) = iprot.readListBegin()
for _i11 in xrange(_size7):
- _elem12 = iprot.readString()
+ _elem12 = iprot.readString();
self.partValues.append(_elem12)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.columnName = iprot.readString()
+ self.columnName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -669,27 +669,27 @@ class PrivilegeGrantInfo:
break
if fid == 1:
if ftype == TType.STRING:
- self.privilege = iprot.readString()
+ self.privilege = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.grantor = iprot.readString()
+ self.grantor = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.grantorType = iprot.readI32()
+ self.grantorType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.grantOption = iprot.readBool()
+ self.grantOption = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -789,12 +789,12 @@ class HiveObjectPrivilege:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.principalName = iprot.readString()
+ self.principalName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.principalType = iprot.readI32()
+ self.principalType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -963,7 +963,7 @@ class PrincipalPrivilegeSet:
self.userPrivileges = {}
(_ktype22, _vtype23, _size21 ) = iprot.readMapBegin()
for _i25 in xrange(_size21):
- _key26 = iprot.readString()
+ _key26 = iprot.readString();
_val27 = []
(_etype31, _size28) = iprot.readListBegin()
for _i32 in xrange(_size28):
@@ -980,7 +980,7 @@ class PrincipalPrivilegeSet:
self.groupPrivileges = {}
(_ktype35, _vtype36, _size34 ) = iprot.readMapBegin()
for _i38 in xrange(_size34):
- _key39 = iprot.readString()
+ _key39 = iprot.readString();
_val40 = []
(_etype44, _size41) = iprot.readListBegin()
for _i45 in xrange(_size41):
@@ -997,7 +997,7 @@ class PrincipalPrivilegeSet:
self.rolePrivileges = {}
(_ktype48, _vtype49, _size47 ) = iprot.readMapBegin()
for _i51 in xrange(_size47):
- _key52 = iprot.readString()
+ _key52 = iprot.readString();
_val53 = []
(_etype57, _size54) = iprot.readListBegin()
for _i58 in xrange(_size54):
@@ -1108,7 +1108,7 @@ class GrantRevokePrivilegeRequest:
break
if fid == 1:
if ftype == TType.I32:
- self.requestType = iprot.readI32()
+ self.requestType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -1119,7 +1119,7 @@ class GrantRevokePrivilegeRequest:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.BOOL:
- self.revokeGrantOption = iprot.readBool()
+ self.revokeGrantOption = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -1194,7 +1194,7 @@ class GrantRevokePrivilegeResponse:
break
if fid == 1:
if ftype == TType.BOOL:
- self.success = iprot.readBool()
+ self.success = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -1265,17 +1265,17 @@ class Role:
break
if fid == 1:
if ftype == TType.STRING:
- self.roleName = iprot.readString()
+ self.roleName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.ownerName = iprot.readString()
+ self.ownerName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -1368,37 +1368,37 @@ class RolePrincipalGrant:
break
if fid == 1:
if ftype == TType.STRING:
- self.roleName = iprot.readString()
+ self.roleName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.principalName = iprot.readString()
+ self.principalName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.principalType = iprot.readI32()
+ self.principalType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.BOOL:
- self.grantOption = iprot.readBool()
+ self.grantOption = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.grantTime = iprot.readI32()
+ self.grantTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.STRING:
- self.grantorName = iprot.readString()
+ self.grantorName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.I32:
- self.grantorPrincipalType = iprot.readI32()
+ self.grantorPrincipalType = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -1496,12 +1496,12 @@ class GetRoleGrantsForPrincipalRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.principal_name = iprot.readString()
+ self.principal_name = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.principal_type = iprot.readI32()
+ self.principal_type = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -1651,7 +1651,7 @@ class GetPrincipalsInRoleRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.roleName = iprot.readString()
+ self.roleName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -1812,37 +1812,37 @@ class GrantRevokeRoleRequest:
break
if fid == 1:
if ftype == TType.I32:
- self.requestType = iprot.readI32()
+ self.requestType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.roleName = iprot.readString()
+ self.roleName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.principalName = iprot.readString()
+ self.principalName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.principalType = iprot.readI32()
+ self.principalType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.grantor = iprot.readString()
+ self.grantor = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.grantorType = iprot.readI32()
+ self.grantorType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.BOOL:
- self.grantOption = iprot.readBool()
+ self.grantOption = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -1937,7 +1937,7 @@ class GrantRevokeRoleResponse:
break
if fid == 1:
if ftype == TType.BOOL:
- self.success = iprot.readBool()
+ self.success = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -2020,17 +2020,17 @@ class Database:
break
if fid == 1:
if ftype == TType.STRING:
- self.name = iprot.readString()
+ self.name = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.description = iprot.readString()
+ self.description = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.locationUri = iprot.readString()
+ self.locationUri = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -2038,8 +2038,8 @@ class Database:
self.parameters = {}
(_ktype84, _vtype85, _size83 ) = iprot.readMapBegin()
for _i87 in xrange(_size83):
- _key88 = iprot.readString()
- _val89 = iprot.readString()
+ _key88 = iprot.readString();
+ _val89 = iprot.readString();
self.parameters[_key88] = _val89
iprot.readMapEnd()
else:
@@ -2052,12 +2052,12 @@ class Database:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.STRING:
- self.ownerName = iprot.readString()
+ self.ownerName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.I32:
- self.ownerType = iprot.readI32()
+ self.ownerType = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -2162,12 +2162,12 @@ class SerDeInfo:
break
if fid == 1:
if ftype == TType.STRING:
- self.name = iprot.readString()
+ self.name = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.serializationLib = iprot.readString()
+ self.serializationLib = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -2175,8 +2175,8 @@ class SerDeInfo:
self.parameters = {}
(_ktype93, _vtype94, _size92 ) = iprot.readMapBegin()
for _i96 in xrange(_size92):
- _key97 = iprot.readString()
- _val98 = iprot.readString()
+ _key97 = iprot.readString();
+ _val98 = iprot.readString();
self.parameters[_key97] = _val98
iprot.readMapEnd()
else:
@@ -2260,12 +2260,12 @@ class Order:
break
if fid == 1:
if ftype == TType.STRING:
- self.col = iprot.readString()
+ self.col = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.order = iprot.readI32()
+ self.order = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -2344,7 +2344,7 @@ class SkewedInfo:
self.skewedColNames = []
(_etype104, _size101) = iprot.readListBegin()
for _i105 in xrange(_size101):
- _elem106 = iprot.readString()
+ _elem106 = iprot.readString();
self.skewedColNames.append(_elem106)
iprot.readListEnd()
else:
@@ -2357,7 +2357,7 @@ class SkewedInfo:
_elem112 = []
(_etype116, _size113) = iprot.readListBegin()
for _i117 in xrange(_size113):
- _elem118 = iprot.readString()
+ _elem118 = iprot.readString();
_elem112.append(_elem118)
iprot.readListEnd()
self.skewedColValues.append(_elem112)
@@ -2372,10 +2372,10 @@ class SkewedInfo:
_key124 = []
(_etype129, _size126) = iprot.readListBegin()
for _i130 in xrange(_size126):
- _elem131 = iprot.readString()
+ _elem131 = iprot.readString();
_key124.append(_elem131)
iprot.readListEnd()
- _val125 = iprot.readString()
+ _val125 = iprot.readString();
self.skewedColValueLocationMaps[_key124] = _val125
iprot.readMapEnd()
else:
@@ -2512,27 +2512,27 @@ class StorageDescriptor:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.location = iprot.readString()
+ self.location = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.inputFormat = iprot.readString()
+ self.inputFormat = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.outputFormat = iprot.readString()
+ self.outputFormat = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.compressed = iprot.readBool()
+ self.compressed = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.numBuckets = iprot.readI32()
+ self.numBuckets = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
@@ -2546,7 +2546,7 @@ class StorageDescriptor:
self.bucketCols = []
(_etype147, _size144) = iprot.readListBegin()
for _i148 in xrange(_size144):
- _elem149 = iprot.readString()
+ _elem149 = iprot.readString();
self.bucketCols.append(_elem149)
iprot.readListEnd()
else:
@@ -2567,8 +2567,8 @@ class StorageDescriptor:
self.parameters = {}
(_ktype157, _vtype158, _size156 ) = iprot.readMapBegin()
for _i160 in xrange(_size156):
- _key161 = iprot.readString()
- _val162 = iprot.readString()
+ _key161 = iprot.readString();
+ _val162 = iprot.readString();
self.parameters[_key161] = _val162
iprot.readMapEnd()
else:
@@ -2581,7 +2581,7 @@ class StorageDescriptor:
iprot.skip(ftype)
elif fid == 12:
if ftype == TType.BOOL:
- self.storedAsSubDirectories = iprot.readBool()
+ self.storedAsSubDirectories = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -2753,32 +2753,32 @@ class Table:
break
if fid == 1:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.owner = iprot.readString()
+ self.owner = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.lastAccessTime = iprot.readI32()
+ self.lastAccessTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.retention = iprot.readI32()
+ self.retention = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
@@ -2803,25 +2803,25 @@ class Table:
self.parameters = {}
(_ktype175, _vtype176, _size174 ) = iprot.readMapBegin()
for _i178 in xrange(_size174):
- _key179 = iprot.readString()
- _val180 = iprot.readString()
+ _key179 = iprot.readString();
+ _val180 = iprot.readString();
self.parameters[_key179] = _val180
iprot.readMapEnd()
else:
iprot.skip(ftype)
elif fid == 10:
if ftype == TType.STRING:
- self.viewOriginalText = iprot.readString()
+ self.viewOriginalText = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 11:
if ftype == TType.STRING:
- self.viewExpandedText = iprot.readString()
+ self.viewExpandedText = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 12:
if ftype == TType.STRING:
- self.tableType = iprot.readString()
+ self.tableType = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 13:
@@ -2832,7 +2832,7 @@ class Table:
iprot.skip(ftype)
elif fid == 14:
if ftype == TType.BOOL:
- self.temporary = iprot.readBool()
+ self.temporary = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -2993,29 +2993,29 @@ class Partition:
self.values = []
(_etype187, _size184) = iprot.readListBegin()
for _i188 in xrange(_size184):
- _elem189 = iprot.readString()
+ _elem189 = iprot.readString();
self.values.append(_elem189)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.lastAccessTime = iprot.readI32()
+ self.lastAccessTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
@@ -3029,8 +3029,8 @@ class Partition:
self.parameters = {}
(_ktype191, _vtype192, _size190 ) = iprot.readMapBegin()
for _i194 in xrange(_size190):
- _key195 = iprot.readString()
- _val196 = iprot.readString()
+ _key195 = iprot.readString();
+ _val196 = iprot.readString();
self.parameters[_key195] = _val196
iprot.readMapEnd()
else:
@@ -3163,24 +3163,24 @@ class PartitionWithoutSD:
self.values = []
(_etype203, _size200) = iprot.readListBegin()
for _i204 in xrange(_size200):
- _elem205 = iprot.readString()
+ _elem205 = iprot.readString();
self.values.append(_elem205)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.lastAccessTime = iprot.readI32()
+ self.lastAccessTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.relativePath = iprot.readString()
+ self.relativePath = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
@@ -3188,8 +3188,8 @@ class PartitionWithoutSD:
self.parameters = {}
(_ktype207, _vtype208, _size206 ) = iprot.readMapBegin()
for _i210 in xrange(_size206):
- _key211 = iprot.readString()
- _val212 = iprot.readString()
+ _key211 = iprot.readString();
+ _val212 = iprot.readString();
self.parameters[_key211] = _val212
iprot.readMapEnd()
else:
@@ -3468,17 +3468,17 @@ class PartitionSpec:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.rootPath = iprot.readString()
+ self.rootPath = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -3602,37 +3602,37 @@ class Index:
break
if fid == 1:
if ftype == TType.STRING:
- self.indexName = iprot.readString()
+ self.indexName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.indexHandlerClass = iprot.readString()
+ self.indexHandlerClass = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.origTableName = iprot.readString()
+ self.origTableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.lastAccessTime = iprot.readI32()
+ self.lastAccessTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.STRING:
- self.indexTableName = iprot.readString()
+ self.indexTableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 8:
@@ -3646,15 +3646,15 @@ class Index:
self.parameters = {}
(_ktype231, _vtype232, _size230 ) = iprot.readMapBegin()
for _i234 in xrange(_size230):
- _key235 = iprot.readString()
- _val236 = iprot.readString()
+ _key235 = iprot.readString();
+ _val236 = iprot.readString();
self.parameters[_key235] = _val236
iprot.readMapEnd()
else:
iprot.skip(ftype)
elif fid == 10:
if ftype == TType.BOOL:
- self.deferredRebuild = iprot.readBool()
+ self.deferredRebuild = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -3774,17 +3774,17 @@ class BooleanColumnStatsData:
break
if fid == 1:
if ftype == TType.I64:
- self.numTrues = iprot.readI64()
+ self.numTrues = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.numFalses = iprot.readI64()
+ self.numFalses = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -3874,22 +3874,22 @@ class DoubleColumnStatsData:
break
if fid == 1:
if ftype == TType.DOUBLE:
- self.lowValue = iprot.readDouble()
+ self.lowValue = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.DOUBLE:
- self.highValue = iprot.readDouble()
+ self.highValue = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I64:
- self.numDVs = iprot.readI64()
+ self.numDVs = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -3982,22 +3982,22 @@ class LongColumnStatsData:
break
if fid == 1:
if ftype == TType.I64:
- self.lowValue = iprot.readI64()
+ self.lowValue = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.highValue = iprot.readI64()
+ self.highValue = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I64:
- self.numDVs = iprot.readI64()
+ self.numDVs = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4090,22 +4090,22 @@ class StringColumnStatsData:
break
if fid == 1:
if ftype == TType.I64:
- self.maxColLen = iprot.readI64()
+ self.maxColLen = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.DOUBLE:
- self.avgColLen = iprot.readDouble()
+ self.avgColLen = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I64:
- self.numDVs = iprot.readI64()
+ self.numDVs = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4199,17 +4199,17 @@ class BinaryColumnStatsData:
break
if fid == 1:
if ftype == TType.I64:
- self.maxColLen = iprot.readI64()
+ self.maxColLen = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.DOUBLE:
- self.avgColLen = iprot.readDouble()
+ self.avgColLen = iprot.readDouble();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4294,12 +4294,12 @@ class Decimal:
break
if fid == 1:
if ftype == TType.STRING:
- self.unscaled = iprot.readString()
+ self.unscaled = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I16:
- self.scale = iprot.readI16()
+ self.scale = iprot.readI16();
else:
iprot.skip(ftype)
else:
@@ -4394,12 +4394,12 @@ class DecimalColumnStatsData:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I64:
- self.numDVs = iprot.readI64()
+ self.numDVs = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4483,7 +4483,7 @@ class Date:
break
if fid == 1:
if ftype == TType.I64:
- self.daysSinceEpoch = iprot.readI64()
+ self.daysSinceEpoch = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4571,12 +4571,12 @@ class DateColumnStatsData:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.numNulls = iprot.readI64()
+ self.numNulls = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I64:
- self.numDVs = iprot.readI64()
+ self.numDVs = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -4816,12 +4816,12 @@ class ColumnStatisticsObj:
break
if fid == 1:
if ftype == TType.STRING:
- self.colName = iprot.readString()
+ self.colName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.colType = iprot.readString()
+ self.colType = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -4920,27 +4920,27 @@ class ColumnStatisticsDesc:
break
if fid == 1:
if ftype == TType.BOOL:
- self.isTblLevel = iprot.readBool()
+ self.isTblLevel = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.partName = iprot.readString()
+ self.partName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I64:
- self.lastAnalyzed = iprot.readI64()
+ self.lastAnalyzed = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -5137,7 +5137,7 @@ class AggrStats:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.partsFound = iprot.readI64()
+ self.partsFound = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -5307,8 +5307,8 @@ class Schema:
self.properties = {}
(_ktype267, _vtype268, _size266 ) = iprot.readMapBegin()
for _i270 in xrange(_size266):
- _key271 = iprot.readString()
- _val272 = iprot.readString()
+ _key271 = iprot.readString();
+ _val272 = iprot.readString();
self.properties[_key271] = _val272
iprot.readMapEnd()
else:
@@ -5390,8 +5390,8 @@ class EnvironmentContext:
self.properties = {}
(_ktype277, _vtype278, _size276 ) = iprot.readMapBegin()
for _i280 in xrange(_size276):
- _key281 = iprot.readString()
- _val282 = iprot.readString()
+ _key281 = iprot.readString();
+ _val282 = iprot.readString();
self.properties[_key281] = _val282
iprot.readMapEnd()
else:
@@ -5476,7 +5476,7 @@ class PartitionsByExprResult:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BOOL:
- self.hasUnknownPartitions = iprot.readBool()
+ self.hasUnknownPartitions = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -5565,27 +5565,27 @@ class PartitionsByExprRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tblName = iprot.readString()
+ self.tblName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.expr = iprot.readString()
+ self.expr = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.defaultPartitionName = iprot.readString()
+ self.defaultPartitionName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I16:
- self.maxParts = iprot.readI16()
+ self.maxParts = iprot.readI16();
else:
iprot.skip(ftype)
else:
@@ -5755,7 +5755,7 @@ class PartitionsStatsResult:
self.partStats = {}
(_ktype300, _vtype301, _size299 ) = iprot.readMapBegin()
for _i303 in xrange(_size299):
- _key304 = iprot.readString()
+ _key304 = iprot.readString();
_val305 = []
(_etype309, _size306) = iprot.readListBegin()
for _i310 in xrange(_size306):
@@ -5844,12 +5844,12 @@ class TableStatsRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tblName = iprot.readString()
+ self.tblName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -5857,7 +5857,7 @@ class TableStatsRequest:
self.colNames = []
(_etype318, _size315) = iprot.readListBegin()
for _i319 in xrange(_size315):
- _elem320 = iprot.readString()
+ _elem320 = iprot.readString();
self.colNames.append(_elem320)
iprot.readListEnd()
else:
@@ -5952,12 +5952,12 @@ class PartitionsStatsRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tblName = iprot.readString()
+ self.tblName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -5965,7 +5965,7 @@ class PartitionsStatsRequest:
self.colNames = []
(_etype325, _size322) = iprot.readListBegin()
for _i326 in xrange(_size322):
- _elem327 = iprot.readString()
+ _elem327 = iprot.readString();
self.colNames.append(_elem327)
iprot.readListEnd()
else:
@@ -5975,7 +5975,7 @@ class PartitionsStatsRequest:
self.partNames = []
(_etype331, _size328) = iprot.readListBegin()
for _i332 in xrange(_size328):
- _elem333 = iprot.readString()
+ _elem333 = iprot.readString();
self.partNames.append(_elem333)
iprot.readListEnd()
else:
@@ -6157,12 +6157,12 @@ class AddPartitionsRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tblName = iprot.readString()
+ self.tblName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -6178,12 +6178,12 @@ class AddPartitionsRequest:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.BOOL:
- self.ifNotExists = iprot.readBool()
+ self.ifNotExists = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.needResult = iprot.readBool()
+ self.needResult = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -6356,12 +6356,12 @@ class DropPartitionsExpr:
break
if fid == 1:
if ftype == TType.STRING:
- self.expr = iprot.readString()
+ self.expr = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.partArchiveLevel = iprot.readI32()
+ self.partArchiveLevel = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -6439,7 +6439,7 @@ class RequestPartsSpec:
self.names = []
(_etype360, _size357) = iprot.readListBegin()
for _i361 in xrange(_size357):
- _elem362 = iprot.readString()
+ _elem362 = iprot.readString();
self.names.append(_elem362)
iprot.readListEnd()
else:
@@ -6549,12 +6549,12 @@ class DropPartitionsRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tblName = iprot.readString()
+ self.tblName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -6565,17 +6565,17 @@ class DropPartitionsRequest:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.BOOL:
- self.deleteData = iprot.readBool()
+ self.deleteData = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.ifExists = iprot.readBool()
+ self.ifExists = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.BOOL:
- self.ignoreProtection = iprot.readBool()
+ self.ignoreProtection = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 7:
@@ -6586,7 +6586,7 @@ class DropPartitionsRequest:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.BOOL:
- self.needResult = iprot.readBool()
+ self.needResult = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -6695,12 +6695,12 @@ class ResourceUri:
break
if fid == 1:
if ftype == TType.I32:
- self.resourceType = iprot.readI32()
+ self.resourceType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.uri = iprot.readString()
+ self.uri = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -6791,37 +6791,37 @@ class Function:
break
if fid == 1:
if ftype == TType.STRING:
- self.functionName = iprot.readString()
+ self.functionName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.className = iprot.readString()
+ self.className = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.ownerName = iprot.readString()
+ self.ownerName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.ownerType = iprot.readI32()
+ self.ownerType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.createTime = iprot.readI32()
+ self.createTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.I32:
- self.functionType = iprot.readI32()
+ self.functionType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 8:
@@ -6944,22 +6944,22 @@ class TxnInfo:
break
if fid == 1:
if ftype == TType.I64:
- self.id = iprot.readI64()
+ self.id = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.state = iprot.readI32()
+ self.state = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.user = iprot.readString()
+ self.user = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.hostname = iprot.readString()
+ self.hostname = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -7050,7 +7050,7 @@ class GetOpenTxnsInfoResponse:
break
if fid == 1:
if ftype == TType.I64:
- self.txn_high_water_mark = iprot.readI64()
+ self.txn_high_water_mark = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -7141,7 +7141,7 @@ class GetOpenTxnsResponse:
break
if fid == 1:
if ftype == TType.I64:
- self.txn_high_water_mark = iprot.readI64()
+ self.txn_high_water_mark = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -7149,7 +7149,7 @@ class GetOpenTxnsResponse:
self.open_txns = set()
(_etype388, _size385) = iprot.readSetBegin()
for _i389 in xrange(_size385):
- _elem390 = iprot.readI64()
+ _elem390 = iprot.readI64();
self.open_txns.add(_elem390)
iprot.readSetEnd()
else:
@@ -7234,17 +7234,17 @@ class OpenTxnRequest:
break
if fid == 1:
if ftype == TType.I32:
- self.num_txns = iprot.readI32()
+ self.num_txns = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.user = iprot.readString()
+ self.user = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.hostname = iprot.readString()
+ self.hostname = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -7328,7 +7328,7 @@ class OpenTxnsResponse:
self.txn_ids = []
(_etype395, _size392) = iprot.readListBegin()
for _i396 in xrange(_size392):
- _elem397 = iprot.readI64()
+ _elem397 = iprot.readI64();
self.txn_ids.append(_elem397)
iprot.readListEnd()
else:
@@ -7400,7 +7400,7 @@ class AbortTxnRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -7467,7 +7467,7 @@ class CommitTxnRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -7546,27 +7546,27 @@ class LockComponent:
break
if fid == 1:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.level = iprot.readI32()
+ self.level = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.dbname = iprot.readString()
+ self.dbname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.tablename = iprot.readString()
+ self.tablename = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.partitionname = iprot.readString()
+ self.partitionname = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -7677,17 +7677,17 @@ class LockRequest:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.user = iprot.readString()
+ self.user = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.hostname = iprot.readString()
+ self.hostname = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -7779,12 +7779,12 @@ class LockResponse:
break
if fid == 1:
if ftype == TType.I64:
- self.lockid = iprot.readI64()
+ self.lockid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.state = iprot.readI32()
+ self.state = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -7858,7 +7858,7 @@ class CheckLockRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.lockid = iprot.readI64()
+ self.lockid = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -7925,7 +7925,7 @@ class UnlockRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.lockid = iprot.readI64()
+ self.lockid = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -8068,57 +8068,57 @@ class ShowLocksResponseElement:
break
if fid == 1:
if ftype == TType.I64:
- self.lockid = iprot.readI64()
+ self.lockid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbname = iprot.readString()
+ self.dbname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.tablename = iprot.readString()
+ self.tablename = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.partname = iprot.readString()
+ self.partname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.state = iprot.readI32()
+ self.state = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.I64:
- self.lastheartbeat = iprot.readI64()
+ self.lastheartbeat = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 9:
if ftype == TType.I64:
- self.acquiredat = iprot.readI64()
+ self.acquiredat = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 10:
if ftype == TType.STRING:
- self.user = iprot.readString()
+ self.user = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 11:
if ftype == TType.STRING:
- self.hostname = iprot.readString()
+ self.hostname = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -8324,12 +8324,12 @@ class HeartbeatRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.lockid = iprot.readI64()
+ self.lockid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -8402,12 +8402,12 @@ class HeartbeatTxnRangeRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.min = iprot.readI64()
+ self.min = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I64:
- self.max = iprot.readI64()
+ self.max = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -8487,7 +8487,7 @@ class HeartbeatTxnRangeResponse:
self.aborted = set()
(_etype416, _size413) = iprot.readSetBegin()
for _i417 in xrange(_size413):
- _elem418 = iprot.readI64()
+ _elem418 = iprot.readI64();
self.aborted.add(_elem418)
iprot.readSetEnd()
else:
@@ -8497,7 +8497,7 @@ class HeartbeatTxnRangeResponse:
self.nosuch = set()
(_etype422, _size419) = iprot.readSetBegin()
for _i423 in xrange(_size419):
- _elem424 = iprot.readI64()
+ _elem424 = iprot.readI64();
self.nosuch.add(_elem424)
iprot.readSetEnd()
else:
@@ -8591,27 +8591,27 @@ class CompactionRequest:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbname = iprot.readString()
+ self.dbname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tablename = iprot.readString()
+ self.tablename = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.partitionname = iprot.readString()
+ self.partitionname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.runas = iprot.readString()
+ self.runas = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -8769,42 +8769,42 @@ class ShowCompactResponseElement:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbname = iprot.readString()
+ self.dbname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tablename = iprot.readString()
+ self.tablename = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.partitionname = iprot.readString()
+ self.partitionname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.state = iprot.readString()
+ self.state = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.STRING:
- self.workerid = iprot.readString()
+ self.workerid = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.I64:
- self.start = iprot.readI64()
+ self.start = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.STRING:
- self.runAs = iprot.readString()
+ self.runAs = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -8997,17 +8997,17 @@ class AddDynamicPartitions:
break
if fid == 1:
if ftype == TType.I64:
- self.txnid = iprot.readI64()
+ self.txnid = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.dbname = iprot.readString()
+ self.dbname = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.tablename = iprot.readString()
+ self.tablename = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -9015,7 +9015,7 @@ class AddDynamicPartitions:
self.partitionnames = []
(_etype437, _size434) = iprot.readListBegin()
for _i438 in xrange(_size434):
- _elem439 = iprot.readString()
+ _elem439 = iprot.readString();
self.partitionnames.append(_elem439)
iprot.readListEnd()
else:
@@ -9111,12 +9111,12 @@ class NotificationEventRequest:
break
if fid == 1:
if ftype == TType.I64:
- self.lastEvent = iprot.readI64()
+ self.lastEvent = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.maxEvents = iprot.readI32()
+ self.maxEvents = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -9203,32 +9203,32 @@ class NotificationEvent:
break
if fid == 1:
if ftype == TType.I64:
- self.eventId = iprot.readI64()
+ self.eventId = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.eventTime = iprot.readI32()
+ self.eventTime = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.eventType = iprot.readString()
+ self.eventType = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -9402,7 +9402,7 @@ class CurrentNotificationEventId:
break
if fid == 1:
if ftype == TType.I64:
- self.eventId = iprot.readI64()
+ self.eventId = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -9472,7 +9472,7 @@ class InsertEventRequestData:
self.filesAdded = []
(_etype451, _size448) = iprot.readListBegin()
for _i452 in xrange(_size448):
- _elem453 = iprot.readString()
+ _elem453 = iprot.readString();
self.filesAdded.append(_elem453)
iprot.readListEnd()
else:
@@ -9622,7 +9622,7 @@ class FireEventRequest:
break
if fid == 1:
if ftype == TType.BOOL:
- self.successful = iprot.readBool()
+ self.successful = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -9633,12 +9633,12 @@ class FireEventRequest:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
@@ -9646,7 +9646,7 @@ class FireEventRequest:
self.partitionVals = []
(_etype458, _size455) = iprot.readListBegin()
for _i459 in xrange(_size455):
- _elem460 = iprot.readString()
+ _elem460 = iprot.readString();
self.partitionVals.append(_elem460)
iprot.readListEnd()
else:
@@ -9789,12 +9789,12 @@ class MetadataPpdResult:
break
if fid == 1:
if ftype == TType.STRING:
- self.metadata = iprot.readString()
+ self.metadata = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.includeBitset = iprot.readString()
+ self.includeBitset = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -9870,7 +9870,7 @@ class GetFileMetadataByExprResult:
self.metadata = {}
(_ktype463, _vtype464, _size462 ) = iprot.readMapBegin()
for _i466 in xrange(_size462):
- _key467 = iprot.readI64()
+ _key467 = iprot.readI64();
_val468 = MetadataPpdResult()
_val468.read(iprot)
self.metadata[_key467] = _val468
@@ -9879,7 +9879,7 @@ class GetFileMetadataByExprResult:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BOOL:
- self.isSupported = iprot.readBool()
+ self.isSupported = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -9969,24 +9969,24 @@ class GetFileMetadataByExprRequest:
self.fileIds = []
(_etype474, _size471) = iprot.readListBegin()
for _i475 in xrange(_size471):
- _elem476 = iprot.readI64()
+ _elem476 = iprot.readI64();
self.fileIds.append(_elem476)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.expr = iprot.readString()
+ self.expr = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.BOOL:
- self.doGetFooters = iprot.readBool()
+ self.doGetFooters = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -10079,15 +10079,15 @@ class GetFileMetadataResult:
self.metadata = {}
(_ktype479, _vtype480, _size478 ) = iprot.readMapBegin()
for _i482 in xrange(_size478):
- _key483 = iprot.readI64()
- _val484 = iprot.readString()
+ _key483 = iprot.readI64();
+ _val484 = iprot.readString();
self.metadata[_key483] = _val484
iprot.readMapEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BOOL:
- self.isSupported = iprot.readBool()
+ self.isSupported = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -10168,7 +10168,7 @@ class GetFileMetadataRequest:
self.fileIds = []
(_etype490, _size487) = iprot.readListBegin()
for _i491 in xrange(_size487):
- _elem492 = iprot.readI64()
+ _elem492 = iprot.readI64();
self.fileIds.append(_elem492)
iprot.readListEnd()
else:
@@ -10295,7 +10295,7 @@ class PutFileMetadataRequest:
self.fileIds = []
(_etype497, _size494) = iprot.readListBegin()
for _i498 in xrange(_size494):
- _elem499 = iprot.readI64()
+ _elem499 = iprot.readI64();
self.fileIds.append(_elem499)
iprot.readListEnd()
else:
@@ -10305,7 +10305,7 @@ class PutFileMetadataRequest:
self.metadata = []
(_etype503, _size500) = iprot.readListBegin()
for _i504 in xrange(_size500):
- _elem505 = iprot.readString()
+ _elem505 = iprot.readString();
self.metadata.append(_elem505)
iprot.readListEnd()
else:
@@ -10446,7 +10446,7 @@ class ClearFileMetadataRequest:
self.fileIds = []
(_etype511, _size508) = iprot.readListBegin()
for _i512 in xrange(_size508):
- _elem513 = iprot.readI64()
+ _elem513 = iprot.readI64();
self.fileIds.append(_elem513)
iprot.readListEnd()
else:
@@ -10776,22 +10776,22 @@ class TableMeta:
break
if fid == 1:
if ftype == TType.STRING:
- self.dbName = iprot.readString()
+ self.dbName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.tableType = iprot.readString()
+ self.tableType = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.comments = iprot.readString()
+ self.comments = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -10877,7 +10877,7 @@ class MetaException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -10945,7 +10945,7 @@ class UnknownTableException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11013,7 +11013,7 @@ class UnknownDBException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11081,7 +11081,7 @@ class AlreadyExistsException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11149,7 +11149,7 @@ class InvalidPartitionException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11217,7 +11217,7 @@ class UnknownPartitionException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11285,7 +11285,7 @@ class InvalidObjectException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11353,7 +11353,7 @@ class NoSuchObjectException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11421,7 +11421,7 @@ class IndexAlreadyExistsException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11489,7 +11489,7 @@ class InvalidOperationException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11557,7 +11557,7 @@ class ConfigValSecurityException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11625,7 +11625,7 @@ class InvalidInputException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11693,7 +11693,7 @@ class NoSuchTxnException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11761,7 +11761,7 @@ class TxnAbortedException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11829,7 +11829,7 @@ class TxnOpenException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -11897,7 +11897,7 @@ class NoSuchLockException(TException):
break
if fid == 1:
if ftype == TType.STRING:
- self.message = iprot.readString()
+ self.message = iprot.readString();
else:
iprot.skip(ftype)
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb
index eeccc84..7ef6f43 100644
--- a/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb
+++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
index a7b1e86..f545de6 100644
--- a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
+++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
index a90a180..be83a98 100644
--- a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
+++ b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -1004,6 +1004,23 @@ module ThriftHiveMetastore
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_by_expr failed: unknown result')
end
+ def get_num_partitions_by_filter(db_name, tbl_name, filter)
+ send_get_num_partitions_by_filter(db_name, tbl_name, filter)
+ return recv_get_num_partitions_by_filter()
+ end
+
+ def send_get_num_partitions_by_filter(db_name, tbl_name, filter)
+ send_message('get_num_partitions_by_filter', Get_num_partitions_by_filter_args, :db_name => db_name, :tbl_name => tbl_name, :filter => filter)
+ end
+
+ def recv_get_num_partitions_by_filter()
+ result = receive_message(Get_num_partitions_by_filter_result)
+ return result.success unless result.success.nil?
+ raise result.o1 unless result.o1.nil?
+ raise result.o2 unless result.o2.nil?
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_num_partitions_by_filter failed: unknown result')
+ end
+
def get_partitions_by_names(db_name, tbl_name, names)
send_get_partitions_by_names(db_name, tbl_name, names)
return recv_get_partitions_by_names()
@@ -3007,6 +3024,19 @@ module ThriftHiveMetastore
write_result(result, oprot, 'get_partitions_by_expr', seqid)
end
+ def process_get_num_partitions_by_filter(seqid, iprot, oprot)
+ args = read_args(iprot, Get_num_partitions_by_filter_args)
+ result = Get_num_partitions_by_filter_result.new()
+ begin
+ result.success = @handler.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter)
+ rescue ::MetaException => o1
+ result.o1 = o1
+ rescue ::NoSuchObjectException => o2
+ result.o2 = o2
+ end
+ write_result(result, oprot, 'get_num_partitions_by_filter', seqid)
+ end
+
def process_get_partitions_by_names(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_by_names_args)
result = Get_partitions_by_names_result.new()
@@ -6176,6 +6206,46 @@ module ThriftHiveMetastore
::Thrift::Struct.generate_accessors self
end
+ class Get_num_partitions_by_filter_args
+ include ::Thrift::Struct, ::Thrift::Struct_Union
+ DB_NAME = 1
+ TBL_NAME = 2
+ FILTER = 3
+
+ FIELDS = {
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter'}
+ }
+
+ def struct_fields; FIELDS; end
+
+ def validate
+ end
+
+ ::Thrift::Struct.generate_accessors self
+ end
+
+ class Get_num_partitions_by_filter_result
+ include ::Thrift::Struct, ::Thrift::Struct_Union
+ SUCCESS = 0
+ O1 = 1
+ O2 = 2
+
+ FIELDS = {
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::NoSuchObjectException}
+ }
+
+ def struct_fields; FIELDS; end
+
+ def validate
+ end
+
+ ::Thrift::Struct.generate_accessors self
+ end
+
class Get_partitions_by_names_args
include ::Thrift::Struct, ::Thrift::Struct_Union
DB_NAME = 1
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
index 81d7128..ace644b 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -4559,6 +4559,25 @@ public class HiveMetaStore extends ThriftHiveMetastore {
}
@Override
+ public int get_num_partitions_by_filter(final String dbName,
+ final String tblName, final String filter)
+ throws MetaException, NoSuchObjectException, TException {
+ startTableFunction("get_num_partitions_by_filter", dbName, tblName);
+
+ int ret = -1;
+ Exception ex = null;
+ try {
+ ret = getMS().getNumPartitionsByFilter(dbName, tblName, filter);
+ } catch (Exception e) {
+ ex = e;
+ rethrowException(e);
+ } finally {
+ endFunction("get_num_partitions_by_filter", ret != -1, ex, tblName);
+ }
+ return ret;
+ }
+
+ @Override
public List<Partition> get_partitions_by_names(final String dbName,
final String tblName, final List<String> partNames)
throws MetaException, NoSuchObjectException, TException {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
index a17c6d8..09a6aea 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
@@ -1204,7 +1204,6 @@ public class HiveMetaStoreClient implements IMetaStoreClient {
return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst.
}
-
/**
* @param name
* @return the database
@@ -1395,6 +1394,24 @@ public class HiveMetaStoreClient implements IMetaStoreClient {
client.get_partition_names_ps(db_name, tbl_name, part_vals, max_parts));
}
+ /**
+ * Get number of partitions matching specified filter
+ * @param db_name the database name
+ * @param tbl_name the table name
+ * @param filter the filter string,
+ * for example "part1 = \"p1_abc\" and part2 <= "\p2_test\"". Filtering can
+ * be done only on string partition keys.
+ * @return number of partitions
+ * @throws MetaException
+ * @throws NoSuchObjectException
+ * @throws TException
+ */
+ public int getNumPartitionsByFilter(String db_name, String tbl_name,
+ String filter) throws MetaException,
+ NoSuchObjectException, TException {
+ return client.get_num_partitions_by_filter(db_name, tbl_name, filter);
+ }
+
@Override
public void alter_partition(String dbName, String tblName, Partition newPart)
throws InvalidOperationException, MetaException, TException {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
index 25e0d38..4284d54 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
@@ -530,6 +530,22 @@ public interface IMetaStoreClient {
throws MetaException, TException, NoSuchObjectException;
/**
+ * Get number of partitions matching specified filter
+ * @param dbName the database name
+ * @param tableName the table name
+ * @param filter the filter string,
+ * for example "part1 = \"p1_abc\" and part2 <= "\p2_test\"". Filtering can
+ * be done only on string partition keys.
+ * @return number of partitions
+ * @throws MetaException
+ * @throws NoSuchObjectException
+ * @throws TException
+ */
+ public int getNumPartitionsByFilter(String dbName, String tableName,
+ String filter) throws MetaException, NoSuchObjectException, TException;
+
+
+ /**
* Get list of partitions matching specified filter
* @param db_name the database name
* @param tbl_name the table name
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
index 36b316a..be54b9c 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
@@ -385,6 +385,20 @@ class MetaStoreDirectSql {
isViewTable, sqlFilter, params, joins, max);
}
+ public int getNumPartitionsViaSqlFilter(Table table, ExpressionTree tree) throws MetaException {
+ List<Object> params = new ArrayList<Object>();
+ List<String>joins = new ArrayList<String>();
+ // Derby and Oracle do not interpret filters ANSI-properly in some cases and need a workaround.
+ boolean dbHasJoinCastBug = (dbType == DB.DERBY || dbType == DB.ORACLE);
+ String sqlFilter = PartitionFilterGenerator.generateSqlFilter(
+ table, tree, params, joins, dbHasJoinCastBug, defaultPartName);
+ if (sqlFilter == null) {
+ return 0; // Cannot make SQL filter to push down.
+ }
+ return getNumPartitionsViaSqlFilterInternal(table.getDbName(), table.getTableName(), sqlFilter, params, joins);
+ }
+
+
/**
* Gets all partitions of a table by using direct SQL queries.
* @param dbName Metastore db name.
@@ -807,6 +821,39 @@ class MetaStoreDirectSql {
return orderedResult;
}
+ private int getNumPartitionsViaSqlFilterInternal(String dbName, String tblName,
+ String sqlFilter, List<Object> paramsForFilter,
+ List<String> joinsForFilter) throws MetaException {
+ boolean doTrace = LOG.isDebugEnabled();
+ dbName = dbName.toLowerCase();
+ tblName = tblName.toLowerCase();
+
+ // Get number of partitions by doing count on PART_ID.
+ String queryText = "select count(\"PARTITIONS\".\"PART_ID\") from \"PARTITIONS\""
+ + " inner join \"TBLS\" on \"PARTITIONS\".\"TBL_ID\" = \"TBLS\".\"TBL_ID\" "
+ + " and \"TBLS\".\"TBL_NAME\" = ? "
+ + " inner join \"DBS\" on \"TBLS\".\"DB_ID\" = \"DBS\".\"DB_ID\" "
+ + " and \"DBS\".\"NAME\" = ? "
+ + join(joinsForFilter, ' ')
+ + (sqlFilter == null ? "" : (" where " + sqlFilter));
+
+ Object[] params = new Object[paramsForFilter.size() + 2];
+ params[0] = tblName;
+ params[1] = dbName;
+ for (int i = 0; i < paramsForFilter.size(); ++i) {
+ params[i + 2] = paramsForFilter.get(i);
+ }
+
+ long start = doTrace ? System.nanoTime() : 0;
+ Query query = pm.newQuery("javax.jdo.query.SQL", queryText);
+ @SuppressWarnings("unchecked")
+ int sqlResult = extractSqlInt(query.executeWithArray(params));
+ long queryTime = doTrace ? System.nanoTime() : 0;
+ timingTrace(doTrace, queryText, start, queryTime);
+ return sqlResult;
+ }
+
+
private void timingTrace(boolean doTrace, String queryText, long start, long queryTime) {
if (!doTrace) return;
LOG.debug("Direct SQL query in " + (queryTime - start) / 1000000.0 + "ms + " +
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
index 05d5b57..e1b8b6c 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
@@ -2279,6 +2279,7 @@ public class ObjectStore implements RawStore, Configurable {
}
return result;
}
+
@Override
protected List<Partition> getJdoResult(
GetHelper<List<Partition>> ctx) throws MetaException, NoSuchObjectException {
@@ -2365,6 +2366,12 @@ public class ObjectStore implements RawStore, Configurable {
return results;
}
+
+ private Integer getNumPartitionsViaOrmFilter(Table table, ExpressionTree tree, boolean isValidatedFilter)
+ throws MetaException {
+ return getPartitionsViaOrmFilter(table, tree, (short) -1, isValidatedFilter).size();
+ }
+
/**
* Gets partition names from the table via ORM (JDOQL) name filter.
* @param dbName Database name.
@@ -2646,6 +2653,36 @@ public class ObjectStore implements RawStore, Configurable {
}
}
+ @Override
+ public int getNumPartitionsByFilter(String dbName, String tblName,
+ String filter) throws MetaException, NoSuchObjectException {
+ return getNumPartitionsByFilterInternal(dbName, tblName, filter,
+ true, true);
+ }
+
+ protected int getNumPartitionsByFilterInternal(String dbName, String tblName,
+ String filter, boolean allowSql, boolean allowJdo)
+ throws MetaException, NoSuchObjectException {
+ final ExpressionTree tree = (filter != null && !filter.isEmpty())
+ ? PartFilterExprUtil.getFilterParser(filter).tree : ExpressionTree.EMPTY_TREE;
+ return new GetHelper<Integer>(dbName, tblName, allowSql, allowJdo) {
+ @Override
+ protected String describeResult() {
+ return null;
+ }
+
+ @Override
+ protected Integer getSqlResult(GetHelper<Integer> ctx) throws MetaException {
+ return directSql.getNumPartitionsViaSqlFilter(ctx.getTable(), tree);
+ }
+ @Override
+ protected Integer getJdoResult(
+ GetHelper<Integer> ctx) throws MetaException, NoSuchObjectException {
+ return getNumPartitionsViaOrmFilter(ctx.getTable(), tree, true);
+ }
+ }.run(true);
+ }
+
protected List<Partition> getPartitionsByFilterInternal(String dbName, String tblName,
String filter, final short maxParts, boolean allowSql, boolean allowJdo)
throws MetaException, NoSuchObjectException {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
index d228f24..cbd5957 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
@@ -223,6 +223,9 @@ public interface RawStore extends Configurable {
byte[] expr, String defaultPartitionName, short maxParts, List<Partition> result)
throws TException;
+ public abstract int getNumPartitionsByFilter(String dbName, String tblName, String filter)
+ throws MetaException, NoSuchObjectException;
+
public abstract List<Partition> getPartitionsByNames(
String dbName, String tblName, List<String> partNames)
throws MetaException, NoSuchObjectException;
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java
index fcf983f..0ffdbe0 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java
@@ -758,6 +758,21 @@ public class HBaseStore implements RawStore {
}
}
+ @Override
+ public int getNumPartitionsByFilter(String dbName, String tblName, String filter)
+ throws MetaException, NoSuchObjectException {
+ final ExpressionTree exprTree = (filter != null && !filter.isEmpty()) ? PartFilterExprUtil
+ .getFilterParser(filter).tree : ExpressionTree.EMPTY_TREE;
+ List<Partition> result = new ArrayList<Partition>();
+ boolean commit = false;
+ openTransaction();
+ try {
+ return getPartitionsByFilter(dbName, tblName, filter, Short.MAX_VALUE).size();
+ } finally {
+ commitOrRoleBack(commit);
+ }
+ }
+
/**
* Gets the partition names from a table, pruned using an expression.
* @param table Table.
[13/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
index 689f646..788d82c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TxnAbortedException extends TException implements org.apache.thrift.TBase<TxnAbortedException, TxnAbortedException._Fields>, java.io.Serializable, Cloneable, Comparable<TxnAbortedException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnAbortedException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
index 47cdaf4..27d977d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TxnInfo implements org.apache.thrift.TBase<TxnInfo, TxnInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TxnInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnInfo");
@@ -329,7 +329,7 @@ public class TxnInfo implements org.apache.thrift.TBase<TxnInfo, TxnInfo._Fields
public Object getFieldValue(_Fields field) {
switch (field) {
case ID:
- return getId();
+ return Long.valueOf(getId());
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
index 10b5f9b..d455229 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TxnOpenException extends TException implements org.apache.thrift.TBase<TxnOpenException, TxnOpenException._Fields>, java.io.Serializable, Cloneable, Comparable<TxnOpenException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnOpenException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
index de59755..69d6239 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
index 14cd42e..e9ec6f1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Type implements org.apache.thrift.TBase<Type, Type._Fields>, java.io.Serializable, Cloneable, Comparable<Type> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Type");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
index a5ea86f..a0f254b 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class UnknownDBException extends TException implements org.apache.thrift.TBase<UnknownDBException, UnknownDBException._Fields>, java.io.Serializable, Cloneable, Comparable<UnknownDBException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownDBException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
index 538ce29..cbb8410 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class UnknownPartitionException extends TException implements org.apache.thrift.TBase<UnknownPartitionException, UnknownPartitionException._Fields>, java.io.Serializable, Cloneable, Comparable<UnknownPartitionException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownPartitionException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
index 95bd0dd..6cbc999 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class UnknownTableException extends TException implements org.apache.thrift.TBase<UnknownTableException, UnknownTableException._Fields>, java.io.Serializable, Cloneable, Comparable<UnknownTableException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownTableException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
index f28e808..22a048f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class UnlockRequest implements org.apache.thrift.TBase<UnlockRequest, UnlockRequest._Fields>, java.io.Serializable, Cloneable, Comparable<UnlockRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnlockRequest");
@@ -185,7 +185,7 @@ public class UnlockRequest implements org.apache.thrift.TBase<UnlockRequest, Unl
public Object getFieldValue(_Fields field) {
switch (field) {
case LOCKID:
- return getLockid();
+ return Long.valueOf(getLockid());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
index 12a2bce..f0dfa6f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Version implements org.apache.thrift.TBase<Version, Version._Fields>, java.io.Serializable, Cloneable, Comparable<Version> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Version");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
index 5a666f2..b6e0a29 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
index 75f4a47..2fe4590 100644
--- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
+++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
@@ -1,7 +1,7 @@
<?php
namespace metastore;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -533,6 +533,15 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf {
/**
* @param string $db_name
* @param string $tbl_name
+ * @param string $filter
+ * @return int
+ * @throws \metastore\MetaException
+ * @throws \metastore\NoSuchObjectException
+ */
+ public function get_num_partitions_by_filter($db_name, $tbl_name, $filter);
+ /**
+ * @param string $db_name
+ * @param string $tbl_name
* @param string[] $names
* @return \metastore\Partition[]
* @throws \metastore\MetaException
@@ -4485,6 +4494,65 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas
throw new \Exception("get_partitions_by_expr failed: unknown result");
}
+ public function get_num_partitions_by_filter($db_name, $tbl_name, $filter)
+ {
+ $this->send_get_num_partitions_by_filter($db_name, $tbl_name, $filter);
+ return $this->recv_get_num_partitions_by_filter();
+ }
+
+ public function send_get_num_partitions_by_filter($db_name, $tbl_name, $filter)
+ {
+ $args = new \metastore\ThriftHiveMetastore_get_num_partitions_by_filter_args();
+ $args->db_name = $db_name;
+ $args->tbl_name = $tbl_name;
+ $args->filter = $filter;
+ $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary');
+ if ($bin_accel)
+ {
+ thrift_protocol_write_binary($this->output_, 'get_num_partitions_by_filter', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite());
+ }
+ else
+ {
+ $this->output_->writeMessageBegin('get_num_partitions_by_filter', TMessageType::CALL, $this->seqid_);
+ $args->write($this->output_);
+ $this->output_->writeMessageEnd();
+ $this->output_->getTransport()->flush();
+ }
+ }
+
+ public function recv_get_num_partitions_by_filter()
+ {
+ $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary');
+ if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_num_partitions_by_filter_result', $this->input_->isStrictRead());
+ else
+ {
+ $rseqid = 0;
+ $fname = null;
+ $mtype = 0;
+
+ $this->input_->readMessageBegin($fname, $mtype, $rseqid);
+ if ($mtype == TMessageType::EXCEPTION) {
+ $x = new TApplicationException();
+ $x->read($this->input_);
+ $this->input_->readMessageEnd();
+ throw $x;
+ }
+ $result = new \metastore\ThriftHiveMetastore_get_num_partitions_by_filter_result();
+ $result->read($this->input_);
+ $this->input_->readMessageEnd();
+ }
+ if ($result->success !== null) {
+ return $result->success;
+ }
+ if ($result->o1 !== null) {
+ throw $result->o1;
+ }
+ if ($result->o2 !== null) {
+ throw $result->o2;
+ }
+ throw new \Exception("get_num_partitions_by_filter failed: unknown result");
+ }
+
public function get_partitions_by_names($db_name, $tbl_name, array $names)
{
$this->send_get_partitions_by_names($db_name, $tbl_name, $names);
@@ -23936,6 +24004,252 @@ class ThriftHiveMetastore_get_partitions_by_expr_result {
}
+class ThriftHiveMetastore_get_num_partitions_by_filter_args {
+ static $_TSPEC;
+
+ /**
+ * @var string
+ */
+ public $db_name = null;
+ /**
+ * @var string
+ */
+ public $tbl_name = null;
+ /**
+ * @var string
+ */
+ public $filter = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 1 => array(
+ 'var' => 'db_name',
+ 'type' => TType::STRING,
+ ),
+ 2 => array(
+ 'var' => 'tbl_name',
+ 'type' => TType::STRING,
+ ),
+ 3 => array(
+ 'var' => 'filter',
+ 'type' => TType::STRING,
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['db_name'])) {
+ $this->db_name = $vals['db_name'];
+ }
+ if (isset($vals['tbl_name'])) {
+ $this->tbl_name = $vals['tbl_name'];
+ }
+ if (isset($vals['filter'])) {
+ $this->filter = $vals['filter'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_get_num_partitions_by_filter_args';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 1:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->db_name);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->tbl_name);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 3:
+ if ($ftype == TType::STRING) {
+ $xfer += $input->readString($this->filter);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_num_partitions_by_filter_args');
+ if ($this->db_name !== null) {
+ $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1);
+ $xfer += $output->writeString($this->db_name);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->tbl_name !== null) {
+ $xfer += $output->writeFieldBegin('tbl_name', TType::STRING, 2);
+ $xfer += $output->writeString($this->tbl_name);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->filter !== null) {
+ $xfer += $output->writeFieldBegin('filter', TType::STRING, 3);
+ $xfer += $output->writeString($this->filter);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
+class ThriftHiveMetastore_get_num_partitions_by_filter_result {
+ static $_TSPEC;
+
+ /**
+ * @var int
+ */
+ public $success = null;
+ /**
+ * @var \metastore\MetaException
+ */
+ public $o1 = null;
+ /**
+ * @var \metastore\NoSuchObjectException
+ */
+ public $o2 = null;
+
+ public function __construct($vals=null) {
+ if (!isset(self::$_TSPEC)) {
+ self::$_TSPEC = array(
+ 0 => array(
+ 'var' => 'success',
+ 'type' => TType::I32,
+ ),
+ 1 => array(
+ 'var' => 'o1',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\MetaException',
+ ),
+ 2 => array(
+ 'var' => 'o2',
+ 'type' => TType::STRUCT,
+ 'class' => '\metastore\NoSuchObjectException',
+ ),
+ );
+ }
+ if (is_array($vals)) {
+ if (isset($vals['success'])) {
+ $this->success = $vals['success'];
+ }
+ if (isset($vals['o1'])) {
+ $this->o1 = $vals['o1'];
+ }
+ if (isset($vals['o2'])) {
+ $this->o2 = $vals['o2'];
+ }
+ }
+ }
+
+ public function getName() {
+ return 'ThriftHiveMetastore_get_num_partitions_by_filter_result';
+ }
+
+ public function read($input)
+ {
+ $xfer = 0;
+ $fname = null;
+ $ftype = 0;
+ $fid = 0;
+ $xfer += $input->readStructBegin($fname);
+ while (true)
+ {
+ $xfer += $input->readFieldBegin($fname, $ftype, $fid);
+ if ($ftype == TType::STOP) {
+ break;
+ }
+ switch ($fid)
+ {
+ case 0:
+ if ($ftype == TType::I32) {
+ $xfer += $input->readI32($this->success);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 1:
+ if ($ftype == TType::STRUCT) {
+ $this->o1 = new \metastore\MetaException();
+ $xfer += $this->o1->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ case 2:
+ if ($ftype == TType::STRUCT) {
+ $this->o2 = new \metastore\NoSuchObjectException();
+ $xfer += $this->o2->read($input);
+ } else {
+ $xfer += $input->skip($ftype);
+ }
+ break;
+ default:
+ $xfer += $input->skip($ftype);
+ break;
+ }
+ $xfer += $input->readFieldEnd();
+ }
+ $xfer += $input->readStructEnd();
+ return $xfer;
+ }
+
+ public function write($output) {
+ $xfer = 0;
+ $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_num_partitions_by_filter_result');
+ if ($this->success !== null) {
+ $xfer += $output->writeFieldBegin('success', TType::I32, 0);
+ $xfer += $output->writeI32($this->success);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o1 !== null) {
+ $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1);
+ $xfer += $this->o1->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ if ($this->o2 !== null) {
+ $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2);
+ $xfer += $this->o2->write($output);
+ $xfer += $output->writeFieldEnd();
+ }
+ $xfer += $output->writeFieldStop();
+ $xfer += $output->writeStructEnd();
+ return $xfer;
+ }
+
+}
+
class ThriftHiveMetastore_get_partitions_by_names_args {
static $_TSPEC;
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-php/metastore/Types.php
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php
index fe4c966..89e2c31 100644
--- a/metastore/src/gen/thrift/gen-php/metastore/Types.php
+++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php
@@ -2,7 +2,7 @@
namespace metastore;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
index 9564ded..216a0fa 100755
--- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
+++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -82,6 +82,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)')
print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)')
print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)')
+ print(' i32 get_num_partitions_by_filter(string db_name, string tbl_name, string filter)')
print(' get_partitions_by_names(string db_name, string tbl_name, names)')
print(' void alter_partition(string db_name, string tbl_name, Partition new_part)')
print(' void alter_partitions(string db_name, string tbl_name, new_parts)')
@@ -573,6 +574,12 @@ elif cmd == 'get_partitions_by_expr':
sys.exit(1)
pp.pprint(client.get_partitions_by_expr(eval(args[0]),))
+elif cmd == 'get_num_partitions_by_filter':
+ if len(args) != 3:
+ print('get_num_partitions_by_filter requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_num_partitions_by_filter(args[0],args[1],args[2],))
+
elif cmd == 'get_partitions_by_names':
if len(args) != 3:
print('get_partitions_by_names requires 3 args')
[12/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
index 97acb5d..6e90d16 100644
--- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
+++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -8,7 +8,6 @@
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
import fb303.FacebookService
-import logging
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
@@ -524,6 +523,15 @@ class Iface(fb303.FacebookService.Iface):
"""
pass
+ def get_num_partitions_by_filter(self, db_name, tbl_name, filter):
+ """
+ Parameters:
+ - db_name
+ - tbl_name
+ - filter
+ """
+ pass
+
def get_partitions_by_names(self, db_name, tbl_name, names):
"""
Parameters:
@@ -1119,7 +1127,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result");
def setMetaConf(self, key, value):
"""
@@ -1222,7 +1230,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result");
def drop_database(self, name, deleteData, cascade):
"""
@@ -1294,7 +1302,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result");
def get_all_databases(self):
self.send_get_all_databases()
@@ -1322,7 +1330,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result");
def alter_database(self, dbname, db):
"""
@@ -1392,7 +1400,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result");
def create_type(self, type):
"""
@@ -1429,7 +1437,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result");
def drop_type(self, type):
"""
@@ -1464,7 +1472,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result");
def get_type_all(self, name):
"""
@@ -1497,7 +1505,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result");
def get_fields(self, db_name, table_name):
"""
@@ -1536,7 +1544,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result");
def get_fields_with_environment_context(self, db_name, table_name, environment_context):
"""
@@ -1577,7 +1585,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result");
def get_schema(self, db_name, table_name):
"""
@@ -1616,7 +1624,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result");
def get_schema_with_environment_context(self, db_name, table_name, environment_context):
"""
@@ -1657,7 +1665,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result");
def create_table(self, tbl):
"""
@@ -1844,7 +1852,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result");
def get_table_meta(self, db_patterns, tbl_patterns, tbl_types):
"""
@@ -1881,7 +1889,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_meta failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_meta failed: unknown result");
def get_all_tables(self, db_name):
"""
@@ -1914,7 +1922,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result");
def get_table(self, dbname, tbl_name):
"""
@@ -1951,7 +1959,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result");
def get_table_objects_by_name(self, dbname, tbl_names):
"""
@@ -1990,7 +1998,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result");
def get_table_names_by_filter(self, dbname, filter, max_tables):
"""
@@ -2031,7 +2039,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result");
def alter_table(self, dbname, tbl_name, new_tbl):
"""
@@ -2183,7 +2191,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result");
def add_partition_with_environment_context(self, new_part, environment_context):
"""
@@ -2222,7 +2230,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result");
def add_partitions(self, new_parts):
"""
@@ -2259,7 +2267,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result");
def add_partitions_pspec(self, new_parts):
"""
@@ -2296,7 +2304,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result");
def append_partition(self, db_name, tbl_name, part_vals):
"""
@@ -2337,7 +2345,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result");
def add_partitions_req(self, request):
"""
@@ -2374,7 +2382,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result");
def append_partition_with_environment_context(self, db_name, tbl_name, part_vals, environment_context):
"""
@@ -2417,7 +2425,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result");
def append_partition_by_name(self, db_name, tbl_name, part_name):
"""
@@ -2458,7 +2466,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result");
def append_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, environment_context):
"""
@@ -2501,7 +2509,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result");
def drop_partition(self, db_name, tbl_name, part_vals, deleteData):
"""
@@ -2542,7 +2550,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result");
def drop_partition_with_environment_context(self, db_name, tbl_name, part_vals, deleteData, environment_context):
"""
@@ -2585,7 +2593,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result");
def drop_partition_by_name(self, db_name, tbl_name, part_name, deleteData):
"""
@@ -2626,7 +2634,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result");
def drop_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, deleteData, environment_context):
"""
@@ -2669,7 +2677,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result");
def drop_partitions_req(self, req):
"""
@@ -2704,7 +2712,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result");
def get_partition(self, db_name, tbl_name, part_vals):
"""
@@ -2743,7 +2751,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result");
def exchange_partition(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name):
"""
@@ -2790,7 +2798,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result");
def exchange_partitions(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name):
"""
@@ -2837,7 +2845,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result");
def get_partition_with_auth(self, db_name, tbl_name, part_vals, user_name, group_names):
"""
@@ -2880,7 +2888,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result");
def get_partition_by_name(self, db_name, tbl_name, part_name):
"""
@@ -2919,7 +2927,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result");
def get_partitions(self, db_name, tbl_name, max_parts):
"""
@@ -2958,7 +2966,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result");
def get_partitions_with_auth(self, db_name, tbl_name, max_parts, user_name, group_names):
"""
@@ -3001,7 +3009,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result");
def get_partitions_pspec(self, db_name, tbl_name, max_parts):
"""
@@ -3040,7 +3048,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result");
def get_partition_names(self, db_name, tbl_name, max_parts):
"""
@@ -3077,7 +3085,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result");
def get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts):
"""
@@ -3118,7 +3126,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result");
def get_partitions_ps_with_auth(self, db_name, tbl_name, part_vals, max_parts, user_name, group_names):
"""
@@ -3163,7 +3171,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result");
def get_partition_names_ps(self, db_name, tbl_name, part_vals, max_parts):
"""
@@ -3204,7 +3212,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result");
def get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts):
"""
@@ -3245,7 +3253,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result");
def get_part_specs_by_filter(self, db_name, tbl_name, filter, max_parts):
"""
@@ -3286,7 +3294,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result");
def get_partitions_by_expr(self, req):
"""
@@ -3321,7 +3329,46 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result");
+
+ def get_num_partitions_by_filter(self, db_name, tbl_name, filter):
+ """
+ Parameters:
+ - db_name
+ - tbl_name
+ - filter
+ """
+ self.send_get_num_partitions_by_filter(db_name, tbl_name, filter)
+ return self.recv_get_num_partitions_by_filter()
+
+ def send_get_num_partitions_by_filter(self, db_name, tbl_name, filter):
+ self._oprot.writeMessageBegin('get_num_partitions_by_filter', TMessageType.CALL, self._seqid)
+ args = get_num_partitions_by_filter_args()
+ args.db_name = db_name
+ args.tbl_name = tbl_name
+ args.filter = filter
+ args.write(self._oprot)
+ self._oprot.writeMessageEnd()
+ self._oprot.trans.flush()
+
+ def recv_get_num_partitions_by_filter(self):
+ iprot = self._iprot
+ (fname, mtype, rseqid) = iprot.readMessageBegin()
+ if mtype == TMessageType.EXCEPTION:
+ x = TApplicationException()
+ x.read(iprot)
+ iprot.readMessageEnd()
+ raise x
+ result = get_num_partitions_by_filter_result()
+ result.read(iprot)
+ iprot.readMessageEnd()
+ if result.success is not None:
+ return result.success
+ if result.o1 is not None:
+ raise result.o1
+ if result.o2 is not None:
+ raise result.o2
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_num_partitions_by_filter failed: unknown result");
def get_partitions_by_names(self, db_name, tbl_name, names):
"""
@@ -3360,7 +3407,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result");
def alter_partition(self, db_name, tbl_name, new_part):
"""
@@ -3547,7 +3594,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result");
def get_config_value(self, name, defaultValue):
"""
@@ -3582,7 +3629,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result");
def partition_name_to_vals(self, part_name):
"""
@@ -3615,7 +3662,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result");
def partition_name_to_spec(self, part_name):
"""
@@ -3648,7 +3695,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result");
def markPartitionForEvent(self, db_name, tbl_name, part_vals, eventType):
"""
@@ -3744,7 +3791,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o5
if result.o6 is not None:
raise result.o6
- raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result");
def add_index(self, new_index, index_table):
"""
@@ -3783,7 +3830,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result");
def alter_index(self, dbname, base_tbl_name, idx_name, new_idx):
"""
@@ -3863,7 +3910,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result");
def get_index_by_name(self, db_name, tbl_name, index_name):
"""
@@ -3902,7 +3949,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result");
def get_indexes(self, db_name, tbl_name, max_indexes):
"""
@@ -3941,7 +3988,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result");
def get_index_names(self, db_name, tbl_name, max_indexes):
"""
@@ -3978,7 +4025,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result");
def update_table_column_statistics(self, stats_obj):
"""
@@ -4017,7 +4064,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result");
def update_partition_column_statistics(self, stats_obj):
"""
@@ -4056,7 +4103,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result");
def get_table_column_statistics(self, db_name, tbl_name, col_name):
"""
@@ -4099,7 +4146,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result");
def get_partition_column_statistics(self, db_name, tbl_name, part_name, col_name):
"""
@@ -4144,7 +4191,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result");
def get_table_statistics_req(self, request):
"""
@@ -4179,7 +4226,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result");
def get_partitions_statistics_req(self, request):
"""
@@ -4214,7 +4261,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result");
def get_aggr_stats_for(self, request):
"""
@@ -4249,7 +4296,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result");
def set_aggr_stats_for(self, request):
"""
@@ -4288,7 +4335,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result");
def delete_partition_column_statistics(self, db_name, tbl_name, part_name, col_name):
"""
@@ -4333,7 +4380,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result");
def delete_table_column_statistics(self, db_name, tbl_name, col_name):
"""
@@ -4376,7 +4423,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o3
if result.o4 is not None:
raise result.o4
- raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result");
def create_function(self, func):
"""
@@ -4520,7 +4567,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result");
def get_function(self, dbName, funcName):
"""
@@ -4557,7 +4604,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result");
def get_all_functions(self):
self.send_get_all_functions()
@@ -4585,7 +4632,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result");
def create_role(self, role):
"""
@@ -4618,7 +4665,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result");
def drop_role(self, role_name):
"""
@@ -4651,7 +4698,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result");
def get_role_names(self):
self.send_get_role_names()
@@ -4679,7 +4726,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result");
def grant_role(self, role_name, principal_name, principal_type, grantor, grantorType, grant_option):
"""
@@ -4722,7 +4769,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result");
def revoke_role(self, role_name, principal_name, principal_type):
"""
@@ -4759,7 +4806,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result");
def list_roles(self, principal_name, principal_type):
"""
@@ -4794,7 +4841,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result");
def grant_revoke_role(self, request):
"""
@@ -4827,7 +4874,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result");
def get_principals_in_role(self, request):
"""
@@ -4860,7 +4907,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result");
def get_role_grants_for_principal(self, request):
"""
@@ -4893,7 +4940,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result");
def get_privilege_set(self, hiveObject, user_name, group_names):
"""
@@ -4930,7 +4977,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result");
def list_privileges(self, principal_name, principal_type, hiveObject):
"""
@@ -4967,7 +5014,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result");
def grant_privileges(self, privileges):
"""
@@ -5000,7 +5047,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result");
def revoke_privileges(self, privileges):
"""
@@ -5033,7 +5080,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result");
def grant_revoke_privileges(self, request):
"""
@@ -5066,7 +5113,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result");
def set_ugi(self, user_name, group_names):
"""
@@ -5101,7 +5148,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result");
def get_delegation_token(self, token_owner, renewer_kerberos_principal_name):
"""
@@ -5136,7 +5183,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result");
def renew_delegation_token(self, token_str_form):
"""
@@ -5169,7 +5216,7 @@ class Client(fb303.FacebookService.Client, Iface):
return result.success
if result.o1 is not None:
raise result.o1
- raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result");
def cancel_delegation_token(self, token_str_form):
"""
@@ -5226,7 +5273,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result");
def get_open_txns_info(self):
self.send_get_open_txns_info()
@@ -5252,7 +5299,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result");
def open_txns(self, rqst):
"""
@@ -5283,7 +5330,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result");
def abort_txn(self, rqst):
"""
@@ -5382,7 +5429,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o1
if result.o2 is not None:
raise result.o2
- raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result");
def check_lock(self, rqst):
"""
@@ -5419,7 +5466,7 @@ class Client(fb303.FacebookService.Client, Iface):
raise result.o2
if result.o3 is not None:
raise result.o3
- raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result");
def unlock(self, rqst):
"""
@@ -5483,7 +5530,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result");
def heartbeat(self, ids):
"""
@@ -5549,7 +5596,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result");
def compact(self, rqst):
"""
@@ -5609,7 +5656,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result");
def add_dynamic_partitions(self, rqst):
"""
@@ -5673,7 +5720,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result");
def get_current_notificationEventId(self):
self.send_get_current_notificationEventId()
@@ -5699,7 +5746,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result");
def fire_listener_event(self, rqst):
"""
@@ -5730,7 +5777,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result");
def flushCache(self):
self.send_flushCache()
@@ -5785,7 +5832,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata_by_expr failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata_by_expr failed: unknown result");
def get_file_metadata(self, req):
"""
@@ -5816,7 +5863,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_file_metadata failed: unknown result");
def put_file_metadata(self, req):
"""
@@ -5847,7 +5894,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "put_file_metadata failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "put_file_metadata failed: unknown result");
def clear_file_metadata(self, req):
"""
@@ -5878,7 +5925,7 @@ class Client(fb303.FacebookService.Client, Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "clear_file_metadata failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "clear_file_metadata failed: unknown result");
def cache_file_metadata(self, req):
"""
@@ -5973,6 +6020,7 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
self._processMap["get_partitions_by_filter"] = Processor.process_get_partitions_by_filter
self._processMap["get_part_specs_by_filter"] = Processor.process_get_part_specs_by_filter
self._processMap["get_partitions_by_expr"] = Processor.process_get_partitions_by_expr
+ self._processMap["get_num_partitions_by_filter"] = Processor.process_get_num_partitions_by_filter
self._processMap["get_partitions_by_names"] = Processor.process_get_partitions_by_names
self._processMap["alter_partition"] = Processor.process_alter_partition
self._processMap["alter_partitions"] = Processor.process_alter_partitions
@@ -6070,17 +6118,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = getMetaConf_result()
try:
result.success = self._handler.getMetaConf(args.key)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("getMetaConf", msg_type, seqid)
+ oprot.writeMessageBegin("getMetaConf", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6092,17 +6132,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = setMetaConf_result()
try:
self._handler.setMetaConf(args.key, args.value)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("setMetaConf", msg_type, seqid)
+ oprot.writeMessageBegin("setMetaConf", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6114,23 +6146,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_database_result()
try:
self._handler.create_database(args.database)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except AlreadyExistsException as o1:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o1:
result.o1 = o1
- except InvalidObjectException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("create_database", msg_type, seqid)
+ oprot.writeMessageBegin("create_database", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6142,20 +6164,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_database_result()
try:
result.success = self._handler.get_database(args.name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except NoSuchObjectException as o1:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o1:
result.o1 = o1
- except MetaException as o2:
- msg_type = TMessageType.REPLY
+ except MetaException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_database", msg_type, seqid)
+ oprot.writeMessageBegin("get_database", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6167,23 +6180,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_database_result()
try:
self._handler.drop_database(args.name, args.deleteData, args.cascade)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except NoSuchObjectException as o1:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o1:
result.o1 = o1
- except InvalidOperationException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("drop_database", msg_type, seqid)
+ oprot.writeMessageBegin("drop_database", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6195,17 +6198,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_databases_result()
try:
result.success = self._handler.get_databases(args.pattern)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_databases", msg_type, seqid)
+ oprot.writeMessageBegin("get_databases", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6217,17 +6212,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_all_databases_result()
try:
result.success = self._handler.get_all_databases()
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_all_databases", msg_type, seqid)
+ oprot.writeMessageBegin("get_all_databases", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6239,20 +6226,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_database_result()
try:
self._handler.alter_database(args.dbname, args.db)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except NoSuchObjectException as o2:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("alter_database", msg_type, seqid)
+ oprot.writeMessageBegin("alter_database", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6264,20 +6242,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_type_result()
try:
result.success = self._handler.get_type(args.name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except NoSuchObjectException as o2:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_type", msg_type, seqid)
+ oprot.writeMessageBegin("get_type", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6289,23 +6258,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_type_result()
try:
result.success = self._handler.create_type(args.type)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except AlreadyExistsException as o1:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o1:
result.o1 = o1
- except InvalidObjectException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("create_type", msg_type, seqid)
+ oprot.writeMessageBegin("create_type", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6317,20 +6276,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_type_result()
try:
result.success = self._handler.drop_type(args.type)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except NoSuchObjectException as o2:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("drop_type", msg_type, seqid)
+ oprot.writeMessageBegin("drop_type", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6342,17 +6292,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_type_all_result()
try:
result.success = self._handler.get_type_all(args.name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o2:
- msg_type = TMessageType.REPLY
+ except MetaException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_type_all", msg_type, seqid)
+ oprot.writeMessageBegin("get_type_all", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6364,23 +6306,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_fields_result()
try:
result.success = self._handler.get_fields(args.db_name, args.table_name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except UnknownTableException as o2:
- msg_type = TMessageType.REPLY
+ except UnknownTableException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_fields", msg_type, seqid)
+ oprot.writeMessageBegin("get_fields", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6392,23 +6324,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_fields_with_environment_context_result()
try:
result.success = self._handler.get_fields_with_environment_context(args.db_name, args.table_name, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except UnknownTableException as o2:
- msg_type = TMessageType.REPLY
+ except UnknownTableException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_fields_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("get_fields_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6420,23 +6342,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_schema_result()
try:
result.success = self._handler.get_schema(args.db_name, args.table_name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except UnknownTableException as o2:
- msg_type = TMessageType.REPLY
+ except UnknownTableException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_schema", msg_type, seqid)
+ oprot.writeMessageBegin("get_schema", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6448,23 +6360,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_schema_with_environment_context_result()
try:
result.success = self._handler.get_schema_with_environment_context(args.db_name, args.table_name, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except UnknownTableException as o2:
- msg_type = TMessageType.REPLY
+ except UnknownTableException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_schema_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("get_schema_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6476,26 +6378,15 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_table_result()
try:
self._handler.create_table(args.tbl)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except AlreadyExistsException as o1:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o1:
result.o1 = o1
- except InvalidObjectException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except NoSuchObjectException as o4:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o4:
result.o4 = o4
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("create_table", msg_type, seqid)
+ oprot.writeMessageBegin("create_table", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6507,26 +6398,15 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_table_with_environment_context_result()
try:
self._handler.create_table_with_environment_context(args.tbl, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except AlreadyExistsException as o1:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o1:
result.o1 = o1
- except InvalidObjectException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except NoSuchObjectException as o4:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o4:
result.o4 = o4
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("create_table_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("create_table_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6538,20 +6418,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_table_result()
try:
self._handler.drop_table(args.dbname, args.name, args.deleteData)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except NoSuchObjectException as o1:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o1:
result.o1 = o1
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("drop_table", msg_type, seqid)
+ oprot.writeMessageBegin("drop_table", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6563,20 +6434,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_table_with_environment_context_result()
try:
self._handler.drop_table_with_environment_context(args.dbname, args.name, args.deleteData, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except NoSuchObjectException as o1:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o1:
result.o1 = o1
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("drop_table_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("drop_table_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6588,17 +6450,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_tables_result()
try:
result.success = self._handler.get_tables(args.db_name, args.pattern)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_tables", msg_type, seqid)
+ oprot.writeMessageBegin("get_tables", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6610,17 +6464,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_table_meta_result()
try:
result.success = self._handler.get_table_meta(args.db_patterns, args.tbl_patterns, args.tbl_types)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_table_meta", msg_type, seqid)
+ oprot.writeMessageBegin("get_table_meta", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6632,17 +6478,9 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_all_tables_result()
try:
result.success = self._handler.get_all_tables(args.db_name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_all_tables", msg_type, seqid)
+ oprot.writeMessageBegin("get_all_tables", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6654,20 +6492,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_table_result()
try:
result.success = self._handler.get_table(args.dbname, args.tbl_name)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except NoSuchObjectException as o2:
- msg_type = TMessageType.REPLY
+ except NoSuchObjectException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_table", msg_type, seqid)
+ oprot.writeMessageBegin("get_table", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6679,23 +6508,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_table_objects_by_name_result()
try:
result.success = self._handler.get_table_objects_by_name(args.dbname, args.tbl_names)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except InvalidOperationException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_table_objects_by_name", msg_type, seqid)
+ oprot.writeMessageBegin("get_table_objects_by_name", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6707,23 +6526,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_table_names_by_filter_result()
try:
result.success = self._handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except MetaException as o1:
- msg_type = TMessageType.REPLY
+ except MetaException, o1:
result.o1 = o1
- except InvalidOperationException as o2:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o2:
result.o2 = o2
- except UnknownDBException as o3:
- msg_type = TMessageType.REPLY
+ except UnknownDBException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("get_table_names_by_filter", msg_type, seqid)
+ oprot.writeMessageBegin("get_table_names_by_filter", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6735,20 +6544,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_table_result()
try:
self._handler.alter_table(args.dbname, args.tbl_name, args.new_tbl)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidOperationException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o1:
result.o1 = o1
- except MetaException as o2:
- msg_type = TMessageType.REPLY
+ except MetaException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("alter_table", msg_type, seqid)
+ oprot.writeMessageBegin("alter_table", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6760,20 +6560,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_table_with_environment_context_result()
try:
self._handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidOperationException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o1:
result.o1 = o1
- except MetaException as o2:
- msg_type = TMessageType.REPLY
+ except MetaException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("alter_table_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("alter_table_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6785,20 +6576,11 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_table_with_cascade_result()
try:
self._handler.alter_table_with_cascade(args.dbname, args.tbl_name, args.new_tbl, args.cascade)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidOperationException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidOperationException, o1:
result.o1 = o1
- except MetaException as o2:
- msg_type = TMessageType.REPLY
+ except MetaException, o2:
result.o2 = o2
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("alter_table_with_cascade", msg_type, seqid)
+ oprot.writeMessageBegin("alter_table_with_cascade", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6810,23 +6592,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partition_result()
try:
result.success = self._handler.add_partition(args.new_part)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("add_partition", msg_type, seqid)
+ oprot.writeMessageBegin("add_partition", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6838,23 +6610,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partition_with_environment_context_result()
try:
result.success = self._handler.add_partition_with_environment_context(args.new_part, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("add_partition_with_environment_context", msg_type, seqid)
+ oprot.writeMessageBegin("add_partition_with_environment_context", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6866,23 +6628,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_result()
try:
result.success = self._handler.add_partitions(args.new_parts)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("add_partitions", msg_type, seqid)
+ oprot.writeMessageBegin("add_partitions", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6894,23 +6646,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_pspec_result()
try:
result.success = self._handler.add_partitions_pspec(args.new_parts)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("add_partitions_pspec", msg_type, seqid)
+ oprot.writeMessageBegin("add_partitions_pspec", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6922,23 +6664,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = append_partition_result()
try:
result.success = self._handler.append_partition(args.db_name, args.tbl_name, args.part_vals)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("append_partition", msg_type, seqid)
+ oprot.writeMessageBegin("append_partition", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6950,23 +6682,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_req_result()
try:
result.success = self._handler.add_partitions_req(args.request)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("add_partitions_req", msg_type, seqid)
+ oprot.writeMessageBegin("add_partitions_req", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6978,23 +6700,13 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = append_partition_with_environment_context_result()
try:
result.success = self._handler.append_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.environment_context)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except InvalidObjectException as o1:
- msg_type = TMessageType.REPLY
+ except InvalidObjectException, o1:
result.o1 = o1
- except AlreadyExistsException as o2:
- msg_type = TMessageType.REPLY
+ except AlreadyExistsException, o2:
result.o2 = o2
- except MetaException as o3:
- msg_type = TMessageType.REPLY
+ except MetaException, o3:
result.o3 = o3
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessa
<TRUNCATED>
[03/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
index 46c71ee..ab48bf7 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
index 934a8a5..bc345e4 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ThriftHive {
public interface Iface extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface {
@@ -2951,7 +2951,7 @@ public class ThriftHive {
public Object getFieldValue(_Fields field) {
switch (field) {
case NUM_ROWS:
- return getNumRows();
+ return Integer.valueOf(getNumRows());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
index 0fb33c7..c21f215 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TArrayTypeEntry implements org.apache.thrift.TBase<TArrayTypeEntry, TArrayTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TArrayTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TArrayTypeEntry");
@@ -185,7 +185,7 @@ public class TArrayTypeEntry implements org.apache.thrift.TBase<TArrayTypeEntry,
public Object getFieldValue(_Fields field) {
switch (field) {
case OBJECT_TYPE_PTR:
- return getObjectTypePtr();
+ return Integer.valueOf(getObjectTypePtr());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
index 788bc89..3a3b2b5 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TBinaryColumn implements org.apache.thrift.TBase<TBinaryColumn, TBinaryColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TBinaryColumn> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBinaryColumn");
@@ -380,7 +380,7 @@ public class TBinaryColumn implements org.apache.thrift.TBase<TBinaryColumn, TBi
if (this.values == null) {
sb.append("null");
} else {
- org.apache.thrift.TBaseHelper.toString(this.values, sb);
+ sb.append(this.values);
}
first = false;
if (!first) sb.append(", ");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
index c0c5cbe..2f079cd 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TBoolColumn implements org.apache.thrift.TBase<TBoolColumn, TBoolColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolColumn> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolColumn");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
index 3670a1e..486c2fb 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValue._Fields>, java.io.Serializable, Cloneable, Comparable<TBoolValue> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolValue");
@@ -178,7 +178,7 @@ public class TBoolValue implements org.apache.thrift.TBase<TBoolValue, TBoolValu
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return isValue();
+ return Boolean.valueOf(isValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
index 85c881e..51cf2c0 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TByteColumn implements org.apache.thrift.TBase<TByteColumn, TByteColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TByteColumn> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteColumn");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
index 82209f1..1c659ca 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValue._Fields>, java.io.Serializable, Cloneable, Comparable<TByteValue> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteValue");
@@ -178,7 +178,7 @@ public class TByteValue implements org.apache.thrift.TBase<TByteValue, TByteValu
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return getValue();
+ return Byte.valueOf(getValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
index ded848f..3d1d96d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCLIService {
public interface Iface {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
index 3f46013..046eb15 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
index fde0c47..4cf1688 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCancelDelegationTokenReq implements org.apache.thrift.TBase<TCancelDelegationTokenReq, TCancelDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
index 65d0551..8441e86 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCancelDelegationTokenResp implements org.apache.thrift.TBase<TCancelDelegationTokenResp, TCancelDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelDelegationTokenResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
index f532d09..2548ee9 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCancelOperationReq implements org.apache.thrift.TBase<TCancelOperationReq, TCancelOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
index f7f8325..8666ba7 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCancelOperationResp implements org.apache.thrift.TBase<TCancelOperationResp, TCancelOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCancelOperationResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
index c0c2c2c..640ad23 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCloseOperationReq implements org.apache.thrift.TBase<TCloseOperationReq, TCloseOperationReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
index 83bcd03..101086a 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCloseOperationResp implements org.apache.thrift.TBase<TCloseOperationResp, TCloseOperationResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseOperationResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
index d9c989a..7bc61a8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCloseSessionReq implements org.apache.thrift.TBase<TCloseSessionReq, TCloseSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
index 7c64d4d..fbe8f78 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TCloseSessionResp implements org.apache.thrift.TBase<TCloseSessionResp, TCloseSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TCloseSessionResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
index 082b9b4..1bda69d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
index b01fadb..916dd1d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumnDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TColumnDesc> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnDesc");
@@ -322,7 +322,7 @@ public class TColumnDesc implements org.apache.thrift.TBase<TColumnDesc, TColumn
return getTypeDesc();
case POSITION:
- return getPosition();
+ return Integer.valueOf(getPosition());
case COMMENT:
return getComment();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
index 2c2c6bb..61aee4d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
index dffad80..339f630 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TDoubleColumn implements org.apache.thrift.TBase<TDoubleColumn, TDoubleColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleColumn> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleColumn");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
index 6524f93..8e26d5f 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoubleValue._Fields>, java.io.Serializable, Cloneable, Comparable<TDoubleValue> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleValue");
@@ -178,7 +178,7 @@ public class TDoubleValue implements org.apache.thrift.TBase<TDoubleValue, TDoub
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return getValue();
+ return Double.valueOf(getValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
index 30cf243..2ffb045 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteStatementReq, TExecuteStatementReq._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementReq");
@@ -338,7 +338,7 @@ public class TExecuteStatementReq implements org.apache.thrift.TBase<TExecuteSta
return getConfOverlay();
case RUN_ASYNC:
- return isRunAsync();
+ return Boolean.valueOf(isRunAsync());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
index 0b9aa0f..a1b33a5 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TExecuteStatementResp implements org.apache.thrift.TBase<TExecuteStatementResp, TExecuteStatementResp._Fields>, java.io.Serializable, Cloneable, Comparable<TExecuteStatementResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
index d3fd3f0..64713e8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
index 23cfd54..aad8e38 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsReq, TFetchResultsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsReq");
@@ -338,10 +338,10 @@ public class TFetchResultsReq implements org.apache.thrift.TBase<TFetchResultsRe
return getOrientation();
case MAX_ROWS:
- return getMaxRows();
+ return Long.valueOf(getMaxRows());
case FETCH_TYPE:
- return getFetchType();
+ return Short.valueOf(getFetchType());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
index 2d325fc..f911ce8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsResp, TFetchResultsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TFetchResultsResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsResp");
@@ -272,7 +272,7 @@ public class TFetchResultsResp implements org.apache.thrift.TBase<TFetchResultsR
return getStatus();
case HAS_MORE_ROWS:
- return isHasMoreRows();
+ return Boolean.valueOf(isHasMoreRows());
case RESULTS:
return getResults();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
index 02e5cbc..2f87ba8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetCatalogsReq implements org.apache.thrift.TBase<TGetCatalogsReq, TGetCatalogsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
index 2372d3a..91442fc 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetCatalogsResp implements org.apache.thrift.TBase<TGetCatalogsResp, TGetCatalogsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetCatalogsResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
index 60872f4..2f2618e 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetColumnsReq implements org.apache.thrift.TBase<TGetColumnsReq, TGetColumnsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
index 7992a24..6273cab 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetColumnsResp implements org.apache.thrift.TBase<TGetColumnsResp, TGetColumnsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetColumnsResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
index 363bf4b..d877e02 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetDelegationTokenReq implements org.apache.thrift.TBase<TGetDelegationTokenReq, TGetDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
index 5234dcd..17d2aec 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetDelegationTokenResp implements org.apache.thrift.TBase<TGetDelegationTokenResp, TGetDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetDelegationTokenResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
index d366529..1a6b199 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetFunctionsReq implements org.apache.thrift.TBase<TGetFunctionsReq, TGetFunctionsReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
index 6ef2960..89d915f 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetFunctionsResp implements org.apache.thrift.TBase<TGetFunctionsResp, TGetFunctionsResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetFunctionsResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
index 80b80c7..5c0fa1e 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetInfoReq implements org.apache.thrift.TBase<TGetInfoReq, TGetInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
index f6a07fc..943ad14 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetInfoResp implements org.apache.thrift.TBase<TGetInfoResp, TGetInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetInfoResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
index 72385a7..f4dc73d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
index 361e39f..af1224d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
index 183ff6d..3c9f51e 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetOperationStatusReq implements org.apache.thrift.TBase<TGetOperationStatusReq, TGetOperationStatusReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
index 99c2409..4a4fb05 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOperationStatusResp, TGetOperationStatusResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetOperationStatusResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusResp");
@@ -374,7 +374,7 @@ public class TGetOperationStatusResp implements org.apache.thrift.TBase<TGetOper
return getSqlState();
case ERROR_CODE:
- return getErrorCode();
+ return Integer.valueOf(getErrorCode());
case ERROR_MESSAGE:
return getErrorMessage();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
index 626b59f..c5ead0e 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetResultSetMetadataReq implements org.apache.thrift.TBase<TGetResultSetMetadataReq, TGetResultSetMetadataReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
index 8e2d462..a7e1331 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetResultSetMetadataResp implements org.apache.thrift.TBase<TGetResultSetMetadataResp, TGetResultSetMetadataResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetResultSetMetadataResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
index 11988e2..9fafa90 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetSchemasReq implements org.apache.thrift.TBase<TGetSchemasReq, TGetSchemasReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
index 27060b7..20d3224 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetSchemasResp implements org.apache.thrift.TBase<TGetSchemasResp, TGetSchemasResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetSchemasResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
index 8c9106e..3f5f08d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTableTypesReq implements org.apache.thrift.TBase<TGetTableTypesReq, TGetTableTypesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
index 440e080..26a0a24 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTableTypesResp implements org.apache.thrift.TBase<TGetTableTypesResp, TGetTableTypesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTableTypesResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
index 4f22732..c7a7d83 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTablesReq implements org.apache.thrift.TBase<TGetTablesReq, TGetTablesReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
index 4878228..0923c49 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTablesResp implements org.apache.thrift.TBase<TGetTablesResp, TGetTablesResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTablesResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
index 3fa8edc..caaf742 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTypeInfoReq implements org.apache.thrift.TBase<TGetTypeInfoReq, TGetTypeInfoReq._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
index c0dd1f8..9a80a74 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TGetTypeInfoResp implements org.apache.thrift.TBase<TGetTypeInfoResp, TGetTypeInfoResp._Fields>, java.io.Serializable, Cloneable, Comparable<TGetTypeInfoResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
index d959456..7169f26 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class THandleIdentifier implements org.apache.thrift.TBase<THandleIdentifier, THandleIdentifier._Fields>, java.io.Serializable, Cloneable, Comparable<THandleIdentifier> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THandleIdentifier");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
index 1a7f13a..aa874c1 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI16Column implements org.apache.thrift.TBase<TI16Column, TI16Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Column> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Column");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
index ece0199..38ebd58 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI16Value> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Value");
@@ -178,7 +178,7 @@ public class TI16Value implements org.apache.thrift.TBase<TI16Value, TI16Value._
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return getValue();
+ return Short.valueOf(getValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
index 78fb651..b2967fa 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI32Column implements org.apache.thrift.TBase<TI32Column, TI32Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Column> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Column");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
index cf63261..b7d4e5d 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI32Value> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Value");
@@ -178,7 +178,7 @@ public class TI32Value implements org.apache.thrift.TBase<TI32Value, TI32Value._
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return getValue();
+ return Integer.valueOf(getValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
index 0f649fb..79e1fdb 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI64Column implements org.apache.thrift.TBase<TI64Column, TI64Column._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Column> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Column");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
index 75ada87..d526b1c 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._Fields>, java.io.Serializable, Cloneable, Comparable<TI64Value> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Value");
@@ -178,7 +178,7 @@ public class TI64Value implements org.apache.thrift.TBase<TI64Value, TI64Value._
public Object getFieldValue(_Fields field) {
switch (field) {
case VALUE:
- return getValue();
+ return Long.valueOf(getValue());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
index 9777683..45138f8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMapTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TMapTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMapTypeEntry");
@@ -229,10 +229,10 @@ public class TMapTypeEntry implements org.apache.thrift.TBase<TMapTypeEntry, TMa
public Object getFieldValue(_Fields field) {
switch (field) {
case KEY_TYPE_PTR:
- return getKeyTypePtr();
+ return Integer.valueOf(getKeyTypePtr());
case VALUE_TYPE_PTR:
- return getValueTypePtr();
+ return Integer.valueOf(getValueTypePtr());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
index a43c1d0..6d92c55 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TOpenSessionReq implements org.apache.thrift.TBase<TOpenSessionReq, TOpenSessionReq._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
index 3199ec3..25cfd42 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TOpenSessionResp implements org.apache.thrift.TBase<TOpenSessionResp, TOpenSessionResp._Fields>, java.io.Serializable, Cloneable, Comparable<TOpenSessionResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionResp");
[08/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.cpp b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
index 7e2c028..7dae2f8 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService.cpp
+++ b/service/src/gen/thrift/gen-cpp/TCLIService.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,7 +15,6 @@ TCLIService_OpenSession_args::~TCLIService_OpenSession_args() throw() {
uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -56,7 +55,7 @@ uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtoco
uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_OpenSession_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -65,6 +64,7 @@ uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -75,7 +75,7 @@ TCLIService_OpenSession_pargs::~TCLIService_OpenSession_pargs() throw() {
uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_OpenSession_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -84,6 +84,7 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -94,7 +95,6 @@ TCLIService_OpenSession_result::~TCLIService_OpenSession_result() throw() {
uint32_t TCLIService_OpenSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -156,7 +156,6 @@ TCLIService_OpenSession_presult::~TCLIService_OpenSession_presult() throw() {
uint32_t TCLIService_OpenSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -202,7 +201,6 @@ TCLIService_CloseSession_args::~TCLIService_CloseSession_args() throw() {
uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -243,7 +241,7 @@ uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtoc
uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CloseSession_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -252,6 +250,7 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -262,7 +261,7 @@ TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() {
uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CloseSession_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -271,6 +270,7 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -281,7 +281,6 @@ TCLIService_CloseSession_result::~TCLIService_CloseSession_result() throw() {
uint32_t TCLIService_CloseSession_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -343,7 +342,6 @@ TCLIService_CloseSession_presult::~TCLIService_CloseSession_presult() throw() {
uint32_t TCLIService_CloseSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -389,7 +387,6 @@ TCLIService_GetInfo_args::~TCLIService_GetInfo_args() throw() {
uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -430,7 +427,7 @@ uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* i
uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetInfo_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -439,6 +436,7 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -449,7 +447,7 @@ TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() {
uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetInfo_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -458,6 +456,7 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -468,7 +467,6 @@ TCLIService_GetInfo_result::~TCLIService_GetInfo_result() throw() {
uint32_t TCLIService_GetInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -530,7 +528,6 @@ TCLIService_GetInfo_presult::~TCLIService_GetInfo_presult() throw() {
uint32_t TCLIService_GetInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -576,7 +573,6 @@ TCLIService_ExecuteStatement_args::~TCLIService_ExecuteStatement_args() throw()
uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -617,7 +613,7 @@ uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TPr
uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -626,6 +622,7 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -636,7 +633,7 @@ TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw(
uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -645,6 +642,7 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -655,7 +653,6 @@ TCLIService_ExecuteStatement_result::~TCLIService_ExecuteStatement_result() thro
uint32_t TCLIService_ExecuteStatement_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -717,7 +714,6 @@ TCLIService_ExecuteStatement_presult::~TCLIService_ExecuteStatement_presult() th
uint32_t TCLIService_ExecuteStatement_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -763,7 +759,6 @@ TCLIService_GetTypeInfo_args::~TCLIService_GetTypeInfo_args() throw() {
uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -804,7 +799,7 @@ uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtoco
uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -813,6 +808,7 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -823,7 +819,7 @@ TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() {
uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -832,6 +828,7 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -842,7 +839,6 @@ TCLIService_GetTypeInfo_result::~TCLIService_GetTypeInfo_result() throw() {
uint32_t TCLIService_GetTypeInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -904,7 +900,6 @@ TCLIService_GetTypeInfo_presult::~TCLIService_GetTypeInfo_presult() throw() {
uint32_t TCLIService_GetTypeInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -950,7 +945,6 @@ TCLIService_GetCatalogs_args::~TCLIService_GetCatalogs_args() throw() {
uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -991,7 +985,7 @@ uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtoco
uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1000,6 +994,7 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1010,7 +1005,7 @@ TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() {
uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1019,6 +1014,7 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1029,7 +1025,6 @@ TCLIService_GetCatalogs_result::~TCLIService_GetCatalogs_result() throw() {
uint32_t TCLIService_GetCatalogs_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1091,7 +1086,6 @@ TCLIService_GetCatalogs_presult::~TCLIService_GetCatalogs_presult() throw() {
uint32_t TCLIService_GetCatalogs_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1137,7 +1131,6 @@ TCLIService_GetSchemas_args::~TCLIService_GetSchemas_args() throw() {
uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1178,7 +1171,7 @@ uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol
uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetSchemas_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1187,6 +1180,7 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1197,7 +1191,7 @@ TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() {
uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetSchemas_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1206,6 +1200,7 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1216,7 +1211,6 @@ TCLIService_GetSchemas_result::~TCLIService_GetSchemas_result() throw() {
uint32_t TCLIService_GetSchemas_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1278,7 +1272,6 @@ TCLIService_GetSchemas_presult::~TCLIService_GetSchemas_presult() throw() {
uint32_t TCLIService_GetSchemas_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1324,7 +1317,6 @@ TCLIService_GetTables_args::~TCLIService_GetTables_args() throw() {
uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1365,7 +1357,7 @@ uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol*
uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTables_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1374,6 +1366,7 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1384,7 +1377,7 @@ TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() {
uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTables_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1393,6 +1386,7 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1403,7 +1397,6 @@ TCLIService_GetTables_result::~TCLIService_GetTables_result() throw() {
uint32_t TCLIService_GetTables_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1465,7 +1458,6 @@ TCLIService_GetTables_presult::~TCLIService_GetTables_presult() throw() {
uint32_t TCLIService_GetTables_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1511,7 +1503,6 @@ TCLIService_GetTableTypes_args::~TCLIService_GetTableTypes_args() throw() {
uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1552,7 +1543,7 @@ uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProto
uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1561,6 +1552,7 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1571,7 +1563,7 @@ TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() {
uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1580,6 +1572,7 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1590,7 +1583,6 @@ TCLIService_GetTableTypes_result::~TCLIService_GetTableTypes_result() throw() {
uint32_t TCLIService_GetTableTypes_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1652,7 +1644,6 @@ TCLIService_GetTableTypes_presult::~TCLIService_GetTableTypes_presult() throw()
uint32_t TCLIService_GetTableTypes_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1698,7 +1689,6 @@ TCLIService_GetColumns_args::~TCLIService_GetColumns_args() throw() {
uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1739,7 +1729,7 @@ uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol
uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetColumns_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1748,6 +1738,7 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1758,7 +1749,7 @@ TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() {
uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetColumns_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1767,6 +1758,7 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1777,7 +1769,6 @@ TCLIService_GetColumns_result::~TCLIService_GetColumns_result() throw() {
uint32_t TCLIService_GetColumns_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1839,7 +1830,6 @@ TCLIService_GetColumns_presult::~TCLIService_GetColumns_presult() throw() {
uint32_t TCLIService_GetColumns_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1885,7 +1875,6 @@ TCLIService_GetFunctions_args::~TCLIService_GetFunctions_args() throw() {
uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1926,7 +1915,7 @@ uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtoc
uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetFunctions_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1935,6 +1924,7 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1945,7 +1935,7 @@ TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() {
uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetFunctions_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1954,6 +1944,7 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1964,7 +1955,6 @@ TCLIService_GetFunctions_result::~TCLIService_GetFunctions_result() throw() {
uint32_t TCLIService_GetFunctions_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2026,7 +2016,6 @@ TCLIService_GetFunctions_presult::~TCLIService_GetFunctions_presult() throw() {
uint32_t TCLIService_GetFunctions_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2072,7 +2061,6 @@ TCLIService_GetOperationStatus_args::~TCLIService_GetOperationStatus_args() thro
uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2113,7 +2101,7 @@ uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::T
uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2122,6 +2110,7 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2132,7 +2121,7 @@ TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() th
uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2141,6 +2130,7 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2151,7 +2141,6 @@ TCLIService_GetOperationStatus_result::~TCLIService_GetOperationStatus_result()
uint32_t TCLIService_GetOperationStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2213,7 +2202,6 @@ TCLIService_GetOperationStatus_presult::~TCLIService_GetOperationStatus_presult(
uint32_t TCLIService_GetOperationStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2259,7 +2247,6 @@ TCLIService_CancelOperation_args::~TCLIService_CancelOperation_args() throw() {
uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2300,7 +2287,7 @@ uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TPro
uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CancelOperation_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2309,6 +2296,7 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2319,7 +2307,7 @@ TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw()
uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CancelOperation_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2328,6 +2316,7 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2338,7 +2327,6 @@ TCLIService_CancelOperation_result::~TCLIService_CancelOperation_result() throw(
uint32_t TCLIService_CancelOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2400,7 +2388,6 @@ TCLIService_CancelOperation_presult::~TCLIService_CancelOperation_presult() thro
uint32_t TCLIService_CancelOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2446,7 +2433,6 @@ TCLIService_CloseOperation_args::~TCLIService_CloseOperation_args() throw() {
uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2487,7 +2473,7 @@ uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProt
uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CloseOperation_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2496,6 +2482,7 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2506,7 +2493,7 @@ TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() {
uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CloseOperation_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2515,6 +2502,7 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2525,7 +2513,6 @@ TCLIService_CloseOperation_result::~TCLIService_CloseOperation_result() throw()
uint32_t TCLIService_CloseOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2587,7 +2574,6 @@ TCLIService_CloseOperation_presult::~TCLIService_CloseOperation_presult() throw(
uint32_t TCLIService_CloseOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2633,7 +2619,6 @@ TCLIService_GetResultSetMetadata_args::~TCLIService_GetResultSetMetadata_args()
uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2674,7 +2659,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol:
uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2683,6 +2668,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2693,7 +2679,7 @@ TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs(
uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2702,6 +2688,7 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2712,7 +2699,6 @@ TCLIService_GetResultSetMetadata_result::~TCLIService_GetResultSetMetadata_resul
uint32_t TCLIService_GetResultSetMetadata_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2774,7 +2760,6 @@ TCLIService_GetResultSetMetadata_presult::~TCLIService_GetResultSetMetadata_pres
uint32_t TCLIService_GetResultSetMetadata_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2820,7 +2805,6 @@ TCLIService_FetchResults_args::~TCLIService_FetchResults_args() throw() {
uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2861,7 +2845,7 @@ uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtoc
uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_FetchResults_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2870,6 +2854,7 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2880,7 +2865,7 @@ TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() {
uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_FetchResults_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2889,6 +2874,7 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2899,7 +2885,6 @@ TCLIService_FetchResults_result::~TCLIService_FetchResults_result() throw() {
uint32_t TCLIService_FetchResults_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2961,7 +2946,6 @@ TCLIService_FetchResults_presult::~TCLIService_FetchResults_presult() throw() {
uint32_t TCLIService_FetchResults_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3007,7 +2991,6 @@ TCLIService_GetDelegationToken_args::~TCLIService_GetDelegationToken_args() thro
uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3048,7 +3031,7 @@ uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::T
uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3057,6 +3040,7 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3067,7 +3051,7 @@ TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() th
uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3076,6 +3060,7 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3086,7 +3071,6 @@ TCLIService_GetDelegationToken_result::~TCLIService_GetDelegationToken_result()
uint32_t TCLIService_GetDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3148,7 +3132,6 @@ TCLIService_GetDelegationToken_presult::~TCLIService_GetDelegationToken_presult(
uint32_t TCLIService_GetDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3194,7 +3177,6 @@ TCLIService_CancelDelegationToken_args::~TCLIService_CancelDelegationToken_args(
uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3235,7 +3217,7 @@ uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol
uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3244,6 +3226,7 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3254,7 +3237,7 @@ TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_parg
uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3263,6 +3246,7 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3273,7 +3257,6 @@ TCLIService_CancelDelegationToken_result::~TCLIService_CancelDelegationToken_res
uint32_t TCLIService_CancelDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3335,7 +3318,6 @@ TCLIService_CancelDelegationToken_presult::~TCLIService_CancelDelegationToken_pr
uint32_t TCLIService_CancelDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3381,7 +3363,6 @@ TCLIService_RenewDelegationToken_args::~TCLIService_RenewDelegationToken_args()
uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3422,7 +3403,7 @@ uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol:
uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3431,6 +3412,7 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3441,7 +3423,7 @@ TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs(
uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3450,6 +3432,7 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3460,7 +3443,6 @@ TCLIService_RenewDelegationToken_result::~TCLIService_RenewDelegationToken_resul
uint32_t TCLIService_RenewDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3522,7 +3504,6 @@ TCLIService_RenewDelegationToken_presult::~TCLIService_RenewDelegationToken_pres
uint32_t TCLIService_RenewDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5714,1602 +5695,5 @@ void TCLIServiceProcessor::process_RenewDelegationToken(int32_t seqid, ::apache:
::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new TCLIServiceProcessor(handler));
return processor;
}
-
-void TCLIServiceConcurrentClient::OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req)
-{
- int32_t seqid = send_OpenSession(req);
- recv_OpenSession(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_OpenSession(const TOpenSessionReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("OpenSession", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_OpenSession_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("OpenSession") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_OpenSession_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "OpenSession failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req)
-{
- int32_t seqid = send_CloseSession(req);
- recv_CloseSession(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_CloseSession(const TCloseSessionReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("CloseSession", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_CloseSession_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("CloseSession") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_CloseSession_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseSession failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetInfo(TGetInfoResp& _return, const TGetInfoReq& req)
-{
- int32_t seqid = send_GetInfo(req);
- recv_GetInfo(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetInfo(const TGetInfoReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetInfo", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetInfo_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetInfo(TGetInfoResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetInfo") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetInfo_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetInfo failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req)
-{
- int32_t seqid = send_ExecuteStatement(req);
- recv_ExecuteStatement(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_ExecuteStatement(const TExecuteStatementReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("ExecuteStatement", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_ExecuteStatement_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("ExecuteStatement") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_ExecuteStatement_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "ExecuteStatement failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req)
-{
- int32_t seqid = send_GetTypeInfo(req);
- recv_GetTypeInfo(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetTypeInfo(const TGetTypeInfoReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetTypeInfo", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetTypeInfo_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetTypeInfo") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetTypeInfo_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTypeInfo failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req)
-{
- int32_t seqid = send_GetCatalogs(req);
- recv_GetCatalogs(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetCatalogs(const TGetCatalogsReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetCatalogs", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetCatalogs_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetCatalogs") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetCatalogs_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCatalogs failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req)
-{
- int32_t seqid = send_GetSchemas(req);
- recv_GetSchemas(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetSchemas(const TGetSchemasReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetSchemas", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetSchemas_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetSchemas") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetSchemas_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetSchemas failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetTables(TGetTablesResp& _return, const TGetTablesReq& req)
-{
- int32_t seqid = send_GetTables(req);
- recv_GetTables(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetTables(const TGetTablesReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetTables", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetTables_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetTables(TGetTablesResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetTables") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetTables_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTables failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req)
-{
- int32_t seqid = send_GetTableTypes(req);
- recv_GetTableTypes(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetTableTypes(const TGetTableTypesReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetTableTypes", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetTableTypes_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetTableTypes") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetTableTypes_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTableTypes failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req)
-{
- int32_t seqid = send_GetColumns(req);
- recv_GetColumns(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetColumns(const TGetColumnsReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetColumns", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetColumns_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetColumns") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetColumns_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetColumns failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req)
-{
- int32_t seqid = send_GetFunctions(req);
- recv_GetFunctions(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetFunctions(const TGetFunctionsReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetFunctions", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetFunctions_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetFunctions") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetFunctions_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetFunctions failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req)
-{
- int32_t seqid = send_GetOperationStatus(req);
- recv_GetOperationStatus(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_GetOperationStatus(const TGetOperationStatusReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("GetOperationStatus", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_GetOperationStatus_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("GetOperationStatus") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_GetOperationStatus_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetOperationStatus failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req)
-{
- int32_t seqid = send_CancelOperation(req);
- recv_CancelOperation(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_CancelOperation(const TCancelOperationReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("CancelOperation", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_CancelOperation_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("CancelOperation") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_CancelOperation_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CancelOperation failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void TCLIServiceConcurrentClient::CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req)
-{
- int32_t seqid = send_CloseOperation(req);
- recv_CloseOperation(_return, seqid);
-}
-
-int32_t TCLIServiceConcurrentClient::send_CloseOperation(const TCloseOperationReq& req)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("CloseOperation", ::apache::thrift::protocol::T_CALL, cseqid);
-
- TCLIService_CloseOperation_pargs args;
- args.req = &req;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void TCLIServiceConcurrentClient::recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("CloseOperation") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- TCLIService_CloseOperation_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseOperation failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will tempo
<TRUNCATED>
[20/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
index 383a0d2..0fee77b 100644
--- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
+++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
@@ -312,6 +312,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf {
printf("get_partitions_by_expr\n");
}
+ int32_t get_num_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter) {
+ // Your implementation goes here
+ printf("get_num_partitions_by_filter\n");
+ }
+
void get_partitions_by_names(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & names) {
// Your implementation goes here
printf("get_partitions_by_names\n");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
index f982bf2..f61ac7d 100644
--- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
+++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
index ae14bd1..c95fec1 100644
--- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
+++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[19/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
index d997e33..e374cb1 100644
--- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
+++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -172,9 +172,11 @@ void Version::__set_comments(const std::string& val) {
this->comments = val;
}
+const char* Version::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
+const uint8_t Version::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -223,7 +225,7 @@ uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Version");
xfer += oprot->writeFieldBegin("version", ::apache::thrift::protocol::T_STRING, 1);
@@ -236,6 +238,7 @@ uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -257,12 +260,13 @@ Version& Version::operator=(const Version& other1) {
__isset = other1.__isset;
return *this;
}
-void Version::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Version& obj) {
+ using apache::thrift::to_string;
out << "Version(";
- out << "version=" << to_string(version);
- out << ", " << "comments=" << to_string(comments);
+ out << "version=" << to_string(obj.version);
+ out << ", " << "comments=" << to_string(obj.comments);
out << ")";
+ return out;
}
@@ -282,9 +286,11 @@ void FieldSchema::__set_comment(const std::string& val) {
this->comment = val;
}
+const char* FieldSchema::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271";
+const uint8_t FieldSchema::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71};
+
uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -341,7 +347,7 @@ uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("FieldSchema");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -358,6 +364,7 @@ uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -382,13 +389,14 @@ FieldSchema& FieldSchema::operator=(const FieldSchema& other3) {
__isset = other3.__isset;
return *this;
}
-void FieldSchema::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) {
+ using apache::thrift::to_string;
out << "FieldSchema(";
- out << "name=" << to_string(name);
- out << ", " << "type=" << to_string(type);
- out << ", " << "comment=" << to_string(comment);
+ out << "name=" << to_string(obj.name);
+ out << ", " << "type=" << to_string(obj.type);
+ out << ", " << "comment=" << to_string(obj.comment);
out << ")";
+ return out;
}
@@ -415,9 +423,11 @@ void Type::__set_fields(const std::vector<FieldSchema> & val) {
__isset.fields = true;
}
+const char* Type::ascii_fingerprint = "20DF02DE523C27F7066C7BD4D9120842";
+const uint8_t Type::binary_fingerprint[16] = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42};
+
uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -494,7 +504,7 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Type");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -526,6 +536,7 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -553,14 +564,15 @@ Type& Type::operator=(const Type& other11) {
__isset = other11.__isset;
return *this;
}
-void Type::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Type& obj) {
+ using apache::thrift::to_string;
out << "Type(";
- out << "name=" << to_string(name);
- out << ", " << "type1="; (__isset.type1 ? (out << to_string(type1)) : (out << "<null>"));
- out << ", " << "type2="; (__isset.type2 ? (out << to_string(type2)) : (out << "<null>"));
- out << ", " << "fields="; (__isset.fields ? (out << to_string(fields)) : (out << "<null>"));
+ out << "name=" << to_string(obj.name);
+ out << ", " << "type1="; (obj.__isset.type1 ? (out << to_string(obj.type1)) : (out << "<null>"));
+ out << ", " << "type2="; (obj.__isset.type2 ? (out << to_string(obj.type2)) : (out << "<null>"));
+ out << ", " << "fields="; (obj.__isset.fields ? (out << to_string(obj.fields)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -588,9 +600,11 @@ void HiveObjectRef::__set_columnName(const std::string& val) {
this->columnName = val;
}
+const char* HiveObjectRef::ascii_fingerprint = "205CD8311CF3AA9EC161BAEF8D7C933C";
+const uint8_t HiveObjectRef::binary_fingerprint[16] = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C};
+
uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -677,7 +691,7 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("HiveObjectRef");
xfer += oprot->writeFieldBegin("objectType", ::apache::thrift::protocol::T_I32, 1);
@@ -710,6 +724,7 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -740,15 +755,16 @@ HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other20) {
__isset = other20.__isset;
return *this;
}
-void HiveObjectRef::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj) {
+ using apache::thrift::to_string;
out << "HiveObjectRef(";
- out << "objectType=" << to_string(objectType);
- out << ", " << "dbName=" << to_string(dbName);
- out << ", " << "objectName=" << to_string(objectName);
- out << ", " << "partValues=" << to_string(partValues);
- out << ", " << "columnName=" << to_string(columnName);
+ out << "objectType=" << to_string(obj.objectType);
+ out << ", " << "dbName=" << to_string(obj.dbName);
+ out << ", " << "objectName=" << to_string(obj.objectName);
+ out << ", " << "partValues=" << to_string(obj.partValues);
+ out << ", " << "columnName=" << to_string(obj.columnName);
out << ")";
+ return out;
}
@@ -776,9 +792,11 @@ void PrivilegeGrantInfo::__set_grantOption(const bool val) {
this->grantOption = val;
}
+const char* PrivilegeGrantInfo::ascii_fingerprint = "A58923AF7294BE492D6F90E07E8CEE1F";
+const uint8_t PrivilegeGrantInfo::binary_fingerprint[16] = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F};
+
uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -853,7 +871,7 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PrivilegeGrantInfo");
xfer += oprot->writeFieldBegin("privilege", ::apache::thrift::protocol::T_STRING, 1);
@@ -878,6 +896,7 @@ uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -908,15 +927,16 @@ PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& othe
__isset = other23.__isset;
return *this;
}
-void PrivilegeGrantInfo::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj) {
+ using apache::thrift::to_string;
out << "PrivilegeGrantInfo(";
- out << "privilege=" << to_string(privilege);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "grantor=" << to_string(grantor);
- out << ", " << "grantorType=" << to_string(grantorType);
- out << ", " << "grantOption=" << to_string(grantOption);
+ out << "privilege=" << to_string(obj.privilege);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "grantor=" << to_string(obj.grantor);
+ out << ", " << "grantorType=" << to_string(obj.grantorType);
+ out << ", " << "grantOption=" << to_string(obj.grantOption);
out << ")";
+ return out;
}
@@ -940,9 +960,11 @@ void HiveObjectPrivilege::__set_grantInfo(const PrivilegeGrantInfo& val) {
this->grantInfo = val;
}
+const char* HiveObjectPrivilege::ascii_fingerprint = "83D71969B23BD853E29DBA9D43B29AF8";
+const uint8_t HiveObjectPrivilege::binary_fingerprint[16] = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8};
+
uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1009,7 +1031,7 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("HiveObjectPrivilege");
xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1030,6 +1052,7 @@ uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1057,14 +1080,15 @@ HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& o
__isset = other26.__isset;
return *this;
}
-void HiveObjectPrivilege::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj) {
+ using apache::thrift::to_string;
out << "HiveObjectPrivilege(";
- out << "hiveObject=" << to_string(hiveObject);
- out << ", " << "principalName=" << to_string(principalName);
- out << ", " << "principalType=" << to_string(principalType);
- out << ", " << "grantInfo=" << to_string(grantInfo);
+ out << "hiveObject=" << to_string(obj.hiveObject);
+ out << ", " << "principalName=" << to_string(obj.principalName);
+ out << ", " << "principalType=" << to_string(obj.principalType);
+ out << ", " << "grantInfo=" << to_string(obj.grantInfo);
out << ")";
+ return out;
}
@@ -1076,9 +1100,11 @@ void PrivilegeBag::__set_privileges(const std::vector<HiveObjectPrivilege> & val
this->privileges = val;
}
+const char* PrivilegeBag::ascii_fingerprint = "BB89E4701B7B709B046A74C90B1147F2";
+const uint8_t PrivilegeBag::binary_fingerprint[16] = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2};
+
uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1131,7 +1157,7 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PrivilegeBag");
xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_LIST, 1);
@@ -1148,6 +1174,7 @@ uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1166,11 +1193,12 @@ PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other34) {
__isset = other34.__isset;
return *this;
}
-void PrivilegeBag::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj) {
+ using apache::thrift::to_string;
out << "PrivilegeBag(";
- out << "privileges=" << to_string(privileges);
+ out << "privileges=" << to_string(obj.privileges);
out << ")";
+ return out;
}
@@ -1190,9 +1218,11 @@ void PrincipalPrivilegeSet::__set_rolePrivileges(const std::map<std::string, std
this->rolePrivileges = val;
}
+const char* PrincipalPrivilegeSet::ascii_fingerprint = "08F75D2533906EA87BE34EA640856683";
+const uint8_t PrincipalPrivilegeSet::binary_fingerprint[16] = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83};
+
uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1330,7 +1360,7 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PrincipalPrivilegeSet");
xfer += oprot->writeFieldBegin("userPrivileges", ::apache::thrift::protocol::T_MAP, 1);
@@ -1398,6 +1428,7 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1422,13 +1453,14 @@ PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilege
__isset = other78.__isset;
return *this;
}
-void PrincipalPrivilegeSet::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj) {
+ using apache::thrift::to_string;
out << "PrincipalPrivilegeSet(";
- out << "userPrivileges=" << to_string(userPrivileges);
- out << ", " << "groupPrivileges=" << to_string(groupPrivileges);
- out << ", " << "rolePrivileges=" << to_string(rolePrivileges);
+ out << "userPrivileges=" << to_string(obj.userPrivileges);
+ out << ", " << "groupPrivileges=" << to_string(obj.groupPrivileges);
+ out << ", " << "rolePrivileges=" << to_string(obj.rolePrivileges);
out << ")";
+ return out;
}
@@ -1449,9 +1481,11 @@ void GrantRevokePrivilegeRequest::__set_revokeGrantOption(const bool val) {
__isset.revokeGrantOption = true;
}
+const char* GrantRevokePrivilegeRequest::ascii_fingerprint = "DF474A3CB526AD40DC0F2C3702F7AA2C";
+const uint8_t GrantRevokePrivilegeRequest::binary_fingerprint[16] = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C};
+
uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1510,7 +1544,7 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol
uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GrantRevokePrivilegeRequest");
xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1);
@@ -1528,6 +1562,7 @@ uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtoco
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1552,13 +1587,14 @@ GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantR
__isset = other81.__isset;
return *this;
}
-void GrantRevokePrivilegeRequest::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj) {
+ using apache::thrift::to_string;
out << "GrantRevokePrivilegeRequest(";
- out << "requestType=" << to_string(requestType);
- out << ", " << "privileges=" << to_string(privileges);
- out << ", " << "revokeGrantOption="; (__isset.revokeGrantOption ? (out << to_string(revokeGrantOption)) : (out << "<null>"));
+ out << "requestType=" << to_string(obj.requestType);
+ out << ", " << "privileges=" << to_string(obj.privileges);
+ out << ", " << "revokeGrantOption="; (obj.__isset.revokeGrantOption ? (out << to_string(obj.revokeGrantOption)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1571,9 +1607,11 @@ void GrantRevokePrivilegeResponse::__set_success(const bool val) {
__isset.success = true;
}
+const char* GrantRevokePrivilegeResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD";
+const uint8_t GrantRevokePrivilegeResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1614,7 +1652,7 @@ uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtoco
uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GrantRevokePrivilegeResponse");
if (this->__isset.success) {
@@ -1624,6 +1662,7 @@ uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtoc
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1642,11 +1681,12 @@ GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const Gran
__isset = other83.__isset;
return *this;
}
-void GrantRevokePrivilegeResponse::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj) {
+ using apache::thrift::to_string;
out << "GrantRevokePrivilegeResponse(";
- out << "success="; (__isset.success ? (out << to_string(success)) : (out << "<null>"));
+ out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1666,9 +1706,11 @@ void Role::__set_ownerName(const std::string& val) {
this->ownerName = val;
}
+const char* Role::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26";
+const uint8_t Role::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
+
uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1725,7 +1767,7 @@ uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Role");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1742,6 +1784,7 @@ uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1766,13 +1809,14 @@ Role& Role::operator=(const Role& other85) {
__isset = other85.__isset;
return *this;
}
-void Role::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Role& obj) {
+ using apache::thrift::to_string;
out << "Role(";
- out << "roleName=" << to_string(roleName);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "ownerName=" << to_string(ownerName);
+ out << "roleName=" << to_string(obj.roleName);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "ownerName=" << to_string(obj.ownerName);
out << ")";
+ return out;
}
@@ -1808,9 +1852,11 @@ void RolePrincipalGrant::__set_grantorPrincipalType(const PrincipalType::type va
this->grantorPrincipalType = val;
}
+const char* RolePrincipalGrant::ascii_fingerprint = "899BA3F6214DD1B79D27206BA857C772";
+const uint8_t RolePrincipalGrant::binary_fingerprint[16] = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72};
+
uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1903,7 +1949,7 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("RolePrincipalGrant");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1936,6 +1982,7 @@ uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1972,17 +2019,18 @@ RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& othe
__isset = other89.__isset;
return *this;
}
-void RolePrincipalGrant::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj) {
+ using apache::thrift::to_string;
out << "RolePrincipalGrant(";
- out << "roleName=" << to_string(roleName);
- out << ", " << "principalName=" << to_string(principalName);
- out << ", " << "principalType=" << to_string(principalType);
- out << ", " << "grantOption=" << to_string(grantOption);
- out << ", " << "grantTime=" << to_string(grantTime);
- out << ", " << "grantorName=" << to_string(grantorName);
- out << ", " << "grantorPrincipalType=" << to_string(grantorPrincipalType);
+ out << "roleName=" << to_string(obj.roleName);
+ out << ", " << "principalName=" << to_string(obj.principalName);
+ out << ", " << "principalType=" << to_string(obj.principalType);
+ out << ", " << "grantOption=" << to_string(obj.grantOption);
+ out << ", " << "grantTime=" << to_string(obj.grantTime);
+ out << ", " << "grantorName=" << to_string(obj.grantorName);
+ out << ", " << "grantorPrincipalType=" << to_string(obj.grantorPrincipalType);
out << ")";
+ return out;
}
@@ -1998,9 +2046,11 @@ void GetRoleGrantsForPrincipalRequest::__set_principal_type(const PrincipalType:
this->principal_type = val;
}
+const char* GetRoleGrantsForPrincipalRequest::ascii_fingerprint = "D6FD826D949221396F4FFC3ECCD3D192";
+const uint8_t GetRoleGrantsForPrincipalRequest::binary_fingerprint[16] = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92};
+
uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2057,7 +2107,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro
uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalRequest");
xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2070,6 +2120,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2088,12 +2139,13 @@ GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(co
principal_type = other92.principal_type;
return *this;
}
-void GetRoleGrantsForPrincipalRequest::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj) {
+ using apache::thrift::to_string;
out << "GetRoleGrantsForPrincipalRequest(";
- out << "principal_name=" << to_string(principal_name);
- out << ", " << "principal_type=" << to_string(principal_type);
+ out << "principal_name=" << to_string(obj.principal_name);
+ out << ", " << "principal_type=" << to_string(obj.principal_type);
out << ")";
+ return out;
}
@@ -2105,9 +2157,11 @@ void GetRoleGrantsForPrincipalResponse::__set_principalGrants(const std::vector<
this->principalGrants = val;
}
+const char* GetRoleGrantsForPrincipalResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690";
+const uint8_t GetRoleGrantsForPrincipalResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90};
+
uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2163,7 +2217,7 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr
uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalResponse");
xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1);
@@ -2180,6 +2234,7 @@ uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2195,11 +2250,12 @@ GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=(
principalGrants = other100.principalGrants;
return *this;
}
-void GetRoleGrantsForPrincipalResponse::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj) {
+ using apache::thrift::to_string;
out << "GetRoleGrantsForPrincipalResponse(";
- out << "principalGrants=" << to_string(principalGrants);
+ out << "principalGrants=" << to_string(obj.principalGrants);
out << ")";
+ return out;
}
@@ -2211,9 +2267,11 @@ void GetPrincipalsInRoleRequest::__set_roleName(const std::string& val) {
this->roleName = val;
}
+const char* GetPrincipalsInRoleRequest::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t GetPrincipalsInRoleRequest::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2257,7 +2315,7 @@ uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol*
uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GetPrincipalsInRoleRequest");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -2266,6 +2324,7 @@ uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2281,11 +2340,12 @@ GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrinc
roleName = other102.roleName;
return *this;
}
-void GetPrincipalsInRoleRequest::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj) {
+ using apache::thrift::to_string;
out << "GetPrincipalsInRoleRequest(";
- out << "roleName=" << to_string(roleName);
+ out << "roleName=" << to_string(obj.roleName);
out << ")";
+ return out;
}
@@ -2297,9 +2357,11 @@ void GetPrincipalsInRoleResponse::__set_principalGrants(const std::vector<RolePr
this->principalGrants = val;
}
+const char* GetPrincipalsInRoleResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690";
+const uint8_t GetPrincipalsInRoleResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90};
+
uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2355,7 +2417,7 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol
uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GetPrincipalsInRoleResponse");
xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1);
@@ -2372,6 +2434,7 @@ uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2387,11 +2450,12 @@ GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPri
principalGrants = other110.principalGrants;
return *this;
}
-void GetPrincipalsInRoleResponse::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj) {
+ using apache::thrift::to_string;
out << "GetPrincipalsInRoleResponse(";
- out << "principalGrants=" << to_string(principalGrants);
+ out << "principalGrants=" << to_string(obj.principalGrants);
out << ")";
+ return out;
}
@@ -2430,9 +2494,11 @@ void GrantRevokeRoleRequest::__set_grantOption(const bool val) {
__isset.grantOption = true;
}
+const char* GrantRevokeRoleRequest::ascii_fingerprint = "907DEA796F2BA7AF76DC2566E75FAEE7";
+const uint8_t GrantRevokeRoleRequest::binary_fingerprint[16] = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7};
+
uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2527,7 +2593,7 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GrantRevokeRoleRequest");
xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1);
@@ -2563,6 +2629,7 @@ uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* op
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2599,17 +2666,18 @@ GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleR
__isset = other115.__isset;
return *this;
}
-void GrantRevokeRoleRequest::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj) {
+ using apache::thrift::to_string;
out << "GrantRevokeRoleRequest(";
- out << "requestType=" << to_string(requestType);
- out << ", " << "roleName=" << to_string(roleName);
- out << ", " << "principalName=" << to_string(principalName);
- out << ", " << "principalType=" << to_string(principalType);
- out << ", " << "grantor="; (__isset.grantor ? (out << to_string(grantor)) : (out << "<null>"));
- out << ", " << "grantorType="; (__isset.grantorType ? (out << to_string(grantorType)) : (out << "<null>"));
- out << ", " << "grantOption="; (__isset.grantOption ? (out << to_string(grantOption)) : (out << "<null>"));
+ out << "requestType=" << to_string(obj.requestType);
+ out << ", " << "roleName=" << to_string(obj.roleName);
+ out << ", " << "principalName=" << to_string(obj.principalName);
+ out << ", " << "principalType=" << to_string(obj.principalType);
+ out << ", " << "grantor="; (obj.__isset.grantor ? (out << to_string(obj.grantor)) : (out << "<null>"));
+ out << ", " << "grantorType="; (obj.__isset.grantorType ? (out << to_string(obj.grantorType)) : (out << "<null>"));
+ out << ", " << "grantOption="; (obj.__isset.grantOption ? (out << to_string(obj.grantOption)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2622,9 +2690,11 @@ void GrantRevokeRoleResponse::__set_success(const bool val) {
__isset.success = true;
}
+const char* GrantRevokeRoleResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD";
+const uint8_t GrantRevokeRoleResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2665,7 +2735,7 @@ uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* ip
uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("GrantRevokeRoleResponse");
if (this->__isset.success) {
@@ -2675,6 +2745,7 @@ uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* o
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2693,11 +2764,12 @@ GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRol
__isset = other117.__isset;
return *this;
}
-void GrantRevokeRoleResponse::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj) {
+ using apache::thrift::to_string;
out << "GrantRevokeRoleResponse(";
- out << "success="; (__isset.success ? (out << to_string(success)) : (out << "<null>"));
+ out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2736,9 +2808,11 @@ void Database::__set_ownerType(const PrincipalType::type val) {
__isset.ownerType = true;
}
+const char* Database::ascii_fingerprint = "553495CAE243A1C583D5C3DD990AED53";
+const uint8_t Database::binary_fingerprint[16] = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53};
+
uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2844,7 +2918,7 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Database");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2889,6 +2963,7 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2925,17 +3000,18 @@ Database& Database::operator=(const Database& other128) {
__isset = other128.__isset;
return *this;
}
-void Database::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Database& obj) {
+ using apache::thrift::to_string;
out << "Database(";
- out << "name=" << to_string(name);
- out << ", " << "description=" << to_string(description);
- out << ", " << "locationUri=" << to_string(locationUri);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "<null>"));
- out << ", " << "ownerName="; (__isset.ownerName ? (out << to_string(ownerName)) : (out << "<null>"));
- out << ", " << "ownerType="; (__isset.ownerType ? (out << to_string(ownerType)) : (out << "<null>"));
+ out << "name=" << to_string(obj.name);
+ out << ", " << "description=" << to_string(obj.description);
+ out << ", " << "locationUri=" << to_string(obj.locationUri);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "<null>"));
+ out << ", " << "ownerName="; (obj.__isset.ownerName ? (out << to_string(obj.ownerName)) : (out << "<null>"));
+ out << ", " << "ownerType="; (obj.__isset.ownerType ? (out << to_string(obj.ownerType)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2955,9 +3031,11 @@ void SerDeInfo::__set_parameters(const std::map<std::string, std::string> & val)
this->parameters = val;
}
+const char* SerDeInfo::ascii_fingerprint = "B1021C32A35A2AEFCD2F57A5424159A7";
+const uint8_t SerDeInfo::binary_fingerprint[16] = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7};
+
uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3029,7 +3107,7 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("SerDeInfo");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3055,6 +3133,7 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3079,13 +3158,14 @@ SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other138) {
__isset = other138.__isset;
return *this;
}
-void SerDeInfo::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj) {
+ using apache::thrift::to_string;
out << "SerDeInfo(";
- out << "name=" << to_string(name);
- out << ", " << "serializationLib=" << to_string(serializationLib);
- out << ", " << "parameters=" << to_string(parameters);
+ out << "name=" << to_string(obj.name);
+ out << ", " << "serializationLib=" << to_string(obj.serializationLib);
+ out << ", " << "parameters=" << to_string(obj.parameters);
out << ")";
+ return out;
}
@@ -3101,9 +3181,11 @@ void Order::__set_order(const int32_t val) {
this->order = val;
}
+const char* Order::ascii_fingerprint = "EEBC915CE44901401D881E6091423036";
+const uint8_t Order::binary_fingerprint[16] = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36};
+
uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3152,7 +3234,7 @@ uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Order");
xfer += oprot->writeFieldBegin("col", ::apache::thrift::protocol::T_STRING, 1);
@@ -3165,6 +3247,7 @@ uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3186,12 +3269,13 @@ Order& Order::operator=(const Order& other140) {
__isset = other140.__isset;
return *this;
}
-void Order::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Order& obj) {
+ using apache::thrift::to_string;
out << "Order(";
- out << "col=" << to_string(col);
- out << ", " << "order=" << to_string(order);
+ out << "col=" << to_string(obj.col);
+ out << ", " << "order=" << to_string(obj.order);
out << ")";
+ return out;
}
@@ -3211,9 +3295,11 @@ void SkewedInfo::__set_skewedColValueLocationMaps(const std::map<std::vector<std
this->skewedColValueLocationMaps = val;
}
+const char* SkewedInfo::ascii_fingerprint = "4BF2ED84BC3C3EB297A2AE2FA8427EB1";
+const uint8_t SkewedInfo::binary_fingerprint[16] = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1};
+
uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3333,7 +3419,7 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("SkewedInfo");
xfer += oprot->writeFieldBegin("skewedColNames", ::apache::thrift::protocol::T_LIST, 1);
@@ -3391,6 +3477,7 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3415,13 +3502,14 @@ SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other174) {
__isset = other174.__isset;
return *this;
}
-void SkewedInfo::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj) {
+ using apache::thrift::to_string;
out << "SkewedInfo(";
- out << "skewedColNames=" << to_string(skewedColNames);
- out << ", " << "skewedColValues=" << to_string(skewedColValues);
- out << ", " << "skewedColValueLocationMaps=" << to_string(skewedColValueLocationMaps);
+ out << "skewedColNames=" << to_string(obj.skewedColNames);
+ out << ", " << "skewedColValues=" << to_string(obj.skewedColValues);
+ out << ", " << "skewedColValueLocationMaps=" << to_string(obj.skewedColValueLocationMaps);
out << ")";
+ return out;
}
@@ -3479,9 +3567,11 @@ void StorageDescriptor::__set_storedAsSubDirectories(const bool val) {
__isset.storedAsSubDirectories = true;
}
+const char* StorageDescriptor::ascii_fingerprint = "CA8C9AA5FE4C32643757D8639CEF0CD7";
+const uint8_t StorageDescriptor::binary_fingerprint[16] = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7};
+
uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3661,7 +3751,7 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("StorageDescriptor");
xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1);
@@ -3749,6 +3839,7 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot)
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3800,22 +3891,23 @@ StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other20
__isset = other202.__isset;
return *this;
}
-void StorageDescriptor::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) {
+ using apache::thrift::to_string;
out << "StorageDescriptor(";
- out << "cols=" << to_string(cols);
- out << ", " << "location=" << to_string(location);
- out << ", " << "inputFormat=" << to_string(inputFormat);
- out << ", " << "outputFormat=" << to_string(outputFormat);
- out << ", " << "compressed=" << to_string(compressed);
- out << ", " << "numBuckets=" << to_string(numBuckets);
- out << ", " << "serdeInfo=" << to_string(serdeInfo);
- out << ", " << "bucketCols=" << to_string(bucketCols);
- out << ", " << "sortCols=" << to_string(sortCols);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "skewedInfo="; (__isset.skewedInfo ? (out << to_string(skewedInfo)) : (out << "<null>"));
- out << ", " << "storedAsSubDirectories="; (__isset.storedAsSubDirectories ? (out << to_string(storedAsSubDirectories)) : (out << "<null>"));
+ out << "cols=" << to_string(obj.cols);
+ out << ", " << "location=" << to_string(obj.location);
+ out << ", " << "inputFormat=" << to_string(obj.inputFormat);
+ out << ", " << "outputFormat=" << to_string(obj.outputFormat);
+ out << ", " << "compressed=" << to_string(obj.compressed);
+ out << ", " << "numBuckets=" << to_string(obj.numBuckets);
+ out << ", " << "serdeInfo=" << to_string(obj.serdeInfo);
+ out << ", " << "bucketCols=" << to_string(obj.bucketCols);
+ out << ", " << "sortCols=" << to_string(obj.sortCols);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "skewedInfo="; (obj.__isset.skewedInfo ? (out << to_string(obj.skewedInfo)) : (out << "<null>"));
+ out << ", " << "storedAsSubDirectories="; (obj.__isset.storedAsSubDirectories ? (out << to_string(obj.storedAsSubDirectories)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -3881,9 +3973,11 @@ void Table::__set_temporary(const bool val) {
__isset.temporary = true;
}
+const char* Table::ascii_fingerprint = "29EFB2A5970EF572039E5D94CC78AA85";
+const uint8_t Table::binary_fingerprint[16] = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85};
+
uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4055,7 +4149,7 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Table");
xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 1);
@@ -4135,6 +4229,7 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4192,24 +4287,25 @@ Table& Table::operator=(const Table& other218) {
__isset = other218.__isset;
return *this;
}
-void Table::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Table& obj) {
+ using apache::thrift::to_string;
out << "Table(";
- out << "tableName=" << to_string(tableName);
- out << ", " << "dbName=" << to_string(dbName);
- out << ", " << "owner=" << to_string(owner);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "lastAccessTime=" << to_string(lastAccessTime);
- out << ", " << "retention=" << to_string(retention);
- out << ", " << "sd=" << to_string(sd);
- out << ", " << "partitionKeys=" << to_string(partitionKeys);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "viewOriginalText=" << to_string(viewOriginalText);
- out << ", " << "viewExpandedText=" << to_string(viewExpandedText);
- out << ", " << "tableType=" << to_string(tableType);
- out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "<null>"));
- out << ", " << "temporary="; (__isset.temporary ? (out << to_string(temporary)) : (out << "<null>"));
+ out << "tableName=" << to_string(obj.tableName);
+ out << ", " << "dbName=" << to_string(obj.dbName);
+ out << ", " << "owner=" << to_string(obj.owner);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime);
+ out << ", " << "retention=" << to_string(obj.retention);
+ out << ", " << "sd=" << to_string(obj.sd);
+ out << ", " << "partitionKeys=" << to_string(obj.partitionKeys);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "viewOriginalText=" << to_string(obj.viewOriginalText);
+ out << ", " << "viewExpandedText=" << to_string(obj.viewExpandedText);
+ out << ", " << "tableType=" << to_string(obj.tableType);
+ out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "<null>"));
+ out << ", " << "temporary="; (obj.__isset.temporary ? (out << to_string(obj.temporary)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4250,9 +4346,11 @@ void Partition::__set_privileges(const PrincipalPrivilegeSet& val) {
__isset.privileges = true;
}
+const char* Partition::ascii_fingerprint = "31A52241B88A426C34087FE38343FF51";
+const uint8_t Partition::binary_fingerprint[16] = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51};
+
uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4376,7 +4474,7 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Partition");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -4431,6 +4529,7 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4470,18 +4569,19 @@ Partition& Partition::operator=(const Partition& other234) {
__isset = other234.__isset;
return *this;
}
-void Partition::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Partition& obj) {
+ using apache::thrift::to_string;
out << "Partition(";
- out << "values=" << to_string(values);
- out << ", " << "dbName=" << to_string(dbName);
- out << ", " << "tableName=" << to_string(tableName);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "lastAccessTime=" << to_string(lastAccessTime);
- out << ", " << "sd=" << to_string(sd);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "<null>"));
+ out << "values=" << to_string(obj.values);
+ out << ", " << "dbName=" << to_string(obj.dbName);
+ out << ", " << "tableName=" << to_string(obj.tableName);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime);
+ out << ", " << "sd=" << to_string(obj.sd);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4514,9 +4614,11 @@ void PartitionWithoutSD::__set_privileges(const PrincipalPrivilegeSet& val) {
__isset.privileges = true;
}
+const char* PartitionWithoutSD::ascii_fingerprint = "D79FA44499888D0E50B5625E0C536DEA";
+const uint8_t PartitionWithoutSD::binary_fingerprint[16] = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA};
+
uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4624,7 +4726,7 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PartitionWithoutSD");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -4671,6 +4773,7 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot)
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4704,16 +4807,17 @@ PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& othe
__isset = other250.__isset;
return *this;
}
-void PartitionWithoutSD::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj) {
+ using apache::thrift::to_string;
out << "PartitionWithoutSD(";
- out << "values=" << to_string(values);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "lastAccessTime=" << to_string(lastAccessTime);
- out << ", " << "relativePath=" << to_string(relativePath);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "<null>"));
+ out << "values=" << to_string(obj.values);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime);
+ out << ", " << "relativePath=" << to_string(obj.relativePath);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4729,9 +4833,11 @@ void PartitionSpecWithSharedSD::__set_sd(const StorageDescriptor& val) {
this->sd = val;
}
+const char* PartitionSpecWithSharedSD::ascii_fingerprint = "7BEE9305B42DCD083FF06BEE6DDC61CF";
+const uint8_t PartitionSpecWithSharedSD::binary_fingerprint[16] = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF};
+
uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4792,7 +4898,7 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol*
uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PartitionSpecWithSharedSD");
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
@@ -4813,6 +4919,7 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4834,12 +4941,13 @@ PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionS
__isset = other258.__isset;
return *this;
}
-void PartitionSpecWithSharedSD::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj) {
+ using apache::thrift::to_string;
out << "PartitionSpecWithSharedSD(";
- out << "partitions=" << to_string(partitions);
- out << ", " << "sd=" << to_string(sd);
+ out << "partitions=" << to_string(obj.partitions);
+ out << ", " << "sd=" << to_string(obj.sd);
out << ")";
+ return out;
}
@@ -4851,9 +4959,11 @@ void PartitionListComposingSpec::__set_partitions(const std::vector<Partition> &
this->partitions = val;
}
+const char* PartitionListComposingSpec::ascii_fingerprint = "A048235CB9A257C8A74E3691BEFE0674";
+const uint8_t PartitionListComposingSpec::binary_fingerprint[16] = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74};
+
uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4906,7 +5016,7 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol*
uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PartitionListComposingSpec");
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
@@ -4923,6 +5033,7 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4941,11 +5052,12 @@ PartitionListComposingSpec& PartitionListComposingSpec::operator=(const Partitio
__isset = other266.__isset;
return *this;
}
-void PartitionListComposingSpec::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj) {
+ using apache::thrift::to_string;
out << "PartitionListComposingSpec(";
- out << "partitions=" << to_string(partitions);
+ out << "partitions=" << to_string(obj.partitions);
out << ")";
+ return out;
}
@@ -4975,9 +5087,11 @@ void PartitionSpec::__set_partitionList(const PartitionListComposingSpec& val) {
__isset.partitionList = true;
}
+const char* PartitionSpec::ascii_fingerprint = "C3F548C24D072CF6422F25096143E3E8";
+const uint8_t PartitionSpec::binary_fingerprint[16] = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8};
+
uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5050,7 +5164,7 @@ uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PartitionSpec");
xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1);
@@ -5077,6 +5191,7 @@ uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) cons
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5107,15 +5222,16 @@ PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other268) {
__isset = other268.__isset;
return *this;
}
-void PartitionSpec::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj) {
+ using apache::thrift::to_string;
out << "PartitionSpec(";
- out << "dbName=" << to_string(dbName);
- out << ", " << "tableName=" << to_string(tableName);
- out << ", " << "rootPath=" << to_string(rootPath);
- out << ", " << "sharedSDPartitionSpec="; (__isset.sharedSDPartitionSpec ? (out << to_string(sharedSDPartitionSpec)) : (out << "<null>"));
- out << ", " << "partitionList="; (__isset.partitionList ? (out << to_string(partitionList)) : (out << "<null>"));
+ out << "dbName=" << to_string(obj.dbName);
+ out << ", " << "tableName=" << to_string(obj.tableName);
+ out << ", " << "rootPath=" << to_string(obj.rootPath);
+ out << ", " << "sharedSDPartitionSpec="; (obj.__isset.sharedSDPartitionSpec ? (out << to_string(obj.sharedSDPartitionSpec)) : (out << "<null>"));
+ out << ", " << "partitionList="; (obj.__isset.partitionList ? (out << to_string(obj.partitionList)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -5163,9 +5279,11 @@ void Index::__set_deferredRebuild(const bool val) {
this->deferredRebuild = val;
}
+const char* Index::ascii_fingerprint = "09EEF655216AC81802850988D6C470A6";
+const uint8_t Index::binary_fingerprint[16] = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6};
+
uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5293,7 +5411,7 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Index");
xfer += oprot->writeFieldBegin("indexName", ::apache::thrift::protocol::T_STRING, 1);
@@ -5347,6 +5465,7 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5392,20 +5511,21 @@ Index& Index::operator=(const Index& other278) {
__isset = other278.__isset;
return *this;
}
-void Index::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Index& obj) {
+ using apache::thrift::to_string;
out << "Index(";
- out << "indexName=" << to_string(indexName);
- out << ", " << "indexHandlerClass=" << to_string(indexHandlerClass);
- out << ", " << "dbName=" << to_string(dbName);
- out << ", " << "origTableName=" << to_string(origTableName);
- out << ", " << "createTime=" << to_string(createTime);
- out << ", " << "lastAccessTime=" << to_string(lastAccessTime);
- out << ", " << "indexTableName=" << to_string(indexTableName);
- out << ", " << "sd=" << to_string(sd);
- out << ", " << "parameters=" << to_string(parameters);
- out << ", " << "deferredRebuild=" << to_string(deferredRebuild);
+ out << "indexName=" << to_string(obj.indexName);
+ out << ", " << "indexHandlerClass=" << to_string(obj.indexHandlerClass);
+ out << ", " << "dbName=" << to_string(obj.dbName);
+ out << ", " << "origTableName=" << to_string(obj.origTableName);
+ out << ", " << "createTime=" << to_string(obj.createTime);
+ out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime);
+ out << ", " << "indexTableName=" << to_string(obj.indexTableName);
+ out << ", " << "sd=" << to_string(obj.sd);
+ out << ", " << "parameters=" << to_string(obj.parameters);
+ out << ", " << "deferredRebuild=" << to_string(obj.deferredRebuild);
out << ")";
+ return out;
}
@@ -5425,9 +5545,11 @@ void BooleanColumnStatsData::__set_numNulls(const int64_t val) {
this->numNulls = val;
}
+const char* BooleanColumnStatsData::ascii_fingerprint = "EA2D65F1E0BB78760205682082304B41";
+const uint8_t BooleanColumnStatsData::binary_fingerprint[16] = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41};
+
uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5493,7 +5615,7 @@ uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("BooleanColumnStatsData");
xfer += oprot->writeFieldBegin("numTrues", ::apache::thrift::protocol::T_I64, 1);
@@ -5510,6 +5632,7 @@ uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5531,13 +5654,14 @@ BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnSta
numNulls = other280.numNulls;
return *this;
}
-void BooleanColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "BooleanColumnStatsData(";
- out << "numTrues=" << to_string(numTrues);
- out << ", " << "numFalses=" << to_string(numFalses);
- out << ", " << "numNulls=" << to_string(numNulls);
+ out << "numTrues=" << to_string(obj.numTrues);
+ out << ", " << "numFalses=" << to_string(obj.numFalses);
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
out << ")";
+ return out;
}
@@ -5563,9 +5687,11 @@ void DoubleColumnStatsData::__set_numDVs(const int64_t val) {
this->numDVs = val;
}
+const char* DoubleColumnStatsData::ascii_fingerprint = "DA7C011321D74C48396AA002E61A0CBB";
+const uint8_t DoubleColumnStatsData::binary_fingerprint[16] = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB};
+
uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5636,7 +5762,7 @@ uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("DoubleColumnStatsData");
if (this->__isset.lowValue) {
@@ -5659,6 +5785,7 @@ uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5686,14 +5813,15 @@ DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsD
__isset = other282.__isset;
return *this;
}
-void DoubleColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "DoubleColumnStatsData(";
- out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "<null>"));
- out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "<null>"));
- out << ", " << "numNulls=" << to_string(numNulls);
- out << ", " << "numDVs=" << to_string(numDVs);
+ out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "<null>"));
+ out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "<null>"));
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << ", " << "numDVs=" << to_string(obj.numDVs);
out << ")";
+ return out;
}
@@ -5719,9 +5847,11 @@ void LongColumnStatsData::__set_numDVs(const int64_t val) {
this->numDVs = val;
}
+const char* LongColumnStatsData::ascii_fingerprint = "E685FC220B24E3B8B93604790DCB9AEA";
+const uint8_t LongColumnStatsData::binary_fingerprint[16] = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA};
+
uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5792,7 +5922,7 @@ uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("LongColumnStatsData");
if (this->__isset.lowValue) {
@@ -5815,6 +5945,7 @@ uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5842,14 +5973,15 @@ LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& o
__isset = other284.__isset;
return *this;
}
-void LongColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "LongColumnStatsData(";
- out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "<null>"));
- out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "<null>"));
- out << ", " << "numNulls=" << to_string(numNulls);
- out << ", " << "numDVs=" << to_string(numDVs);
+ out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "<null>"));
+ out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "<null>"));
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << ", " << "numDVs=" << to_string(obj.numDVs);
out << ")";
+ return out;
}
@@ -5873,9 +6005,11 @@ void StringColumnStatsData::__set_numDVs(const int64_t val) {
this->numDVs = val;
}
+const char* StringColumnStatsData::ascii_fingerprint = "D017B08C3DF12C3AB98788B2E67DAAB3";
+const uint8_t StringColumnStatsData::binary_fingerprint[16] = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3};
+
uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5952,7 +6086,7 @@ uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("StringColumnStatsData");
xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1);
@@ -5973,6 +6107,7 @@ uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5997,14 +6132,15 @@ StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsD
numDVs = other286.numDVs;
return *this;
}
-void StringColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "StringColumnStatsData(";
- out << "maxColLen=" << to_string(maxColLen);
- out << ", " << "avgColLen=" << to_string(avgColLen);
- out << ", " << "numNulls=" << to_string(numNulls);
- out << ", " << "numDVs=" << to_string(numDVs);
+ out << "maxColLen=" << to_string(obj.maxColLen);
+ out << ", " << "avgColLen=" << to_string(obj.avgColLen);
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << ", " << "numDVs=" << to_string(obj.numDVs);
out << ")";
+ return out;
}
@@ -6024,9 +6160,11 @@ void BinaryColumnStatsData::__set_numNulls(const int64_t val) {
this->numNulls = val;
}
+const char* BinaryColumnStatsData::ascii_fingerprint = "22B0CB67183FCDB945892B9974518D06";
+const uint8_t BinaryColumnStatsData::binary_fingerprint[16] = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06};
+
uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6092,7 +6230,7 @@ uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("BinaryColumnStatsData");
xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1);
@@ -6109,6 +6247,7 @@ uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6130,13 +6269,14 @@ BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsD
numNulls = other288.numNulls;
return *this;
}
-void BinaryColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "BinaryColumnStatsData(";
- out << "maxColLen=" << to_string(maxColLen);
- out << ", " << "avgColLen=" << to_string(avgColLen);
- out << ", " << "numNulls=" << to_string(numNulls);
+ out << "maxColLen=" << to_string(obj.maxColLen);
+ out << ", " << "avgColLen=" << to_string(obj.avgColLen);
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
out << ")";
+ return out;
}
@@ -6152,9 +6292,11 @@ void Decimal::__set_scale(const int16_t val) {
this->scale = val;
}
+const char* Decimal::ascii_fingerprint = "C4DDF6759F9B17C5C380806CE743DE8E";
+const uint8_t Decimal::binary_fingerprint[16] = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E};
+
uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6209,7 +6351,7 @@ uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Decimal");
xfer += oprot->writeFieldBegin("unscaled", ::apache::thrift::protocol::T_STRING, 1);
@@ -6222,6 +6364,7 @@ uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6240,12 +6383,13 @@ Decimal& Decimal::operator=(const Decimal& other290) {
scale = other290.scale;
return *this;
}
-void Decimal::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Decimal& obj) {
+ using apache::thrift::to_string;
out << "Decimal(";
- out << "unscaled=" << to_string(unscaled);
- out << ", " << "scale=" << to_string(scale);
+ out << "unscaled=" << to_string(obj.unscaled);
+ out << ", " << "scale=" << to_string(obj.scale);
out << ")";
+ return out;
}
@@ -6271,9 +6415,11 @@ void DecimalColumnStatsData::__set_numDVs(const int64_t val) {
this->numDVs = val;
}
+const char* DecimalColumnStatsData::ascii_fingerprint = "B6D47E7A28922BFA93FE05E9F1B04748";
+const uint8_t DecimalColumnStatsData::binary_fingerprint[16] = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48};
+
uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6344,7 +6490,7 @@ uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("DecimalColumnStatsData");
if (this->__isset.lowValue) {
@@ -6367,6 +6513,7 @@ uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6394,14 +6541,15 @@ DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnSta
__isset = other292.__isset;
return *this;
}
-void DecimalColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "DecimalColumnStatsData(";
- out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "<null>"));
- out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "<null>"));
- out << ", " << "numNulls=" << to_string(numNulls);
- out << ", " << "numDVs=" << to_string(numDVs);
+ out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "<null>"));
+ out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "<null>"));
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << ", " << "numDVs=" << to_string(obj.numDVs);
out << ")";
+ return out;
}
@@ -6413,9 +6561,11 @@ void Date::__set_daysSinceEpoch(const int64_t val) {
this->daysSinceEpoch = val;
}
+const char* Date::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75";
+const uint8_t Date::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75};
+
uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6459,7 +6609,7 @@ uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Date");
xfer += oprot->writeFieldBegin("daysSinceEpoch", ::apache::thrift::protocol::T_I64, 1);
@@ -6468,6 +6618,7 @@ uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6483,11 +6634,12 @@ Date& Date::operator=(const Date& other294) {
daysSinceEpoch = other294.daysSinceEpoch;
return *this;
}
-void Date::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Date& obj) {
+ using apache::thrift::to_string;
out << "Date(";
- out << "daysSinceEpoch=" << to_string(daysSinceEpoch);
+ out << "daysSinceEpoch=" << to_string(obj.daysSinceEpoch);
out << ")";
+ return out;
}
@@ -6513,9 +6665,11 @@ void DateColumnStatsData::__set_numDVs(const int64_t val) {
this->numDVs = val;
}
+const char* DateColumnStatsData::ascii_fingerprint = "D0719F3BBA8248297BB5287552897F59";
+const uint8_t DateColumnStatsData::binary_fingerprint[16] = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59};
+
uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6586,7 +6740,7 @@ uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("DateColumnStatsData");
if (this->__isset.lowValue) {
@@ -6609,6 +6763,7 @@ uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -6636,14 +6791,15 @@ DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& o
__isset = other296.__isset;
return *this;
}
-void DateColumnStatsData::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj) {
+ using apache::thrift::to_string;
out << "DateColumnStatsData(";
- out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "<null>"));
- out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "<null>"));
- out << ", " << "numNulls=" << to_string(numNulls);
- out << ", " << "numDVs=" << to_string(numDVs);
+ out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "<null>"));
+ out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "<null>"));
+ out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << ", " << "numDVs=" << to_string(obj.numDVs);
out << ")";
+ return out;
}
@@ -6679,9 +6835,11 @@ void ColumnStatisticsData::__set_dateStats(const DateColumnStatsData& val) {
this->dateStats = val;
}
+const char* ColumnStatisticsData::ascii_fingerprint = "15E449CA15A23E37F2D54C31ACA52106";
+const uint8_t ColumnStatisticsData::binary_fingerprint[16] = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06};
+
uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -6770,7 +6928,7 @@ uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot
uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ColumnStatisticsData");
xfer += oprot->writeFieldBegin("booleanStats", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -6803,6 +6961,7 @@ uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldStop();
<TRUNCATED>
[05/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService_types.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.h b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
index b078c99..4536b41 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService_types.h
+++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -338,6 +338,9 @@ typedef struct _TTypeQualifierValue__isset {
class TTypeQualifierValue {
public:
+ static const char* ascii_fingerprint; // = "A7801670116150C65ACA43E6F679BA79";
+ static const uint8_t binary_fingerprint[16]; // = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};
+
TTypeQualifierValue(const TTypeQualifierValue&);
TTypeQualifierValue& operator=(const TTypeQualifierValue&);
TTypeQualifierValue() : i32Value(0), stringValue() {
@@ -374,21 +377,18 @@ class TTypeQualifierValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj);
};
void swap(TTypeQualifierValue &a, TTypeQualifierValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TTypeQualifiers {
public:
+ static const char* ascii_fingerprint; // = "6C72981CFA989214285648FA8C196C47";
+ static const uint8_t binary_fingerprint[16]; // = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};
+
TTypeQualifiers(const TTypeQualifiers&);
TTypeQualifiers& operator=(const TTypeQualifiers&);
TTypeQualifiers() {
@@ -414,17 +414,11 @@ class TTypeQualifiers {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj);
};
void swap(TTypeQualifiers &a, TTypeQualifiers &b);
-inline std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TPrimitiveTypeEntry__isset {
_TPrimitiveTypeEntry__isset() : typeQualifiers(false) {}
bool typeQualifiers :1;
@@ -433,6 +427,9 @@ typedef struct _TPrimitiveTypeEntry__isset {
class TPrimitiveTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "755674F6A5C8EB47868686AE386FBC1C";
+ static const uint8_t binary_fingerprint[16]; // = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};
+
TPrimitiveTypeEntry(const TPrimitiveTypeEntry&);
TPrimitiveTypeEntry& operator=(const TPrimitiveTypeEntry&);
TPrimitiveTypeEntry() : type((TTypeId::type)0) {
@@ -467,21 +464,18 @@ class TPrimitiveTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj);
};
void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TArrayTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
+ static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
TArrayTypeEntry(const TArrayTypeEntry&);
TArrayTypeEntry& operator=(const TArrayTypeEntry&);
TArrayTypeEntry() : objectTypePtr(0) {
@@ -507,21 +501,18 @@ class TArrayTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj);
};
void swap(TArrayTypeEntry &a, TArrayTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TMapTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
+ static const uint8_t binary_fingerprint[16]; // = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};
+
TMapTypeEntry(const TMapTypeEntry&);
TMapTypeEntry& operator=(const TMapTypeEntry&);
TMapTypeEntry() : keyTypePtr(0), valueTypePtr(0) {
@@ -552,21 +543,18 @@ class TMapTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj);
};
void swap(TMapTypeEntry &a, TMapTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TStructTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
+ static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
+
TStructTypeEntry(const TStructTypeEntry&);
TStructTypeEntry& operator=(const TStructTypeEntry&);
TStructTypeEntry() {
@@ -592,21 +580,18 @@ class TStructTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj);
};
void swap(TStructTypeEntry &a, TStructTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TUnionTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402";
+ static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
+
TUnionTypeEntry(const TUnionTypeEntry&);
TUnionTypeEntry& operator=(const TUnionTypeEntry&);
TUnionTypeEntry() {
@@ -632,21 +617,18 @@ class TUnionTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj);
};
void swap(TUnionTypeEntry &a, TUnionTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TUserDefinedTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
TUserDefinedTypeEntry(const TUserDefinedTypeEntry&);
TUserDefinedTypeEntry& operator=(const TUserDefinedTypeEntry&);
TUserDefinedTypeEntry() : typeClassName() {
@@ -672,17 +654,11 @@ class TUserDefinedTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj);
};
void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TTypeEntry__isset {
_TTypeEntry__isset() : primitiveEntry(false), arrayEntry(false), mapEntry(false), structEntry(false), unionEntry(false), userDefinedTypeEntry(false) {}
bool primitiveEntry :1;
@@ -696,6 +672,9 @@ typedef struct _TTypeEntry__isset {
class TTypeEntry {
public:
+ static const char* ascii_fingerprint; // = "2FE56D9097E325DAA7E933738C6D325F";
+ static const uint8_t binary_fingerprint[16]; // = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};
+
TTypeEntry(const TTypeEntry&);
TTypeEntry& operator=(const TTypeEntry&);
TTypeEntry() {
@@ -748,21 +727,18 @@ class TTypeEntry {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj);
};
void swap(TTypeEntry &a, TTypeEntry &b);
-inline std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TTypeDesc {
public:
+ static const char* ascii_fingerprint; // = "90B3C5A0B73419A84E85E0E48C452AA5";
+ static const uint8_t binary_fingerprint[16]; // = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};
+
TTypeDesc(const TTypeDesc&);
TTypeDesc& operator=(const TTypeDesc&);
TTypeDesc() {
@@ -788,17 +764,11 @@ class TTypeDesc {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj);
};
void swap(TTypeDesc &a, TTypeDesc &b);
-inline std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TColumnDesc__isset {
_TColumnDesc__isset() : comment(false) {}
bool comment :1;
@@ -807,6 +777,9 @@ typedef struct _TColumnDesc__isset {
class TColumnDesc {
public:
+ static const char* ascii_fingerprint; // = "EABED9009D5FCABFCA65612069F2A849";
+ static const uint8_t binary_fingerprint[16]; // = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};
+
TColumnDesc(const TColumnDesc&);
TColumnDesc& operator=(const TColumnDesc&);
TColumnDesc() : columnName(), position(0), comment() {
@@ -851,21 +824,18 @@ class TColumnDesc {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj);
};
void swap(TColumnDesc &a, TColumnDesc &b);
-inline std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TTableSchema {
public:
+ static const char* ascii_fingerprint; // = "7A1811E49313E5977107FC667B20E39D";
+ static const uint8_t binary_fingerprint[16]; // = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};
+
TTableSchema(const TTableSchema&);
TTableSchema& operator=(const TTableSchema&);
TTableSchema() {
@@ -891,17 +861,11 @@ class TTableSchema {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TTableSchema& obj);
};
void swap(TTableSchema &a, TTableSchema &b);
-inline std::ostream& operator<<(std::ostream& out, const TTableSchema& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TBoolValue__isset {
_TBoolValue__isset() : value(false) {}
bool value :1;
@@ -910,6 +874,9 @@ typedef struct _TBoolValue__isset {
class TBoolValue {
public:
+ static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD";
+ static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
TBoolValue(const TBoolValue&);
TBoolValue& operator=(const TBoolValue&);
TBoolValue() : value(0) {
@@ -939,17 +906,11 @@ class TBoolValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TBoolValue& obj);
};
void swap(TBoolValue &a, TBoolValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TBoolValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TByteValue__isset {
_TByteValue__isset() : value(false) {}
bool value :1;
@@ -958,6 +919,9 @@ typedef struct _TByteValue__isset {
class TByteValue {
public:
+ static const char* ascii_fingerprint; // = "9C15298ACB5D04AEA9B52D5DDE6F9208";
+ static const uint8_t binary_fingerprint[16]; // = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};
+
TByteValue(const TByteValue&);
TByteValue& operator=(const TByteValue&);
TByteValue() : value(0) {
@@ -987,17 +951,11 @@ class TByteValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TByteValue& obj);
};
void swap(TByteValue &a, TByteValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TByteValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TI16Value__isset {
_TI16Value__isset() : value(false) {}
bool value :1;
@@ -1006,6 +964,9 @@ typedef struct _TI16Value__isset {
class TI16Value {
public:
+ static const char* ascii_fingerprint; // = "5DAC9C51C7E1106BF936FC71860BE9D5";
+ static const uint8_t binary_fingerprint[16]; // = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};
+
TI16Value(const TI16Value&);
TI16Value& operator=(const TI16Value&);
TI16Value() : value(0) {
@@ -1035,17 +996,11 @@ class TI16Value {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI16Value& obj);
};
void swap(TI16Value &a, TI16Value &b);
-inline std::ostream& operator<<(std::ostream& out, const TI16Value& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TI32Value__isset {
_TI32Value__isset() : value(false) {}
bool value :1;
@@ -1054,6 +1009,9 @@ typedef struct _TI32Value__isset {
class TI32Value {
public:
+ static const char* ascii_fingerprint; // = "E7A96B151330359E84C0A3AC91BCBACD";
+ static const uint8_t binary_fingerprint[16]; // = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};
+
TI32Value(const TI32Value&);
TI32Value& operator=(const TI32Value&);
TI32Value() : value(0) {
@@ -1083,17 +1041,11 @@ class TI32Value {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI32Value& obj);
};
void swap(TI32Value &a, TI32Value &b);
-inline std::ostream& operator<<(std::ostream& out, const TI32Value& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TI64Value__isset {
_TI64Value__isset() : value(false) {}
bool value :1;
@@ -1102,6 +1054,9 @@ typedef struct _TI64Value__isset {
class TI64Value {
public:
+ static const char* ascii_fingerprint; // = "148F3AAAC1D9859963D5E800D187BF26";
+ static const uint8_t binary_fingerprint[16]; // = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};
+
TI64Value(const TI64Value&);
TI64Value& operator=(const TI64Value&);
TI64Value() : value(0) {
@@ -1131,17 +1086,11 @@ class TI64Value {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI64Value& obj);
};
void swap(TI64Value &a, TI64Value &b);
-inline std::ostream& operator<<(std::ostream& out, const TI64Value& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TDoubleValue__isset {
_TDoubleValue__isset() : value(false) {}
bool value :1;
@@ -1150,6 +1099,9 @@ typedef struct _TDoubleValue__isset {
class TDoubleValue {
public:
+ static const char* ascii_fingerprint; // = "3586E570A474C4A8603B4FF74903B3A6";
+ static const uint8_t binary_fingerprint[16]; // = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};
+
TDoubleValue(const TDoubleValue&);
TDoubleValue& operator=(const TDoubleValue&);
TDoubleValue() : value(0) {
@@ -1179,17 +1131,11 @@ class TDoubleValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj);
};
void swap(TDoubleValue &a, TDoubleValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TStringValue__isset {
_TStringValue__isset() : value(false) {}
bool value :1;
@@ -1198,6 +1144,9 @@ typedef struct _TStringValue__isset {
class TStringValue {
public:
+ static const char* ascii_fingerprint; // = "66E694018C17E5B65A59AE8F55CCA3CD";
+ static const uint8_t binary_fingerprint[16]; // = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};
+
TStringValue(const TStringValue&);
TStringValue& operator=(const TStringValue&);
TStringValue() : value() {
@@ -1227,17 +1176,11 @@ class TStringValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TStringValue& obj);
};
void swap(TStringValue &a, TStringValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TStringValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TColumnValue__isset {
_TColumnValue__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false) {}
bool boolVal :1;
@@ -1252,6 +1195,9 @@ typedef struct _TColumnValue__isset {
class TColumnValue {
public:
+ static const char* ascii_fingerprint; // = "C2DDD988447EA7999A8285AA38AAE9AD";
+ static const uint8_t binary_fingerprint[16]; // = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};
+
TColumnValue(const TColumnValue&);
TColumnValue& operator=(const TColumnValue&);
TColumnValue() {
@@ -1309,21 +1255,18 @@ class TColumnValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TColumnValue& obj);
};
void swap(TColumnValue &a, TColumnValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TColumnValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TRow {
public:
+ static const char* ascii_fingerprint; // = "E73FD1FCA0CA58A669FC3E02FB68D534";
+ static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};
+
TRow(const TRow&);
TRow& operator=(const TRow&);
TRow() {
@@ -1349,21 +1292,18 @@ class TRow {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TRow& obj);
};
void swap(TRow &a, TRow &b);
-inline std::ostream& operator<<(std::ostream& out, const TRow& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TBoolColumn {
public:
+ static const char* ascii_fingerprint; // = "F9058324D96DB7F974D8ACDC01C54219";
+ static const uint8_t binary_fingerprint[16]; // = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
+
TBoolColumn(const TBoolColumn&);
TBoolColumn& operator=(const TBoolColumn&);
TBoolColumn() : nulls() {
@@ -1394,21 +1334,18 @@ class TBoolColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj);
};
void swap(TBoolColumn &a, TBoolColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TByteColumn {
public:
+ static const char* ascii_fingerprint; // = "1CB300106BAA463A70BB2A2395900F48";
+ static const uint8_t binary_fingerprint[16]; // = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};
+
TByteColumn(const TByteColumn&);
TByteColumn& operator=(const TByteColumn&);
TByteColumn() : nulls() {
@@ -1439,21 +1376,18 @@ class TByteColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TByteColumn& obj);
};
void swap(TByteColumn &a, TByteColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TByteColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TI16Column {
public:
+ static const char* ascii_fingerprint; // = "6574CDB1F121C8DB47FB257A3F104BDB";
+ static const uint8_t binary_fingerprint[16]; // = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};
+
TI16Column(const TI16Column&);
TI16Column& operator=(const TI16Column&);
TI16Column() : nulls() {
@@ -1484,21 +1418,18 @@ class TI16Column {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI16Column& obj);
};
void swap(TI16Column &a, TI16Column &b);
-inline std::ostream& operator<<(std::ostream& out, const TI16Column& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TI32Column {
public:
+ static const char* ascii_fingerprint; // = "CCCCE89C7E9DA10280F5663700677313";
+ static const uint8_t binary_fingerprint[16]; // = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};
+
TI32Column(const TI32Column&);
TI32Column& operator=(const TI32Column&);
TI32Column() : nulls() {
@@ -1529,21 +1460,18 @@ class TI32Column {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI32Column& obj);
};
void swap(TI32Column &a, TI32Column &b);
-inline std::ostream& operator<<(std::ostream& out, const TI32Column& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TI64Column {
public:
+ static const char* ascii_fingerprint; // = "925353917FC0AF87976A2338011F5A31";
+ static const uint8_t binary_fingerprint[16]; // = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};
+
TI64Column(const TI64Column&);
TI64Column& operator=(const TI64Column&);
TI64Column() : nulls() {
@@ -1574,21 +1502,18 @@ class TI64Column {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TI64Column& obj);
};
void swap(TI64Column &a, TI64Column &b);
-inline std::ostream& operator<<(std::ostream& out, const TI64Column& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TDoubleColumn {
public:
+ static const char* ascii_fingerprint; // = "8FF1C050A8D7FD247AEB23CD71539C09";
+ static const uint8_t binary_fingerprint[16]; // = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};
+
TDoubleColumn(const TDoubleColumn&);
TDoubleColumn& operator=(const TDoubleColumn&);
TDoubleColumn() : nulls() {
@@ -1619,21 +1544,18 @@ class TDoubleColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj);
};
void swap(TDoubleColumn &a, TDoubleColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TStringColumn {
public:
+ static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
+ static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
+
TStringColumn(const TStringColumn&);
TStringColumn& operator=(const TStringColumn&);
TStringColumn() : nulls() {
@@ -1664,21 +1586,18 @@ class TStringColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TStringColumn& obj);
};
void swap(TStringColumn &a, TStringColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TStringColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TBinaryColumn {
public:
+ static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F";
+ static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
+
TBinaryColumn(const TBinaryColumn&);
TBinaryColumn& operator=(const TBinaryColumn&);
TBinaryColumn() : nulls() {
@@ -1709,17 +1628,11 @@ class TBinaryColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj);
};
void swap(TBinaryColumn &a, TBinaryColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TColumn__isset {
_TColumn__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false), binaryVal(false) {}
bool boolVal :1;
@@ -1735,6 +1648,9 @@ typedef struct _TColumn__isset {
class TColumn {
public:
+ static const char* ascii_fingerprint; // = "E6ADD10B4CDDE61A19E8878CC7039A17";
+ static const uint8_t binary_fingerprint[16]; // = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};
+
TColumn(const TColumn&);
TColumn& operator=(const TColumn&);
TColumn() {
@@ -1797,17 +1713,11 @@ class TColumn {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TColumn& obj);
};
void swap(TColumn &a, TColumn &b);
-inline std::ostream& operator<<(std::ostream& out, const TColumn& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TRowSet__isset {
_TRowSet__isset() : columns(false) {}
bool columns :1;
@@ -1816,6 +1726,9 @@ typedef struct _TRowSet__isset {
class TRowSet {
public:
+ static const char* ascii_fingerprint; // = "46DA30A870489C7A58105AE0080DAEBF";
+ static const uint8_t binary_fingerprint[16]; // = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};
+
TRowSet(const TRowSet&);
TRowSet& operator=(const TRowSet&);
TRowSet() : startRowOffset(0) {
@@ -1855,17 +1768,11 @@ class TRowSet {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TRowSet& obj);
};
void swap(TRowSet &a, TRowSet &b);
-inline std::ostream& operator<<(std::ostream& out, const TRowSet& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TStatus__isset {
_TStatus__isset() : infoMessages(false), sqlState(false), errorCode(false), errorMessage(false) {}
bool infoMessages :1;
@@ -1877,6 +1784,9 @@ typedef struct _TStatus__isset {
class TStatus {
public:
+ static const char* ascii_fingerprint; // = "D5DEF49634A59C615C1B3A6F7D0DADB5";
+ static const uint8_t binary_fingerprint[16]; // = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};
+
TStatus(const TStatus&);
TStatus& operator=(const TStatus&);
TStatus() : statusCode((TStatusCode::type)0), sqlState(), errorCode(0), errorMessage() {
@@ -1932,21 +1842,18 @@ class TStatus {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TStatus& obj);
};
void swap(TStatus &a, TStatus &b);
-inline std::ostream& operator<<(std::ostream& out, const TStatus& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class THandleIdentifier {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
THandleIdentifier(const THandleIdentifier&);
THandleIdentifier& operator=(const THandleIdentifier&);
THandleIdentifier() : guid(), secret() {
@@ -1977,21 +1884,18 @@ class THandleIdentifier {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj);
};
void swap(THandleIdentifier &a, THandleIdentifier &b);
-inline std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TSessionHandle {
public:
+ static const char* ascii_fingerprint; // = "A756D3DBE614FB13F70BF7F7B6EB3D73";
+ static const uint8_t binary_fingerprint[16]; // = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
+
TSessionHandle(const TSessionHandle&);
TSessionHandle& operator=(const TSessionHandle&);
TSessionHandle() {
@@ -2017,17 +1921,11 @@ class TSessionHandle {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj);
};
void swap(TSessionHandle &a, TSessionHandle &b);
-inline std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TOperationHandle__isset {
_TOperationHandle__isset() : modifiedRowCount(false) {}
bool modifiedRowCount :1;
@@ -2036,6 +1934,9 @@ typedef struct _TOperationHandle__isset {
class TOperationHandle {
public:
+ static const char* ascii_fingerprint; // = "29FD80F4F96804A30FCC59C23D2E5349";
+ static const uint8_t binary_fingerprint[16]; // = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
+
TOperationHandle(const TOperationHandle&);
TOperationHandle& operator=(const TOperationHandle&);
TOperationHandle() : operationType((TOperationType::type)0), hasResultSet(0), modifiedRowCount(0) {
@@ -2080,17 +1981,11 @@ class TOperationHandle {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj);
};
void swap(TOperationHandle &a, TOperationHandle &b);
-inline std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TOpenSessionReq__isset {
_TOpenSessionReq__isset() : username(false), password(false), configuration(false) {}
bool username :1;
@@ -2101,6 +1996,9 @@ typedef struct _TOpenSessionReq__isset {
class TOpenSessionReq {
public:
+ static const char* ascii_fingerprint; // = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
+ static const uint8_t binary_fingerprint[16]; // = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
+
TOpenSessionReq(const TOpenSessionReq&);
TOpenSessionReq& operator=(const TOpenSessionReq&);
TOpenSessionReq() : client_protocol((TProtocolVersion::type)7), username(), password() {
@@ -2151,17 +2049,11 @@ class TOpenSessionReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj);
};
void swap(TOpenSessionReq &a, TOpenSessionReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TOpenSessionResp__isset {
_TOpenSessionResp__isset() : sessionHandle(false), configuration(false) {}
bool sessionHandle :1;
@@ -2171,6 +2063,9 @@ typedef struct _TOpenSessionResp__isset {
class TOpenSessionResp {
public:
+ static const char* ascii_fingerprint; // = "CFE7D7F4E9EC671F2518ED74FEE9F163";
+ static const uint8_t binary_fingerprint[16]; // = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
+
TOpenSessionResp(const TOpenSessionResp&);
TOpenSessionResp& operator=(const TOpenSessionResp&);
TOpenSessionResp() : serverProtocolVersion((TProtocolVersion::type)7) {
@@ -2219,21 +2114,18 @@ class TOpenSessionResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj);
};
void swap(TOpenSessionResp &a, TOpenSessionResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCloseSessionReq {
public:
+ static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
+ static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
TCloseSessionReq(const TCloseSessionReq&);
TCloseSessionReq& operator=(const TCloseSessionReq&);
TCloseSessionReq() {
@@ -2259,21 +2151,18 @@ class TCloseSessionReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj);
};
void swap(TCloseSessionReq &a, TCloseSessionReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCloseSessionResp {
public:
+ static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
+ static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
TCloseSessionResp(const TCloseSessionResp&);
TCloseSessionResp& operator=(const TCloseSessionResp&);
TCloseSessionResp() {
@@ -2299,17 +2188,11 @@ class TCloseSessionResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj);
};
void swap(TCloseSessionResp &a, TCloseSessionResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetInfoValue__isset {
_TGetInfoValue__isset() : stringValue(false), smallIntValue(false), integerBitmask(false), integerFlag(false), binaryValue(false), lenValue(false) {}
bool stringValue :1;
@@ -2323,6 +2206,9 @@ typedef struct _TGetInfoValue__isset {
class TGetInfoValue {
public:
+ static const char* ascii_fingerprint; // = "057FED11279FD7248CFE73EE82ED579E";
+ static const uint8_t binary_fingerprint[16]; // = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
+
TGetInfoValue(const TGetInfoValue&);
TGetInfoValue& operator=(const TGetInfoValue&);
TGetInfoValue() : stringValue(), smallIntValue(0), integerBitmask(0), integerFlag(0), binaryValue(0), lenValue(0) {
@@ -2375,21 +2261,18 @@ class TGetInfoValue {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj);
};
void swap(TGetInfoValue &a, TGetInfoValue &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetInfoReq {
public:
+ static const char* ascii_fingerprint; // = "95675B1A0BADE5F7EDE323809DB679B2";
+ static const uint8_t binary_fingerprint[16]; // = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
+
TGetInfoReq(const TGetInfoReq&);
TGetInfoReq& operator=(const TGetInfoReq&);
TGetInfoReq() : infoType((TGetInfoType::type)0) {
@@ -2420,21 +2303,18 @@ class TGetInfoReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj);
};
void swap(TGetInfoReq &a, TGetInfoReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetInfoResp {
public:
+ static const char* ascii_fingerprint; // = "72AFA10A82728B51FDE91092012868DE";
+ static const uint8_t binary_fingerprint[16]; // = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
+
TGetInfoResp(const TGetInfoResp&);
TGetInfoResp& operator=(const TGetInfoResp&);
TGetInfoResp() {
@@ -2465,17 +2345,11 @@ class TGetInfoResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj);
};
void swap(TGetInfoResp &a, TGetInfoResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TExecuteStatementReq__isset {
_TExecuteStatementReq__isset() : confOverlay(false), runAsync(true) {}
bool confOverlay :1;
@@ -2485,6 +2359,9 @@ typedef struct _TExecuteStatementReq__isset {
class TExecuteStatementReq {
public:
+ static const char* ascii_fingerprint; // = "FED75DB77E66D76EC1939A51FB0D96FA";
+ static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
+
TExecuteStatementReq(const TExecuteStatementReq&);
TExecuteStatementReq& operator=(const TExecuteStatementReq&);
TExecuteStatementReq() : statement(), runAsync(false) {
@@ -2531,17 +2408,11 @@ class TExecuteStatementReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj);
};
void swap(TExecuteStatementReq &a, TExecuteStatementReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TExecuteStatementResp__isset {
_TExecuteStatementResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -2550,6 +2421,9 @@ typedef struct _TExecuteStatementResp__isset {
class TExecuteStatementResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TExecuteStatementResp(const TExecuteStatementResp&);
TExecuteStatementResp& operator=(const TExecuteStatementResp&);
TExecuteStatementResp() {
@@ -2584,21 +2458,18 @@ class TExecuteStatementResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj);
};
void swap(TExecuteStatementResp &a, TExecuteStatementResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetTypeInfoReq {
public:
+ static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
+ static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
TGetTypeInfoReq(const TGetTypeInfoReq&);
TGetTypeInfoReq& operator=(const TGetTypeInfoReq&);
TGetTypeInfoReq() {
@@ -2624,17 +2495,11 @@ class TGetTypeInfoReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj);
};
void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetTypeInfoResp__isset {
_TGetTypeInfoResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -2643,6 +2508,9 @@ typedef struct _TGetTypeInfoResp__isset {
class TGetTypeInfoResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetTypeInfoResp(const TGetTypeInfoResp&);
TGetTypeInfoResp& operator=(const TGetTypeInfoResp&);
TGetTypeInfoResp() {
@@ -2677,21 +2545,18 @@ class TGetTypeInfoResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj);
};
void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetCatalogsReq {
public:
+ static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
+ static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
TGetCatalogsReq(const TGetCatalogsReq&);
TGetCatalogsReq& operator=(const TGetCatalogsReq&);
TGetCatalogsReq() {
@@ -2717,17 +2582,11 @@ class TGetCatalogsReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj);
};
void swap(TGetCatalogsReq &a, TGetCatalogsReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetCatalogsResp__isset {
_TGetCatalogsResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -2736,6 +2595,9 @@ typedef struct _TGetCatalogsResp__isset {
class TGetCatalogsResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetCatalogsResp(const TGetCatalogsResp&);
TGetCatalogsResp& operator=(const TGetCatalogsResp&);
TGetCatalogsResp() {
@@ -2770,17 +2632,11 @@ class TGetCatalogsResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj);
};
void swap(TGetCatalogsResp &a, TGetCatalogsResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetSchemasReq__isset {
_TGetSchemasReq__isset() : catalogName(false), schemaName(false) {}
bool catalogName :1;
@@ -2790,6 +2646,9 @@ typedef struct _TGetSchemasReq__isset {
class TGetSchemasReq {
public:
+ static const char* ascii_fingerprint; // = "28A9D12DE8393DD3E73FC1E5AE6E113B";
+ static const uint8_t binary_fingerprint[16]; // = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B};
+
TGetSchemasReq(const TGetSchemasReq&);
TGetSchemasReq& operator=(const TGetSchemasReq&);
TGetSchemasReq() : catalogName(), schemaName() {
@@ -2831,17 +2690,11 @@ class TGetSchemasReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj);
};
void swap(TGetSchemasReq &a, TGetSchemasReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetSchemasResp__isset {
_TGetSchemasResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -2850,6 +2703,9 @@ typedef struct _TGetSchemasResp__isset {
class TGetSchemasResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetSchemasResp(const TGetSchemasResp&);
TGetSchemasResp& operator=(const TGetSchemasResp&);
TGetSchemasResp() {
@@ -2884,17 +2740,11 @@ class TGetSchemasResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj);
};
void swap(TGetSchemasResp &a, TGetSchemasResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetTablesReq__isset {
_TGetTablesReq__isset() : catalogName(false), schemaName(false), tableName(false), tableTypes(false) {}
bool catalogName :1;
@@ -2906,6 +2756,9 @@ typedef struct _TGetTablesReq__isset {
class TGetTablesReq {
public:
+ static const char* ascii_fingerprint; // = "C80DFEE06850052F5A445BE81ED763DB";
+ static const uint8_t binary_fingerprint[16]; // = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB};
+
TGetTablesReq(const TGetTablesReq&);
TGetTablesReq& operator=(const TGetTablesReq&);
TGetTablesReq() : catalogName(), schemaName(), tableName() {
@@ -2961,17 +2814,11 @@ class TGetTablesReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj);
};
void swap(TGetTablesReq &a, TGetTablesReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetTablesResp__isset {
_TGetTablesResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -2980,6 +2827,9 @@ typedef struct _TGetTablesResp__isset {
class TGetTablesResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetTablesResp(const TGetTablesResp&);
TGetTablesResp& operator=(const TGetTablesResp&);
TGetTablesResp() {
@@ -3014,21 +2864,18 @@ class TGetTablesResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj);
};
void swap(TGetTablesResp &a, TGetTablesResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetTableTypesReq {
public:
+ static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF";
+ static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
TGetTableTypesReq(const TGetTableTypesReq&);
TGetTableTypesReq& operator=(const TGetTableTypesReq&);
TGetTableTypesReq() {
@@ -3054,17 +2901,11 @@ class TGetTableTypesReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj);
};
void swap(TGetTableTypesReq &a, TGetTableTypesReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetTableTypesResp__isset {
_TGetTableTypesResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -3073,6 +2914,9 @@ typedef struct _TGetTableTypesResp__isset {
class TGetTableTypesResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetTableTypesResp(const TGetTableTypesResp&);
TGetTableTypesResp& operator=(const TGetTableTypesResp&);
TGetTableTypesResp() {
@@ -3107,17 +2951,11 @@ class TGetTableTypesResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj);
};
void swap(TGetTableTypesResp &a, TGetTableTypesResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetColumnsReq__isset {
_TGetColumnsReq__isset() : catalogName(false), schemaName(false), tableName(false), columnName(false) {}
bool catalogName :1;
@@ -3129,6 +2967,9 @@ typedef struct _TGetColumnsReq__isset {
class TGetColumnsReq {
public:
+ static const char* ascii_fingerprint; // = "72D0F28ED33A49B7306DF63EEE956C28";
+ static const uint8_t binary_fingerprint[16]; // = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28};
+
TGetColumnsReq(const TGetColumnsReq&);
TGetColumnsReq& operator=(const TGetColumnsReq&);
TGetColumnsReq() : catalogName(), schemaName(), tableName(), columnName() {
@@ -3184,17 +3025,11 @@ class TGetColumnsReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj);
};
void swap(TGetColumnsReq &a, TGetColumnsReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetColumnsResp__isset {
_TGetColumnsResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -3203,6 +3038,9 @@ typedef struct _TGetColumnsResp__isset {
class TGetColumnsResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetColumnsResp(const TGetColumnsResp&);
TGetColumnsResp& operator=(const TGetColumnsResp&);
TGetColumnsResp() {
@@ -3237,17 +3075,11 @@ class TGetColumnsResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj);
};
void swap(TGetColumnsResp &a, TGetColumnsResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetFunctionsReq__isset {
_TGetFunctionsReq__isset() : catalogName(false), schemaName(false) {}
bool catalogName :1;
@@ -3257,6 +3089,9 @@ typedef struct _TGetFunctionsReq__isset {
class TGetFunctionsReq {
public:
+ static const char* ascii_fingerprint; // = "0887E0916ADE4521BF6017B534493138";
+ static const uint8_t binary_fingerprint[16]; // = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38};
+
TGetFunctionsReq(const TGetFunctionsReq&);
TGetFunctionsReq& operator=(const TGetFunctionsReq&);
TGetFunctionsReq() : catalogName(), schemaName(), functionName() {
@@ -3303,17 +3138,11 @@ class TGetFunctionsReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj);
};
void swap(TGetFunctionsReq &a, TGetFunctionsReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetFunctionsResp__isset {
_TGetFunctionsResp__isset() : operationHandle(false) {}
bool operationHandle :1;
@@ -3322,6 +3151,9 @@ typedef struct _TGetFunctionsResp__isset {
class TGetFunctionsResp {
public:
+ static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
TGetFunctionsResp(const TGetFunctionsResp&);
TGetFunctionsResp& operator=(const TGetFunctionsResp&);
TGetFunctionsResp() {
@@ -3356,21 +3188,18 @@ class TGetFunctionsResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj);
};
void swap(TGetFunctionsResp &a, TGetFunctionsResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetOperationStatusReq {
public:
+ static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
+ static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
+
TGetOperationStatusReq(const TGetOperationStatusReq&);
TGetOperationStatusReq& operator=(const TGetOperationStatusReq&);
TGetOperationStatusReq() {
@@ -3396,17 +3225,11 @@ class TGetOperationStatusReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj);
};
void swap(TGetOperationStatusReq &a, TGetOperationStatusReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetOperationStatusResp__isset {
_TGetOperationStatusResp__isset() : operationState(false), sqlState(false), errorCode(false), errorMessage(false) {}
bool operationState :1;
@@ -3418,6 +3241,9 @@ typedef struct _TGetOperationStatusResp__isset {
class TGetOperationStatusResp {
public:
+ static const char* ascii_fingerprint; // = "BD124DB87A5A2E7D11945BD1B17F013D";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D};
+
TGetOperationStatusResp(const TGetOperationStatusResp&);
TGetOperationStatusResp& operator=(const TGetOperationStatusResp&);
TGetOperationStatusResp() : operationState((TOperationState::type)0), sqlState(), errorCode(0), errorMessage() {
@@ -3473,21 +3299,18 @@ class TGetOperationStatusResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj);
};
void swap(TGetOperationStatusResp &a, TGetOperationStatusResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCancelOperationReq {
public:
+ static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
+ static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
+
TCancelOperationReq(const TCancelOperationReq&);
TCancelOperationReq& operator=(const TCancelOperationReq&);
TCancelOperationReq() {
@@ -3513,21 +3336,18 @@ class TCancelOperationReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj);
};
void swap(TCancelOperationReq &a, TCancelOperationReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCancelOperationResp {
public:
+ static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
+ static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
TCancelOperationResp(const TCancelOperationResp&);
TCancelOperationResp& operator=(const TCancelOperationResp&);
TCancelOperationResp() {
@@ -3553,21 +3373,18 @@ class TCancelOperationResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj);
};
void swap(TCancelOperationResp &a, TCancelOperationResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCloseOperationReq {
public:
+ static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
+ static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
+
TCloseOperationReq(const TCloseOperationReq&);
TCloseOperationReq& operator=(const TCloseOperationReq&);
TCloseOperationReq() {
@@ -3593,21 +3410,18 @@ class TCloseOperationReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj);
};
void swap(TCloseOperationReq &a, TCloseOperationReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCloseOperationResp {
public:
+ static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
+ static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
TCloseOperationResp(const TCloseOperationResp&);
TCloseOperationResp& operator=(const TCloseOperationResp&);
TCloseOperationResp() {
@@ -3633,21 +3447,18 @@ class TCloseOperationResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj);
};
void swap(TCloseOperationResp &a, TCloseOperationResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetResultSetMetadataReq {
public:
+ static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A";
+ static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A};
+
TGetResultSetMetadataReq(const TGetResultSetMetadataReq&);
TGetResultSetMetadataReq& operator=(const TGetResultSetMetadataReq&);
TGetResultSetMetadataReq() {
@@ -3673,17 +3484,11 @@ class TGetResultSetMetadataReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj);
};
void swap(TGetResultSetMetadataReq &a, TGetResultSetMetadataReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetResultSetMetadataResp__isset {
_TGetResultSetMetadataResp__isset() : schema(false) {}
bool schema :1;
@@ -3692,6 +3497,9 @@ typedef struct _TGetResultSetMetadataResp__isset {
class TGetResultSetMetadataResp {
public:
+ static const char* ascii_fingerprint; // = "42CD49B7F49CC1B6D4E6F5FA2D7BE812";
+ static const uint8_t binary_fingerprint[16]; // = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12};
+
TGetResultSetMetadataResp(const TGetResultSetMetadataResp&);
TGetResultSetMetadataResp& operator=(const TGetResultSetMetadataResp&);
TGetResultSetMetadataResp() {
@@ -3726,17 +3534,11 @@ class TGetResultSetMetadataResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj);
};
void swap(TGetResultSetMetadataResp &a, TGetResultSetMetadataResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TFetchResultsReq__isset {
_TFetchResultsReq__isset() : fetchType(true) {}
bool fetchType :1;
@@ -3745,6 +3547,9 @@ typedef struct _TFetchResultsReq__isset {
class TFetchResultsReq {
public:
+ static const char* ascii_fingerprint; // = "B4CB1E4F8F8F4D50183DD372AD11753A";
+ static const uint8_t binary_fingerprint[16]; // = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A};
+
TFetchResultsReq(const TFetchResultsReq&);
TFetchResultsReq& operator=(const TFetchResultsReq&);
TFetchResultsReq() : orientation((TFetchOrientation::type)0), maxRows(0), fetchType(0) {
@@ -3791,17 +3596,11 @@ class TFetchResultsReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj);
};
void swap(TFetchResultsReq &a, TFetchResultsReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TFetchResultsResp__isset {
_TFetchResultsResp__isset() : hasMoreRows(false), results(false) {}
bool hasMoreRows :1;
@@ -3811,6 +3610,9 @@ typedef struct _TFetchResultsResp__isset {
class TFetchResultsResp {
public:
+ static const char* ascii_fingerprint; // = "FC43BC2D6F3B76D4DB0F34226A745C8E";
+ static const uint8_t binary_fingerprint[16]; // = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E};
+
TFetchResultsResp(const TFetchResultsResp&);
TFetchResultsResp& operator=(const TFetchResultsResp&);
TFetchResultsResp() : hasMoreRows(0) {
@@ -3852,21 +3654,18 @@ class TFetchResultsResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj);
};
void swap(TFetchResultsResp &a, TFetchResultsResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TGetDelegationTokenReq {
public:
+ static const char* ascii_fingerprint; // = "07EA0311716A27924914E4354ED22D6C";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C};
+
TGetDelegationTokenReq(const TGetDelegationTokenReq&);
TGetDelegationTokenReq& operator=(const TGetDelegationTokenReq&);
TGetDelegationTokenReq() : owner(), renewer() {
@@ -3902,17 +3701,11 @@ class TGetDelegationTokenReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj);
};
void swap(TGetDelegationTokenReq &a, TGetDelegationTokenReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _TGetDelegationTokenResp__isset {
_TGetDelegationTokenResp__isset() : delegationToken(false) {}
bool delegationToken :1;
@@ -3921,6 +3714,9 @@ typedef struct _TGetDelegationTokenResp__isset {
class TGetDelegationTokenResp {
public:
+ static const char* ascii_fingerprint; // = "C0E132DC412CEA08D771EAC38CEA1DA6";
+ static const uint8_t binary_fingerprint[16]; // = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6};
+
TGetDelegationTokenResp(const TGetDelegationTokenResp&);
TGetDelegationTokenResp& operator=(const TGetDelegationTokenResp&);
TGetDelegationTokenResp() : delegationToken() {
@@ -3955,21 +3751,18 @@ class TGetDelegationTokenResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj);
};
void swap(TGetDelegationTokenResp &a, TGetDelegationTokenResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCancelDelegationTokenReq {
public:
+ static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75";
+ static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75};
+
TCancelDelegationTokenReq(const TCancelDelegationTokenReq&);
TCancelDelegationTokenReq& operator=(const TCancelDelegationTokenReq&);
TCancelDelegationTokenReq() : delegationToken() {
@@ -4000,21 +3793,18 @@ class TCancelDelegationTokenReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj);
};
void swap(TCancelDelegationTokenReq &a, TCancelDelegationTokenReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TCancelDelegationTokenResp {
public:
+ static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
+ static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
TCancelDelegationTokenResp(const TCancelDelegationTokenResp&);
TCancelDelegationTokenResp& operator=(const TCancelDelegationTokenResp&);
TCancelDelegationTokenResp() {
@@ -4040,21 +3830,18 @@ class TCancelDelegationTokenResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj);
};
void swap(TCancelDelegationTokenResp &a, TCancelDelegationTokenResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TRenewDelegationTokenReq {
public:
+ static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75";
+ static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75};
+
TRenewDelegationTokenReq(const TRenewDelegationTokenReq&);
TRenewDelegationTokenReq& operator=(const TRenewDelegationTokenReq&);
TRenewDelegationTokenReq() : delegationToken() {
@@ -4085,21 +3872,18 @@ class TRenewDelegationTokenReq {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj);
};
void swap(TRenewDelegationTokenReq &a, TRenewDelegationTokenReq &b);
-inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj)
-{
- obj.printTo(out);
- return out;
-}
-
class TRenewDelegationTokenResp {
public:
+ static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2";
+ static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
TRenewDelegationTokenResp(const TRenewDelegationTokenResp&);
TRenewDelegationTokenResp& operator=(const TRenewDelegationTokenResp&);
TRenewDelegationTokenResp() {
@@ -4125,17 +3909,11 @@ class TRenewDelegationTokenResp {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj);
};
void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b);
-inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj)
-{
- obj.printTo(out);
- return out;
-}
-
}}}}} // namespace
#endif
[04/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
index a5448f0..8935c04 100644
--- a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
+++ b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,7 +15,6 @@ ThriftHive_execute_args::~ThriftHive_execute_args() throw() {
uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -56,7 +55,7 @@ uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* ip
uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_execute_args");
xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
@@ -65,6 +64,7 @@ uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* o
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -75,7 +75,7 @@ ThriftHive_execute_pargs::~ThriftHive_execute_pargs() throw() {
uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_execute_pargs");
xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
@@ -84,6 +84,7 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -94,7 +95,6 @@ ThriftHive_execute_result::~ThriftHive_execute_result() throw() {
uint32_t ThriftHive_execute_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -156,7 +156,6 @@ ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() {
uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -202,7 +201,6 @@ ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() {
uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -230,11 +228,12 @@ uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* i
uint32_t ThriftHive_fetchOne_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -245,11 +244,12 @@ ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() {
uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -260,7 +260,6 @@ ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() {
uint32_t ThriftHive_fetchOne_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -334,7 +333,6 @@ ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() {
uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -388,7 +386,6 @@ ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() {
uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -429,7 +426,7 @@ uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchN_args");
xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
@@ -438,6 +435,7 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -448,7 +446,7 @@ ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() {
uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs");
xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
@@ -457,6 +455,7 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -467,7 +466,6 @@ ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() {
uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -561,7 +559,6 @@ ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() {
uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -627,7 +624,6 @@ ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() {
uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -655,11 +651,12 @@ uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* i
uint32_t ThriftHive_fetchAll_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -670,11 +667,12 @@ ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() {
uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -685,7 +683,6 @@ ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() {
uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -779,7 +776,6 @@ ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() {
uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -845,7 +841,6 @@ ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() {
uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -873,11 +868,12 @@ uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol*
uint32_t ThriftHive_getSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getSchema_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -888,11 +884,12 @@ ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() {
uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -903,7 +900,6 @@ ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() {
uint32_t ThriftHive_getSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -977,7 +973,6 @@ ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() {
uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1031,7 +1026,6 @@ ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() {
uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1059,11 +1053,12 @@ uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProt
uint32_t ThriftHive_getThriftSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1074,11 +1069,12 @@ ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() {
uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1089,7 +1085,6 @@ ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw()
uint32_t ThriftHive_getThriftSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1163,7 +1158,6 @@ ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw(
uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1217,7 +1211,6 @@ ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() {
uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1245,11 +1238,12 @@ uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TPro
uint32_t ThriftHive_getClusterStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1260,11 +1254,12 @@ ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw()
uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1275,7 +1270,6 @@ ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw(
uint32_t ThriftHive_getClusterStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1349,7 +1343,6 @@ ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() thro
uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1403,7 +1396,6 @@ ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() {
uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1431,11 +1423,12 @@ uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtoco
uint32_t ThriftHive_getQueryPlan_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1446,11 +1439,12 @@ ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() {
uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1461,7 +1455,6 @@ ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() {
uint32_t ThriftHive_getQueryPlan_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1535,7 +1528,6 @@ ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() {
uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1589,7 +1581,6 @@ ThriftHive_clean_args::~ThriftHive_clean_args() throw() {
uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1617,11 +1608,12 @@ uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t ThriftHive_clean_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_clean_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1632,11 +1624,12 @@ ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() {
uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("ThriftHive_clean_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1647,7 +1640,6 @@ ThriftHive_clean_result::~ThriftHive_clean_result() throw() {
uint32_t ThriftHive_clean_result::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1691,7 +1683,6 @@ ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() {
uint32_t ThriftHive_clean_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2770,775 +2761,5 @@ void ThriftHiveProcessor::process_clean(int32_t seqid, ::apache::thrift::protoco
::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new ThriftHiveProcessor(handler));
return processor;
}
-
-void ThriftHiveConcurrentClient::execute(const std::string& query)
-{
- int32_t seqid = send_execute(query);
- recv_execute(seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_execute(const std::string& query)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("execute", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_execute_pargs args;
- args.query = &query;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_execute(const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("execute") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_execute_presult result;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- sentry.commit();
- return;
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::fetchOne(std::string& _return)
-{
- int32_t seqid = send_fetchOne();
- recv_fetchOne(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_fetchOne()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("fetchOne", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_fetchOne_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_fetchOne(std::string& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("fetchOne") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_fetchOne_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchOne failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::fetchN(std::vector<std::string> & _return, const int32_t numRows)
-{
- int32_t seqid = send_fetchN(numRows);
- recv_fetchN(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_fetchN(const int32_t numRows)
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("fetchN", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_fetchN_pargs args;
- args.numRows = &numRows;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_fetchN(std::vector<std::string> & _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("fetchN") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_fetchN_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchN failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::fetchAll(std::vector<std::string> & _return)
-{
- int32_t seqid = send_fetchAll();
- recv_fetchAll(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_fetchAll()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("fetchAll", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_fetchAll_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("fetchAll") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_fetchAll_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchAll failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::getSchema( ::Apache::Hadoop::Hive::Schema& _return)
-{
- int32_t seqid = send_getSchema();
- recv_getSchema(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_getSchema()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("getSchema", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_getSchema_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("getSchema") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_getSchema_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getSchema failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return)
-{
- int32_t seqid = send_getThriftSchema();
- recv_getThriftSchema(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_getThriftSchema()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("getThriftSchema", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_getThriftSchema_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("getThriftSchema") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_getThriftSchema_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getThriftSchema failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::getClusterStatus(HiveClusterStatus& _return)
-{
- int32_t seqid = send_getClusterStatus();
- recv_getClusterStatus(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_getClusterStatus()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("getClusterStatus", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_getClusterStatus_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("getClusterStatus") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_getClusterStatus_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getClusterStatus failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return)
-{
- int32_t seqid = send_getQueryPlan();
- recv_getQueryPlan(_return, seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_getQueryPlan()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("getQueryPlan", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_getQueryPlan_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("getQueryPlan") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_getQueryPlan_presult result;
- result.success = &_return;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- if (result.__isset.success) {
- // _return pointer has now been filled
- sentry.commit();
- return;
- }
- if (result.__isset.ex) {
- sentry.commit();
- throw result.ex;
- }
- // in a bad state, don't commit
- throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getQueryPlan failed: unknown result");
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
-void ThriftHiveConcurrentClient::clean()
-{
- int32_t seqid = send_clean();
- recv_clean(seqid);
-}
-
-int32_t ThriftHiveConcurrentClient::send_clean()
-{
- int32_t cseqid = this->sync_.generateSeqId();
- ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_);
- oprot_->writeMessageBegin("clean", ::apache::thrift::protocol::T_CALL, cseqid);
-
- ThriftHive_clean_pargs args;
- args.write(oprot_);
-
- oprot_->writeMessageEnd();
- oprot_->getTransport()->writeEnd();
- oprot_->getTransport()->flush();
-
- sentry.commit();
- return cseqid;
-}
-
-void ThriftHiveConcurrentClient::recv_clean(const int32_t seqid)
-{
-
- int32_t rseqid = 0;
- std::string fname;
- ::apache::thrift::protocol::TMessageType mtype;
-
- // the read mutex gets dropped and reacquired as part of waitForWork()
- // The destructor of this sentry wakes up other clients
- ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid);
-
- while(true) {
- if(!this->sync_.getPending(fname, mtype, rseqid)) {
- iprot_->readMessageBegin(fname, mtype, rseqid);
- }
- if(seqid == rseqid) {
- if (mtype == ::apache::thrift::protocol::T_EXCEPTION) {
- ::apache::thrift::TApplicationException x;
- x.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- sentry.commit();
- throw x;
- }
- if (mtype != ::apache::thrift::protocol::T_REPLY) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
- }
- if (fname.compare("clean") != 0) {
- iprot_->skip(::apache::thrift::protocol::T_STRUCT);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- // in a bad state, don't commit
- using ::apache::thrift::protocol::TProtocolException;
- throw TProtocolException(TProtocolException::INVALID_DATA);
- }
- ThriftHive_clean_presult result;
- result.read(iprot_);
- iprot_->readMessageEnd();
- iprot_->getTransport()->readEnd();
-
- sentry.commit();
- return;
- }
- // seqid != rseqid
- this->sync_.updatePending(fname, mtype, rseqid);
-
- // this will temporarily unlock the readMutex, and let other clients get work done
- this->sync_.waitForWork(seqid);
- } // end while(true)
-}
-
}}} // namespace
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/ThriftHive.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.h b/service/src/gen/thrift/gen-cpp/ThriftHive.h
index 902bd4b..e610e50 100644
--- a/service/src/gen/thrift/gen-cpp/ThriftHive.h
+++ b/service/src/gen/thrift/gen-cpp/ThriftHive.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,17 +8,11 @@
#define ThriftHive_H
#include <thrift/TDispatchProcessor.h>
-#include <thrift/async/TConcurrentClientSyncInfo.h>
#include "hive_service_types.h"
#include "ThriftHiveMetastore.h"
namespace Apache { namespace Hadoop { namespace Hive {
-#ifdef _WIN32
- #pragma warning( push )
- #pragma warning (disable : 4250 ) //inheriting methods via dominance
-#endif
-
class ThriftHiveIf : virtual public ::Apache::Hadoop::Hive::ThriftHiveMetastoreIf {
public:
virtual ~ThriftHiveIf() {}
@@ -97,6 +91,9 @@ typedef struct _ThriftHive_execute_args__isset {
class ThriftHive_execute_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHive_execute_args(const ThriftHive_execute_args&);
ThriftHive_execute_args& operator=(const ThriftHive_execute_args&);
ThriftHive_execute_args() : query() {
@@ -124,18 +121,23 @@ class ThriftHive_execute_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_args& obj);
};
class ThriftHive_execute_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHive_execute_pargs() throw();
const std::string* query;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_pargs& obj);
};
typedef struct _ThriftHive_execute_result__isset {
@@ -146,6 +148,9 @@ typedef struct _ThriftHive_execute_result__isset {
class ThriftHive_execute_result {
public:
+ static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
+ static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};
+
ThriftHive_execute_result(const ThriftHive_execute_result&);
ThriftHive_execute_result& operator=(const ThriftHive_execute_result&);
ThriftHive_execute_result() {
@@ -173,6 +178,7 @@ class ThriftHive_execute_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_result& obj);
};
typedef struct _ThriftHive_execute_presult__isset {
@@ -183,6 +189,9 @@ typedef struct _ThriftHive_execute_presult__isset {
class ThriftHive_execute_presult {
public:
+ static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0";
+ static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0};
+
virtual ~ThriftHive_execute_presult() throw();
HiveServerException ex;
@@ -191,12 +200,16 @@ class ThriftHive_execute_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_presult& obj);
};
class ThriftHive_fetchOne_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_fetchOne_args(const ThriftHive_fetchOne_args&);
ThriftHive_fetchOne_args& operator=(const ThriftHive_fetchOne_args&);
ThriftHive_fetchOne_args() {
@@ -217,17 +230,22 @@ class ThriftHive_fetchOne_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_args& obj);
};
class ThriftHive_fetchOne_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_fetchOne_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_pargs& obj);
};
typedef struct _ThriftHive_fetchOne_result__isset {
@@ -239,6 +257,9 @@ typedef struct _ThriftHive_fetchOne_result__isset {
class ThriftHive_fetchOne_result {
public:
+ static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};
+
ThriftHive_fetchOne_result(const ThriftHive_fetchOne_result&);
ThriftHive_fetchOne_result& operator=(const ThriftHive_fetchOne_result&);
ThriftHive_fetchOne_result() : success() {
@@ -271,6 +292,7 @@ class ThriftHive_fetchOne_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_result& obj);
};
typedef struct _ThriftHive_fetchOne_presult__isset {
@@ -282,6 +304,9 @@ typedef struct _ThriftHive_fetchOne_presult__isset {
class ThriftHive_fetchOne_presult {
public:
+ static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32};
+
virtual ~ThriftHive_fetchOne_presult() throw();
std::string* success;
@@ -291,6 +316,7 @@ class ThriftHive_fetchOne_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_presult& obj);
};
typedef struct _ThriftHive_fetchN_args__isset {
@@ -301,6 +327,9 @@ typedef struct _ThriftHive_fetchN_args__isset {
class ThriftHive_fetchN_args {
public:
+ static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
+ static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
ThriftHive_fetchN_args(const ThriftHive_fetchN_args&);
ThriftHive_fetchN_args& operator=(const ThriftHive_fetchN_args&);
ThriftHive_fetchN_args() : numRows(0) {
@@ -328,18 +357,23 @@ class ThriftHive_fetchN_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_args& obj);
};
class ThriftHive_fetchN_pargs {
public:
+ static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4";
+ static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
virtual ~ThriftHive_fetchN_pargs() throw();
const int32_t* numRows;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_pargs& obj);
};
typedef struct _ThriftHive_fetchN_result__isset {
@@ -351,6 +385,9 @@ typedef struct _ThriftHive_fetchN_result__isset {
class ThriftHive_fetchN_result {
public:
+ static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
+
ThriftHive_fetchN_result(const ThriftHive_fetchN_result&);
ThriftHive_fetchN_result& operator=(const ThriftHive_fetchN_result&);
ThriftHive_fetchN_result() {
@@ -383,6 +420,7 @@ class ThriftHive_fetchN_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_result& obj);
};
typedef struct _ThriftHive_fetchN_presult__isset {
@@ -394,6 +432,9 @@ typedef struct _ThriftHive_fetchN_presult__isset {
class ThriftHive_fetchN_presult {
public:
+ static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
+
virtual ~ThriftHive_fetchN_presult() throw();
std::vector<std::string> * success;
@@ -403,12 +444,16 @@ class ThriftHive_fetchN_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_presult& obj);
};
class ThriftHive_fetchAll_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_fetchAll_args(const ThriftHive_fetchAll_args&);
ThriftHive_fetchAll_args& operator=(const ThriftHive_fetchAll_args&);
ThriftHive_fetchAll_args() {
@@ -429,17 +474,22 @@ class ThriftHive_fetchAll_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_args& obj);
};
class ThriftHive_fetchAll_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_fetchAll_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_pargs& obj);
};
typedef struct _ThriftHive_fetchAll_result__isset {
@@ -451,6 +501,9 @@ typedef struct _ThriftHive_fetchAll_result__isset {
class ThriftHive_fetchAll_result {
public:
+ static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
+
ThriftHive_fetchAll_result(const ThriftHive_fetchAll_result&);
ThriftHive_fetchAll_result& operator=(const ThriftHive_fetchAll_result&);
ThriftHive_fetchAll_result() {
@@ -483,6 +536,7 @@ class ThriftHive_fetchAll_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_result& obj);
};
typedef struct _ThriftHive_fetchAll_presult__isset {
@@ -494,6 +548,9 @@ typedef struct _ThriftHive_fetchAll_presult__isset {
class ThriftHive_fetchAll_presult {
public:
+ static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D";
+ static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D};
+
virtual ~ThriftHive_fetchAll_presult() throw();
std::vector<std::string> * success;
@@ -503,12 +560,16 @@ class ThriftHive_fetchAll_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_presult& obj);
};
class ThriftHive_getSchema_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_getSchema_args(const ThriftHive_getSchema_args&);
ThriftHive_getSchema_args& operator=(const ThriftHive_getSchema_args&);
ThriftHive_getSchema_args() {
@@ -529,17 +590,22 @@ class ThriftHive_getSchema_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_args& obj);
};
class ThriftHive_getSchema_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_getSchema_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_pargs& obj);
};
typedef struct _ThriftHive_getSchema_result__isset {
@@ -551,6 +617,9 @@ typedef struct _ThriftHive_getSchema_result__isset {
class ThriftHive_getSchema_result {
public:
+ static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
+
ThriftHive_getSchema_result(const ThriftHive_getSchema_result&);
ThriftHive_getSchema_result& operator=(const ThriftHive_getSchema_result&);
ThriftHive_getSchema_result() {
@@ -583,6 +652,7 @@ class ThriftHive_getSchema_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_result& obj);
};
typedef struct _ThriftHive_getSchema_presult__isset {
@@ -594,6 +664,9 @@ typedef struct _ThriftHive_getSchema_presult__isset {
class ThriftHive_getSchema_presult {
public:
+ static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
+
virtual ~ThriftHive_getSchema_presult() throw();
::Apache::Hadoop::Hive::Schema* success;
@@ -603,12 +676,16 @@ class ThriftHive_getSchema_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_presult& obj);
};
class ThriftHive_getThriftSchema_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_getThriftSchema_args(const ThriftHive_getThriftSchema_args&);
ThriftHive_getThriftSchema_args& operator=(const ThriftHive_getThriftSchema_args&);
ThriftHive_getThriftSchema_args() {
@@ -629,17 +706,22 @@ class ThriftHive_getThriftSchema_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_args& obj);
};
class ThriftHive_getThriftSchema_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_getThriftSchema_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_pargs& obj);
};
typedef struct _ThriftHive_getThriftSchema_result__isset {
@@ -651,6 +733,9 @@ typedef struct _ThriftHive_getThriftSchema_result__isset {
class ThriftHive_getThriftSchema_result {
public:
+ static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
+
ThriftHive_getThriftSchema_result(const ThriftHive_getThriftSchema_result&);
ThriftHive_getThriftSchema_result& operator=(const ThriftHive_getThriftSchema_result&);
ThriftHive_getThriftSchema_result() {
@@ -683,6 +768,7 @@ class ThriftHive_getThriftSchema_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_result& obj);
};
typedef struct _ThriftHive_getThriftSchema_presult__isset {
@@ -694,6 +780,9 @@ typedef struct _ThriftHive_getThriftSchema_presult__isset {
class ThriftHive_getThriftSchema_presult {
public:
+ static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1};
+
virtual ~ThriftHive_getThriftSchema_presult() throw();
::Apache::Hadoop::Hive::Schema* success;
@@ -703,12 +792,16 @@ class ThriftHive_getThriftSchema_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_presult& obj);
};
class ThriftHive_getClusterStatus_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_getClusterStatus_args(const ThriftHive_getClusterStatus_args&);
ThriftHive_getClusterStatus_args& operator=(const ThriftHive_getClusterStatus_args&);
ThriftHive_getClusterStatus_args() {
@@ -729,17 +822,22 @@ class ThriftHive_getClusterStatus_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_args& obj);
};
class ThriftHive_getClusterStatus_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_getClusterStatus_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_pargs& obj);
};
typedef struct _ThriftHive_getClusterStatus_result__isset {
@@ -751,6 +849,9 @@ typedef struct _ThriftHive_getClusterStatus_result__isset {
class ThriftHive_getClusterStatus_result {
public:
+ static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
+ static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};
+
ThriftHive_getClusterStatus_result(const ThriftHive_getClusterStatus_result&);
ThriftHive_getClusterStatus_result& operator=(const ThriftHive_getClusterStatus_result&);
ThriftHive_getClusterStatus_result() {
@@ -783,6 +884,7 @@ class ThriftHive_getClusterStatus_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_result& obj);
};
typedef struct _ThriftHive_getClusterStatus_presult__isset {
@@ -794,6 +896,9 @@ typedef struct _ThriftHive_getClusterStatus_presult__isset {
class ThriftHive_getClusterStatus_presult {
public:
+ static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87";
+ static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87};
+
virtual ~ThriftHive_getClusterStatus_presult() throw();
HiveClusterStatus* success;
@@ -803,12 +908,16 @@ class ThriftHive_getClusterStatus_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_presult& obj);
};
class ThriftHive_getQueryPlan_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_getQueryPlan_args(const ThriftHive_getQueryPlan_args&);
ThriftHive_getQueryPlan_args& operator=(const ThriftHive_getQueryPlan_args&);
ThriftHive_getQueryPlan_args() {
@@ -829,17 +938,22 @@ class ThriftHive_getQueryPlan_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_args& obj);
};
class ThriftHive_getQueryPlan_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_getQueryPlan_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_pargs& obj);
};
typedef struct _ThriftHive_getQueryPlan_result__isset {
@@ -851,6 +965,9 @@ typedef struct _ThriftHive_getQueryPlan_result__isset {
class ThriftHive_getQueryPlan_result {
public:
+ static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};
+
ThriftHive_getQueryPlan_result(const ThriftHive_getQueryPlan_result&);
ThriftHive_getQueryPlan_result& operator=(const ThriftHive_getQueryPlan_result&);
ThriftHive_getQueryPlan_result() {
@@ -883,6 +1000,7 @@ class ThriftHive_getQueryPlan_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_result& obj);
};
typedef struct _ThriftHive_getQueryPlan_presult__isset {
@@ -894,6 +1012,9 @@ typedef struct _ThriftHive_getQueryPlan_presult__isset {
class ThriftHive_getQueryPlan_presult {
public:
+ static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED";
+ static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED};
+
virtual ~ThriftHive_getQueryPlan_presult() throw();
::Apache::Hadoop::Hive::QueryPlan* success;
@@ -903,12 +1024,16 @@ class ThriftHive_getQueryPlan_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_presult& obj);
};
class ThriftHive_clean_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_clean_args(const ThriftHive_clean_args&);
ThriftHive_clean_args& operator=(const ThriftHive_clean_args&);
ThriftHive_clean_args() {
@@ -929,23 +1054,31 @@ class ThriftHive_clean_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_args& obj);
};
class ThriftHive_clean_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_clean_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_pargs& obj);
};
class ThriftHive_clean_result {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHive_clean_result(const ThriftHive_clean_result&);
ThriftHive_clean_result& operator=(const ThriftHive_clean_result&);
ThriftHive_clean_result() {
@@ -966,17 +1099,22 @@ class ThriftHive_clean_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_result& obj);
};
class ThriftHive_clean_presult {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHive_clean_presult() throw();
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_presult& obj);
};
class ThriftHiveClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient {
@@ -1172,53 +1310,6 @@ class ThriftHiveMultiface : virtual public ThriftHiveIf, public ::Apache::Hadoo
};
-// The 'concurrent' client is a thread safe client that correctly handles
-// out of order responses. It is slower than the regular client, so should
-// only be used when you need to share a connection among multiple threads
-class ThriftHiveConcurrentClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient {
- public:
- ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) :
- ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(prot, prot) {}
- ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(iprot, oprot) {}
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() {
- return piprot_;
- }
- boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() {
- return poprot_;
- }
- void execute(const std::string& query);
- int32_t send_execute(const std::string& query);
- void recv_execute(const int32_t seqid);
- void fetchOne(std::string& _return);
- int32_t send_fetchOne();
- void recv_fetchOne(std::string& _return, const int32_t seqid);
- void fetchN(std::vector<std::string> & _return, const int32_t numRows);
- int32_t send_fetchN(const int32_t numRows);
- void recv_fetchN(std::vector<std::string> & _return, const int32_t seqid);
- void fetchAll(std::vector<std::string> & _return);
- int32_t send_fetchAll();
- void recv_fetchAll(std::vector<std::string> & _return, const int32_t seqid);
- void getSchema( ::Apache::Hadoop::Hive::Schema& _return);
- int32_t send_getSchema();
- void recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
- void getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return);
- int32_t send_getThriftSchema();
- void recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid);
- void getClusterStatus(HiveClusterStatus& _return);
- int32_t send_getClusterStatus();
- void recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid);
- void getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return);
- int32_t send_getQueryPlan();
- void recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid);
- void clean();
- int32_t send_clean();
- void recv_clean(const int32_t seqid);
-};
-
-#ifdef _WIN32
- #pragma warning( pop )
-#endif
-
}}} // namespace
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
index e2bbe71..c3c8482 100644
--- a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
+++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/hive_service_constants.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.h b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
index e0887f4..5878dbe 100644
--- a/service/src/gen/thrift/gen-cpp/hive_service_constants.h
+++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
index 9ddf7c1..4d6cf01 100644
--- a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
+++ b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -52,9 +52,11 @@ void HiveClusterStatus::__set_state(const JobTrackerState::type val) {
this->state = val;
}
+const char* HiveClusterStatus::ascii_fingerprint = "D514EDCFFC86F64A2E924DCD16D4FAD8";
+const uint8_t HiveClusterStatus::binary_fingerprint[16] = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};
+
uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -137,7 +139,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("HiveClusterStatus");
xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1);
@@ -166,6 +168,7 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -199,16 +202,17 @@ HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2)
__isset = other2.__isset;
return *this;
}
-void HiveClusterStatus::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) {
+ using apache::thrift::to_string;
out << "HiveClusterStatus(";
- out << "taskTrackers=" << to_string(taskTrackers);
- out << ", " << "mapTasks=" << to_string(mapTasks);
- out << ", " << "reduceTasks=" << to_string(reduceTasks);
- out << ", " << "maxMapTasks=" << to_string(maxMapTasks);
- out << ", " << "maxReduceTasks=" << to_string(maxReduceTasks);
- out << ", " << "state=" << to_string(state);
+ out << "taskTrackers=" << to_string(obj.taskTrackers);
+ out << ", " << "mapTasks=" << to_string(obj.mapTasks);
+ out << ", " << "reduceTasks=" << to_string(obj.reduceTasks);
+ out << ", " << "maxMapTasks=" << to_string(obj.maxMapTasks);
+ out << ", " << "maxReduceTasks=" << to_string(obj.maxReduceTasks);
+ out << ", " << "state=" << to_string(obj.state);
out << ")";
+ return out;
}
@@ -228,9 +232,11 @@ void HiveServerException::__set_SQLState(const std::string& val) {
this->SQLState = val;
}
+const char* HiveServerException::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26";
+const uint8_t HiveServerException::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
+
uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -287,7 +293,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("HiveServerException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -304,6 +310,7 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -328,24 +335,14 @@ HiveServerException& HiveServerException::operator=(const HiveServerException& o
__isset = other4.__isset;
return *this;
}
-void HiveServerException::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) {
+ using apache::thrift::to_string;
out << "HiveServerException(";
- out << "message=" << to_string(message);
- out << ", " << "errorCode=" << to_string(errorCode);
- out << ", " << "SQLState=" << to_string(SQLState);
+ out << "message=" << to_string(obj.message);
+ out << ", " << "errorCode=" << to_string(obj.errorCode);
+ out << ", " << "SQLState=" << to_string(obj.SQLState);
out << ")";
-}
-
-const char* HiveServerException::what() const throw() {
- try {
- std::stringstream ss;
- ss << "TException - service has thrown: " << *this;
- this->thriftTExceptionMessageHolder_ = ss.str();
- return this->thriftTExceptionMessageHolder_.c_str();
- } catch (const std::exception&) {
- return "TException - service has thrown: HiveServerException";
- }
+ return out;
}
}}} // namespace
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/hive_service_types.h
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.h b/service/src/gen/thrift/gen-cpp/hive_service_types.h
index 266f8ea..7fea88c 100644
--- a/service/src/gen/thrift/gen-cpp/hive_service_types.h
+++ b/service/src/gen/thrift/gen-cpp/hive_service_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -48,6 +48,9 @@ typedef struct _HiveClusterStatus__isset {
class HiveClusterStatus {
public:
+ static const char* ascii_fingerprint; // = "D514EDCFFC86F64A2E924DCD16D4FAD8";
+ static const uint8_t binary_fingerprint[16]; // = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8};
+
HiveClusterStatus(const HiveClusterStatus&);
HiveClusterStatus& operator=(const HiveClusterStatus&);
HiveClusterStatus() : taskTrackers(0), mapTasks(0), reduceTasks(0), maxMapTasks(0), maxReduceTasks(0), state((JobTrackerState::type)0) {
@@ -100,17 +103,11 @@ class HiveClusterStatus {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj);
};
void swap(HiveClusterStatus &a, HiveClusterStatus &b);
-inline std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _HiveServerException__isset {
_HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {}
bool message :1;
@@ -121,6 +118,9 @@ typedef struct _HiveServerException__isset {
class HiveServerException : public ::apache::thrift::TException {
public:
+ static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26";
+ static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26};
+
HiveServerException(const HiveServerException&);
HiveServerException& operator=(const HiveServerException&);
HiveServerException() : message(), errorCode(0), SQLState() {
@@ -158,19 +158,11 @@ class HiveServerException : public ::apache::thrift::TException {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
- mutable std::string thriftTExceptionMessageHolder_;
- const char* what() const throw();
+ friend std::ostream& operator<<(std::ostream& out, const HiveServerException& obj);
};
void swap(HiveServerException &a, HiveServerException &b);
-inline std::ostream& operator<<(std::ostream& out, const HiveServerException& obj)
-{
- obj.printTo(out);
- return out;
-}
-
}}} // namespace
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
index ad89867..9dbfbe4 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterStatus, HiveClusterStatus._Fields>, java.io.Serializable, Cloneable, Comparable<HiveClusterStatus> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveClusterStatus");
@@ -417,19 +417,19 @@ public class HiveClusterStatus implements org.apache.thrift.TBase<HiveClusterSta
public Object getFieldValue(_Fields field) {
switch (field) {
case TASK_TRACKERS:
- return getTaskTrackers();
+ return Integer.valueOf(getTaskTrackers());
case MAP_TASKS:
- return getMapTasks();
+ return Integer.valueOf(getMapTasks());
case REDUCE_TASKS:
- return getReduceTasks();
+ return Integer.valueOf(getReduceTasks());
case MAX_MAP_TASKS:
- return getMaxMapTasks();
+ return Integer.valueOf(getMaxMapTasks());
case MAX_REDUCE_TASKS:
- return getMaxReduceTasks();
+ return Integer.valueOf(getMaxReduceTasks());
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
index 97b1219..d1c2f3f 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HiveServerException extends TException implements org.apache.thrift.TBase<HiveServerException, HiveServerException._Fields>, java.io.Serializable, Cloneable, Comparable<HiveServerException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveServerException");
@@ -276,7 +276,7 @@ public class HiveServerException extends TException implements org.apache.thrift
return getMessage();
case ERROR_CODE:
- return getErrorCode();
+ return Integer.valueOf(getErrorCode());
case SQLSTATE:
return getSQLState();
[10/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
----------------------------------------------------------------------
diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
index 477a3be..660dd4e 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
@@ -310,6 +310,12 @@ public class DummyRawStoreControlledCommit implements RawStore, Configurable {
}
@Override
+ public int getNumPartitionsByFilter(String dbName, String tblName,
+ String filter) throws MetaException, NoSuchObjectException {
+ return objectStore.getNumPartitionsByFilter(dbName, tblName, filter);
+ }
+
+ @Override
public List<Partition> getPartitionsByNames(String dbName, String tblName,
List<String> partNames) throws MetaException, NoSuchObjectException {
return objectStore.getPartitionsByNames(dbName, tblName, partNames);
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
----------------------------------------------------------------------
diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
index ecabd5d..9103102 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
@@ -341,6 +341,12 @@ public class DummyRawStoreForJdoConnection implements RawStore {
}
@Override
+ public int getNumPartitionsByFilter(String dbName, String tblName, String filter)
+ throws MetaException, NoSuchObjectException {
+ return -1;
+ }
+
+ @Override
public Table markPartitionForEvent(String dbName, String tblName, Map<String, String> partVals,
PartitionEventType evtType) throws MetaException, UnknownTableException,
InvalidPartitionException, UnknownPartitionException {
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java b/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
index 1157033..2e1f5f4 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
@@ -37,6 +37,7 @@ import org.apache.hadoop.hive.metastore.api.SerDeInfo;
import org.apache.hadoop.hive.metastore.api.StorageDescriptor;
import org.apache.hadoop.hive.metastore.api.Table;
import org.apache.hadoop.hive.ql.io.sarg.SearchArgument;
+import org.apache.hadoop.hive.serde.serdeConstants;
import org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo;
import org.junit.After;
import org.junit.Assert;
@@ -163,8 +164,8 @@ public class TestObjectStore {
StorageDescriptor sd = new StorageDescriptor(null, "location", null, null, false, 0, new SerDeInfo("SerDeName", "serializationLib", null), null, null, null);
HashMap<String,String> tableParams = new HashMap<String,String>();
tableParams.put("EXTERNAL", "false");
- FieldSchema partitionKey1 = new FieldSchema("Country", "String", "");
- FieldSchema partitionKey2 = new FieldSchema("State", "String", "");
+ FieldSchema partitionKey1 = new FieldSchema("Country", serdeConstants.STRING_TYPE_NAME, "");
+ FieldSchema partitionKey2 = new FieldSchema("State", serdeConstants.STRING_TYPE_NAME, "");
Table tbl1 = new Table(TABLE1, DB1, "owner", 1, 2, 3, sd, Arrays.asList(partitionKey1, partitionKey2), tableParams, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE");
objectStore.createTable(tbl1);
HashMap<String, String> partitionParams = new HashMap<String, String>();
@@ -182,6 +183,12 @@ public class TestObjectStore {
Assert.assertEquals(111, partitions.get(0).getCreateTime());
Assert.assertEquals(222, partitions.get(1).getCreateTime());
+ int numPartitions = objectStore.getNumPartitionsByFilter(DB1, TABLE1, "");
+ Assert.assertEquals(partitions.size(), numPartitions);
+
+ numPartitions = objectStore.getNumPartitionsByFilter(DB1, TABLE1, "country = \"US\"");
+ Assert.assertEquals(2, numPartitions);
+
objectStore.dropPartition(DB1, TABLE1, value1);
partitions = objectStore.getPartitions(DB1, TABLE1, 10);
Assert.assertEquals(1, partitions.size());
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp
index 9186bad..280edbe 100644
--- a/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp
+++ b/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-cpp/queryplan_constants.h
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_constants.h b/ql/src/gen/thrift/gen-cpp/queryplan_constants.h
index 6cc8af0..6bee48d 100644
--- a/ql/src/gen/thrift/gen-cpp/queryplan_constants.h
+++ b/ql/src/gen/thrift/gen-cpp/queryplan_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
index e92d776..a1fb60b 100644
--- a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
+++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -150,9 +150,11 @@ void Adjacency::__set_adjacencyType(const AdjacencyType::type val) {
this->adjacencyType = val;
}
+const char* Adjacency::ascii_fingerprint = "BC4F8C394677A1003AA9F56ED26D8204";
+const uint8_t Adjacency::binary_fingerprint[16] = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04};
+
uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -223,7 +225,7 @@ uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Adjacency");
xfer += oprot->writeFieldBegin("node", ::apache::thrift::protocol::T_STRING, 1);
@@ -248,6 +250,7 @@ uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -272,13 +275,14 @@ Adjacency& Adjacency::operator=(const Adjacency& other8) {
__isset = other8.__isset;
return *this;
}
-void Adjacency::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Adjacency& obj) {
+ using apache::thrift::to_string;
out << "Adjacency(";
- out << "node=" << to_string(node);
- out << ", " << "children=" << to_string(children);
- out << ", " << "adjacencyType=" << to_string(adjacencyType);
+ out << "node=" << to_string(obj.node);
+ out << ", " << "children=" << to_string(obj.children);
+ out << ", " << "adjacencyType=" << to_string(obj.adjacencyType);
out << ")";
+ return out;
}
@@ -298,9 +302,11 @@ void Graph::__set_adjacencyList(const std::vector<Adjacency> & val) {
this->adjacencyList = val;
}
+const char* Graph::ascii_fingerprint = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5";
+const uint8_t Graph::binary_fingerprint[16] = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5};
+
uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -383,7 +389,7 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Graph");
xfer += oprot->writeFieldBegin("nodeType", ::apache::thrift::protocol::T_I32, 1);
@@ -416,6 +422,7 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -440,13 +447,14 @@ Graph& Graph::operator=(const Graph& other23) {
__isset = other23.__isset;
return *this;
}
-void Graph::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Graph& obj) {
+ using apache::thrift::to_string;
out << "Graph(";
- out << "nodeType=" << to_string(nodeType);
- out << ", " << "roots=" << to_string(roots);
- out << ", " << "adjacencyList=" << to_string(adjacencyList);
+ out << "nodeType=" << to_string(obj.nodeType);
+ out << ", " << "roots=" << to_string(obj.roots);
+ out << ", " << "adjacencyList=" << to_string(obj.adjacencyList);
out << ")";
+ return out;
}
@@ -478,9 +486,11 @@ void Operator::__set_started(const bool val) {
this->started = val;
}
+const char* Operator::ascii_fingerprint = "30917C758A752485AF223B697479DE6C";
+const uint8_t Operator::binary_fingerprint[16] = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C};
+
uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -593,7 +603,7 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Operator");
xfer += oprot->writeFieldBegin("operatorId", ::apache::thrift::protocol::T_STRING, 1);
@@ -640,6 +650,7 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -673,16 +684,17 @@ Operator& Operator::operator=(const Operator& other42) {
__isset = other42.__isset;
return *this;
}
-void Operator::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Operator& obj) {
+ using apache::thrift::to_string;
out << "Operator(";
- out << "operatorId=" << to_string(operatorId);
- out << ", " << "operatorType=" << to_string(operatorType);
- out << ", " << "operatorAttributes=" << to_string(operatorAttributes);
- out << ", " << "operatorCounters=" << to_string(operatorCounters);
- out << ", " << "done=" << to_string(done);
- out << ", " << "started=" << to_string(started);
+ out << "operatorId=" << to_string(obj.operatorId);
+ out << ", " << "operatorType=" << to_string(obj.operatorType);
+ out << ", " << "operatorAttributes=" << to_string(obj.operatorAttributes);
+ out << ", " << "operatorCounters=" << to_string(obj.operatorCounters);
+ out << ", " << "done=" << to_string(obj.done);
+ out << ", " << "started=" << to_string(obj.started);
out << ")";
+ return out;
}
@@ -724,9 +736,11 @@ void Task::__set_started(const bool val) {
this->started = val;
}
+const char* Task::ascii_fingerprint = "AC741A136EFA51843AFC3A12F6A793D1";
+const uint8_t Task::binary_fingerprint[16] = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1};
+
uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -867,7 +881,7 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Task");
xfer += oprot->writeFieldBegin("taskId", ::apache::thrift::protocol::T_STRING, 1);
@@ -932,6 +946,7 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -971,18 +986,19 @@ Task& Task::operator=(const Task& other67) {
__isset = other67.__isset;
return *this;
}
-void Task::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Task& obj) {
+ using apache::thrift::to_string;
out << "Task(";
- out << "taskId=" << to_string(taskId);
- out << ", " << "taskType=" << to_string(taskType);
- out << ", " << "taskAttributes=" << to_string(taskAttributes);
- out << ", " << "taskCounters=" << to_string(taskCounters);
- out << ", " << "operatorGraph="; (__isset.operatorGraph ? (out << to_string(operatorGraph)) : (out << "<null>"));
- out << ", " << "operatorList="; (__isset.operatorList ? (out << to_string(operatorList)) : (out << "<null>"));
- out << ", " << "done=" << to_string(done);
- out << ", " << "started=" << to_string(started);
+ out << "taskId=" << to_string(obj.taskId);
+ out << ", " << "taskType=" << to_string(obj.taskType);
+ out << ", " << "taskAttributes=" << to_string(obj.taskAttributes);
+ out << ", " << "taskCounters=" << to_string(obj.taskCounters);
+ out << ", " << "operatorGraph="; (obj.__isset.operatorGraph ? (out << to_string(obj.operatorGraph)) : (out << "<null>"));
+ out << ", " << "operatorList="; (obj.__isset.operatorList ? (out << to_string(obj.operatorList)) : (out << "<null>"));
+ out << ", " << "done=" << to_string(obj.done);
+ out << ", " << "started=" << to_string(obj.started);
out << ")";
+ return out;
}
@@ -1018,9 +1034,11 @@ void Stage::__set_started(const bool val) {
this->started = val;
}
+const char* Stage::ascii_fingerprint = "86EA3C7B0690AFED21A3D479E2B32378";
+const uint8_t Stage::binary_fingerprint[16] = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78};
+
uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1153,7 +1171,7 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Stage");
xfer += oprot->writeFieldBegin("stageId", ::apache::thrift::protocol::T_STRING, 1);
@@ -1212,6 +1230,7 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1248,17 +1267,18 @@ Stage& Stage::operator=(const Stage& other92) {
__isset = other92.__isset;
return *this;
}
-void Stage::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Stage& obj) {
+ using apache::thrift::to_string;
out << "Stage(";
- out << "stageId=" << to_string(stageId);
- out << ", " << "stageType=" << to_string(stageType);
- out << ", " << "stageAttributes=" << to_string(stageAttributes);
- out << ", " << "stageCounters=" << to_string(stageCounters);
- out << ", " << "taskList=" << to_string(taskList);
- out << ", " << "done=" << to_string(done);
- out << ", " << "started=" << to_string(started);
+ out << "stageId=" << to_string(obj.stageId);
+ out << ", " << "stageType=" << to_string(obj.stageType);
+ out << ", " << "stageAttributes=" << to_string(obj.stageAttributes);
+ out << ", " << "stageCounters=" << to_string(obj.stageCounters);
+ out << ", " << "taskList=" << to_string(obj.taskList);
+ out << ", " << "done=" << to_string(obj.done);
+ out << ", " << "started=" << to_string(obj.started);
out << ")";
+ return out;
}
@@ -1298,9 +1318,11 @@ void Query::__set_started(const bool val) {
this->started = val;
}
+const char* Query::ascii_fingerprint = "68300D63A5D40F2D17B9A9440FF626C1";
+const uint8_t Query::binary_fingerprint[16] = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1};
+
uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1439,7 +1461,7 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Query");
xfer += oprot->writeFieldBegin("queryId", ::apache::thrift::protocol::T_STRING, 1);
@@ -1502,6 +1524,7 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1541,18 +1564,19 @@ Query& Query::operator=(const Query& other116) {
__isset = other116.__isset;
return *this;
}
-void Query::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Query& obj) {
+ using apache::thrift::to_string;
out << "Query(";
- out << "queryId=" << to_string(queryId);
- out << ", " << "queryType=" << to_string(queryType);
- out << ", " << "queryAttributes=" << to_string(queryAttributes);
- out << ", " << "queryCounters=" << to_string(queryCounters);
- out << ", " << "stageGraph=" << to_string(stageGraph);
- out << ", " << "stageList=" << to_string(stageList);
- out << ", " << "done=" << to_string(done);
- out << ", " << "started=" << to_string(started);
+ out << "queryId=" << to_string(obj.queryId);
+ out << ", " << "queryType=" << to_string(obj.queryType);
+ out << ", " << "queryAttributes=" << to_string(obj.queryAttributes);
+ out << ", " << "queryCounters=" << to_string(obj.queryCounters);
+ out << ", " << "stageGraph=" << to_string(obj.stageGraph);
+ out << ", " << "stageList=" << to_string(obj.stageList);
+ out << ", " << "done=" << to_string(obj.done);
+ out << ", " << "started=" << to_string(obj.started);
out << ")";
+ return out;
}
@@ -1572,9 +1596,11 @@ void QueryPlan::__set_started(const bool val) {
this->started = val;
}
+const char* QueryPlan::ascii_fingerprint = "3418D1B0C20C288C8406186700B772E3";
+const uint8_t QueryPlan::binary_fingerprint[16] = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3};
+
uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1643,7 +1669,7 @@ uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("QueryPlan");
xfer += oprot->writeFieldBegin("queries", ::apache::thrift::protocol::T_LIST, 1);
@@ -1668,6 +1694,7 @@ uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1692,13 +1719,14 @@ QueryPlan& QueryPlan::operator=(const QueryPlan& other124) {
__isset = other124.__isset;
return *this;
}
-void QueryPlan::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const QueryPlan& obj) {
+ using apache::thrift::to_string;
out << "QueryPlan(";
- out << "queries=" << to_string(queries);
- out << ", " << "done=" << to_string(done);
- out << ", " << "started=" << to_string(started);
+ out << "queries=" << to_string(obj.queries);
+ out << ", " << "done=" << to_string(obj.done);
+ out << ", " << "started=" << to_string(obj.started);
out << ")";
+ return out;
}
}}} // namespace
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-cpp/queryplan_types.h
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.h b/ql/src/gen/thrift/gen-cpp/queryplan_types.h
index ce37b2e..932804d 100644
--- a/ql/src/gen/thrift/gen-cpp/queryplan_types.h
+++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -123,6 +123,9 @@ typedef struct _Adjacency__isset {
class Adjacency {
public:
+ static const char* ascii_fingerprint; // = "BC4F8C394677A1003AA9F56ED26D8204";
+ static const uint8_t binary_fingerprint[16]; // = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04};
+
Adjacency(const Adjacency&);
Adjacency& operator=(const Adjacency&);
Adjacency() : node(), adjacencyType((AdjacencyType::type)0) {
@@ -160,17 +163,11 @@ class Adjacency {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Adjacency& obj);
};
void swap(Adjacency &a, Adjacency &b);
-inline std::ostream& operator<<(std::ostream& out, const Adjacency& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Graph__isset {
_Graph__isset() : nodeType(false), roots(false), adjacencyList(false) {}
bool nodeType :1;
@@ -181,6 +178,9 @@ typedef struct _Graph__isset {
class Graph {
public:
+ static const char* ascii_fingerprint; // = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5";
+ static const uint8_t binary_fingerprint[16]; // = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5};
+
Graph(const Graph&);
Graph& operator=(const Graph&);
Graph() : nodeType((NodeType::type)0) {
@@ -218,17 +218,11 @@ class Graph {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Graph& obj);
};
void swap(Graph &a, Graph &b);
-inline std::ostream& operator<<(std::ostream& out, const Graph& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Operator__isset {
_Operator__isset() : operatorId(false), operatorType(false), operatorAttributes(false), operatorCounters(false), done(false), started(false) {}
bool operatorId :1;
@@ -242,6 +236,9 @@ typedef struct _Operator__isset {
class Operator {
public:
+ static const char* ascii_fingerprint; // = "30917C758A752485AF223B697479DE6C";
+ static const uint8_t binary_fingerprint[16]; // = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C};
+
Operator(const Operator&);
Operator& operator=(const Operator&);
Operator() : operatorId(), operatorType((OperatorType::type)0), done(0), started(0) {
@@ -294,17 +291,11 @@ class Operator {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Operator& obj);
};
void swap(Operator &a, Operator &b);
-inline std::ostream& operator<<(std::ostream& out, const Operator& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Task__isset {
_Task__isset() : taskId(false), taskType(false), taskAttributes(false), taskCounters(false), operatorGraph(false), operatorList(false), done(false), started(false) {}
bool taskId :1;
@@ -320,6 +311,9 @@ typedef struct _Task__isset {
class Task {
public:
+ static const char* ascii_fingerprint; // = "AC741A136EFA51843AFC3A12F6A793D1";
+ static const uint8_t binary_fingerprint[16]; // = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1};
+
Task(const Task&);
Task& operator=(const Task&);
Task() : taskId(), taskType((TaskType::type)0), done(0), started(0) {
@@ -386,17 +380,11 @@ class Task {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Task& obj);
};
void swap(Task &a, Task &b);
-inline std::ostream& operator<<(std::ostream& out, const Task& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Stage__isset {
_Stage__isset() : stageId(false), stageType(false), stageAttributes(false), stageCounters(false), taskList(false), done(false), started(false) {}
bool stageId :1;
@@ -411,6 +399,9 @@ typedef struct _Stage__isset {
class Stage {
public:
+ static const char* ascii_fingerprint; // = "86EA3C7B0690AFED21A3D479E2B32378";
+ static const uint8_t binary_fingerprint[16]; // = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78};
+
Stage(const Stage&);
Stage& operator=(const Stage&);
Stage() : stageId(), stageType((StageType::type)0), done(0), started(0) {
@@ -468,17 +459,11 @@ class Stage {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Stage& obj);
};
void swap(Stage &a, Stage &b);
-inline std::ostream& operator<<(std::ostream& out, const Stage& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Query__isset {
_Query__isset() : queryId(false), queryType(false), queryAttributes(false), queryCounters(false), stageGraph(false), stageList(false), done(false), started(false) {}
bool queryId :1;
@@ -494,6 +479,9 @@ typedef struct _Query__isset {
class Query {
public:
+ static const char* ascii_fingerprint; // = "68300D63A5D40F2D17B9A9440FF626C1";
+ static const uint8_t binary_fingerprint[16]; // = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1};
+
Query(const Query&);
Query& operator=(const Query&);
Query() : queryId(), queryType(), done(0), started(0) {
@@ -556,17 +544,11 @@ class Query {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Query& obj);
};
void swap(Query &a, Query &b);
-inline std::ostream& operator<<(std::ostream& out, const Query& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _QueryPlan__isset {
_QueryPlan__isset() : queries(false), done(false), started(false) {}
bool queries :1;
@@ -577,6 +559,9 @@ typedef struct _QueryPlan__isset {
class QueryPlan {
public:
+ static const char* ascii_fingerprint; // = "3418D1B0C20C288C8406186700B772E3";
+ static const uint8_t binary_fingerprint[16]; // = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3};
+
QueryPlan(const QueryPlan&);
QueryPlan& operator=(const QueryPlan&);
QueryPlan() : done(0), started(0) {
@@ -614,17 +599,11 @@ class QueryPlan {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const QueryPlan& obj);
};
void swap(QueryPlan &a, QueryPlan &b);
-inline std::ostream& operator<<(std::ostream& out, const QueryPlan& obj)
-{
- obj.printTo(out);
- return out;
-}
-
}}} // namespace
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
index 37edf2a..87e8008 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Adjacency implements org.apache.thrift.TBase<Adjacency, Adjacency._Fields>, java.io.Serializable, Cloneable, Comparable<Adjacency> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Adjacency");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
index 7a716f8..470cad2 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
index 0b454df..7dbd65a 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Graph implements org.apache.thrift.TBase<Graph, Graph._Fields>, java.io.Serializable, Cloneable, Comparable<Graph> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Graph");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
index c3ce662..5fdbfa3 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
index 05dbb2d..2ebff17 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Operator implements org.apache.thrift.TBase<Operator, Operator._Fields>, java.io.Serializable, Cloneable, Comparable<Operator> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Operator");
@@ -457,10 +457,10 @@ public class Operator implements org.apache.thrift.TBase<Operator, Operator._Fie
return getOperatorCounters();
case DONE:
- return isDone();
+ return Boolean.valueOf(isDone());
case STARTED:
- return isStarted();
+ return Boolean.valueOf(isStarted());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
index a002348..1d17dcb 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
index de553e1..b3f8778 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Query implements org.apache.thrift.TBase<Query, Query._Fields>, java.io.Serializable, Cloneable, Comparable<Query> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Query");
@@ -559,10 +559,10 @@ public class Query implements org.apache.thrift.TBase<Query, Query._Fields>, jav
return getStageList();
case DONE:
- return isDone();
+ return Boolean.valueOf(isDone());
case STARTED:
- return isStarted();
+ return Boolean.valueOf(isStarted());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
index 0e12279..e12005d 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class QueryPlan implements org.apache.thrift.TBase<QueryPlan, QueryPlan._Fields>, java.io.Serializable, Cloneable, Comparable<QueryPlan> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("QueryPlan");
@@ -296,10 +296,10 @@ public class QueryPlan implements org.apache.thrift.TBase<QueryPlan, QueryPlan._
return getQueries();
case DONE:
- return isDone();
+ return Boolean.valueOf(isDone());
case STARTED:
- return isStarted();
+ return Boolean.valueOf(isStarted());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
index 7f86eeb..309237d 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Stage implements org.apache.thrift.TBase<Stage, Stage._Fields>, java.io.Serializable, Cloneable, Comparable<Stage> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Stage");
@@ -524,10 +524,10 @@ public class Stage implements org.apache.thrift.TBase<Stage, Stage._Fields>, jav
return getTaskList();
case DONE:
- return isDone();
+ return Boolean.valueOf(isDone());
case STARTED:
- return isStarted();
+ return Boolean.valueOf(isStarted());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
index f20174c..c7b0ff7 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
index f978e42..87ce205 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Task implements org.apache.thrift.TBase<Task, Task._Fields>, java.io.Serializable, Cloneable, Comparable<Task> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Task");
@@ -568,10 +568,10 @@ public class Task implements org.apache.thrift.TBase<Task, Task._Fields>, java.i
return getOperatorList();
case DONE:
- return isDone();
+ return Boolean.valueOf(isDone());
case STARTED:
- return isStarted();
+ return Boolean.valueOf(isStarted());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
index d77f008..8aad073 100644
--- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
+++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-php/Types.php
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-php/Types.php b/ql/src/gen/thrift/gen-php/Types.php
index e1693f3..3dfff1d 100644
--- a/ql/src/gen/thrift/gen-php/Types.php
+++ b/ql/src/gen/thrift/gen-php/Types.php
@@ -1,6 +1,8 @@
<?php
+namespace ;
+
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-py/queryplan/constants.py
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-py/queryplan/constants.py b/ql/src/gen/thrift/gen-py/queryplan/constants.py
index 4a6492b..99717a9 100644
--- a/ql/src/gen/thrift/gen-py/queryplan/constants.py
+++ b/ql/src/gen/thrift/gen-py/queryplan/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
index 2073959..6deb850 100644
--- a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
+++ b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -223,7 +223,7 @@ class Adjacency:
break
if fid == 1:
if ftype == TType.STRING:
- self.node = iprot.readString()
+ self.node = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -231,14 +231,14 @@ class Adjacency:
self.children = []
(_etype3, _size0) = iprot.readListBegin()
for _i4 in xrange(_size0):
- _elem5 = iprot.readString()
+ _elem5 = iprot.readString();
self.children.append(_elem5)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.adjacencyType = iprot.readI32()
+ self.adjacencyType = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -322,7 +322,7 @@ class Graph:
break
if fid == 1:
if ftype == TType.I32:
- self.nodeType = iprot.readI32()
+ self.nodeType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -330,7 +330,7 @@ class Graph:
self.roots = []
(_etype10, _size7) = iprot.readListBegin()
for _i11 in xrange(_size7):
- _elem12 = iprot.readString()
+ _elem12 = iprot.readString();
self.roots.append(_elem12)
iprot.readListEnd()
else:
@@ -439,12 +439,12 @@ class Operator:
break
if fid == 1:
if ftype == TType.STRING:
- self.operatorId = iprot.readString()
+ self.operatorId = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.operatorType = iprot.readI32()
+ self.operatorType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -452,8 +452,8 @@ class Operator:
self.operatorAttributes = {}
(_ktype22, _vtype23, _size21 ) = iprot.readMapBegin()
for _i25 in xrange(_size21):
- _key26 = iprot.readString()
- _val27 = iprot.readString()
+ _key26 = iprot.readString();
+ _val27 = iprot.readString();
self.operatorAttributes[_key26] = _val27
iprot.readMapEnd()
else:
@@ -463,20 +463,20 @@ class Operator:
self.operatorCounters = {}
(_ktype29, _vtype30, _size28 ) = iprot.readMapBegin()
for _i32 in xrange(_size28):
- _key33 = iprot.readString()
- _val34 = iprot.readI64()
+ _key33 = iprot.readString();
+ _val34 = iprot.readI64();
self.operatorCounters[_key33] = _val34
iprot.readMapEnd()
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.BOOL:
- self.done = iprot.readBool()
+ self.done = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.BOOL:
- self.started = iprot.readBool()
+ self.started = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -595,12 +595,12 @@ class Task:
break
if fid == 1:
if ftype == TType.STRING:
- self.taskId = iprot.readString()
+ self.taskId = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.taskType = iprot.readI32()
+ self.taskType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -608,8 +608,8 @@ class Task:
self.taskAttributes = {}
(_ktype40, _vtype41, _size39 ) = iprot.readMapBegin()
for _i43 in xrange(_size39):
- _key44 = iprot.readString()
- _val45 = iprot.readString()
+ _key44 = iprot.readString();
+ _val45 = iprot.readString();
self.taskAttributes[_key44] = _val45
iprot.readMapEnd()
else:
@@ -619,8 +619,8 @@ class Task:
self.taskCounters = {}
(_ktype47, _vtype48, _size46 ) = iprot.readMapBegin()
for _i50 in xrange(_size46):
- _key51 = iprot.readString()
- _val52 = iprot.readI64()
+ _key51 = iprot.readString();
+ _val52 = iprot.readI64();
self.taskCounters[_key51] = _val52
iprot.readMapEnd()
else:
@@ -644,12 +644,12 @@ class Task:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.BOOL:
- self.done = iprot.readBool()
+ self.done = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.BOOL:
- self.started = iprot.readBool()
+ self.started = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -778,12 +778,12 @@ class Stage:
break
if fid == 1:
if ftype == TType.STRING:
- self.stageId = iprot.readString()
+ self.stageId = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.stageType = iprot.readI32()
+ self.stageType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -791,8 +791,8 @@ class Stage:
self.stageAttributes = {}
(_ktype65, _vtype66, _size64 ) = iprot.readMapBegin()
for _i68 in xrange(_size64):
- _key69 = iprot.readString()
- _val70 = iprot.readString()
+ _key69 = iprot.readString();
+ _val70 = iprot.readString();
self.stageAttributes[_key69] = _val70
iprot.readMapEnd()
else:
@@ -802,8 +802,8 @@ class Stage:
self.stageCounters = {}
(_ktype72, _vtype73, _size71 ) = iprot.readMapBegin()
for _i75 in xrange(_size71):
- _key76 = iprot.readString()
- _val77 = iprot.readI64()
+ _key76 = iprot.readString();
+ _val77 = iprot.readI64();
self.stageCounters[_key76] = _val77
iprot.readMapEnd()
else:
@@ -821,12 +821,12 @@ class Stage:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.BOOL:
- self.done = iprot.readBool()
+ self.done = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.BOOL:
- self.started = iprot.readBool()
+ self.started = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -953,12 +953,12 @@ class Query:
break
if fid == 1:
if ftype == TType.STRING:
- self.queryId = iprot.readString()
+ self.queryId = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.queryType = iprot.readString()
+ self.queryType = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -966,8 +966,8 @@ class Query:
self.queryAttributes = {}
(_ktype90, _vtype91, _size89 ) = iprot.readMapBegin()
for _i93 in xrange(_size89):
- _key94 = iprot.readString()
- _val95 = iprot.readString()
+ _key94 = iprot.readString();
+ _val95 = iprot.readString();
self.queryAttributes[_key94] = _val95
iprot.readMapEnd()
else:
@@ -977,8 +977,8 @@ class Query:
self.queryCounters = {}
(_ktype97, _vtype98, _size96 ) = iprot.readMapBegin()
for _i100 in xrange(_size96):
- _key101 = iprot.readString()
- _val102 = iprot.readI64()
+ _key101 = iprot.readString();
+ _val102 = iprot.readI64();
self.queryCounters[_key101] = _val102
iprot.readMapEnd()
else:
@@ -1002,12 +1002,12 @@ class Query:
iprot.skip(ftype)
elif fid == 7:
if ftype == TType.BOOL:
- self.done = iprot.readBool()
+ self.done = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 8:
if ftype == TType.BOOL:
- self.started = iprot.readBool()
+ self.started = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -1135,12 +1135,12 @@ class QueryPlan:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BOOL:
- self.done = iprot.readBool()
+ self.done = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.BOOL:
- self.started = iprot.readBool()
+ self.started = iprot.readBool();
else:
iprot.skip(ftype)
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-rb/queryplan_constants.rb
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-rb/queryplan_constants.rb b/ql/src/gen/thrift/gen-rb/queryplan_constants.rb
index e61608b..428185e 100644
--- a/ql/src/gen/thrift/gen-rb/queryplan_constants.rb
+++ b/ql/src/gen/thrift/gen-rb/queryplan_constants.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/gen/thrift/gen-rb/queryplan_types.rb
----------------------------------------------------------------------
diff --git a/ql/src/gen/thrift/gen-rb/queryplan_types.rb b/ql/src/gen/thrift/gen-rb/queryplan_types.rb
index f8b4034..1a22f07 100644
--- a/ql/src/gen/thrift/gen-rb/queryplan_types.rb
+++ b/ql/src/gen/thrift/gen-rb/queryplan_types.rb
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
index 29df4f9..dca1198 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
@@ -2373,6 +2373,30 @@ private void constructOneLBLocationMap(FileStatus fSta,
return hasUnknownParts;
}
+ /**
+ * Get a number of Partitions by filter.
+ * @param tbl The table containing the partitions.
+ * @param filter A string represent partition predicates.
+ * @return the number of partitions satisfying the partition predicates.
+ * @throws HiveException
+ * @throws MetaException
+ * @throws NoSuchObjectException
+ * @throws TException
+ */
+ public int getNumPartitionsByFilter(Table tbl, String filter)
+ throws HiveException, MetaException, NoSuchObjectException, TException {
+
+ if (!tbl.isPartitioned()) {
+ throw new HiveException("Partition spec should only be supplied for a " +
+ "partitioned table");
+ }
+
+ int numParts = getMSC().getNumPartitionsByFilter(
+ tbl.getDbName(), tbl.getTableName(), filter);
+
+ return numParts;
+ }
+
public void validatePartitionNameCharacters(List<String> partVals) throws HiveException {
try {
getMSC().validatePartitionNameCharacters(partVals);
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/complex_constants.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/complex_constants.cpp b/serde/src/gen/thrift/gen-cpp/complex_constants.cpp
index a6df39c..aa146c6 100644
--- a/serde/src/gen/thrift/gen-cpp/complex_constants.cpp
+++ b/serde/src/gen/thrift/gen-cpp/complex_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/complex_constants.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/complex_constants.h b/serde/src/gen/thrift/gen-cpp/complex_constants.h
index ee0bdca..971cd2c 100644
--- a/serde/src/gen/thrift/gen-cpp/complex_constants.h
+++ b/serde/src/gen/thrift/gen-cpp/complex_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/complex_types.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/complex_types.cpp b/serde/src/gen/thrift/gen-cpp/complex_types.cpp
index 36c1514..fb6fe25 100644
--- a/serde/src/gen/thrift/gen-cpp/complex_types.cpp
+++ b/serde/src/gen/thrift/gen-cpp/complex_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -51,9 +51,11 @@ void PropValueUnion::__set_unionMStringString(const std::map<std::string, std::s
this->unionMStringString = val;
}
+const char* PropValueUnion::ascii_fingerprint = "123CD9D82D5B5054B5054EFD63FC8590";
+const uint8_t PropValueUnion::binary_fingerprint[16] = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90};
+
uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -169,7 +171,7 @@ uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("PropValueUnion");
if (this->__isset.intValue) {
@@ -224,6 +226,7 @@ uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) con
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -260,17 +263,18 @@ PropValueUnion& PropValueUnion::operator=(const PropValueUnion& other15) {
__isset = other15.__isset;
return *this;
}
-void PropValueUnion::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj) {
+ using apache::thrift::to_string;
out << "PropValueUnion(";
- out << "intValue="; (__isset.intValue ? (out << to_string(intValue)) : (out << "<null>"));
- out << ", " << "longValue="; (__isset.longValue ? (out << to_string(longValue)) : (out << "<null>"));
- out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "<null>"));
- out << ", " << "doubleValue="; (__isset.doubleValue ? (out << to_string(doubleValue)) : (out << "<null>"));
- out << ", " << "flag="; (__isset.flag ? (out << to_string(flag)) : (out << "<null>"));
- out << ", " << "lString=" << to_string(lString);
- out << ", " << "unionMStringString=" << to_string(unionMStringString);
+ out << "intValue="; (obj.__isset.intValue ? (out << to_string(obj.intValue)) : (out << "<null>"));
+ out << ", " << "longValue="; (obj.__isset.longValue ? (out << to_string(obj.longValue)) : (out << "<null>"));
+ out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "<null>"));
+ out << ", " << "doubleValue="; (obj.__isset.doubleValue ? (out << to_string(obj.doubleValue)) : (out << "<null>"));
+ out << ", " << "flag="; (obj.__isset.flag ? (out << to_string(obj.flag)) : (out << "<null>"));
+ out << ", " << "lString=" << to_string(obj.lString);
+ out << ", " << "unionMStringString=" << to_string(obj.unionMStringString);
out << ")";
+ return out;
}
@@ -290,9 +294,11 @@ void IntString::__set_underscore_int(const int32_t val) {
this->underscore_int = val;
}
+const char* IntString::ascii_fingerprint = "52C6DAB6CF51AF617111F6D3964C6503";
+const uint8_t IntString::binary_fingerprint[16] = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03};
+
uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -349,7 +355,7 @@ uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("IntString");
xfer += oprot->writeFieldBegin("myint", ::apache::thrift::protocol::T_I32, 1);
@@ -366,6 +372,7 @@ uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -390,13 +397,14 @@ IntString& IntString::operator=(const IntString& other17) {
__isset = other17.__isset;
return *this;
}
-void IntString::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const IntString& obj) {
+ using apache::thrift::to_string;
out << "IntString(";
- out << "myint=" << to_string(myint);
- out << ", " << "myString=" << to_string(myString);
- out << ", " << "underscore_int=" << to_string(underscore_int);
+ out << "myint=" << to_string(obj.myint);
+ out << ", " << "myString=" << to_string(obj.myString);
+ out << ", " << "underscore_int=" << to_string(obj.underscore_int);
out << ")";
+ return out;
}
@@ -444,9 +452,11 @@ void Complex::__set_unionField3(const PropValueUnion& val) {
this->unionField3 = val;
}
+const char* Complex::ascii_fingerprint = "FFA84FEA7037F5858F2BFEDA73AD679A";
+const uint8_t Complex::binary_fingerprint[16] = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A};
+
uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -655,7 +665,7 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("Complex");
xfer += oprot->writeFieldBegin("aint", ::apache::thrift::protocol::T_I32, 1);
@@ -760,6 +770,7 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -805,20 +816,21 @@ Complex& Complex::operator=(const Complex& other69) {
__isset = other69.__isset;
return *this;
}
-void Complex::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const Complex& obj) {
+ using apache::thrift::to_string;
out << "Complex(";
- out << "aint=" << to_string(aint);
- out << ", " << "aString=" << to_string(aString);
- out << ", " << "lint=" << to_string(lint);
- out << ", " << "lString=" << to_string(lString);
- out << ", " << "lintString=" << to_string(lintString);
- out << ", " << "mStringString=" << to_string(mStringString);
- out << ", " << "attributes=" << to_string(attributes);
- out << ", " << "unionField1=" << to_string(unionField1);
- out << ", " << "unionField2=" << to_string(unionField2);
- out << ", " << "unionField3=" << to_string(unionField3);
+ out << "aint=" << to_string(obj.aint);
+ out << ", " << "aString=" << to_string(obj.aString);
+ out << ", " << "lint=" << to_string(obj.lint);
+ out << ", " << "lString=" << to_string(obj.lString);
+ out << ", " << "lintString=" << to_string(obj.lintString);
+ out << ", " << "mStringString=" << to_string(obj.mStringString);
+ out << ", " << "attributes=" << to_string(obj.attributes);
+ out << ", " << "unionField1=" << to_string(obj.unionField1);
+ out << ", " << "unionField2=" << to_string(obj.unionField2);
+ out << ", " << "unionField3=" << to_string(obj.unionField3);
out << ")";
+ return out;
}
@@ -834,9 +846,11 @@ void SetIntString::__set_aString(const std::string& val) {
this->aString = val;
}
+const char* SetIntString::ascii_fingerprint = "842B41C940D05DFB16183142A90DFC54";
+const uint8_t SetIntString::binary_fingerprint[16] = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54};
+
uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -898,7 +912,7 @@ uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("SetIntString");
xfer += oprot->writeFieldBegin("sIntString", ::apache::thrift::protocol::T_SET, 1);
@@ -919,6 +933,7 @@ uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -940,12 +955,13 @@ SetIntString& SetIntString::operator=(const SetIntString& other78) {
__isset = other78.__isset;
return *this;
}
-void SetIntString::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const SetIntString& obj) {
+ using apache::thrift::to_string;
out << "SetIntString(";
- out << "sIntString=" << to_string(sIntString);
- out << ", " << "aString=" << to_string(aString);
+ out << "sIntString=" << to_string(obj.sIntString);
+ out << ", " << "aString=" << to_string(obj.aString);
out << ")";
+ return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/complex_types.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/complex_types.h b/serde/src/gen/thrift/gen-cpp/complex_types.h
index 38fa559..2637720 100644
--- a/serde/src/gen/thrift/gen-cpp/complex_types.h
+++ b/serde/src/gen/thrift/gen-cpp/complex_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -41,6 +41,9 @@ typedef struct _PropValueUnion__isset {
class PropValueUnion {
public:
+ static const char* ascii_fingerprint; // = "123CD9D82D5B5054B5054EFD63FC8590";
+ static const uint8_t binary_fingerprint[16]; // = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90};
+
PropValueUnion(const PropValueUnion&);
PropValueUnion& operator=(const PropValueUnion&);
PropValueUnion() : intValue(0), longValue(0), stringValue(), doubleValue(0), flag(0) {
@@ -108,17 +111,11 @@ class PropValueUnion {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj);
};
void swap(PropValueUnion &a, PropValueUnion &b);
-inline std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _IntString__isset {
_IntString__isset() : myint(false), myString(false), underscore_int(false) {}
bool myint :1;
@@ -129,6 +126,9 @@ typedef struct _IntString__isset {
class IntString {
public:
+ static const char* ascii_fingerprint; // = "52C6DAB6CF51AF617111F6D3964C6503";
+ static const uint8_t binary_fingerprint[16]; // = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03};
+
IntString(const IntString&);
IntString& operator=(const IntString&);
IntString() : myint(0), myString(), underscore_int(0) {
@@ -166,17 +166,11 @@ class IntString {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const IntString& obj);
};
void swap(IntString &a, IntString &b);
-inline std::ostream& operator<<(std::ostream& out, const IntString& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _Complex__isset {
_Complex__isset() : aint(false), aString(false), lint(false), lString(false), lintString(false), mStringString(false), attributes(false), unionField1(false), unionField2(false), unionField3(false) {}
bool aint :1;
@@ -194,6 +188,9 @@ typedef struct _Complex__isset {
class Complex {
public:
+ static const char* ascii_fingerprint; // = "FFA84FEA7037F5858F2BFEDA73AD679A";
+ static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A};
+
Complex(const Complex&);
Complex& operator=(const Complex&);
Complex() : aint(0), aString() {
@@ -266,17 +263,11 @@ class Complex {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const Complex& obj);
};
void swap(Complex &a, Complex &b);
-inline std::ostream& operator<<(std::ostream& out, const Complex& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _SetIntString__isset {
_SetIntString__isset() : sIntString(false), aString(false) {}
bool sIntString :1;
@@ -286,6 +277,9 @@ typedef struct _SetIntString__isset {
class SetIntString {
public:
+ static const char* ascii_fingerprint; // = "842B41C940D05DFB16183142A90DFC54";
+ static const uint8_t binary_fingerprint[16]; // = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54};
+
SetIntString(const SetIntString&);
SetIntString& operator=(const SetIntString&);
SetIntString() : aString() {
@@ -318,17 +312,11 @@ class SetIntString {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const SetIntString& obj);
};
void swap(SetIntString &a, SetIntString &b);
-inline std::ostream& operator<<(std::ostream& out, const SetIntString& obj)
-{
- obj.printTo(out);
- return out;
-}
-
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp b/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp
index c3e3794..9a18a48 100644
--- a/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp
+++ b/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/megastruct_constants.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_constants.h b/serde/src/gen/thrift/gen-cpp/megastruct_constants.h
index e08f8a3..1b0558f 100644
--- a/serde/src/gen/thrift/gen-cpp/megastruct_constants.h
+++ b/serde/src/gen/thrift/gen-cpp/megastruct_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp b/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp
index 42f7e31..6123f7d 100644
--- a/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp
+++ b/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -38,9 +38,11 @@ void MiniStruct::__set_my_enum(const MyEnum::type val) {
__isset.my_enum = true;
}
+const char* MiniStruct::ascii_fingerprint = "4ED2B10931906B61ED0B1592EE860A37";
+const uint8_t MiniStruct::binary_fingerprint[16] = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37};
+
uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -91,7 +93,7 @@ uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("MiniStruct");
if (this->__isset.my_string) {
@@ -106,6 +108,7 @@ uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -127,12 +130,13 @@ MiniStruct& MiniStruct::operator=(const MiniStruct& other2) {
__isset = other2.__isset;
return *this;
}
-void MiniStruct::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const MiniStruct& obj) {
+ using apache::thrift::to_string;
out << "MiniStruct(";
- out << "my_string="; (__isset.my_string ? (out << to_string(my_string)) : (out << "<null>"));
- out << ", " << "my_enum="; (__isset.my_enum ? (out << to_string(my_enum)) : (out << "<null>"));
+ out << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "<null>"));
+ out << ", " << "my_enum="; (obj.__isset.my_enum ? (out << to_string(obj.my_enum)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -240,9 +244,11 @@ void MegaStruct::__set_my_structset(const std::set<MiniStruct> & val) {
__isset.my_structset = true;
}
+const char* MegaStruct::ascii_fingerprint = "9979EEF0CA19988228E64220A3AA9120";
+const uint8_t MegaStruct::binary_fingerprint[16] = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20};
+
uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -638,7 +644,7 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("MegaStruct");
if (this->__isset.my_bool) {
@@ -861,6 +867,7 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -936,30 +943,31 @@ MegaStruct& MegaStruct::operator=(const MegaStruct& other110) {
__isset = other110.__isset;
return *this;
}
-void MegaStruct::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const MegaStruct& obj) {
+ using apache::thrift::to_string;
out << "MegaStruct(";
- out << "my_bool="; (__isset.my_bool ? (out << to_string(my_bool)) : (out << "<null>"));
- out << ", " << "my_byte="; (__isset.my_byte ? (out << to_string(my_byte)) : (out << "<null>"));
- out << ", " << "my_16bit_int="; (__isset.my_16bit_int ? (out << to_string(my_16bit_int)) : (out << "<null>"));
- out << ", " << "my_32bit_int="; (__isset.my_32bit_int ? (out << to_string(my_32bit_int)) : (out << "<null>"));
- out << ", " << "my_64bit_int="; (__isset.my_64bit_int ? (out << to_string(my_64bit_int)) : (out << "<null>"));
- out << ", " << "my_double="; (__isset.my_double ? (out << to_string(my_double)) : (out << "<null>"));
- out << ", " << "my_string="; (__isset.my_string ? (out << to_string(my_string)) : (out << "<null>"));
- out << ", " << "my_binary="; (__isset.my_binary ? (out << to_string(my_binary)) : (out << "<null>"));
- out << ", " << "my_string_string_map="; (__isset.my_string_string_map ? (out << to_string(my_string_string_map)) : (out << "<null>"));
- out << ", " << "my_string_enum_map="; (__isset.my_string_enum_map ? (out << to_string(my_string_enum_map)) : (out << "<null>"));
- out << ", " << "my_enum_string_map="; (__isset.my_enum_string_map ? (out << to_string(my_enum_string_map)) : (out << "<null>"));
- out << ", " << "my_enum_struct_map="; (__isset.my_enum_struct_map ? (out << to_string(my_enum_struct_map)) : (out << "<null>"));
- out << ", " << "my_enum_stringlist_map="; (__isset.my_enum_stringlist_map ? (out << to_string(my_enum_stringlist_map)) : (out << "<null>"));
- out << ", " << "my_enum_structlist_map="; (__isset.my_enum_structlist_map ? (out << to_string(my_enum_structlist_map)) : (out << "<null>"));
- out << ", " << "my_stringlist="; (__isset.my_stringlist ? (out << to_string(my_stringlist)) : (out << "<null>"));
- out << ", " << "my_structlist="; (__isset.my_structlist ? (out << to_string(my_structlist)) : (out << "<null>"));
- out << ", " << "my_enumlist="; (__isset.my_enumlist ? (out << to_string(my_enumlist)) : (out << "<null>"));
- out << ", " << "my_stringset="; (__isset.my_stringset ? (out << to_string(my_stringset)) : (out << "<null>"));
- out << ", " << "my_enumset="; (__isset.my_enumset ? (out << to_string(my_enumset)) : (out << "<null>"));
- out << ", " << "my_structset="; (__isset.my_structset ? (out << to_string(my_structset)) : (out << "<null>"));
+ out << "my_bool="; (obj.__isset.my_bool ? (out << to_string(obj.my_bool)) : (out << "<null>"));
+ out << ", " << "my_byte="; (obj.__isset.my_byte ? (out << to_string(obj.my_byte)) : (out << "<null>"));
+ out << ", " << "my_16bit_int="; (obj.__isset.my_16bit_int ? (out << to_string(obj.my_16bit_int)) : (out << "<null>"));
+ out << ", " << "my_32bit_int="; (obj.__isset.my_32bit_int ? (out << to_string(obj.my_32bit_int)) : (out << "<null>"));
+ out << ", " << "my_64bit_int="; (obj.__isset.my_64bit_int ? (out << to_string(obj.my_64bit_int)) : (out << "<null>"));
+ out << ", " << "my_double="; (obj.__isset.my_double ? (out << to_string(obj.my_double)) : (out << "<null>"));
+ out << ", " << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "<null>"));
+ out << ", " << "my_binary="; (obj.__isset.my_binary ? (out << to_string(obj.my_binary)) : (out << "<null>"));
+ out << ", " << "my_string_string_map="; (obj.__isset.my_string_string_map ? (out << to_string(obj.my_string_string_map)) : (out << "<null>"));
+ out << ", " << "my_string_enum_map="; (obj.__isset.my_string_enum_map ? (out << to_string(obj.my_string_enum_map)) : (out << "<null>"));
+ out << ", " << "my_enum_string_map="; (obj.__isset.my_enum_string_map ? (out << to_string(obj.my_enum_string_map)) : (out << "<null>"));
+ out << ", " << "my_enum_struct_map="; (obj.__isset.my_enum_struct_map ? (out << to_string(obj.my_enum_struct_map)) : (out << "<null>"));
+ out << ", " << "my_enum_stringlist_map="; (obj.__isset.my_enum_stringlist_map ? (out << to_string(obj.my_enum_stringlist_map)) : (out << "<null>"));
+ out << ", " << "my_enum_structlist_map="; (obj.__isset.my_enum_structlist_map ? (out << to_string(obj.my_enum_structlist_map)) : (out << "<null>"));
+ out << ", " << "my_stringlist="; (obj.__isset.my_stringlist ? (out << to_string(obj.my_stringlist)) : (out << "<null>"));
+ out << ", " << "my_structlist="; (obj.__isset.my_structlist ? (out << to_string(obj.my_structlist)) : (out << "<null>"));
+ out << ", " << "my_enumlist="; (obj.__isset.my_enumlist ? (out << to_string(obj.my_enumlist)) : (out << "<null>"));
+ out << ", " << "my_stringset="; (obj.__isset.my_stringset ? (out << to_string(obj.my_stringset)) : (out << "<null>"));
+ out << ", " << "my_enumset="; (obj.__isset.my_enumset ? (out << to_string(obj.my_enumset)) : (out << "<null>"));
+ out << ", " << "my_structset="; (obj.__isset.my_structset ? (out << to_string(obj.my_structset)) : (out << "<null>"));
out << ")";
+ return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/megastruct_types.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_types.h b/serde/src/gen/thrift/gen-cpp/megastruct_types.h
index d04a814..e4985dc 100644
--- a/serde/src/gen/thrift/gen-cpp/megastruct_types.h
+++ b/serde/src/gen/thrift/gen-cpp/megastruct_types.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -41,6 +41,9 @@ typedef struct _MiniStruct__isset {
class MiniStruct {
public:
+ static const char* ascii_fingerprint; // = "4ED2B10931906B61ED0B1592EE860A37";
+ static const uint8_t binary_fingerprint[16]; // = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37};
+
MiniStruct(const MiniStruct&);
MiniStruct& operator=(const MiniStruct&);
MiniStruct() : my_string(), my_enum((MyEnum::type)0) {
@@ -77,17 +80,11 @@ class MiniStruct {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const MiniStruct& obj);
};
void swap(MiniStruct &a, MiniStruct &b);
-inline std::ostream& operator<<(std::ostream& out, const MiniStruct& obj)
-{
- obj.printTo(out);
- return out;
-}
-
typedef struct _MegaStruct__isset {
_MegaStruct__isset() : my_bool(false), my_byte(false), my_16bit_int(false), my_32bit_int(false), my_64bit_int(false), my_double(false), my_string(false), my_binary(false), my_string_string_map(false), my_string_enum_map(false), my_enum_string_map(false), my_enum_struct_map(false), my_enum_stringlist_map(false), my_enum_structlist_map(false), my_stringlist(false), my_structlist(false), my_enumlist(false), my_stringset(false), my_enumset(false), my_structset(false) {}
bool my_bool :1;
@@ -115,6 +112,9 @@ typedef struct _MegaStruct__isset {
class MegaStruct {
public:
+ static const char* ascii_fingerprint; // = "9979EEF0CA19988228E64220A3AA9120";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20};
+
MegaStruct(const MegaStruct&);
MegaStruct& operator=(const MegaStruct&);
MegaStruct() : my_bool(0), my_byte(0), my_16bit_int(0), my_32bit_int(0), my_64bit_int(0), my_double(0), my_string(), my_binary() {
@@ -277,17 +277,11 @@ class MegaStruct {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
- virtual void printTo(std::ostream& out) const;
+ friend std::ostream& operator<<(std::ostream& out, const MegaStruct& obj);
};
void swap(MegaStruct &a, MegaStruct &b);
-inline std::ostream& operator<<(std::ostream& out, const MegaStruct& obj)
-{
- obj.printTo(out);
- return out;
-}
-
#endif
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
index 243d3b8..d5d6999 100644
--- a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
+++ b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/serde/src/gen/thrift/gen-cpp/serde_constants.h
----------------------------------------------------------------------
diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.h b/serde/src/gen/thrift/gen-cpp/serde_constants.h
index 3566ead..cd48926 100644
--- a/serde/src/gen/thrift/gen-cpp/serde_constants.h
+++ b/serde/src/gen/thrift/gen-cpp/serde_constants.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[02/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
index d1d86fe..fc5f458 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandle, TOperationHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TOperationHandle> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOperationHandle");
@@ -333,10 +333,10 @@ public class TOperationHandle implements org.apache.thrift.TBase<TOperationHandl
return getOperationType();
case HAS_RESULT_SET:
- return isHasResultSet();
+ return Boolean.valueOf(isHasResultSet());
case MODIFIED_ROW_COUNT:
- return getModifiedRowCount();
+ return Double.valueOf(getModifiedRowCount());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
index fe029ef..2dfde1c 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
index f105259..6927740 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
index 38a5be3..fe2ad7e 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TPrimitiveTypeEntry implements org.apache.thrift.TBase<TPrimitiveTypeEntry, TPrimitiveTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TPrimitiveTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPrimitiveTypeEntry");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
index c936ada..6e714c6 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
index e74bb29..0a8d6e1 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TRenewDelegationTokenReq implements org.apache.thrift.TBase<TRenewDelegationTokenReq, TRenewDelegationTokenReq._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenReq> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenReq");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
index 63633e3..4a5b522 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TRenewDelegationTokenResp implements org.apache.thrift.TBase<TRenewDelegationTokenResp, TRenewDelegationTokenResp._Fields>, java.io.Serializable, Cloneable, Comparable<TRenewDelegationTokenResp> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenResp");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
index 28c34cd..8153fb4 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TRow implements org.apache.thrift.TBase<TRow, TRow._Fields>, java.io.Serializable, Cloneable, Comparable<TRow> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRow");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
index 9b9b2ac..f0dd60f 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields>, java.io.Serializable, Cloneable, Comparable<TRowSet> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowSet");
@@ -312,7 +312,7 @@ public class TRowSet implements org.apache.thrift.TBase<TRowSet, TRowSet._Fields
public Object getFieldValue(_Fields field) {
switch (field) {
case START_ROW_OFFSET:
- return getStartRowOffset();
+ return Long.valueOf(getStartRowOffset());
case ROWS:
return getRows();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
index aeff2b6..09161e5 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TSessionHandle implements org.apache.thrift.TBase<TSessionHandle, TSessionHandle._Fields>, java.io.Serializable, Cloneable, Comparable<TSessionHandle> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TSessionHandle");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
index ccf281a..2fd1ac1 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields>, java.io.Serializable, Cloneable, Comparable<TStatus> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStatus");
@@ -391,7 +391,7 @@ public class TStatus implements org.apache.thrift.TBase<TStatus, TStatus._Fields
return getSqlState();
case ERROR_CODE:
- return getErrorCode();
+ return Integer.valueOf(getErrorCode());
case ERROR_MESSAGE:
return getErrorMessage();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
index 8900d4c..91d1a97 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
index 7c15ec1..ed33013 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TStringColumn implements org.apache.thrift.TBase<TStringColumn, TStringColumn._Fields>, java.io.Serializable, Cloneable, Comparable<TStringColumn> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringColumn");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
index 96e9be0..302b552 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TStringValue implements org.apache.thrift.TBase<TStringValue, TStringValue._Fields>, java.io.Serializable, Cloneable, Comparable<TStringValue> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringValue");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
index c90926a..b25b0e8 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TStructTypeEntry implements org.apache.thrift.TBase<TStructTypeEntry, TStructTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TStructTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStructTypeEntry");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
index 7a38e15..73276cf 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TTableSchema implements org.apache.thrift.TBase<TTableSchema, TTableSchema._Fields>, java.io.Serializable, Cloneable, Comparable<TTableSchema> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableSchema");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
index e187da2..d84b6a9 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TTypeDesc implements org.apache.thrift.TBase<TTypeDesc, TTypeDesc._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeDesc> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeDesc");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
index a53eaa2..203d3b9 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
index 379bc92..e6f2336 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
index cc786b2..54df6dc 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
index ac97b7f..80be0a4 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TTypeQualifiers implements org.apache.thrift.TBase<TTypeQualifiers, TTypeQualifiers._Fields>, java.io.Serializable, Cloneable, Comparable<TTypeQualifiers> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifiers");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
index 0c7120d..49f7388 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TUnionTypeEntry implements org.apache.thrift.TBase<TUnionTypeEntry, TUnionTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUnionTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUnionTypeEntry");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
index 4ae9505..6bc7a6f 100644
--- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
+++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TUserDefinedTypeEntry implements org.apache.thrift.TBase<TUserDefinedTypeEntry, TUserDefinedTypeEntry._Fields>, java.io.Serializable, Cloneable, Comparable<TUserDefinedTypeEntry> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUserDefinedTypeEntry");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-php/TCLIService.php
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-php/TCLIService.php b/service/src/gen/thrift/gen-php/TCLIService.php
index eba62f1..f5dd904 100644
--- a/service/src/gen/thrift/gen-php/TCLIService.php
+++ b/service/src/gen/thrift/gen-php/TCLIService.php
@@ -1,6 +1,7 @@
<?php
+namespace ;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-php/ThriftHive.php
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-php/ThriftHive.php b/service/src/gen/thrift/gen-php/ThriftHive.php
index 23dc8fd..2c783b6 100644
--- a/service/src/gen/thrift/gen-php/ThriftHive.php
+++ b/service/src/gen/thrift/gen-php/ThriftHive.php
@@ -1,6 +1,7 @@
<?php
+namespace ;
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-php/Types.php
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-php/Types.php b/service/src/gen/thrift/gen-php/Types.php
index cbf4c29..d8f3c5b 100644
--- a/service/src/gen/thrift/gen-php/Types.php
+++ b/service/src/gen/thrift/gen-php/Types.php
@@ -1,6 +1,8 @@
<?php
+namespace ;
+
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
index 56f5c5d..2bfca56 100755
--- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
+++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
index ad2d71d..0067195 100644
--- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
+++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -7,7 +7,6 @@
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
-import logging
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
@@ -189,7 +188,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result");
def CloseSession(self, req):
"""
@@ -220,7 +219,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result");
def GetInfo(self, req):
"""
@@ -251,7 +250,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result");
def ExecuteStatement(self, req):
"""
@@ -282,7 +281,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result");
def GetTypeInfo(self, req):
"""
@@ -313,7 +312,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result");
def GetCatalogs(self, req):
"""
@@ -344,7 +343,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result");
def GetSchemas(self, req):
"""
@@ -375,7 +374,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result");
def GetTables(self, req):
"""
@@ -406,7 +405,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result");
def GetTableTypes(self, req):
"""
@@ -437,7 +436,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result");
def GetColumns(self, req):
"""
@@ -468,7 +467,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result");
def GetFunctions(self, req):
"""
@@ -499,7 +498,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result");
def GetOperationStatus(self, req):
"""
@@ -530,7 +529,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result");
def CancelOperation(self, req):
"""
@@ -561,7 +560,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result");
def CloseOperation(self, req):
"""
@@ -592,7 +591,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result");
def GetResultSetMetadata(self, req):
"""
@@ -623,7 +622,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result");
def FetchResults(self, req):
"""
@@ -654,7 +653,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result");
def GetDelegationToken(self, req):
"""
@@ -685,7 +684,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result");
def CancelDelegationToken(self, req):
"""
@@ -716,7 +715,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result");
def RenewDelegationToken(self, req):
"""
@@ -747,7 +746,7 @@ class Client(Iface):
iprot.readMessageEnd()
if result.success is not None:
return result.success
- raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result")
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result");
class Processor(Iface, TProcessor):
@@ -794,16 +793,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = OpenSession_result()
- try:
- result.success = self._handler.OpenSession(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("OpenSession", msg_type, seqid)
+ result.success = self._handler.OpenSession(args.req)
+ oprot.writeMessageBegin("OpenSession", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -813,16 +804,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CloseSession_result()
- try:
- result.success = self._handler.CloseSession(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("CloseSession", msg_type, seqid)
+ result.success = self._handler.CloseSession(args.req)
+ oprot.writeMessageBegin("CloseSession", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -832,16 +815,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetInfo_result()
- try:
- result.success = self._handler.GetInfo(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetInfo", msg_type, seqid)
+ result.success = self._handler.GetInfo(args.req)
+ oprot.writeMessageBegin("GetInfo", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -851,16 +826,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = ExecuteStatement_result()
- try:
- result.success = self._handler.ExecuteStatement(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("ExecuteStatement", msg_type, seqid)
+ result.success = self._handler.ExecuteStatement(args.req)
+ oprot.writeMessageBegin("ExecuteStatement", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -870,16 +837,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTypeInfo_result()
- try:
- result.success = self._handler.GetTypeInfo(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetTypeInfo", msg_type, seqid)
+ result.success = self._handler.GetTypeInfo(args.req)
+ oprot.writeMessageBegin("GetTypeInfo", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -889,16 +848,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetCatalogs_result()
- try:
- result.success = self._handler.GetCatalogs(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetCatalogs", msg_type, seqid)
+ result.success = self._handler.GetCatalogs(args.req)
+ oprot.writeMessageBegin("GetCatalogs", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -908,16 +859,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetSchemas_result()
- try:
- result.success = self._handler.GetSchemas(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetSchemas", msg_type, seqid)
+ result.success = self._handler.GetSchemas(args.req)
+ oprot.writeMessageBegin("GetSchemas", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -927,16 +870,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTables_result()
- try:
- result.success = self._handler.GetTables(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetTables", msg_type, seqid)
+ result.success = self._handler.GetTables(args.req)
+ oprot.writeMessageBegin("GetTables", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -946,16 +881,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTableTypes_result()
- try:
- result.success = self._handler.GetTableTypes(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetTableTypes", msg_type, seqid)
+ result.success = self._handler.GetTableTypes(args.req)
+ oprot.writeMessageBegin("GetTableTypes", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -965,16 +892,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetColumns_result()
- try:
- result.success = self._handler.GetColumns(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetColumns", msg_type, seqid)
+ result.success = self._handler.GetColumns(args.req)
+ oprot.writeMessageBegin("GetColumns", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -984,16 +903,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetFunctions_result()
- try:
- result.success = self._handler.GetFunctions(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetFunctions", msg_type, seqid)
+ result.success = self._handler.GetFunctions(args.req)
+ oprot.writeMessageBegin("GetFunctions", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1003,16 +914,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetOperationStatus_result()
- try:
- result.success = self._handler.GetOperationStatus(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetOperationStatus", msg_type, seqid)
+ result.success = self._handler.GetOperationStatus(args.req)
+ oprot.writeMessageBegin("GetOperationStatus", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1022,16 +925,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CancelOperation_result()
- try:
- result.success = self._handler.CancelOperation(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("CancelOperation", msg_type, seqid)
+ result.success = self._handler.CancelOperation(args.req)
+ oprot.writeMessageBegin("CancelOperation", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1041,16 +936,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CloseOperation_result()
- try:
- result.success = self._handler.CloseOperation(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("CloseOperation", msg_type, seqid)
+ result.success = self._handler.CloseOperation(args.req)
+ oprot.writeMessageBegin("CloseOperation", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1060,16 +947,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetResultSetMetadata_result()
- try:
- result.success = self._handler.GetResultSetMetadata(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetResultSetMetadata", msg_type, seqid)
+ result.success = self._handler.GetResultSetMetadata(args.req)
+ oprot.writeMessageBegin("GetResultSetMetadata", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1079,16 +958,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = FetchResults_result()
- try:
- result.success = self._handler.FetchResults(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("FetchResults", msg_type, seqid)
+ result.success = self._handler.FetchResults(args.req)
+ oprot.writeMessageBegin("FetchResults", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1098,16 +969,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetDelegationToken_result()
- try:
- result.success = self._handler.GetDelegationToken(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("GetDelegationToken", msg_type, seqid)
+ result.success = self._handler.GetDelegationToken(args.req)
+ oprot.writeMessageBegin("GetDelegationToken", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1117,16 +980,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CancelDelegationToken_result()
- try:
- result.success = self._handler.CancelDelegationToken(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("CancelDelegationToken", msg_type, seqid)
+ result.success = self._handler.CancelDelegationToken(args.req)
+ oprot.writeMessageBegin("CancelDelegationToken", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -1136,16 +991,8 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = RenewDelegationToken_result()
- try:
- result.success = self._handler.RenewDelegationToken(args.req)
- msg_type = TMessageType.REPLY
- except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
- raise
- except Exception as ex:
- msg_type = TMessageType.EXCEPTION
- logging.exception(ex)
- result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
- oprot.writeMessageBegin("RenewDelegationToken", msg_type, seqid)
+ result.success = self._handler.RenewDelegationToken(args.req)
+ oprot.writeMessageBegin("RenewDelegationToken", TMessageType.REPLY, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/TCLIService/constants.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/TCLIService/constants.py b/service/src/gen/thrift/gen-py/TCLIService/constants.py
index c8d4f8f..9fb1a86 100644
--- a/service/src/gen/thrift/gen-py/TCLIService/constants.py
+++ b/service/src/gen/thrift/gen-py/TCLIService/constants.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
index ef5f5f5..efee8ef 100644
--- a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
+++ b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
@@ -1,5 +1,5 @@
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -416,12 +416,12 @@ class TTypeQualifierValue:
break
if fid == 1:
if ftype == TType.I32:
- self.i32Value = iprot.readI32()
+ self.i32Value = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.stringValue = iprot.readString()
+ self.stringValue = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -494,7 +494,7 @@ class TTypeQualifiers:
self.qualifiers = {}
(_ktype1, _vtype2, _size0 ) = iprot.readMapBegin()
for _i4 in xrange(_size0):
- _key5 = iprot.readString()
+ _key5 = iprot.readString();
_val6 = TTypeQualifierValue()
_val6.read(iprot)
self.qualifiers[_key5] = _val6
@@ -572,7 +572,7 @@ class TPrimitiveTypeEntry:
break
if fid == 1:
if ftype == TType.I32:
- self.type = iprot.readI32()
+ self.type = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -650,7 +650,7 @@ class TArrayTypeEntry:
break
if fid == 1:
if ftype == TType.I32:
- self.objectTypePtr = iprot.readI32()
+ self.objectTypePtr = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -720,12 +720,12 @@ class TMapTypeEntry:
break
if fid == 1:
if ftype == TType.I32:
- self.keyTypePtr = iprot.readI32()
+ self.keyTypePtr = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.valueTypePtr = iprot.readI32()
+ self.valueTypePtr = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -802,8 +802,8 @@ class TStructTypeEntry:
self.nameToTypePtr = {}
(_ktype10, _vtype11, _size9 ) = iprot.readMapBegin()
for _i13 in xrange(_size9):
- _key14 = iprot.readString()
- _val15 = iprot.readI32()
+ _key14 = iprot.readString();
+ _val15 = iprot.readI32();
self.nameToTypePtr[_key14] = _val15
iprot.readMapEnd()
else:
@@ -879,8 +879,8 @@ class TUnionTypeEntry:
self.nameToTypePtr = {}
(_ktype19, _vtype20, _size18 ) = iprot.readMapBegin()
for _i22 in xrange(_size18):
- _key23 = iprot.readString()
- _val24 = iprot.readI32()
+ _key23 = iprot.readString();
+ _val24 = iprot.readI32();
self.nameToTypePtr[_key23] = _val24
iprot.readMapEnd()
else:
@@ -953,7 +953,7 @@ class TUserDefinedTypeEntry:
break
if fid == 1:
if ftype == TType.STRING:
- self.typeClassName = iprot.readString()
+ self.typeClassName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -1241,7 +1241,7 @@ class TColumnDesc:
break
if fid == 1:
if ftype == TType.STRING:
- self.columnName = iprot.readString()
+ self.columnName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -1252,12 +1252,12 @@ class TColumnDesc:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.position = iprot.readI32()
+ self.position = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.comment = iprot.readString()
+ self.comment = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -1419,7 +1419,7 @@ class TBoolValue:
break
if fid == 1:
if ftype == TType.BOOL:
- self.value = iprot.readBool()
+ self.value = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -1484,7 +1484,7 @@ class TByteValue:
break
if fid == 1:
if ftype == TType.BYTE:
- self.value = iprot.readByte()
+ self.value = iprot.readByte();
else:
iprot.skip(ftype)
else:
@@ -1549,7 +1549,7 @@ class TI16Value:
break
if fid == 1:
if ftype == TType.I16:
- self.value = iprot.readI16()
+ self.value = iprot.readI16();
else:
iprot.skip(ftype)
else:
@@ -1614,7 +1614,7 @@ class TI32Value:
break
if fid == 1:
if ftype == TType.I32:
- self.value = iprot.readI32()
+ self.value = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -1679,7 +1679,7 @@ class TI64Value:
break
if fid == 1:
if ftype == TType.I64:
- self.value = iprot.readI64()
+ self.value = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -1744,7 +1744,7 @@ class TDoubleValue:
break
if fid == 1:
if ftype == TType.DOUBLE:
- self.value = iprot.readDouble()
+ self.value = iprot.readDouble();
else:
iprot.skip(ftype)
else:
@@ -1809,7 +1809,7 @@ class TStringValue:
break
if fid == 1:
if ftype == TType.STRING:
- self.value = iprot.readString()
+ self.value = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2106,14 +2106,14 @@ class TBoolColumn:
self.values = []
(_etype51, _size48) = iprot.readListBegin()
for _i52 in xrange(_size48):
- _elem53 = iprot.readBool()
+ _elem53 = iprot.readBool();
self.values.append(_elem53)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2196,14 +2196,14 @@ class TByteColumn:
self.values = []
(_etype58, _size55) = iprot.readListBegin()
for _i59 in xrange(_size55):
- _elem60 = iprot.readByte()
+ _elem60 = iprot.readByte();
self.values.append(_elem60)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2286,14 +2286,14 @@ class TI16Column:
self.values = []
(_etype65, _size62) = iprot.readListBegin()
for _i66 in xrange(_size62):
- _elem67 = iprot.readI16()
+ _elem67 = iprot.readI16();
self.values.append(_elem67)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2376,14 +2376,14 @@ class TI32Column:
self.values = []
(_etype72, _size69) = iprot.readListBegin()
for _i73 in xrange(_size69):
- _elem74 = iprot.readI32()
+ _elem74 = iprot.readI32();
self.values.append(_elem74)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2466,14 +2466,14 @@ class TI64Column:
self.values = []
(_etype79, _size76) = iprot.readListBegin()
for _i80 in xrange(_size76):
- _elem81 = iprot.readI64()
+ _elem81 = iprot.readI64();
self.values.append(_elem81)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2556,14 +2556,14 @@ class TDoubleColumn:
self.values = []
(_etype86, _size83) = iprot.readListBegin()
for _i87 in xrange(_size83):
- _elem88 = iprot.readDouble()
+ _elem88 = iprot.readDouble();
self.values.append(_elem88)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2646,14 +2646,14 @@ class TStringColumn:
self.values = []
(_etype93, _size90) = iprot.readListBegin()
for _i94 in xrange(_size90):
- _elem95 = iprot.readString()
+ _elem95 = iprot.readString();
self.values.append(_elem95)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2736,14 +2736,14 @@ class TBinaryColumn:
self.values = []
(_etype100, _size97) = iprot.readListBegin()
for _i101 in xrange(_size97):
- _elem102 = iprot.readString()
+ _elem102 = iprot.readString();
self.values.append(_elem102)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.nulls = iprot.readString()
+ self.nulls = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -2990,7 +2990,7 @@ class TRowSet:
break
if fid == 1:
if ftype == TType.I64:
- self.startRowOffset = iprot.readI64()
+ self.startRowOffset = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -3109,7 +3109,7 @@ class TStatus:
break
if fid == 1:
if ftype == TType.I32:
- self.statusCode = iprot.readI32()
+ self.statusCode = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
@@ -3117,24 +3117,24 @@ class TStatus:
self.infoMessages = []
(_etype121, _size118) = iprot.readListBegin()
for _i122 in xrange(_size118):
- _elem123 = iprot.readString()
+ _elem123 = iprot.readString();
self.infoMessages.append(_elem123)
iprot.readListEnd()
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.sqlState = iprot.readString()
+ self.sqlState = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.errorCode = iprot.readI32()
+ self.errorCode = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.errorMessage = iprot.readString()
+ self.errorMessage = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -3227,12 +3227,12 @@ class THandleIdentifier:
break
if fid == 1:
if ftype == TType.STRING:
- self.guid = iprot.readString()
+ self.guid = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.secret = iprot.readString()
+ self.secret = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -3389,17 +3389,17 @@ class TOperationHandle:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.operationType = iprot.readI32()
+ self.operationType = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.BOOL:
- self.hasResultSet = iprot.readBool()
+ self.hasResultSet = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.DOUBLE:
- self.modifiedRowCount = iprot.readDouble()
+ self.modifiedRowCount = iprot.readDouble();
else:
iprot.skip(ftype)
else:
@@ -3494,17 +3494,17 @@ class TOpenSessionReq:
break
if fid == 1:
if ftype == TType.I32:
- self.client_protocol = iprot.readI32()
+ self.client_protocol = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.username = iprot.readString()
+ self.username = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.password = iprot.readString()
+ self.password = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
@@ -3512,8 +3512,8 @@ class TOpenSessionReq:
self.configuration = {}
(_ktype126, _vtype127, _size125 ) = iprot.readMapBegin()
for _i129 in xrange(_size125):
- _key130 = iprot.readString()
- _val131 = iprot.readString()
+ _key130 = iprot.readString();
+ _val131 = iprot.readString();
self.configuration[_key130] = _val131
iprot.readMapEnd()
else:
@@ -3616,7 +3616,7 @@ class TOpenSessionResp:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.serverProtocolVersion = iprot.readI32()
+ self.serverProtocolVersion = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -3630,8 +3630,8 @@ class TOpenSessionResp:
self.configuration = {}
(_ktype135, _vtype136, _size134 ) = iprot.readMapBegin()
for _i138 in xrange(_size134):
- _key139 = iprot.readString()
- _val140 = iprot.readString()
+ _key139 = iprot.readString();
+ _val140 = iprot.readString();
self.configuration[_key139] = _val140
iprot.readMapEnd()
else:
@@ -3872,32 +3872,32 @@ class TGetInfoValue:
break
if fid == 1:
if ftype == TType.STRING:
- self.stringValue = iprot.readString()
+ self.stringValue = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I16:
- self.smallIntValue = iprot.readI16()
+ self.smallIntValue = iprot.readI16();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I32:
- self.integerBitmask = iprot.readI32()
+ self.integerBitmask = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.integerFlag = iprot.readI32()
+ self.integerFlag = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.I32:
- self.binaryValue = iprot.readI32()
+ self.binaryValue = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 6:
if ftype == TType.I64:
- self.lenValue = iprot.readI64()
+ self.lenValue = iprot.readI64();
else:
iprot.skip(ftype)
else:
@@ -3996,7 +3996,7 @@ class TGetInfoReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.infoType = iprot.readI32()
+ self.infoType = iprot.readI32();
else:
iprot.skip(ftype)
else:
@@ -4169,7 +4169,7 @@ class TExecuteStatementReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.statement = iprot.readString()
+ self.statement = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -4177,15 +4177,15 @@ class TExecuteStatementReq:
self.confOverlay = {}
(_ktype144, _vtype145, _size143 ) = iprot.readMapBegin()
for _i147 in xrange(_size143):
- _key148 = iprot.readString()
- _val149 = iprot.readString()
+ _key148 = iprot.readString();
+ _val149 = iprot.readString();
self.confOverlay[_key148] = _val149
iprot.readMapEnd()
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.BOOL:
- self.runAsync = iprot.readBool()
+ self.runAsync = iprot.readBool();
else:
iprot.skip(ftype)
else:
@@ -4667,12 +4667,12 @@ class TGetSchemasReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.catalogName = iprot.readString()
+ self.catalogName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.schemaName = iprot.readString()
+ self.schemaName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -4849,17 +4849,17 @@ class TGetTablesReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.catalogName = iprot.readString()
+ self.catalogName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.schemaName = iprot.readString()
+ self.schemaName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
@@ -4867,7 +4867,7 @@ class TGetTablesReq:
self.tableTypes = []
(_etype155, _size152) = iprot.readListBegin()
for _i156 in xrange(_size152):
- _elem157 = iprot.readString()
+ _elem157 = iprot.readString();
self.tableTypes.append(_elem157)
iprot.readListEnd()
else:
@@ -5209,22 +5209,22 @@ class TGetColumnsReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.catalogName = iprot.readString()
+ self.catalogName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.schemaName = iprot.readString()
+ self.schemaName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.tableName = iprot.readString()
+ self.tableName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.columnName = iprot.readString()
+ self.columnName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -5408,17 +5408,17 @@ class TGetFunctionsReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.catalogName = iprot.readString()
+ self.catalogName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.schemaName = iprot.readString()
+ self.schemaName = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRING:
- self.functionName = iprot.readString()
+ self.functionName = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -5670,22 +5670,22 @@ class TGetOperationStatusResp:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.operationState = iprot.readI32()
+ self.operationState = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.sqlState = iprot.readString()
+ self.sqlState = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I32:
- self.errorCode = iprot.readI32()
+ self.errorCode = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 5:
if ftype == TType.STRING:
- self.errorMessage = iprot.readString()
+ self.errorMessage = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -6209,17 +6209,17 @@ class TFetchResultsReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.I32:
- self.orientation = iprot.readI32()
+ self.orientation = iprot.readI32();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.I64:
- self.maxRows = iprot.readI64()
+ self.maxRows = iprot.readI64();
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.I16:
- self.fetchType = iprot.readI16()
+ self.fetchType = iprot.readI16();
else:
iprot.skip(ftype)
else:
@@ -6317,7 +6317,7 @@ class TFetchResultsResp:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.BOOL:
- self.hasMoreRows = iprot.readBool()
+ self.hasMoreRows = iprot.readBool();
else:
iprot.skip(ftype)
elif fid == 3:
@@ -6412,12 +6412,12 @@ class TGetDelegationTokenReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.owner = iprot.readString()
+ self.owner = iprot.readString();
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRING:
- self.renewer = iprot.readString()
+ self.renewer = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -6507,7 +6507,7 @@ class TGetDelegationTokenResp:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.delegationToken = iprot.readString()
+ self.delegationToken = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -6588,7 +6588,7 @@ class TCancelDelegationTokenReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.delegationToken = iprot.readString()
+ self.delegationToken = iprot.readString();
else:
iprot.skip(ftype)
else:
@@ -6739,7 +6739,7 @@ class TRenewDelegationTokenReq:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRING:
- self.delegationToken = iprot.readString()
+ self.delegationToken = iprot.readString();
else:
iprot.skip(ftype)
else:
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
index 4bd7a5a..7f63595 100755
--- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
+++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Autogenerated by Thrift Compiler (0.9.3)
+# Autogenerated by Thrift Compiler (0.9.2)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -91,6 +91,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)')
print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)')
print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)')
+ print(' i32 get_num_partitions_by_filter(string db_name, string tbl_name, string filter)')
print(' get_partitions_by_names(string db_name, string tbl_name, names)')
print(' void alter_partition(string db_name, string tbl_name, Partition new_part)')
print(' void alter_partitions(string db_name, string tbl_name, new_parts)')
@@ -636,6 +637,12 @@ elif cmd == 'get_partitions_by_expr':
sys.exit(1)
pp.pprint(client.get_partitions_by_expr(eval(args[0]),))
+elif cmd == 'get_num_partitions_by_filter':
+ if len(args) != 3:
+ print('get_num_partitions_by_filter requires 3 args')
+ sys.exit(1)
+ pp.pprint(client.get_num_partitions_by_filter(args[0],args[1],args[2],))
+
elif cmd == 'get_partitions_by_names':
if len(args) != 3:
print('get_partitions_by_names requires 3 args')
[21/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
index 62a2007..5f790e5 100644
--- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
+++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,17 +8,11 @@
#define ThriftHiveMetastore_H
#include <thrift/TDispatchProcessor.h>
-#include <thrift/async/TConcurrentClientSyncInfo.h>
#include "hive_metastore_types.h"
#include "FacebookService.h"
namespace Apache { namespace Hadoop { namespace Hive {
-#ifdef _WIN32
- #pragma warning( push )
- #pragma warning (disable : 4250 ) //inheriting methods via dominance
-#endif
-
class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookServiceIf {
public:
virtual ~ThriftHiveMetastoreIf() {}
@@ -80,6 +74,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService
virtual void get_partitions_by_filter(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts) = 0;
virtual void get_part_specs_by_filter(std::vector<PartitionSpec> & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts) = 0;
virtual void get_partitions_by_expr(PartitionsByExprResult& _return, const PartitionsByExprRequest& req) = 0;
+ virtual int32_t get_num_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter) = 0;
virtual void get_partitions_by_names(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & names) = 0;
virtual void alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part) = 0;
virtual void alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector<Partition> & new_parts) = 0;
@@ -365,6 +360,10 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p
void get_partitions_by_expr(PartitionsByExprResult& /* _return */, const PartitionsByExprRequest& /* req */) {
return;
}
+ int32_t get_num_partitions_by_filter(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* filter */) {
+ int32_t _return = 0;
+ return _return;
+ }
void get_partitions_by_names(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* names */) {
return;
}
@@ -612,6 +611,9 @@ typedef struct _ThriftHiveMetastore_getMetaConf_args__isset {
class ThriftHiveMetastore_getMetaConf_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_getMetaConf_args(const ThriftHiveMetastore_getMetaConf_args&);
ThriftHiveMetastore_getMetaConf_args& operator=(const ThriftHiveMetastore_getMetaConf_args&);
ThriftHiveMetastore_getMetaConf_args() : key() {
@@ -639,18 +641,23 @@ class ThriftHiveMetastore_getMetaConf_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_args& obj);
};
class ThriftHiveMetastore_getMetaConf_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_getMetaConf_pargs() throw();
const std::string* key;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_pargs& obj);
};
typedef struct _ThriftHiveMetastore_getMetaConf_result__isset {
@@ -662,6 +669,9 @@ typedef struct _ThriftHiveMetastore_getMetaConf_result__isset {
class ThriftHiveMetastore_getMetaConf_result {
public:
+ static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1};
+
ThriftHiveMetastore_getMetaConf_result(const ThriftHiveMetastore_getMetaConf_result&);
ThriftHiveMetastore_getMetaConf_result& operator=(const ThriftHiveMetastore_getMetaConf_result&);
ThriftHiveMetastore_getMetaConf_result() : success() {
@@ -694,6 +704,7 @@ class ThriftHiveMetastore_getMetaConf_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_result& obj);
};
typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset {
@@ -705,6 +716,9 @@ typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset {
class ThriftHiveMetastore_getMetaConf_presult {
public:
+ static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1";
+ static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1};
+
virtual ~ThriftHiveMetastore_getMetaConf_presult() throw();
std::string* success;
@@ -714,6 +728,7 @@ class ThriftHiveMetastore_getMetaConf_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_presult& obj);
};
typedef struct _ThriftHiveMetastore_setMetaConf_args__isset {
@@ -725,6 +740,9 @@ typedef struct _ThriftHiveMetastore_setMetaConf_args__isset {
class ThriftHiveMetastore_setMetaConf_args {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
ThriftHiveMetastore_setMetaConf_args(const ThriftHiveMetastore_setMetaConf_args&);
ThriftHiveMetastore_setMetaConf_args& operator=(const ThriftHiveMetastore_setMetaConf_args&);
ThriftHiveMetastore_setMetaConf_args() : key(), value() {
@@ -757,12 +775,16 @@ class ThriftHiveMetastore_setMetaConf_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_args& obj);
};
class ThriftHiveMetastore_setMetaConf_pargs {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
virtual ~ThriftHiveMetastore_setMetaConf_pargs() throw();
const std::string* key;
@@ -770,6 +792,7 @@ class ThriftHiveMetastore_setMetaConf_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_pargs& obj);
};
typedef struct _ThriftHiveMetastore_setMetaConf_result__isset {
@@ -780,6 +803,9 @@ typedef struct _ThriftHiveMetastore_setMetaConf_result__isset {
class ThriftHiveMetastore_setMetaConf_result {
public:
+ static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF";
+ static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF};
+
ThriftHiveMetastore_setMetaConf_result(const ThriftHiveMetastore_setMetaConf_result&);
ThriftHiveMetastore_setMetaConf_result& operator=(const ThriftHiveMetastore_setMetaConf_result&);
ThriftHiveMetastore_setMetaConf_result() {
@@ -807,6 +833,7 @@ class ThriftHiveMetastore_setMetaConf_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_result& obj);
};
typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset {
@@ -817,6 +844,9 @@ typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset {
class ThriftHiveMetastore_setMetaConf_presult {
public:
+ static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF";
+ static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF};
+
virtual ~ThriftHiveMetastore_setMetaConf_presult() throw();
MetaException o1;
@@ -825,6 +855,7 @@ class ThriftHiveMetastore_setMetaConf_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_presult& obj);
};
typedef struct _ThriftHiveMetastore_create_database_args__isset {
@@ -835,6 +866,9 @@ typedef struct _ThriftHiveMetastore_create_database_args__isset {
class ThriftHiveMetastore_create_database_args {
public:
+ static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31";
+ static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31};
+
ThriftHiveMetastore_create_database_args(const ThriftHiveMetastore_create_database_args&);
ThriftHiveMetastore_create_database_args& operator=(const ThriftHiveMetastore_create_database_args&);
ThriftHiveMetastore_create_database_args() {
@@ -862,18 +896,23 @@ class ThriftHiveMetastore_create_database_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_args& obj);
};
class ThriftHiveMetastore_create_database_pargs {
public:
+ static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31";
+ static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31};
+
virtual ~ThriftHiveMetastore_create_database_pargs() throw();
const Database* database;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_pargs& obj);
};
typedef struct _ThriftHiveMetastore_create_database_result__isset {
@@ -886,6 +925,9 @@ typedef struct _ThriftHiveMetastore_create_database_result__isset {
class ThriftHiveMetastore_create_database_result {
public:
+ static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255";
+ static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55};
+
ThriftHiveMetastore_create_database_result(const ThriftHiveMetastore_create_database_result&);
ThriftHiveMetastore_create_database_result& operator=(const ThriftHiveMetastore_create_database_result&);
ThriftHiveMetastore_create_database_result() {
@@ -923,6 +965,7 @@ class ThriftHiveMetastore_create_database_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_result& obj);
};
typedef struct _ThriftHiveMetastore_create_database_presult__isset {
@@ -935,6 +978,9 @@ typedef struct _ThriftHiveMetastore_create_database_presult__isset {
class ThriftHiveMetastore_create_database_presult {
public:
+ static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255";
+ static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55};
+
virtual ~ThriftHiveMetastore_create_database_presult() throw();
AlreadyExistsException o1;
@@ -945,6 +991,7 @@ class ThriftHiveMetastore_create_database_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_database_args__isset {
@@ -955,6 +1002,9 @@ typedef struct _ThriftHiveMetastore_get_database_args__isset {
class ThriftHiveMetastore_get_database_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_get_database_args(const ThriftHiveMetastore_get_database_args&);
ThriftHiveMetastore_get_database_args& operator=(const ThriftHiveMetastore_get_database_args&);
ThriftHiveMetastore_get_database_args() : name() {
@@ -982,18 +1032,23 @@ class ThriftHiveMetastore_get_database_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_args& obj);
};
class ThriftHiveMetastore_get_database_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_get_database_pargs() throw();
const std::string* name;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_database_result__isset {
@@ -1006,6 +1061,9 @@ typedef struct _ThriftHiveMetastore_get_database_result__isset {
class ThriftHiveMetastore_get_database_result {
public:
+ static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0";
+ static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0};
+
ThriftHiveMetastore_get_database_result(const ThriftHiveMetastore_get_database_result&);
ThriftHiveMetastore_get_database_result& operator=(const ThriftHiveMetastore_get_database_result&);
ThriftHiveMetastore_get_database_result() {
@@ -1043,6 +1101,7 @@ class ThriftHiveMetastore_get_database_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_result& obj);
};
typedef struct _ThriftHiveMetastore_get_database_presult__isset {
@@ -1055,6 +1114,9 @@ typedef struct _ThriftHiveMetastore_get_database_presult__isset {
class ThriftHiveMetastore_get_database_presult {
public:
+ static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0";
+ static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0};
+
virtual ~ThriftHiveMetastore_get_database_presult() throw();
Database* success;
@@ -1065,6 +1127,7 @@ class ThriftHiveMetastore_get_database_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_presult& obj);
};
typedef struct _ThriftHiveMetastore_drop_database_args__isset {
@@ -1077,6 +1140,9 @@ typedef struct _ThriftHiveMetastore_drop_database_args__isset {
class ThriftHiveMetastore_drop_database_args {
public:
+ static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0";
+ static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0};
+
ThriftHiveMetastore_drop_database_args(const ThriftHiveMetastore_drop_database_args&);
ThriftHiveMetastore_drop_database_args& operator=(const ThriftHiveMetastore_drop_database_args&);
ThriftHiveMetastore_drop_database_args() : name(), deleteData(0), cascade(0) {
@@ -1114,12 +1180,16 @@ class ThriftHiveMetastore_drop_database_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_args& obj);
};
class ThriftHiveMetastore_drop_database_pargs {
public:
+ static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0";
+ static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0};
+
virtual ~ThriftHiveMetastore_drop_database_pargs() throw();
const std::string* name;
@@ -1128,6 +1198,7 @@ class ThriftHiveMetastore_drop_database_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_pargs& obj);
};
typedef struct _ThriftHiveMetastore_drop_database_result__isset {
@@ -1140,6 +1211,9 @@ typedef struct _ThriftHiveMetastore_drop_database_result__isset {
class ThriftHiveMetastore_drop_database_result {
public:
+ static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255";
+ static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55};
+
ThriftHiveMetastore_drop_database_result(const ThriftHiveMetastore_drop_database_result&);
ThriftHiveMetastore_drop_database_result& operator=(const ThriftHiveMetastore_drop_database_result&);
ThriftHiveMetastore_drop_database_result() {
@@ -1177,6 +1251,7 @@ class ThriftHiveMetastore_drop_database_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_result& obj);
};
typedef struct _ThriftHiveMetastore_drop_database_presult__isset {
@@ -1189,6 +1264,9 @@ typedef struct _ThriftHiveMetastore_drop_database_presult__isset {
class ThriftHiveMetastore_drop_database_presult {
public:
+ static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255";
+ static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55};
+
virtual ~ThriftHiveMetastore_drop_database_presult() throw();
NoSuchObjectException o1;
@@ -1199,6 +1277,7 @@ class ThriftHiveMetastore_drop_database_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_databases_args__isset {
@@ -1209,6 +1288,9 @@ typedef struct _ThriftHiveMetastore_get_databases_args__isset {
class ThriftHiveMetastore_get_databases_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_get_databases_args(const ThriftHiveMetastore_get_databases_args&);
ThriftHiveMetastore_get_databases_args& operator=(const ThriftHiveMetastore_get_databases_args&);
ThriftHiveMetastore_get_databases_args() : pattern() {
@@ -1236,18 +1318,23 @@ class ThriftHiveMetastore_get_databases_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_args& obj);
};
class ThriftHiveMetastore_get_databases_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_get_databases_pargs() throw();
const std::string* pattern;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_databases_result__isset {
@@ -1259,6 +1346,9 @@ typedef struct _ThriftHiveMetastore_get_databases_result__isset {
class ThriftHiveMetastore_get_databases_result {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
ThriftHiveMetastore_get_databases_result(const ThriftHiveMetastore_get_databases_result&);
ThriftHiveMetastore_get_databases_result& operator=(const ThriftHiveMetastore_get_databases_result&);
ThriftHiveMetastore_get_databases_result() {
@@ -1291,6 +1381,7 @@ class ThriftHiveMetastore_get_databases_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_result& obj);
};
typedef struct _ThriftHiveMetastore_get_databases_presult__isset {
@@ -1302,6 +1393,9 @@ typedef struct _ThriftHiveMetastore_get_databases_presult__isset {
class ThriftHiveMetastore_get_databases_presult {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
virtual ~ThriftHiveMetastore_get_databases_presult() throw();
std::vector<std::string> * success;
@@ -1311,12 +1405,16 @@ class ThriftHiveMetastore_get_databases_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_presult& obj);
};
class ThriftHiveMetastore_get_all_databases_args {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
ThriftHiveMetastore_get_all_databases_args(const ThriftHiveMetastore_get_all_databases_args&);
ThriftHiveMetastore_get_all_databases_args& operator=(const ThriftHiveMetastore_get_all_databases_args&);
ThriftHiveMetastore_get_all_databases_args() {
@@ -1337,17 +1435,22 @@ class ThriftHiveMetastore_get_all_databases_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_args& obj);
};
class ThriftHiveMetastore_get_all_databases_pargs {
public:
+ static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
+ static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
+
virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw();
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_all_databases_result__isset {
@@ -1359,6 +1462,9 @@ typedef struct _ThriftHiveMetastore_get_all_databases_result__isset {
class ThriftHiveMetastore_get_all_databases_result {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
ThriftHiveMetastore_get_all_databases_result(const ThriftHiveMetastore_get_all_databases_result&);
ThriftHiveMetastore_get_all_databases_result& operator=(const ThriftHiveMetastore_get_all_databases_result&);
ThriftHiveMetastore_get_all_databases_result() {
@@ -1391,6 +1497,7 @@ class ThriftHiveMetastore_get_all_databases_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_result& obj);
};
typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset {
@@ -1402,6 +1509,9 @@ typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset {
class ThriftHiveMetastore_get_all_databases_presult {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
virtual ~ThriftHiveMetastore_get_all_databases_presult() throw();
std::vector<std::string> * success;
@@ -1411,6 +1521,7 @@ class ThriftHiveMetastore_get_all_databases_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_presult& obj);
};
typedef struct _ThriftHiveMetastore_alter_database_args__isset {
@@ -1422,6 +1533,9 @@ typedef struct _ThriftHiveMetastore_alter_database_args__isset {
class ThriftHiveMetastore_alter_database_args {
public:
+ static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5";
+ static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5};
+
ThriftHiveMetastore_alter_database_args(const ThriftHiveMetastore_alter_database_args&);
ThriftHiveMetastore_alter_database_args& operator=(const ThriftHiveMetastore_alter_database_args&);
ThriftHiveMetastore_alter_database_args() : dbname() {
@@ -1454,12 +1568,16 @@ class ThriftHiveMetastore_alter_database_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_args& obj);
};
class ThriftHiveMetastore_alter_database_pargs {
public:
+ static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5";
+ static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5};
+
virtual ~ThriftHiveMetastore_alter_database_pargs() throw();
const std::string* dbname;
@@ -1467,6 +1585,7 @@ class ThriftHiveMetastore_alter_database_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_pargs& obj);
};
typedef struct _ThriftHiveMetastore_alter_database_result__isset {
@@ -1478,6 +1597,9 @@ typedef struct _ThriftHiveMetastore_alter_database_result__isset {
class ThriftHiveMetastore_alter_database_result {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
ThriftHiveMetastore_alter_database_result(const ThriftHiveMetastore_alter_database_result&);
ThriftHiveMetastore_alter_database_result& operator=(const ThriftHiveMetastore_alter_database_result&);
ThriftHiveMetastore_alter_database_result() {
@@ -1510,6 +1632,7 @@ class ThriftHiveMetastore_alter_database_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_result& obj);
};
typedef struct _ThriftHiveMetastore_alter_database_presult__isset {
@@ -1521,6 +1644,9 @@ typedef struct _ThriftHiveMetastore_alter_database_presult__isset {
class ThriftHiveMetastore_alter_database_presult {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
virtual ~ThriftHiveMetastore_alter_database_presult() throw();
MetaException o1;
@@ -1530,6 +1656,7 @@ class ThriftHiveMetastore_alter_database_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_type_args__isset {
@@ -1540,6 +1667,9 @@ typedef struct _ThriftHiveMetastore_get_type_args__isset {
class ThriftHiveMetastore_get_type_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_get_type_args(const ThriftHiveMetastore_get_type_args&);
ThriftHiveMetastore_get_type_args& operator=(const ThriftHiveMetastore_get_type_args&);
ThriftHiveMetastore_get_type_args() : name() {
@@ -1567,18 +1697,23 @@ class ThriftHiveMetastore_get_type_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_args& obj);
};
class ThriftHiveMetastore_get_type_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_get_type_pargs() throw();
const std::string* name;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_type_result__isset {
@@ -1591,6 +1726,9 @@ typedef struct _ThriftHiveMetastore_get_type_result__isset {
class ThriftHiveMetastore_get_type_result {
public:
+ static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393";
+ static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93};
+
ThriftHiveMetastore_get_type_result(const ThriftHiveMetastore_get_type_result&);
ThriftHiveMetastore_get_type_result& operator=(const ThriftHiveMetastore_get_type_result&);
ThriftHiveMetastore_get_type_result() {
@@ -1628,6 +1766,7 @@ class ThriftHiveMetastore_get_type_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_result& obj);
};
typedef struct _ThriftHiveMetastore_get_type_presult__isset {
@@ -1640,6 +1779,9 @@ typedef struct _ThriftHiveMetastore_get_type_presult__isset {
class ThriftHiveMetastore_get_type_presult {
public:
+ static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393";
+ static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93};
+
virtual ~ThriftHiveMetastore_get_type_presult() throw();
Type* success;
@@ -1650,6 +1792,7 @@ class ThriftHiveMetastore_get_type_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_presult& obj);
};
typedef struct _ThriftHiveMetastore_create_type_args__isset {
@@ -1660,6 +1803,9 @@ typedef struct _ThriftHiveMetastore_create_type_args__isset {
class ThriftHiveMetastore_create_type_args {
public:
+ static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0";
+ static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0};
+
ThriftHiveMetastore_create_type_args(const ThriftHiveMetastore_create_type_args&);
ThriftHiveMetastore_create_type_args& operator=(const ThriftHiveMetastore_create_type_args&);
ThriftHiveMetastore_create_type_args() {
@@ -1687,18 +1833,23 @@ class ThriftHiveMetastore_create_type_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_args& obj);
};
class ThriftHiveMetastore_create_type_pargs {
public:
+ static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0";
+ static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0};
+
virtual ~ThriftHiveMetastore_create_type_pargs() throw();
const Type* type;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_pargs& obj);
};
typedef struct _ThriftHiveMetastore_create_type_result__isset {
@@ -1712,6 +1863,9 @@ typedef struct _ThriftHiveMetastore_create_type_result__isset {
class ThriftHiveMetastore_create_type_result {
public:
+ static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215";
+ static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15};
+
ThriftHiveMetastore_create_type_result(const ThriftHiveMetastore_create_type_result&);
ThriftHiveMetastore_create_type_result& operator=(const ThriftHiveMetastore_create_type_result&);
ThriftHiveMetastore_create_type_result() : success(0) {
@@ -1754,6 +1908,7 @@ class ThriftHiveMetastore_create_type_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_result& obj);
};
typedef struct _ThriftHiveMetastore_create_type_presult__isset {
@@ -1767,6 +1922,9 @@ typedef struct _ThriftHiveMetastore_create_type_presult__isset {
class ThriftHiveMetastore_create_type_presult {
public:
+ static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215";
+ static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15};
+
virtual ~ThriftHiveMetastore_create_type_presult() throw();
bool* success;
@@ -1778,6 +1936,7 @@ class ThriftHiveMetastore_create_type_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_presult& obj);
};
typedef struct _ThriftHiveMetastore_drop_type_args__isset {
@@ -1788,6 +1947,9 @@ typedef struct _ThriftHiveMetastore_drop_type_args__isset {
class ThriftHiveMetastore_drop_type_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_drop_type_args(const ThriftHiveMetastore_drop_type_args&);
ThriftHiveMetastore_drop_type_args& operator=(const ThriftHiveMetastore_drop_type_args&);
ThriftHiveMetastore_drop_type_args() : type() {
@@ -1815,18 +1977,23 @@ class ThriftHiveMetastore_drop_type_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_args& obj);
};
class ThriftHiveMetastore_drop_type_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_drop_type_pargs() throw();
const std::string* type;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_pargs& obj);
};
typedef struct _ThriftHiveMetastore_drop_type_result__isset {
@@ -1839,6 +2006,9 @@ typedef struct _ThriftHiveMetastore_drop_type_result__isset {
class ThriftHiveMetastore_drop_type_result {
public:
+ static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814";
+ static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14};
+
ThriftHiveMetastore_drop_type_result(const ThriftHiveMetastore_drop_type_result&);
ThriftHiveMetastore_drop_type_result& operator=(const ThriftHiveMetastore_drop_type_result&);
ThriftHiveMetastore_drop_type_result() : success(0) {
@@ -1876,6 +2046,7 @@ class ThriftHiveMetastore_drop_type_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_result& obj);
};
typedef struct _ThriftHiveMetastore_drop_type_presult__isset {
@@ -1888,6 +2059,9 @@ typedef struct _ThriftHiveMetastore_drop_type_presult__isset {
class ThriftHiveMetastore_drop_type_presult {
public:
+ static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814";
+ static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14};
+
virtual ~ThriftHiveMetastore_drop_type_presult() throw();
bool* success;
@@ -1898,6 +2072,7 @@ class ThriftHiveMetastore_drop_type_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_type_all_args__isset {
@@ -1908,6 +2083,9 @@ typedef struct _ThriftHiveMetastore_get_type_all_args__isset {
class ThriftHiveMetastore_get_type_all_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_get_type_all_args(const ThriftHiveMetastore_get_type_all_args&);
ThriftHiveMetastore_get_type_all_args& operator=(const ThriftHiveMetastore_get_type_all_args&);
ThriftHiveMetastore_get_type_all_args() : name() {
@@ -1935,18 +2113,23 @@ class ThriftHiveMetastore_get_type_all_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_args& obj);
};
class ThriftHiveMetastore_get_type_all_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_get_type_all_pargs() throw();
const std::string* name;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_type_all_result__isset {
@@ -1958,6 +2141,9 @@ typedef struct _ThriftHiveMetastore_get_type_all_result__isset {
class ThriftHiveMetastore_get_type_all_result {
public:
+ static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4";
+ static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4};
+
ThriftHiveMetastore_get_type_all_result(const ThriftHiveMetastore_get_type_all_result&);
ThriftHiveMetastore_get_type_all_result& operator=(const ThriftHiveMetastore_get_type_all_result&);
ThriftHiveMetastore_get_type_all_result() {
@@ -1990,6 +2176,7 @@ class ThriftHiveMetastore_get_type_all_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_result& obj);
};
typedef struct _ThriftHiveMetastore_get_type_all_presult__isset {
@@ -2001,6 +2188,9 @@ typedef struct _ThriftHiveMetastore_get_type_all_presult__isset {
class ThriftHiveMetastore_get_type_all_presult {
public:
+ static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4";
+ static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4};
+
virtual ~ThriftHiveMetastore_get_type_all_presult() throw();
std::map<std::string, Type> * success;
@@ -2010,6 +2200,7 @@ class ThriftHiveMetastore_get_type_all_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_args__isset {
@@ -2021,6 +2212,9 @@ typedef struct _ThriftHiveMetastore_get_fields_args__isset {
class ThriftHiveMetastore_get_fields_args {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
ThriftHiveMetastore_get_fields_args(const ThriftHiveMetastore_get_fields_args&);
ThriftHiveMetastore_get_fields_args& operator=(const ThriftHiveMetastore_get_fields_args&);
ThriftHiveMetastore_get_fields_args() : db_name(), table_name() {
@@ -2053,12 +2247,16 @@ class ThriftHiveMetastore_get_fields_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_args& obj);
};
class ThriftHiveMetastore_get_fields_pargs {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
virtual ~ThriftHiveMetastore_get_fields_pargs() throw();
const std::string* db_name;
@@ -2066,6 +2264,7 @@ class ThriftHiveMetastore_get_fields_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_result__isset {
@@ -2079,6 +2278,9 @@ typedef struct _ThriftHiveMetastore_get_fields_result__isset {
class ThriftHiveMetastore_get_fields_result {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
ThriftHiveMetastore_get_fields_result(const ThriftHiveMetastore_get_fields_result&);
ThriftHiveMetastore_get_fields_result& operator=(const ThriftHiveMetastore_get_fields_result&);
ThriftHiveMetastore_get_fields_result() {
@@ -2121,6 +2323,7 @@ class ThriftHiveMetastore_get_fields_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_result& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_presult__isset {
@@ -2134,6 +2337,9 @@ typedef struct _ThriftHiveMetastore_get_fields_presult__isset {
class ThriftHiveMetastore_get_fields_presult {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
virtual ~ThriftHiveMetastore_get_fields_presult() throw();
std::vector<FieldSchema> * success;
@@ -2145,6 +2351,7 @@ class ThriftHiveMetastore_get_fields_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_args__isset {
@@ -2157,6 +2364,9 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_args__is
class ThriftHiveMetastore_get_fields_with_environment_context_args {
public:
+ static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE";
+ static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE};
+
ThriftHiveMetastore_get_fields_with_environment_context_args(const ThriftHiveMetastore_get_fields_with_environment_context_args&);
ThriftHiveMetastore_get_fields_with_environment_context_args& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_args&);
ThriftHiveMetastore_get_fields_with_environment_context_args() : db_name(), table_name() {
@@ -2194,12 +2404,16 @@ class ThriftHiveMetastore_get_fields_with_environment_context_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_args& obj);
};
class ThriftHiveMetastore_get_fields_with_environment_context_pargs {
public:
+ static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE";
+ static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE};
+
virtual ~ThriftHiveMetastore_get_fields_with_environment_context_pargs() throw();
const std::string* db_name;
@@ -2208,6 +2422,7 @@ class ThriftHiveMetastore_get_fields_with_environment_context_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_result__isset {
@@ -2221,6 +2436,9 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_result__
class ThriftHiveMetastore_get_fields_with_environment_context_result {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
ThriftHiveMetastore_get_fields_with_environment_context_result(const ThriftHiveMetastore_get_fields_with_environment_context_result&);
ThriftHiveMetastore_get_fields_with_environment_context_result& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_result&);
ThriftHiveMetastore_get_fields_with_environment_context_result() {
@@ -2263,6 +2481,7 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_result& obj);
};
typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_presult__isset {
@@ -2276,6 +2495,9 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_presult_
class ThriftHiveMetastore_get_fields_with_environment_context_presult {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
virtual ~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw();
std::vector<FieldSchema> * success;
@@ -2287,6 +2509,7 @@ class ThriftHiveMetastore_get_fields_with_environment_context_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_args__isset {
@@ -2298,6 +2521,9 @@ typedef struct _ThriftHiveMetastore_get_schema_args__isset {
class ThriftHiveMetastore_get_schema_args {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
ThriftHiveMetastore_get_schema_args(const ThriftHiveMetastore_get_schema_args&);
ThriftHiveMetastore_get_schema_args& operator=(const ThriftHiveMetastore_get_schema_args&);
ThriftHiveMetastore_get_schema_args() : db_name(), table_name() {
@@ -2330,12 +2556,16 @@ class ThriftHiveMetastore_get_schema_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_args& obj);
};
class ThriftHiveMetastore_get_schema_pargs {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
virtual ~ThriftHiveMetastore_get_schema_pargs() throw();
const std::string* db_name;
@@ -2343,6 +2573,7 @@ class ThriftHiveMetastore_get_schema_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_result__isset {
@@ -2356,6 +2587,9 @@ typedef struct _ThriftHiveMetastore_get_schema_result__isset {
class ThriftHiveMetastore_get_schema_result {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
ThriftHiveMetastore_get_schema_result(const ThriftHiveMetastore_get_schema_result&);
ThriftHiveMetastore_get_schema_result& operator=(const ThriftHiveMetastore_get_schema_result&);
ThriftHiveMetastore_get_schema_result() {
@@ -2398,6 +2632,7 @@ class ThriftHiveMetastore_get_schema_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_result& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_presult__isset {
@@ -2411,6 +2646,9 @@ typedef struct _ThriftHiveMetastore_get_schema_presult__isset {
class ThriftHiveMetastore_get_schema_presult {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
virtual ~ThriftHiveMetastore_get_schema_presult() throw();
std::vector<FieldSchema> * success;
@@ -2422,6 +2660,7 @@ class ThriftHiveMetastore_get_schema_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_args__isset {
@@ -2434,6 +2673,9 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_args__is
class ThriftHiveMetastore_get_schema_with_environment_context_args {
public:
+ static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE";
+ static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE};
+
ThriftHiveMetastore_get_schema_with_environment_context_args(const ThriftHiveMetastore_get_schema_with_environment_context_args&);
ThriftHiveMetastore_get_schema_with_environment_context_args& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_args&);
ThriftHiveMetastore_get_schema_with_environment_context_args() : db_name(), table_name() {
@@ -2471,12 +2713,16 @@ class ThriftHiveMetastore_get_schema_with_environment_context_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_args& obj);
};
class ThriftHiveMetastore_get_schema_with_environment_context_pargs {
public:
+ static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE";
+ static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE};
+
virtual ~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw();
const std::string* db_name;
@@ -2485,6 +2731,7 @@ class ThriftHiveMetastore_get_schema_with_environment_context_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_result__isset {
@@ -2498,6 +2745,9 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_result__
class ThriftHiveMetastore_get_schema_with_environment_context_result {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
ThriftHiveMetastore_get_schema_with_environment_context_result(const ThriftHiveMetastore_get_schema_with_environment_context_result&);
ThriftHiveMetastore_get_schema_with_environment_context_result& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_result&);
ThriftHiveMetastore_get_schema_with_environment_context_result() {
@@ -2540,6 +2790,7 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_result& obj);
};
typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_presult__isset {
@@ -2553,6 +2804,9 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_presult_
class ThriftHiveMetastore_get_schema_with_environment_context_presult {
public:
+ static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E";
+ static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E};
+
virtual ~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw();
std::vector<FieldSchema> * success;
@@ -2564,6 +2818,7 @@ class ThriftHiveMetastore_get_schema_with_environment_context_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_presult& obj);
};
typedef struct _ThriftHiveMetastore_create_table_args__isset {
@@ -2574,6 +2829,9 @@ typedef struct _ThriftHiveMetastore_create_table_args__isset {
class ThriftHiveMetastore_create_table_args {
public:
+ static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB};
+
ThriftHiveMetastore_create_table_args(const ThriftHiveMetastore_create_table_args&);
ThriftHiveMetastore_create_table_args& operator=(const ThriftHiveMetastore_create_table_args&);
ThriftHiveMetastore_create_table_args() {
@@ -2601,18 +2859,23 @@ class ThriftHiveMetastore_create_table_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_args& obj);
};
class ThriftHiveMetastore_create_table_pargs {
public:
+ static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB";
+ static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB};
+
virtual ~ThriftHiveMetastore_create_table_pargs() throw();
const Table* tbl;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_pargs& obj);
};
typedef struct _ThriftHiveMetastore_create_table_result__isset {
@@ -2626,6 +2889,9 @@ typedef struct _ThriftHiveMetastore_create_table_result__isset {
class ThriftHiveMetastore_create_table_result {
public:
+ static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB";
+ static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB};
+
ThriftHiveMetastore_create_table_result(const ThriftHiveMetastore_create_table_result&);
ThriftHiveMetastore_create_table_result& operator=(const ThriftHiveMetastore_create_table_result&);
ThriftHiveMetastore_create_table_result() {
@@ -2668,6 +2934,7 @@ class ThriftHiveMetastore_create_table_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_result& obj);
};
typedef struct _ThriftHiveMetastore_create_table_presult__isset {
@@ -2681,6 +2948,9 @@ typedef struct _ThriftHiveMetastore_create_table_presult__isset {
class ThriftHiveMetastore_create_table_presult {
public:
+ static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB";
+ static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB};
+
virtual ~ThriftHiveMetastore_create_table_presult() throw();
AlreadyExistsException o1;
@@ -2692,6 +2962,7 @@ class ThriftHiveMetastore_create_table_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_presult& obj);
};
typedef struct _ThriftHiveMetastore_create_table_with_environment_context_args__isset {
@@ -2703,6 +2974,9 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_args__
class ThriftHiveMetastore_create_table_with_environment_context_args {
public:
+ static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95";
+ static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95};
+
ThriftHiveMetastore_create_table_with_environment_context_args(const ThriftHiveMetastore_create_table_with_environment_context_args&);
ThriftHiveMetastore_create_table_with_environment_context_args& operator=(const ThriftHiveMetastore_create_table_with_environment_context_args&);
ThriftHiveMetastore_create_table_with_environment_context_args() {
@@ -2735,12 +3009,16 @@ class ThriftHiveMetastore_create_table_with_environment_context_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_args& obj);
};
class ThriftHiveMetastore_create_table_with_environment_context_pargs {
public:
+ static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95";
+ static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95};
+
virtual ~ThriftHiveMetastore_create_table_with_environment_context_pargs() throw();
const Table* tbl;
@@ -2748,6 +3026,7 @@ class ThriftHiveMetastore_create_table_with_environment_context_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_pargs& obj);
};
typedef struct _ThriftHiveMetastore_create_table_with_environment_context_result__isset {
@@ -2761,6 +3040,9 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_result
class ThriftHiveMetastore_create_table_with_environment_context_result {
public:
+ static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB";
+ static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB};
+
ThriftHiveMetastore_create_table_with_environment_context_result(const ThriftHiveMetastore_create_table_with_environment_context_result&);
ThriftHiveMetastore_create_table_with_environment_context_result& operator=(const ThriftHiveMetastore_create_table_with_environment_context_result&);
ThriftHiveMetastore_create_table_with_environment_context_result() {
@@ -2803,6 +3085,7 @@ class ThriftHiveMetastore_create_table_with_environment_context_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_result& obj);
};
typedef struct _ThriftHiveMetastore_create_table_with_environment_context_presult__isset {
@@ -2816,6 +3099,9 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_presul
class ThriftHiveMetastore_create_table_with_environment_context_presult {
public:
+ static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB";
+ static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB};
+
virtual ~ThriftHiveMetastore_create_table_with_environment_context_presult() throw();
AlreadyExistsException o1;
@@ -2827,6 +3113,7 @@ class ThriftHiveMetastore_create_table_with_environment_context_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_presult& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_args__isset {
@@ -2839,6 +3126,9 @@ typedef struct _ThriftHiveMetastore_drop_table_args__isset {
class ThriftHiveMetastore_drop_table_args {
public:
+ static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93";
+ static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93};
+
ThriftHiveMetastore_drop_table_args(const ThriftHiveMetastore_drop_table_args&);
ThriftHiveMetastore_drop_table_args& operator=(const ThriftHiveMetastore_drop_table_args&);
ThriftHiveMetastore_drop_table_args() : dbname(), name(), deleteData(0) {
@@ -2876,12 +3166,16 @@ class ThriftHiveMetastore_drop_table_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_args& obj);
};
class ThriftHiveMetastore_drop_table_pargs {
public:
+ static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93";
+ static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93};
+
virtual ~ThriftHiveMetastore_drop_table_pargs() throw();
const std::string* dbname;
@@ -2890,6 +3184,7 @@ class ThriftHiveMetastore_drop_table_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_pargs& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_result__isset {
@@ -2901,6 +3196,9 @@ typedef struct _ThriftHiveMetastore_drop_table_result__isset {
class ThriftHiveMetastore_drop_table_result {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
ThriftHiveMetastore_drop_table_result(const ThriftHiveMetastore_drop_table_result&);
ThriftHiveMetastore_drop_table_result& operator=(const ThriftHiveMetastore_drop_table_result&);
ThriftHiveMetastore_drop_table_result() {
@@ -2933,6 +3231,7 @@ class ThriftHiveMetastore_drop_table_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_result& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_presult__isset {
@@ -2944,6 +3243,9 @@ typedef struct _ThriftHiveMetastore_drop_table_presult__isset {
class ThriftHiveMetastore_drop_table_presult {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
virtual ~ThriftHiveMetastore_drop_table_presult() throw();
NoSuchObjectException o1;
@@ -2953,6 +3255,7 @@ class ThriftHiveMetastore_drop_table_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_presult& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__isset {
@@ -2966,6 +3269,9 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__is
class ThriftHiveMetastore_drop_table_with_environment_context_args {
public:
+ static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4";
+ static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4};
+
ThriftHiveMetastore_drop_table_with_environment_context_args(const ThriftHiveMetastore_drop_table_with_environment_context_args&);
ThriftHiveMetastore_drop_table_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_args&);
ThriftHiveMetastore_drop_table_with_environment_context_args() : dbname(), name(), deleteData(0) {
@@ -3008,12 +3314,16 @@ class ThriftHiveMetastore_drop_table_with_environment_context_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_args& obj);
};
class ThriftHiveMetastore_drop_table_with_environment_context_pargs {
public:
+ static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4";
+ static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4};
+
virtual ~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw();
const std::string* dbname;
@@ -3023,6 +3333,7 @@ class ThriftHiveMetastore_drop_table_with_environment_context_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_pargs& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__isset {
@@ -3034,6 +3345,9 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__
class ThriftHiveMetastore_drop_table_with_environment_context_result {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
ThriftHiveMetastore_drop_table_with_environment_context_result(const ThriftHiveMetastore_drop_table_with_environment_context_result&);
ThriftHiveMetastore_drop_table_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_result&);
ThriftHiveMetastore_drop_table_with_environment_context_result() {
@@ -3066,6 +3380,7 @@ class ThriftHiveMetastore_drop_table_with_environment_context_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_result& obj);
};
typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset {
@@ -3077,6 +3392,9 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult_
class ThriftHiveMetastore_drop_table_with_environment_context_presult {
public:
+ static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D";
+ static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D};
+
virtual ~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw();
NoSuchObjectException o1;
@@ -3086,6 +3404,7 @@ class ThriftHiveMetastore_drop_table_with_environment_context_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_tables_args__isset {
@@ -3097,6 +3416,9 @@ typedef struct _ThriftHiveMetastore_get_tables_args__isset {
class ThriftHiveMetastore_get_tables_args {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
ThriftHiveMetastore_get_tables_args(const ThriftHiveMetastore_get_tables_args&);
ThriftHiveMetastore_get_tables_args& operator=(const ThriftHiveMetastore_get_tables_args&);
ThriftHiveMetastore_get_tables_args() : db_name(), pattern() {
@@ -3129,12 +3451,16 @@ class ThriftHiveMetastore_get_tables_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_args& obj);
};
class ThriftHiveMetastore_get_tables_pargs {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
virtual ~ThriftHiveMetastore_get_tables_pargs() throw();
const std::string* db_name;
@@ -3142,6 +3468,7 @@ class ThriftHiveMetastore_get_tables_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_tables_result__isset {
@@ -3153,6 +3480,9 @@ typedef struct _ThriftHiveMetastore_get_tables_result__isset {
class ThriftHiveMetastore_get_tables_result {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
ThriftHiveMetastore_get_tables_result(const ThriftHiveMetastore_get_tables_result&);
ThriftHiveMetastore_get_tables_result& operator=(const ThriftHiveMetastore_get_tables_result&);
ThriftHiveMetastore_get_tables_result() {
@@ -3185,6 +3515,7 @@ class ThriftHiveMetastore_get_tables_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_result& obj);
};
typedef struct _ThriftHiveMetastore_get_tables_presult__isset {
@@ -3196,6 +3527,9 @@ typedef struct _ThriftHiveMetastore_get_tables_presult__isset {
class ThriftHiveMetastore_get_tables_presult {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
virtual ~ThriftHiveMetastore_get_tables_presult() throw();
std::vector<std::string> * success;
@@ -3205,6 +3539,7 @@ class ThriftHiveMetastore_get_tables_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_table_meta_args__isset {
@@ -3217,6 +3552,9 @@ typedef struct _ThriftHiveMetastore_get_table_meta_args__isset {
class ThriftHiveMetastore_get_table_meta_args {
public:
+ static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F";
+ static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F};
+
ThriftHiveMetastore_get_table_meta_args(const ThriftHiveMetastore_get_table_meta_args&);
ThriftHiveMetastore_get_table_meta_args& operator=(const ThriftHiveMetastore_get_table_meta_args&);
ThriftHiveMetastore_get_table_meta_args() : db_patterns(), tbl_patterns() {
@@ -3254,12 +3592,16 @@ class ThriftHiveMetastore_get_table_meta_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_meta_args& obj);
};
class ThriftHiveMetastore_get_table_meta_pargs {
public:
+ static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F";
+ static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F};
+
virtual ~ThriftHiveMetastore_get_table_meta_pargs() throw();
const std::string* db_patterns;
@@ -3268,6 +3610,7 @@ class ThriftHiveMetastore_get_table_meta_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_meta_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_table_meta_result__isset {
@@ -3279,6 +3622,9 @@ typedef struct _ThriftHiveMetastore_get_table_meta_result__isset {
class ThriftHiveMetastore_get_table_meta_result {
public:
+ static const char* ascii_fingerprint; // = "44712CCCEEFBD696C1E19168659A0A79";
+ static const uint8_t binary_fingerprint[16]; // = {0x44,0x71,0x2C,0xCC,0xEE,0xFB,0xD6,0x96,0xC1,0xE1,0x91,0x68,0x65,0x9A,0x0A,0x79};
+
ThriftHiveMetastore_get_table_meta_result(const ThriftHiveMetastore_get_table_meta_result&);
ThriftHiveMetastore_get_table_meta_result& operator=(const ThriftHiveMetastore_get_table_meta_result&);
ThriftHiveMetastore_get_table_meta_result() {
@@ -3311,6 +3657,7 @@ class ThriftHiveMetastore_get_table_meta_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_meta_result& obj);
};
typedef struct _ThriftHiveMetastore_get_table_meta_presult__isset {
@@ -3322,6 +3669,9 @@ typedef struct _ThriftHiveMetastore_get_table_meta_presult__isset {
class ThriftHiveMetastore_get_table_meta_presult {
public:
+ static const char* ascii_fingerprint; // = "44712CCCEEFBD696C1E19168659A0A79";
+ static const uint8_t binary_fingerprint[16]; // = {0x44,0x71,0x2C,0xCC,0xEE,0xFB,0xD6,0x96,0xC1,0xE1,0x91,0x68,0x65,0x9A,0x0A,0x79};
+
virtual ~ThriftHiveMetastore_get_table_meta_presult() throw();
std::vector<TableMeta> * success;
@@ -3331,6 +3681,7 @@ class ThriftHiveMetastore_get_table_meta_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_meta_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_all_tables_args__isset {
@@ -3341,6 +3692,9 @@ typedef struct _ThriftHiveMetastore_get_all_tables_args__isset {
class ThriftHiveMetastore_get_all_tables_args {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
ThriftHiveMetastore_get_all_tables_args(const ThriftHiveMetastore_get_all_tables_args&);
ThriftHiveMetastore_get_all_tables_args& operator=(const ThriftHiveMetastore_get_all_tables_args&);
ThriftHiveMetastore_get_all_tables_args() : db_name() {
@@ -3368,18 +3722,23 @@ class ThriftHiveMetastore_get_all_tables_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_args& obj);
};
class ThriftHiveMetastore_get_all_tables_pargs {
public:
+ static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
+ static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
virtual ~ThriftHiveMetastore_get_all_tables_pargs() throw();
const std::string* db_name;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_all_tables_result__isset {
@@ -3391,6 +3750,9 @@ typedef struct _ThriftHiveMetastore_get_all_tables_result__isset {
class ThriftHiveMetastore_get_all_tables_result {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
ThriftHiveMetastore_get_all_tables_result(const ThriftHiveMetastore_get_all_tables_result&);
ThriftHiveMetastore_get_all_tables_result& operator=(const ThriftHiveMetastore_get_all_tables_result&);
ThriftHiveMetastore_get_all_tables_result() {
@@ -3423,6 +3785,7 @@ class ThriftHiveMetastore_get_all_tables_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_result& obj);
};
typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset {
@@ -3434,6 +3797,9 @@ typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset {
class ThriftHiveMetastore_get_all_tables_presult {
public:
+ static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6";
+ static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6};
+
virtual ~ThriftHiveMetastore_get_all_tables_presult() throw();
std::vector<std::string> * success;
@@ -3443,6 +3809,7 @@ class ThriftHiveMetastore_get_all_tables_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_table_args__isset {
@@ -3454,6 +3821,9 @@ typedef struct _ThriftHiveMetastore_get_table_args__isset {
class ThriftHiveMetastore_get_table_args {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
ThriftHiveMetastore_get_table_args(const ThriftHiveMetastore_get_table_args&);
ThriftHiveMetastore_get_table_args& operator=(const ThriftHiveMetastore_get_table_args&);
ThriftHiveMetastore_get_table_args() : dbname(), tbl_name() {
@@ -3486,12 +3856,16 @@ class ThriftHiveMetastore_get_table_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_args& obj);
};
class ThriftHiveMetastore_get_table_pargs {
public:
+ static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
+ static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
virtual ~ThriftHiveMetastore_get_table_pargs() throw();
const std::string* dbname;
@@ -3499,6 +3873,7 @@ class ThriftHiveMetastore_get_table_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_table_result__isset {
@@ -3511,6 +3886,9 @@ typedef struct _ThriftHiveMetastore_get_table_result__isset {
class ThriftHiveMetastore_get_table_result {
public:
+ static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4";
+ static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4};
+
ThriftHiveMetastore_get_table_result(const ThriftHiveMetastore_get_table_result&);
ThriftHiveMetastore_get_table_result& operator=(const ThriftHiveMetastore_get_table_result&);
ThriftHiveMetastore_get_table_result() {
@@ -3548,6 +3926,7 @@ class ThriftHiveMetastore_get_table_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_result& obj);
};
typedef struct _ThriftHiveMetastore_get_table_presult__isset {
@@ -3560,6 +3939,9 @@ typedef struct _ThriftHiveMetastore_get_table_presult__isset {
class ThriftHiveMetastore_get_table_presult {
public:
+ static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4";
+ static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4};
+
virtual ~ThriftHiveMetastore_get_table_presult() throw();
Table* success;
@@ -3570,6 +3952,7 @@ class ThriftHiveMetastore_get_table_presult {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_presult& obj);
};
typedef struct _ThriftHiveMetastore_get_table_objects_by_name_args__isset {
@@ -3581,6 +3964,9 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_args__isset {
class ThriftHiveMetastore_get_table_objects_by_name_args {
public:
+ static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446";
+ static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46};
+
ThriftHiveMetastore_get_table_objects_by_name_args(const ThriftHiveMetastore_get_table_objects_by_name_args&);
ThriftHiveMetastore_get_table_objects_by_name_args& operator=(const ThriftHiveMetastore_get_table_objects_by_name_args&);
ThriftHiveMetastore_get_table_objects_by_name_args() : dbname() {
@@ -3613,12 +3999,16 @@ class ThriftHiveMetastore_get_table_objects_by_name_args {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_args& obj);
};
class ThriftHiveMetastore_get_table_objects_by_name_pargs {
public:
+ static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446";
+ static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46};
+
virtual ~ThriftHiveMetastore_get_table_objects_by_name_pargs() throw();
const std::string* dbname;
@@ -3626,6 +4016,7 @@ class ThriftHiveMetastore_get_table_objects_by_name_pargs {
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_pargs& obj);
};
typedef struct _ThriftHiveMetastore_get_table_objects_by_name_result__isset {
@@ -3639,6 +4030,9 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_result__isset {
class ThriftHiveMetastore_get_table_objects_by_name_result {
public:
+ static const char* ascii_fingerprint; // = "CE94435B55EBFD9CDCC30B61FBCA4E92";
+ static const uint8_t binary_fingerprint[16]; // = {0xCE,0x94,0x43,0x5B,0x55,0xEB,0xFD,0x9C,0xDC,0xC3,0x0B,0x61,0xFB,0xCA,0x4E,0x92};
+
ThriftHiveMetastore_get_table_objects_by_name_result(const ThriftHiveMetastore_get_table_objects_by_name_result&);
ThriftHiveMetastore_get_table_objects_by_name_result& operator=(const ThriftHiveMetastore_get_table_objects_by_name_result&);
ThriftHiveMetastore_get_table_objects_by_name_result() {
@@ -3681,6 +4075,7 @@ class ThriftHiveMetastore_get_table_objects_by_name_result {
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+ friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_result& obj);
};
typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset {
@@ -3694,6 +4089,9 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset {
class ThriftHiveMetastore_get_table_objects_
<TRUNCATED>
[17/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
index 8e3a0ae..056f8aa 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AbortTxnRequest implements org.apache.thrift.TBase<AbortTxnRequest, AbortTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<AbortTxnRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnRequest");
@@ -185,7 +185,7 @@ public class AbortTxnRequest implements org.apache.thrift.TBase<AbortTxnRequest,
public Object getFieldValue(_Fields field) {
switch (field) {
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
index bb6e584..a26ac1b 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicPartitions, AddDynamicPartitions._Fields>, java.io.Serializable, Cloneable, Comparable<AddDynamicPartitions> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddDynamicPartitions");
@@ -334,7 +334,7 @@ public class AddDynamicPartitions implements org.apache.thrift.TBase<AddDynamicP
public Object getFieldValue(_Fields field) {
switch (field) {
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
case DBNAME:
return getDbname();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
index 083d340..1ce9f7d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitionsRequest, AddPartitionsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<AddPartitionsRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsRequest");
@@ -390,10 +390,10 @@ public class AddPartitionsRequest implements org.apache.thrift.TBase<AddPartitio
return getParts();
case IF_NOT_EXISTS:
- return isIfNotExists();
+ return Boolean.valueOf(isIfNotExists());
case NEED_RESULT:
- return isNeedResult();
+ return Boolean.valueOf(isNeedResult());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
index 9004457..e5d757c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AddPartitionsResult implements org.apache.thrift.TBase<AddPartitionsResult, AddPartitionsResult._Fields>, java.io.Serializable, Cloneable, Comparable<AddPartitionsResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
index bfd1206..8f64ab0 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._Fields>, java.io.Serializable, Cloneable, Comparable<AggrStats> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AggrStats");
@@ -252,7 +252,7 @@ public class AggrStats implements org.apache.thrift.TBase<AggrStats, AggrStats._
return getColStats();
case PARTS_FOUND:
- return getPartsFound();
+ return Long.valueOf(getPartsFound());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
index 4032f19..94b7387 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class AlreadyExistsException extends TException implements org.apache.thrift.TBase<AlreadyExistsException, AlreadyExistsException._Fields>, java.io.Serializable, Cloneable, Comparable<AlreadyExistsException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AlreadyExistsException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
index 84e393c..753c5eb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class BinaryColumnStatsData implements org.apache.thrift.TBase<BinaryColumnStatsData, BinaryColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<BinaryColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BinaryColumnStatsData");
@@ -273,13 +273,13 @@ public class BinaryColumnStatsData implements org.apache.thrift.TBase<BinaryColu
public Object getFieldValue(_Fields field) {
switch (field) {
case MAX_COL_LEN:
- return getMaxColLen();
+ return Long.valueOf(getMaxColLen());
case AVG_COL_LEN:
- return getAvgColLen();
+ return Double.valueOf(getAvgColLen());
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
index 6aa4668..75b3d9f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class BooleanColumnStatsData implements org.apache.thrift.TBase<BooleanColumnStatsData, BooleanColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<BooleanColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BooleanColumnStatsData");
@@ -273,13 +273,13 @@ public class BooleanColumnStatsData implements org.apache.thrift.TBase<BooleanCo
public Object getFieldValue(_Fields field) {
switch (field) {
case NUM_TRUES:
- return getNumTrues();
+ return Long.valueOf(getNumTrues());
case NUM_FALSES:
- return getNumFalses();
+ return Long.valueOf(getNumFalses());
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
index 430be03..1ca0b4f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class CheckLockRequest implements org.apache.thrift.TBase<CheckLockRequest, CheckLockRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CheckLockRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CheckLockRequest");
@@ -185,7 +185,7 @@ public class CheckLockRequest implements org.apache.thrift.TBase<CheckLockReques
public Object getFieldValue(_Fields field) {
switch (field) {
case LOCKID:
- return getLockid();
+ return Long.valueOf(getLockid());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
index 657bb7b..e771cac 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ClearFileMetadataRequest implements org.apache.thrift.TBase<ClearFileMetadataRequest, ClearFileMetadataRequest._Fields>, java.io.Serializable, Cloneable, Comparable<ClearFileMetadataRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ClearFileMetadataRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataResult.java
index 8e46d83..e7dc52c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ClearFileMetadataResult implements org.apache.thrift.TBase<ClearFileMetadataResult, ClearFileMetadataResult._Fields>, java.io.Serializable, Cloneable, Comparable<ClearFileMetadataResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ClearFileMetadataResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
index ba059fe..b5c5e33 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ColumnStatistics implements org.apache.thrift.TBase<ColumnStatistics, ColumnStatistics._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatistics> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatistics");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
index 036d438..6558add 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
index daf3d10..5415621 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStatisticsDesc, ColumnStatisticsDesc._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatisticsDesc> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsDesc");
@@ -357,7 +357,7 @@ public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStati
public Object getFieldValue(_Fields field) {
switch (field) {
case IS_TBL_LEVEL:
- return isIsTblLevel();
+ return Boolean.valueOf(isIsTblLevel());
case DB_NAME:
return getDbName();
@@ -369,7 +369,7 @@ public class ColumnStatisticsDesc implements org.apache.thrift.TBase<ColumnStati
return getPartName();
case LAST_ANALYZED:
- return getLastAnalyzed();
+ return Long.valueOf(getLastAnalyzed());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
index 4191beb..58af623 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ColumnStatisticsObj implements org.apache.thrift.TBase<ColumnStatisticsObj, ColumnStatisticsObj._Fields>, java.io.Serializable, Cloneable, Comparable<ColumnStatisticsObj> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsObj");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
index 77554b7..e39f85f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class CommitTxnRequest implements org.apache.thrift.TBase<CommitTxnRequest, CommitTxnRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CommitTxnRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommitTxnRequest");
@@ -185,7 +185,7 @@ public class CommitTxnRequest implements org.apache.thrift.TBase<CommitTxnReques
public Object getFieldValue(_Fields field) {
switch (field) {
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
index e028ecb..6ada5cb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class CompactionRequest implements org.apache.thrift.TBase<CompactionRequest, CompactionRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CompactionRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CompactionRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java
index 7450b27..09474ee 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
index d454a96..1324956 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ConfigValSecurityException extends TException implements org.apache.thrift.TBase<ConfigValSecurityException, ConfigValSecurityException._Fields>, java.io.Serializable, Cloneable, Comparable<ConfigValSecurityException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ConfigValSecurityException");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java
index 2565a08..1780c1b 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class CurrentNotificationEventId implements org.apache.thrift.TBase<CurrentNotificationEventId, CurrentNotificationEventId._Fields>, java.io.Serializable, Cloneable, Comparable<CurrentNotificationEventId> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CurrentNotificationEventId");
@@ -185,7 +185,7 @@ public class CurrentNotificationEventId implements org.apache.thrift.TBase<Curre
public Object getFieldValue(_Fields field) {
switch (field) {
case EVENT_ID:
- return getEventId();
+ return Long.valueOf(getEventId());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
index 2769845..8dfe579 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Database implements org.apache.thrift.TBase<Database, Database._Fields>, java.io.Serializable, Cloneable, Comparable<Database> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Database");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java
index bf064e5..ea51e31 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Date implements org.apache.thrift.TBase<Date, Date._Fields>, java.io.Serializable, Cloneable, Comparable<Date> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Date");
@@ -185,7 +185,7 @@ public class Date implements org.apache.thrift.TBase<Date, Date._Fields>, java.i
public Object getFieldValue(_Fields field) {
switch (field) {
case DAYS_SINCE_EPOCH:
- return getDaysSinceEpoch();
+ return Long.valueOf(getDaysSinceEpoch());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java
index 2ebb811..9e6ca5a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DateColumnStatsData implements org.apache.thrift.TBase<DateColumnStatsData, DateColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<DateColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DateColumnStatsData");
@@ -320,10 +320,10 @@ public class DateColumnStatsData implements org.apache.thrift.TBase<DateColumnSt
return getHighValue();
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
case NUM_DVS:
- return getNumDVs();
+ return Long.valueOf(getNumDVs());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java
index 5b23dba..bbbdfb2 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Decimal implements org.apache.thrift.TBase<Decimal, Decimal._Fields>, java.io.Serializable, Cloneable, Comparable<Decimal> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Decimal");
@@ -241,7 +241,7 @@ public class Decimal implements org.apache.thrift.TBase<Decimal, Decimal._Fields
return getUnscaled();
case SCALE:
- return getScale();
+ return Short.valueOf(getScale());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java
index 720176a..87a8d2f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DecimalColumnStatsData implements org.apache.thrift.TBase<DecimalColumnStatsData, DecimalColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<DecimalColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DecimalColumnStatsData");
@@ -320,10 +320,10 @@ public class DecimalColumnStatsData implements org.apache.thrift.TBase<DecimalCo
return getHighValue();
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
case NUM_DVS:
- return getNumDVs();
+ return Long.valueOf(getNumDVs());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java
index 5d48b5d..0f76302 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DoubleColumnStatsData implements org.apache.thrift.TBase<DoubleColumnStatsData, DoubleColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<DoubleColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DoubleColumnStatsData");
@@ -312,16 +312,16 @@ public class DoubleColumnStatsData implements org.apache.thrift.TBase<DoubleColu
public Object getFieldValue(_Fields field) {
switch (field) {
case LOW_VALUE:
- return getLowValue();
+ return Double.valueOf(getLowValue());
case HIGH_VALUE:
- return getHighValue();
+ return Double.valueOf(getHighValue());
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
case NUM_DVS:
- return getNumDVs();
+ return Long.valueOf(getNumDVs());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java
index ac97aa3..b4bb3bf 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DropPartitionsExpr implements org.apache.thrift.TBase<DropPartitionsExpr, DropPartitionsExpr._Fields>, java.io.Serializable, Cloneable, Comparable<DropPartitionsExpr> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsExpr");
@@ -239,7 +239,7 @@ public class DropPartitionsExpr implements org.apache.thrift.TBase<DropPartition
return getExpr();
case PART_ARCHIVE_LEVEL:
- return getPartArchiveLevel();
+ return Integer.valueOf(getPartArchiveLevel());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java
index 2dbde0c..56f6661 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DropPartitionsRequest implements org.apache.thrift.TBase<DropPartitionsRequest, DropPartitionsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<DropPartitionsRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsRequest");
@@ -493,19 +493,19 @@ public class DropPartitionsRequest implements org.apache.thrift.TBase<DropPartit
return getParts();
case DELETE_DATA:
- return isDeleteData();
+ return Boolean.valueOf(isDeleteData());
case IF_EXISTS:
- return isIfExists();
+ return Boolean.valueOf(isIfExists());
case IGNORE_PROTECTION:
- return isIgnoreProtection();
+ return Boolean.valueOf(isIgnoreProtection());
case ENVIRONMENT_CONTEXT:
return getEnvironmentContext();
case NEED_RESULT:
- return isNeedResult();
+ return Boolean.valueOf(isNeedResult());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
index adef415..32c3a86 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class DropPartitionsResult implements org.apache.thrift.TBase<DropPartitionsResult, DropPartitionsResult._Fields>, java.io.Serializable, Cloneable, Comparable<DropPartitionsResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsResult");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
index de588e2..64bfc0c 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class EnvironmentContext implements org.apache.thrift.TBase<EnvironmentContext, EnvironmentContext._Fields>, java.io.Serializable, Cloneable, Comparable<EnvironmentContext> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("EnvironmentContext");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java
index 4295046..422b44f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
index 06a7b4d..1c04329 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class FieldSchema implements org.apache.thrift.TBase<FieldSchema, FieldSchema._Fields>, java.io.Serializable, Cloneable, Comparable<FieldSchema> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FieldSchema");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FileMetadataExprType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FileMetadataExprType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FileMetadataExprType.java
index 8ffaa89..d3c7d1f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FileMetadataExprType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FileMetadataExprType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
index 6b08234..cda2b3f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class FireEventRequest implements org.apache.thrift.TBase<FireEventRequest, FireEventRequest._Fields>, java.io.Serializable, Cloneable, Comparable<FireEventRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventRequest");
@@ -373,7 +373,7 @@ public class FireEventRequest implements org.apache.thrift.TBase<FireEventReques
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESSFUL:
- return isSuccessful();
+ return Boolean.valueOf(isSuccessful());
case DATA:
return getData();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java
index db8dc8b..2830496 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java
index 9a86ed5..e60e017 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class FireEventResponse implements org.apache.thrift.TBase<FireEventResponse, FireEventResponse._Fields>, java.io.Serializable, Cloneable, Comparable<FireEventResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
index 5f8ce0d..ad02032 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Function implements org.apache.thrift.TBase<Function, Function._Fields>, java.io.Serializable, Cloneable, Comparable<Function> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Function");
@@ -552,7 +552,7 @@ public class Function implements org.apache.thrift.TBase<Function, Function._Fie
return getOwnerType();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case FUNCTION_TYPE:
return getFunctionType();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java
index 1116f88..6958566 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
index f88e279..5d11eb9 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetAllFunctionsResponse implements org.apache.thrift.TBase<GetAllFunctionsResponse, GetAllFunctionsResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GetAllFunctionsResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetAllFunctionsResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
index 0236b4a..47c3d50 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<GetFileMetadataByExprRequest, GetFileMetadataByExprRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GetFileMetadataByExprRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFileMetadataByExprRequest");
@@ -357,7 +357,7 @@ public class GetFileMetadataByExprRequest implements org.apache.thrift.TBase<Get
return getExpr();
case DO_GET_FOOTERS:
- return isDoGetFooters();
+ return Boolean.valueOf(isDoGetFooters());
case TYPE:
return getType();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
index 89eb819..e2eee9a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetFileMetadataByExprResult, GetFileMetadataByExprResult._Fields>, java.io.Serializable, Cloneable, Comparable<GetFileMetadataByExprResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFileMetadataByExprResult");
@@ -257,7 +257,7 @@ public class GetFileMetadataByExprResult implements org.apache.thrift.TBase<GetF
return getMetadata();
case IS_SUPPORTED:
- return isIsSupported();
+ return Boolean.valueOf(isIsSupported());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
index 2408ad1..c38c1b9 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetFileMetadataRequest implements org.apache.thrift.TBase<GetFileMetadataRequest, GetFileMetadataRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GetFileMetadataRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFileMetadataRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
index 8946635..c0aae99 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMetadataResult, GetFileMetadataResult._Fields>, java.io.Serializable, Cloneable, Comparable<GetFileMetadataResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFileMetadataResult");
@@ -246,7 +246,7 @@ public class GetFileMetadataResult implements org.apache.thrift.TBase<GetFileMet
return getMetadata();
case IS_SUPPORTED:
- return isIsSupported();
+ return Boolean.valueOf(isIsSupported());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
index 629c042..2a09765 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenTxnsInfoResponse, GetOpenTxnsInfoResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GetOpenTxnsInfoResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOpenTxnsInfoResponse");
@@ -249,7 +249,7 @@ public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase<GetOpenT
public Object getFieldValue(_Fields field) {
switch (field) {
case TXN_HIGH_WATER_MARK:
- return getTxn_high_water_mark();
+ return Long.valueOf(getTxn_high_water_mark());
case OPEN_TXNS:
return getOpen_txns();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
index 9f57a4a..70f7d1e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsResponse, GetOpenTxnsResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GetOpenTxnsResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOpenTxnsResponse");
@@ -246,7 +246,7 @@ public class GetOpenTxnsResponse implements org.apache.thrift.TBase<GetOpenTxnsR
public Object getFieldValue(_Fields field) {
switch (field) {
case TXN_HIGH_WATER_MARK:
- return getTxn_high_water_mark();
+ return Long.valueOf(getTxn_high_water_mark());
case OPEN_TXNS:
return getOpen_txns();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java
index 342b268..43c595a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetPrincipalsInRoleRequest implements org.apache.thrift.TBase<GetPrincipalsInRoleRequest, GetPrincipalsInRoleRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GetPrincipalsInRoleRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetPrincipalsInRoleRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java
index 02c652a..9b363a2 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetPrincipalsInRoleResponse implements org.apache.thrift.TBase<GetPrincipalsInRoleResponse, GetPrincipalsInRoleResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GetPrincipalsInRoleResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetPrincipalsInRoleResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java
index ea667d3..b053c93 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetRoleGrantsForPrincipalRequest implements org.apache.thrift.TBase<GetRoleGrantsForPrincipalRequest, GetRoleGrantsForPrincipalRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GetRoleGrantsForPrincipalRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetRoleGrantsForPrincipalRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java
index c013e0e..3c2a92a 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GetRoleGrantsForPrincipalResponse implements org.apache.thrift.TBase<GetRoleGrantsForPrincipalResponse, GetRoleGrantsForPrincipalResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GetRoleGrantsForPrincipalResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetRoleGrantsForPrincipalResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java
index 014c857..8ce172d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GrantRevokePrivilegeRequest implements org.apache.thrift.TBase<GrantRevokePrivilegeRequest, GrantRevokePrivilegeRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GrantRevokePrivilegeRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokePrivilegeRequest");
@@ -289,7 +289,7 @@ public class GrantRevokePrivilegeRequest implements org.apache.thrift.TBase<Gran
return getPrivileges();
case REVOKE_GRANT_OPTION:
- return isRevokeGrantOption();
+ return Boolean.valueOf(isRevokeGrantOption());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java
index ddbc4c3..a4ae0d5 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GrantRevokePrivilegeResponse implements org.apache.thrift.TBase<GrantRevokePrivilegeResponse, GrantRevokePrivilegeResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GrantRevokePrivilegeResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokePrivilegeResponse");
@@ -178,7 +178,7 @@ public class GrantRevokePrivilegeResponse implements org.apache.thrift.TBase<Gra
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java
index adbd345..b2b2756 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GrantRevokeRoleRequest implements org.apache.thrift.TBase<GrantRevokeRoleRequest, GrantRevokeRoleRequest._Fields>, java.io.Serializable, Cloneable, Comparable<GrantRevokeRoleRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokeRoleRequest");
@@ -497,7 +497,7 @@ public class GrantRevokeRoleRequest implements org.apache.thrift.TBase<GrantRevo
return getGrantorType();
case GRANT_OPTION:
- return isGrantOption();
+ return Boolean.valueOf(isGrantOption());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java
index 541ac21..1418806 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class GrantRevokeRoleResponse implements org.apache.thrift.TBase<GrantRevokeRoleResponse, GrantRevokeRoleResponse._Fields>, java.io.Serializable, Cloneable, Comparable<GrantRevokeRoleResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokeRoleResponse");
@@ -178,7 +178,7 @@ public class GrantRevokeRoleResponse implements org.apache.thrift.TBase<GrantRev
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return isSuccess();
+ return Boolean.valueOf(isSuccess());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java
index ac65ec7..f7b4587 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java
index 0d36f22..ee572a6 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class HeartbeatRequest implements org.apache.thrift.TBase<HeartbeatRequest, HeartbeatRequest._Fields>, java.io.Serializable, Cloneable, Comparable<HeartbeatRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatRequest");
@@ -219,10 +219,10 @@ public class HeartbeatRequest implements org.apache.thrift.TBase<HeartbeatReques
public Object getFieldValue(_Fields field) {
switch (field) {
case LOCKID:
- return getLockid();
+ return Long.valueOf(getLockid());
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
}
throw new IllegalStateException();
[23/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
HIVE-11487 : Adds getNumPartitionsByFilter api in metastore api
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ccb30e3e
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ccb30e3e
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ccb30e3e
Branch: refs/heads/master
Commit: ccb30e3ec1d26fdf4b5fe600a420ae7f2ff247fc
Parents: 6f44fc8
Author: Akshay Goyal <ak...@gmail.com>
Authored: Mon Dec 21 14:15:17 2015 +0530
Committer: Amareshwari Sriramadasu <am...@apache.org>
Committed: Mon Dec 21 14:15:17 2015 +0530
----------------------------------------------------------------------
metastore/if/hive_metastore.thrift | 4 +
.../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 1755 +++++----
.../gen/thrift/gen-cpp/ThriftHiveMetastore.h | 2276 +++++++++++-
.../ThriftHiveMetastore_server.skeleton.cpp | 5 +
.../thrift/gen-cpp/hive_metastore_constants.cpp | 2 +-
.../thrift/gen-cpp/hive_metastore_constants.h | 2 +-
.../gen/thrift/gen-cpp/hive_metastore_types.cpp | 2292 +++++++-----
.../gen/thrift/gen-cpp/hive_metastore_types.h | 1337 +++----
.../hive/metastore/api/AbortTxnRequest.java | 6 +-
.../metastore/api/AddDynamicPartitions.java | 6 +-
.../metastore/api/AddPartitionsRequest.java | 8 +-
.../hive/metastore/api/AddPartitionsResult.java | 4 +-
.../hadoop/hive/metastore/api/AggrStats.java | 6 +-
.../metastore/api/AlreadyExistsException.java | 4 +-
.../metastore/api/BinaryColumnStatsData.java | 10 +-
.../metastore/api/BooleanColumnStatsData.java | 10 +-
.../hive/metastore/api/CheckLockRequest.java | 6 +-
.../metastore/api/ClearFileMetadataRequest.java | 4 +-
.../metastore/api/ClearFileMetadataResult.java | 4 +-
.../hive/metastore/api/ColumnStatistics.java | 4 +-
.../metastore/api/ColumnStatisticsData.java | 2 +-
.../metastore/api/ColumnStatisticsDesc.java | 8 +-
.../hive/metastore/api/ColumnStatisticsObj.java | 4 +-
.../hive/metastore/api/CommitTxnRequest.java | 6 +-
.../hive/metastore/api/CompactionRequest.java | 4 +-
.../hive/metastore/api/CompactionType.java | 2 +-
.../api/ConfigValSecurityException.java | 4 +-
.../api/CurrentNotificationEventId.java | 6 +-
.../hadoop/hive/metastore/api/Database.java | 4 +-
.../apache/hadoop/hive/metastore/api/Date.java | 6 +-
.../hive/metastore/api/DateColumnStatsData.java | 8 +-
.../hadoop/hive/metastore/api/Decimal.java | 6 +-
.../metastore/api/DecimalColumnStatsData.java | 8 +-
.../metastore/api/DoubleColumnStatsData.java | 12 +-
.../hive/metastore/api/DropPartitionsExpr.java | 6 +-
.../metastore/api/DropPartitionsRequest.java | 12 +-
.../metastore/api/DropPartitionsResult.java | 4 +-
.../hive/metastore/api/EnvironmentContext.java | 4 +-
.../hive/metastore/api/EventRequestType.java | 2 +-
.../hadoop/hive/metastore/api/FieldSchema.java | 4 +-
.../metastore/api/FileMetadataExprType.java | 2 +-
.../hive/metastore/api/FireEventRequest.java | 6 +-
.../metastore/api/FireEventRequestData.java | 2 +-
.../hive/metastore/api/FireEventResponse.java | 4 +-
.../hadoop/hive/metastore/api/Function.java | 6 +-
.../hadoop/hive/metastore/api/FunctionType.java | 2 +-
.../metastore/api/GetAllFunctionsResponse.java | 4 +-
.../api/GetFileMetadataByExprRequest.java | 6 +-
.../api/GetFileMetadataByExprResult.java | 6 +-
.../metastore/api/GetFileMetadataRequest.java | 4 +-
.../metastore/api/GetFileMetadataResult.java | 6 +-
.../metastore/api/GetOpenTxnsInfoResponse.java | 6 +-
.../hive/metastore/api/GetOpenTxnsResponse.java | 6 +-
.../api/GetPrincipalsInRoleRequest.java | 4 +-
.../api/GetPrincipalsInRoleResponse.java | 4 +-
.../api/GetRoleGrantsForPrincipalRequest.java | 4 +-
.../api/GetRoleGrantsForPrincipalResponse.java | 4 +-
.../api/GrantRevokePrivilegeRequest.java | 6 +-
.../api/GrantRevokePrivilegeResponse.java | 6 +-
.../metastore/api/GrantRevokeRoleRequest.java | 6 +-
.../metastore/api/GrantRevokeRoleResponse.java | 6 +-
.../hive/metastore/api/GrantRevokeType.java | 2 +-
.../hive/metastore/api/HeartbeatRequest.java | 8 +-
.../metastore/api/HeartbeatTxnRangeRequest.java | 8 +-
.../api/HeartbeatTxnRangeResponse.java | 4 +-
.../hive/metastore/api/HiveObjectPrivilege.java | 4 +-
.../hive/metastore/api/HiveObjectRef.java | 4 +-
.../hive/metastore/api/HiveObjectType.java | 2 +-
.../apache/hadoop/hive/metastore/api/Index.java | 10 +-
.../api/IndexAlreadyExistsException.java | 4 +-
.../metastore/api/InsertEventRequestData.java | 4 +-
.../metastore/api/InvalidInputException.java | 4 +-
.../metastore/api/InvalidObjectException.java | 4 +-
.../api/InvalidOperationException.java | 4 +-
.../api/InvalidPartitionException.java | 4 +-
.../hive/metastore/api/LockComponent.java | 4 +-
.../hadoop/hive/metastore/api/LockLevel.java | 2 +-
.../hadoop/hive/metastore/api/LockRequest.java | 6 +-
.../hadoop/hive/metastore/api/LockResponse.java | 6 +-
.../hadoop/hive/metastore/api/LockState.java | 2 +-
.../hadoop/hive/metastore/api/LockType.java | 2 +-
.../hive/metastore/api/LongColumnStatsData.java | 12 +-
.../hive/metastore/api/MetaException.java | 4 +-
.../hive/metastore/api/MetadataPpdResult.java | 4 +-
.../hive/metastore/api/NoSuchLockException.java | 4 +-
.../metastore/api/NoSuchObjectException.java | 4 +-
.../hive/metastore/api/NoSuchTxnException.java | 4 +-
.../hive/metastore/api/NotificationEvent.java | 8 +-
.../metastore/api/NotificationEventRequest.java | 8 +-
.../api/NotificationEventResponse.java | 4 +-
.../hive/metastore/api/OpenTxnRequest.java | 6 +-
.../hive/metastore/api/OpenTxnsResponse.java | 4 +-
.../apache/hadoop/hive/metastore/api/Order.java | 6 +-
.../hadoop/hive/metastore/api/Partition.java | 8 +-
.../hive/metastore/api/PartitionEventType.java | 2 +-
.../api/PartitionListComposingSpec.java | 4 +-
.../hive/metastore/api/PartitionSpec.java | 4 +-
.../api/PartitionSpecWithSharedSD.java | 4 +-
.../hive/metastore/api/PartitionWithoutSD.java | 8 +-
.../metastore/api/PartitionsByExprRequest.java | 6 +-
.../metastore/api/PartitionsByExprResult.java | 6 +-
.../metastore/api/PartitionsStatsRequest.java | 4 +-
.../metastore/api/PartitionsStatsResult.java | 4 +-
.../metastore/api/PrincipalPrivilegeSet.java | 4 +-
.../hive/metastore/api/PrincipalType.java | 2 +-
.../hadoop/hive/metastore/api/PrivilegeBag.java | 4 +-
.../hive/metastore/api/PrivilegeGrantInfo.java | 8 +-
.../metastore/api/PutFileMetadataRequest.java | 6 +-
.../metastore/api/PutFileMetadataResult.java | 4 +-
.../hive/metastore/api/RequestPartsSpec.java | 2 +-
.../hadoop/hive/metastore/api/ResourceType.java | 2 +-
.../hadoop/hive/metastore/api/ResourceUri.java | 4 +-
.../apache/hadoop/hive/metastore/api/Role.java | 6 +-
.../hive/metastore/api/RolePrincipalGrant.java | 8 +-
.../hadoop/hive/metastore/api/Schema.java | 4 +-
.../hadoop/hive/metastore/api/SerDeInfo.java | 4 +-
.../api/SetPartitionsStatsRequest.java | 4 +-
.../hive/metastore/api/ShowCompactRequest.java | 4 +-
.../hive/metastore/api/ShowCompactResponse.java | 4 +-
.../api/ShowCompactResponseElement.java | 6 +-
.../hive/metastore/api/ShowLocksRequest.java | 4 +-
.../hive/metastore/api/ShowLocksResponse.java | 4 +-
.../metastore/api/ShowLocksResponseElement.java | 12 +-
.../hadoop/hive/metastore/api/SkewedInfo.java | 4 +-
.../hive/metastore/api/StorageDescriptor.java | 10 +-
.../metastore/api/StringColumnStatsData.java | 12 +-
.../apache/hadoop/hive/metastore/api/Table.java | 12 +-
.../hadoop/hive/metastore/api/TableMeta.java | 4 +-
.../hive/metastore/api/TableStatsRequest.java | 4 +-
.../hive/metastore/api/TableStatsResult.java | 4 +-
.../hive/metastore/api/ThriftHiveMetastore.java | 3463 ++++++++++++------
.../hive/metastore/api/TxnAbortedException.java | 4 +-
.../hadoop/hive/metastore/api/TxnInfo.java | 6 +-
.../hive/metastore/api/TxnOpenException.java | 4 +-
.../hadoop/hive/metastore/api/TxnState.java | 2 +-
.../apache/hadoop/hive/metastore/api/Type.java | 4 +-
.../hive/metastore/api/UnknownDBException.java | 4 +-
.../api/UnknownPartitionException.java | 4 +-
.../metastore/api/UnknownTableException.java | 4 +-
.../hive/metastore/api/UnlockRequest.java | 6 +-
.../hadoop/hive/metastore/api/Version.java | 4 +-
.../metastore/api/hive_metastoreConstants.java | 2 +-
.../gen-php/metastore/ThriftHiveMetastore.php | 316 +-
.../src/gen/thrift/gen-php/metastore/Types.php | 2 +-
.../hive_metastore/ThriftHiveMetastore-remote | 9 +-
.../hive_metastore/ThriftHiveMetastore.py | 2957 +++++----------
.../thrift/gen-py/hive_metastore/constants.py | 2 +-
.../gen/thrift/gen-py/hive_metastore/ttypes.py | 586 +--
.../thrift/gen-rb/hive_metastore_constants.rb | 2 +-
.../gen/thrift/gen-rb/hive_metastore_types.rb | 2 +-
.../gen/thrift/gen-rb/thrift_hive_metastore.rb | 72 +-
.../hadoop/hive/metastore/HiveMetaStore.java | 19 +
.../hive/metastore/HiveMetaStoreClient.java | 19 +-
.../hadoop/hive/metastore/IMetaStoreClient.java | 16 +
.../hive/metastore/MetaStoreDirectSql.java | 47 +
.../hadoop/hive/metastore/ObjectStore.java | 37 +
.../apache/hadoop/hive/metastore/RawStore.java | 3 +
.../hadoop/hive/metastore/hbase/HBaseStore.java | 15 +
.../DummyRawStoreControlledCommit.java | 6 +
.../DummyRawStoreForJdoConnection.java | 6 +
.../hadoop/hive/metastore/TestObjectStore.java | 11 +-
.../gen/thrift/gen-cpp/queryplan_constants.cpp | 2 +-
ql/src/gen/thrift/gen-cpp/queryplan_constants.h | 2 +-
ql/src/gen/thrift/gen-cpp/queryplan_types.cpp | 162 +-
ql/src/gen/thrift/gen-cpp/queryplan_types.h | 79 +-
.../hadoop/hive/ql/plan/api/Adjacency.java | 4 +-
.../hadoop/hive/ql/plan/api/AdjacencyType.java | 2 +-
.../apache/hadoop/hive/ql/plan/api/Graph.java | 4 +-
.../hadoop/hive/ql/plan/api/NodeType.java | 2 +-
.../hadoop/hive/ql/plan/api/Operator.java | 8 +-
.../hadoop/hive/ql/plan/api/OperatorType.java | 2 +-
.../apache/hadoop/hive/ql/plan/api/Query.java | 8 +-
.../hadoop/hive/ql/plan/api/QueryPlan.java | 8 +-
.../apache/hadoop/hive/ql/plan/api/Stage.java | 8 +-
.../hadoop/hive/ql/plan/api/StageType.java | 2 +-
.../apache/hadoop/hive/ql/plan/api/Task.java | 8 +-
.../hadoop/hive/ql/plan/api/TaskType.java | 2 +-
ql/src/gen/thrift/gen-php/Types.php | 4 +-
ql/src/gen/thrift/gen-py/queryplan/constants.py | 2 +-
ql/src/gen/thrift/gen-py/queryplan/ttypes.py | 80 +-
ql/src/gen/thrift/gen-rb/queryplan_constants.rb | 2 +-
ql/src/gen/thrift/gen-rb/queryplan_types.rb | 2 +-
.../apache/hadoop/hive/ql/metadata/Hive.java | 24 +
.../gen/thrift/gen-cpp/complex_constants.cpp | 2 +-
.../src/gen/thrift/gen-cpp/complex_constants.h | 2 +-
serde/src/gen/thrift/gen-cpp/complex_types.cpp | 94 +-
serde/src/gen/thrift/gen-cpp/complex_types.h | 46 +-
.../gen/thrift/gen-cpp/megastruct_constants.cpp | 2 +-
.../gen/thrift/gen-cpp/megastruct_constants.h | 2 +-
.../src/gen/thrift/gen-cpp/megastruct_types.cpp | 70 +-
serde/src/gen/thrift/gen-cpp/megastruct_types.h | 24 +-
.../src/gen/thrift/gen-cpp/serde_constants.cpp | 2 +-
serde/src/gen/thrift/gen-cpp/serde_constants.h | 2 +-
serde/src/gen/thrift/gen-cpp/serde_types.cpp | 2 +-
serde/src/gen/thrift/gen-cpp/serde_types.h | 2 +-
.../gen/thrift/gen-cpp/testthrift_constants.cpp | 2 +-
.../gen/thrift/gen-cpp/testthrift_constants.h | 2 +-
.../src/gen/thrift/gen-cpp/testthrift_types.cpp | 34 +-
serde/src/gen/thrift/gen-cpp/testthrift_types.h | 24 +-
.../hadoop/hive/serde/serdeConstants.java | 2 +-
.../hadoop/hive/serde/test/InnerStruct.java | 6 +-
.../hadoop/hive/serde/test/ThriftTestObj.java | 6 +-
.../hadoop/hive/serde2/thrift/test/Complex.java | 6 +-
.../hive/serde2/thrift/test/IntString.java | 8 +-
.../hive/serde2/thrift/test/MegaStruct.java | 16 +-
.../hive/serde2/thrift/test/MiniStruct.java | 4 +-
.../hadoop/hive/serde2/thrift/test/MyEnum.java | 2 +-
.../hive/serde2/thrift/test/PropValueUnion.java | 2 +-
.../hive/serde2/thrift/test/SetIntString.java | 4 +-
serde/src/gen/thrift/gen-php/Types.php | 4 +-
.../org/apache/hadoop/hive/serde/Types.php | 2 +-
.../src/gen/thrift/gen-py/complex/constants.py | 2 +-
serde/src/gen/thrift/gen-py/complex/ttypes.py | 44 +-
.../gen/thrift/gen-py/megastruct/constants.py | 2 +-
.../src/gen/thrift/gen-py/megastruct/ttypes.py | 50 +-
.../org_apache_hadoop_hive_serde/constants.py | 2 +-
.../org_apache_hadoop_hive_serde/ttypes.py | 2 +-
.../gen/thrift/gen-py/testthrift/constants.py | 2 +-
.../src/gen/thrift/gen-py/testthrift/ttypes.py | 8 +-
.../src/gen/thrift/gen-rb/complex_constants.rb | 2 +-
serde/src/gen/thrift/gen-rb/complex_types.rb | 2 +-
.../gen/thrift/gen-rb/megastruct_constants.rb | 2 +-
serde/src/gen/thrift/gen-rb/megastruct_types.rb | 2 +-
serde/src/gen/thrift/gen-rb/serde_constants.rb | 2 +-
serde/src/gen/thrift/gen-rb/serde_types.rb | 2 +-
.../gen/thrift/gen-rb/testthrift_constants.rb | 2 +-
serde/src/gen/thrift/gen-rb/testthrift_types.rb | 2 +-
service/src/gen/thrift/gen-cpp/TCLIService.cpp | 1770 +--------
service/src/gen/thrift/gen-cpp/TCLIService.h | 409 ++-
.../thrift/gen-cpp/TCLIService_constants.cpp | 2 +-
.../gen/thrift/gen-cpp/TCLIService_constants.h | 2 +-
.../gen/thrift/gen-cpp/TCLIService_types.cpp | 1226 ++++---
.../src/gen/thrift/gen-cpp/TCLIService_types.h | 816 ++---
service/src/gen/thrift/gen-cpp/ThriftHive.cpp | 853 +----
service/src/gen/thrift/gen-cpp/ThriftHive.h | 199 +-
.../thrift/gen-cpp/hive_service_constants.cpp | 2 +-
.../gen/thrift/gen-cpp/hive_service_constants.h | 2 +-
.../gen/thrift/gen-cpp/hive_service_types.cpp | 55 +-
.../src/gen/thrift/gen-cpp/hive_service_types.h | 26 +-
.../hadoop/hive/service/HiveClusterStatus.java | 14 +-
.../hive/service/HiveServerException.java | 6 +-
.../hadoop/hive/service/JobTrackerState.java | 2 +-
.../apache/hadoop/hive/service/ThriftHive.java | 6 +-
.../service/cli/thrift/TArrayTypeEntry.java | 6 +-
.../hive/service/cli/thrift/TBinaryColumn.java | 6 +-
.../hive/service/cli/thrift/TBoolColumn.java | 4 +-
.../hive/service/cli/thrift/TBoolValue.java | 6 +-
.../hive/service/cli/thrift/TByteColumn.java | 4 +-
.../hive/service/cli/thrift/TByteValue.java | 6 +-
.../hive/service/cli/thrift/TCLIService.java | 4 +-
.../cli/thrift/TCLIServiceConstants.java | 2 +-
.../cli/thrift/TCancelDelegationTokenReq.java | 4 +-
.../cli/thrift/TCancelDelegationTokenResp.java | 4 +-
.../service/cli/thrift/TCancelOperationReq.java | 4 +-
.../cli/thrift/TCancelOperationResp.java | 4 +-
.../service/cli/thrift/TCloseOperationReq.java | 4 +-
.../service/cli/thrift/TCloseOperationResp.java | 4 +-
.../service/cli/thrift/TCloseSessionReq.java | 4 +-
.../service/cli/thrift/TCloseSessionResp.java | 4 +-
.../apache/hive/service/cli/thrift/TColumn.java | 2 +-
.../hive/service/cli/thrift/TColumnDesc.java | 6 +-
.../hive/service/cli/thrift/TColumnValue.java | 2 +-
.../hive/service/cli/thrift/TDoubleColumn.java | 4 +-
.../hive/service/cli/thrift/TDoubleValue.java | 6 +-
.../cli/thrift/TExecuteStatementReq.java | 6 +-
.../cli/thrift/TExecuteStatementResp.java | 4 +-
.../service/cli/thrift/TFetchOrientation.java | 2 +-
.../service/cli/thrift/TFetchResultsReq.java | 8 +-
.../service/cli/thrift/TFetchResultsResp.java | 6 +-
.../service/cli/thrift/TGetCatalogsReq.java | 4 +-
.../service/cli/thrift/TGetCatalogsResp.java | 4 +-
.../hive/service/cli/thrift/TGetColumnsReq.java | 4 +-
.../service/cli/thrift/TGetColumnsResp.java | 4 +-
.../cli/thrift/TGetDelegationTokenReq.java | 4 +-
.../cli/thrift/TGetDelegationTokenResp.java | 4 +-
.../service/cli/thrift/TGetFunctionsReq.java | 4 +-
.../service/cli/thrift/TGetFunctionsResp.java | 4 +-
.../hive/service/cli/thrift/TGetInfoReq.java | 4 +-
.../hive/service/cli/thrift/TGetInfoResp.java | 4 +-
.../hive/service/cli/thrift/TGetInfoType.java | 2 +-
.../hive/service/cli/thrift/TGetInfoValue.java | 2 +-
.../cli/thrift/TGetOperationStatusReq.java | 4 +-
.../cli/thrift/TGetOperationStatusResp.java | 6 +-
.../cli/thrift/TGetResultSetMetadataReq.java | 4 +-
.../cli/thrift/TGetResultSetMetadataResp.java | 4 +-
.../hive/service/cli/thrift/TGetSchemasReq.java | 4 +-
.../service/cli/thrift/TGetSchemasResp.java | 4 +-
.../service/cli/thrift/TGetTableTypesReq.java | 4 +-
.../service/cli/thrift/TGetTableTypesResp.java | 4 +-
.../hive/service/cli/thrift/TGetTablesReq.java | 4 +-
.../hive/service/cli/thrift/TGetTablesResp.java | 4 +-
.../service/cli/thrift/TGetTypeInfoReq.java | 4 +-
.../service/cli/thrift/TGetTypeInfoResp.java | 4 +-
.../service/cli/thrift/THandleIdentifier.java | 4 +-
.../hive/service/cli/thrift/TI16Column.java | 4 +-
.../hive/service/cli/thrift/TI16Value.java | 6 +-
.../hive/service/cli/thrift/TI32Column.java | 4 +-
.../hive/service/cli/thrift/TI32Value.java | 6 +-
.../hive/service/cli/thrift/TI64Column.java | 4 +-
.../hive/service/cli/thrift/TI64Value.java | 6 +-
.../hive/service/cli/thrift/TMapTypeEntry.java | 8 +-
.../service/cli/thrift/TOpenSessionReq.java | 4 +-
.../service/cli/thrift/TOpenSessionResp.java | 4 +-
.../service/cli/thrift/TOperationHandle.java | 8 +-
.../service/cli/thrift/TOperationState.java | 2 +-
.../hive/service/cli/thrift/TOperationType.java | 2 +-
.../service/cli/thrift/TPrimitiveTypeEntry.java | 4 +-
.../service/cli/thrift/TProtocolVersion.java | 2 +-
.../cli/thrift/TRenewDelegationTokenReq.java | 4 +-
.../cli/thrift/TRenewDelegationTokenResp.java | 4 +-
.../apache/hive/service/cli/thrift/TRow.java | 4 +-
.../apache/hive/service/cli/thrift/TRowSet.java | 6 +-
.../hive/service/cli/thrift/TSessionHandle.java | 4 +-
.../apache/hive/service/cli/thrift/TStatus.java | 6 +-
.../hive/service/cli/thrift/TStatusCode.java | 2 +-
.../hive/service/cli/thrift/TStringColumn.java | 4 +-
.../hive/service/cli/thrift/TStringValue.java | 4 +-
.../service/cli/thrift/TStructTypeEntry.java | 4 +-
.../hive/service/cli/thrift/TTableSchema.java | 4 +-
.../hive/service/cli/thrift/TTypeDesc.java | 4 +-
.../hive/service/cli/thrift/TTypeEntry.java | 2 +-
.../apache/hive/service/cli/thrift/TTypeId.java | 2 +-
.../service/cli/thrift/TTypeQualifierValue.java | 2 +-
.../service/cli/thrift/TTypeQualifiers.java | 4 +-
.../service/cli/thrift/TUnionTypeEntry.java | 4 +-
.../cli/thrift/TUserDefinedTypeEntry.java | 4 +-
service/src/gen/thrift/gen-php/TCLIService.php | 3 +-
service/src/gen/thrift/gen-php/ThriftHive.php | 3 +-
service/src/gen/thrift/gen-php/Types.php | 4 +-
.../gen-py/TCLIService/TCLIService-remote | 2 +-
.../thrift/gen-py/TCLIService/TCLIService.py | 269 +-
.../gen/thrift/gen-py/TCLIService/constants.py | 2 +-
.../src/gen/thrift/gen-py/TCLIService/ttypes.py | 190 +-
.../gen-py/hive_service/ThriftHive-remote | 9 +-
.../thrift/gen-py/hive_service/ThriftHive.py | 135 +-
.../gen/thrift/gen-py/hive_service/constants.py | 2 +-
.../gen/thrift/gen-py/hive_service/ttypes.py | 20 +-
.../gen/thrift/gen-rb/hive_service_constants.rb | 2 +-
.../src/gen/thrift/gen-rb/hive_service_types.rb | 2 +-
.../src/gen/thrift/gen-rb/t_c_l_i_service.rb | 2 +-
.../thrift/gen-rb/t_c_l_i_service_constants.rb | 2 +-
.../gen/thrift/gen-rb/t_c_l_i_service_types.rb | 2 +-
service/src/gen/thrift/gen-rb/thrift_hive.rb | 2 +-
343 files changed, 12285 insertions(+), 10964 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/if/hive_metastore.thrift
----------------------------------------------------------------------
diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift
index e6403ed..56ec9aa 100755
--- a/metastore/if/hive_metastore.thrift
+++ b/metastore/if/hive_metastore.thrift
@@ -1067,6 +1067,10 @@ service ThriftHiveMetastore extends fb303.FacebookService
PartitionsByExprResult get_partitions_by_expr(1:PartitionsByExprRequest req)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
+ // get the partitions matching the given partition filter
+ i32 get_num_partitions_by_filter(1:string db_name 2:string tbl_name 3:string filter)
+ throws(1:MetaException o1, 2:NoSuchObjectException o2)
+
// get partitions give a list of partition names
list<Partition> get_partitions_by_names(1:string db_name 2:string tbl_name 3:list<string> names)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
[06/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
----------------------------------------------------------------------
diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
index b852379..742cfdc 100644
--- a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
+++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -280,9 +280,11 @@ void TTypeQualifierValue::__set_stringValue(const std::string& val) {
__isset.stringValue = true;
}
+const char* TTypeQualifierValue::ascii_fingerprint = "A7801670116150C65ACA43E6F679BA79";
+const uint8_t TTypeQualifierValue::binary_fingerprint[16] = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79};
+
uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -331,7 +333,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TTypeQualifierValue");
if (this->__isset.i32Value) {
@@ -346,6 +348,7 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -367,12 +370,13 @@ TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& o
__isset = other1.__isset;
return *this;
}
-void TTypeQualifierValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) {
+ using apache::thrift::to_string;
out << "TTypeQualifierValue(";
- out << "i32Value="; (__isset.i32Value ? (out << to_string(i32Value)) : (out << "<null>"));
- out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "<null>"));
+ out << "i32Value="; (obj.__isset.i32Value ? (out << to_string(obj.i32Value)) : (out << "<null>"));
+ out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -384,9 +388,11 @@ void TTypeQualifiers::__set_qualifiers(const std::map<std::string, TTypeQualifie
this->qualifiers = val;
}
+const char* TTypeQualifiers::ascii_fingerprint = "6C72981CFA989214285648FA8C196C47";
+const uint8_t TTypeQualifiers::binary_fingerprint[16] = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47};
+
uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -445,7 +451,7 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TTypeQualifiers");
xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1);
@@ -463,6 +469,7 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -478,11 +485,12 @@ TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) {
qualifiers = other11.qualifiers;
return *this;
}
-void TTypeQualifiers::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) {
+ using apache::thrift::to_string;
out << "TTypeQualifiers(";
- out << "qualifiers=" << to_string(qualifiers);
+ out << "qualifiers=" << to_string(obj.qualifiers);
out << ")";
+ return out;
}
@@ -499,9 +507,11 @@ void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& val) {
__isset.typeQualifiers = true;
}
+const char* TPrimitiveTypeEntry::ascii_fingerprint = "755674F6A5C8EB47868686AE386FBC1C";
+const uint8_t TPrimitiveTypeEntry::binary_fingerprint[16] = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C};
+
uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -555,7 +565,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TPrimitiveTypeEntry");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1);
@@ -569,6 +579,7 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -590,12 +601,13 @@ TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& o
__isset = other14.__isset;
return *this;
}
-void TPrimitiveTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TPrimitiveTypeEntry(";
- out << "type=" << to_string(type);
- out << ", " << "typeQualifiers="; (__isset.typeQualifiers ? (out << to_string(typeQualifiers)) : (out << "<null>"));
+ out << "type=" << to_string(obj.type);
+ out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -607,9 +619,11 @@ void TArrayTypeEntry::__set_objectTypePtr(const TTypeEntryPtr val) {
this->objectTypePtr = val;
}
+const char* TArrayTypeEntry::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4";
+const uint8_t TArrayTypeEntry::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4};
+
uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -653,7 +667,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TArrayTypeEntry");
xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1);
@@ -662,6 +676,7 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -677,11 +692,12 @@ TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) {
objectTypePtr = other16.objectTypePtr;
return *this;
}
-void TArrayTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TArrayTypeEntry(";
- out << "objectTypePtr=" << to_string(objectTypePtr);
+ out << "objectTypePtr=" << to_string(obj.objectTypePtr);
out << ")";
+ return out;
}
@@ -697,9 +713,11 @@ void TMapTypeEntry::__set_valueTypePtr(const TTypeEntryPtr val) {
this->valueTypePtr = val;
}
+const char* TMapTypeEntry::ascii_fingerprint = "989D1F1AE8D148D5E2119FFEC4BBBEE3";
+const uint8_t TMapTypeEntry::binary_fingerprint[16] = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3};
+
uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -754,7 +772,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TMapTypeEntry");
xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1);
@@ -767,6 +785,7 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -785,12 +804,13 @@ TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) {
valueTypePtr = other18.valueTypePtr;
return *this;
}
-void TMapTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TMapTypeEntry(";
- out << "keyTypePtr=" << to_string(keyTypePtr);
- out << ", " << "valueTypePtr=" << to_string(valueTypePtr);
+ out << "keyTypePtr=" << to_string(obj.keyTypePtr);
+ out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr);
out << ")";
+ return out;
}
@@ -802,9 +822,11 @@ void TStructTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntr
this->nameToTypePtr = val;
}
+const char* TStructTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
+const uint8_t TStructTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
+
uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -863,7 +885,7 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TStructTypeEntry");
xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
@@ -881,6 +903,7 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -896,11 +919,12 @@ TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) {
nameToTypePtr = other28.nameToTypePtr;
return *this;
}
-void TStructTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TStructTypeEntry(";
- out << "nameToTypePtr=" << to_string(nameToTypePtr);
+ out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
out << ")";
+ return out;
}
@@ -912,9 +936,11 @@ void TUnionTypeEntry::__set_nameToTypePtr(const std::map<std::string, TTypeEntry
this->nameToTypePtr = val;
}
+const char* TUnionTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402";
+const uint8_t TUnionTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02};
+
uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -973,7 +999,7 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TUnionTypeEntry");
xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
@@ -991,6 +1017,7 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1006,11 +1033,12 @@ TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) {
nameToTypePtr = other38.nameToTypePtr;
return *this;
}
-void TUnionTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TUnionTypeEntry(";
- out << "nameToTypePtr=" << to_string(nameToTypePtr);
+ out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
out << ")";
+ return out;
}
@@ -1022,9 +1050,11 @@ void TUserDefinedTypeEntry::__set_typeClassName(const std::string& val) {
this->typeClassName = val;
}
+const char* TUserDefinedTypeEntry::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1";
+const uint8_t TUserDefinedTypeEntry::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
+
uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1068,7 +1098,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TUserDefinedTypeEntry");
xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1077,6 +1107,7 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1092,11 +1123,12 @@ TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEn
typeClassName = other40.typeClassName;
return *this;
}
-void TUserDefinedTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TUserDefinedTypeEntry(";
- out << "typeClassName=" << to_string(typeClassName);
+ out << "typeClassName=" << to_string(obj.typeClassName);
out << ")";
+ return out;
}
@@ -1128,9 +1160,11 @@ void TTypeEntry::__set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) {
this->userDefinedTypeEntry = val;
}
+const char* TTypeEntry::ascii_fingerprint = "2FE56D9097E325DAA7E933738C6D325F";
+const uint8_t TTypeEntry::binary_fingerprint[16] = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F};
+
uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1211,7 +1245,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TTypeEntry");
xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1240,6 +1274,7 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1273,16 +1308,17 @@ TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) {
__isset = other42.__isset;
return *this;
}
-void TTypeEntry::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) {
+ using apache::thrift::to_string;
out << "TTypeEntry(";
- out << "primitiveEntry=" << to_string(primitiveEntry);
- out << ", " << "arrayEntry=" << to_string(arrayEntry);
- out << ", " << "mapEntry=" << to_string(mapEntry);
- out << ", " << "structEntry=" << to_string(structEntry);
- out << ", " << "unionEntry=" << to_string(unionEntry);
- out << ", " << "userDefinedTypeEntry=" << to_string(userDefinedTypeEntry);
+ out << "primitiveEntry=" << to_string(obj.primitiveEntry);
+ out << ", " << "arrayEntry=" << to_string(obj.arrayEntry);
+ out << ", " << "mapEntry=" << to_string(obj.mapEntry);
+ out << ", " << "structEntry=" << to_string(obj.structEntry);
+ out << ", " << "unionEntry=" << to_string(obj.unionEntry);
+ out << ", " << "userDefinedTypeEntry=" << to_string(obj.userDefinedTypeEntry);
out << ")";
+ return out;
}
@@ -1294,9 +1330,11 @@ void TTypeDesc::__set_types(const std::vector<TTypeEntry> & val) {
this->types = val;
}
+const char* TTypeDesc::ascii_fingerprint = "90B3C5A0B73419A84E85E0E48C452AA5";
+const uint8_t TTypeDesc::binary_fingerprint[16] = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5};
+
uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1352,7 +1390,7 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TTypeDesc");
xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1);
@@ -1369,6 +1407,7 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1384,11 +1423,12 @@ TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) {
types = other50.types;
return *this;
}
-void TTypeDesc::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) {
+ using apache::thrift::to_string;
out << "TTypeDesc(";
- out << "types=" << to_string(types);
+ out << "types=" << to_string(obj.types);
out << ")";
+ return out;
}
@@ -1413,9 +1453,11 @@ void TColumnDesc::__set_comment(const std::string& val) {
__isset.comment = true;
}
+const char* TColumnDesc::ascii_fingerprint = "EABED9009D5FCABFCA65612069F2A849";
+const uint8_t TColumnDesc::binary_fingerprint[16] = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49};
+
uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1489,7 +1531,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TColumnDesc");
xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1511,6 +1553,7 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1538,14 +1581,15 @@ TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) {
__isset = other52.__isset;
return *this;
}
-void TColumnDesc::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) {
+ using apache::thrift::to_string;
out << "TColumnDesc(";
- out << "columnName=" << to_string(columnName);
- out << ", " << "typeDesc=" << to_string(typeDesc);
- out << ", " << "position=" << to_string(position);
- out << ", " << "comment="; (__isset.comment ? (out << to_string(comment)) : (out << "<null>"));
+ out << "columnName=" << to_string(obj.columnName);
+ out << ", " << "typeDesc=" << to_string(obj.typeDesc);
+ out << ", " << "position=" << to_string(obj.position);
+ out << ", " << "comment="; (obj.__isset.comment ? (out << to_string(obj.comment)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1557,9 +1601,11 @@ void TTableSchema::__set_columns(const std::vector<TColumnDesc> & val) {
this->columns = val;
}
+const char* TTableSchema::ascii_fingerprint = "7A1811E49313E5977107FC667B20E39D";
+const uint8_t TTableSchema::binary_fingerprint[16] = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D};
+
uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1615,7 +1661,7 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TTableSchema");
xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
@@ -1632,6 +1678,7 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1647,11 +1694,12 @@ TTableSchema& TTableSchema::operator=(const TTableSchema& other60) {
columns = other60.columns;
return *this;
}
-void TTableSchema::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) {
+ using apache::thrift::to_string;
out << "TTableSchema(";
- out << "columns=" << to_string(columns);
+ out << "columns=" << to_string(obj.columns);
out << ")";
+ return out;
}
@@ -1664,9 +1712,11 @@ void TBoolValue::__set_value(const bool val) {
__isset.value = true;
}
+const char* TBoolValue::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD";
+const uint8_t TBoolValue::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD};
+
uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1707,7 +1757,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TBoolValue");
if (this->__isset.value) {
@@ -1717,6 +1767,7 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1735,11 +1786,12 @@ TBoolValue& TBoolValue::operator=(const TBoolValue& other62) {
__isset = other62.__isset;
return *this;
}
-void TBoolValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) {
+ using apache::thrift::to_string;
out << "TBoolValue(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1752,9 +1804,11 @@ void TByteValue::__set_value(const int8_t val) {
__isset.value = true;
}
+const char* TByteValue::ascii_fingerprint = "9C15298ACB5D04AEA9B52D5DDE6F9208";
+const uint8_t TByteValue::binary_fingerprint[16] = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08};
+
uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1795,7 +1849,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TByteValue");
if (this->__isset.value) {
@@ -1805,6 +1859,7 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1823,11 +1878,12 @@ TByteValue& TByteValue::operator=(const TByteValue& other64) {
__isset = other64.__isset;
return *this;
}
-void TByteValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TByteValue& obj) {
+ using apache::thrift::to_string;
out << "TByteValue(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1840,9 +1896,11 @@ void TI16Value::__set_value(const int16_t val) {
__isset.value = true;
}
+const char* TI16Value::ascii_fingerprint = "5DAC9C51C7E1106BF936FC71860BE9D5";
+const uint8_t TI16Value::binary_fingerprint[16] = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5};
+
uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1883,7 +1941,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI16Value");
if (this->__isset.value) {
@@ -1893,6 +1951,7 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1911,11 +1970,12 @@ TI16Value& TI16Value::operator=(const TI16Value& other66) {
__isset = other66.__isset;
return *this;
}
-void TI16Value::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI16Value& obj) {
+ using apache::thrift::to_string;
out << "TI16Value(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -1928,9 +1988,11 @@ void TI32Value::__set_value(const int32_t val) {
__isset.value = true;
}
+const char* TI32Value::ascii_fingerprint = "E7A96B151330359E84C0A3AC91BCBACD";
+const uint8_t TI32Value::binary_fingerprint[16] = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD};
+
uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -1971,7 +2033,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI32Value");
if (this->__isset.value) {
@@ -1981,6 +2043,7 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -1999,11 +2062,12 @@ TI32Value& TI32Value::operator=(const TI32Value& other68) {
__isset = other68.__isset;
return *this;
}
-void TI32Value::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI32Value& obj) {
+ using apache::thrift::to_string;
out << "TI32Value(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2016,9 +2080,11 @@ void TI64Value::__set_value(const int64_t val) {
__isset.value = true;
}
+const char* TI64Value::ascii_fingerprint = "148F3AAAC1D9859963D5E800D187BF26";
+const uint8_t TI64Value::binary_fingerprint[16] = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26};
+
uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2059,7 +2125,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI64Value");
if (this->__isset.value) {
@@ -2069,6 +2135,7 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2087,11 +2154,12 @@ TI64Value& TI64Value::operator=(const TI64Value& other70) {
__isset = other70.__isset;
return *this;
}
-void TI64Value::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI64Value& obj) {
+ using apache::thrift::to_string;
out << "TI64Value(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2104,9 +2172,11 @@ void TDoubleValue::__set_value(const double val) {
__isset.value = true;
}
+const char* TDoubleValue::ascii_fingerprint = "3586E570A474C4A8603B4FF74903B3A6";
+const uint8_t TDoubleValue::binary_fingerprint[16] = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6};
+
uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2147,7 +2217,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TDoubleValue");
if (this->__isset.value) {
@@ -2157,6 +2227,7 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2175,11 +2246,12 @@ TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) {
__isset = other72.__isset;
return *this;
}
-void TDoubleValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) {
+ using apache::thrift::to_string;
out << "TDoubleValue(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2192,9 +2264,11 @@ void TStringValue::__set_value(const std::string& val) {
__isset.value = true;
}
+const char* TStringValue::ascii_fingerprint = "66E694018C17E5B65A59AE8F55CCA3CD";
+const uint8_t TStringValue::binary_fingerprint[16] = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD};
+
uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2235,7 +2309,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TStringValue");
if (this->__isset.value) {
@@ -2245,6 +2319,7 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2263,11 +2338,12 @@ TStringValue& TStringValue::operator=(const TStringValue& other74) {
__isset = other74.__isset;
return *this;
}
-void TStringValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TStringValue& obj) {
+ using apache::thrift::to_string;
out << "TStringValue(";
- out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
+ out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -2303,9 +2379,11 @@ void TColumnValue::__set_stringVal(const TStringValue& val) {
this->stringVal = val;
}
+const char* TColumnValue::ascii_fingerprint = "C2DDD988447EA7999A8285AA38AAE9AD";
+const uint8_t TColumnValue::binary_fingerprint[16] = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD};
+
uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2394,7 +2472,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TColumnValue");
xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2427,6 +2505,7 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2463,17 +2542,18 @@ TColumnValue& TColumnValue::operator=(const TColumnValue& other76) {
__isset = other76.__isset;
return *this;
}
-void TColumnValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) {
+ using apache::thrift::to_string;
out << "TColumnValue(";
- out << "boolVal=" << to_string(boolVal);
- out << ", " << "byteVal=" << to_string(byteVal);
- out << ", " << "i16Val=" << to_string(i16Val);
- out << ", " << "i32Val=" << to_string(i32Val);
- out << ", " << "i64Val=" << to_string(i64Val);
- out << ", " << "doubleVal=" << to_string(doubleVal);
- out << ", " << "stringVal=" << to_string(stringVal);
+ out << "boolVal=" << to_string(obj.boolVal);
+ out << ", " << "byteVal=" << to_string(obj.byteVal);
+ out << ", " << "i16Val=" << to_string(obj.i16Val);
+ out << ", " << "i32Val=" << to_string(obj.i32Val);
+ out << ", " << "i64Val=" << to_string(obj.i64Val);
+ out << ", " << "doubleVal=" << to_string(obj.doubleVal);
+ out << ", " << "stringVal=" << to_string(obj.stringVal);
out << ")";
+ return out;
}
@@ -2485,9 +2565,11 @@ void TRow::__set_colVals(const std::vector<TColumnValue> & val) {
this->colVals = val;
}
+const char* TRow::ascii_fingerprint = "E73FD1FCA0CA58A669FC3E02FB68D534";
+const uint8_t TRow::binary_fingerprint[16] = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34};
+
uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2543,7 +2625,7 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TRow");
xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1);
@@ -2560,6 +2642,7 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2575,11 +2658,12 @@ TRow& TRow::operator=(const TRow& other84) {
colVals = other84.colVals;
return *this;
}
-void TRow::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TRow& obj) {
+ using apache::thrift::to_string;
out << "TRow(";
- out << "colVals=" << to_string(colVals);
+ out << "colVals=" << to_string(obj.colVals);
out << ")";
+ return out;
}
@@ -2595,9 +2679,11 @@ void TBoolColumn::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219";
+const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19};
+
uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2664,7 +2750,7 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TBoolColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -2685,6 +2771,7 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2703,12 +2790,13 @@ TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) {
nulls = other92.nulls;
return *this;
}
-void TBoolColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) {
+ using apache::thrift::to_string;
out << "TBoolColumn(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -2724,9 +2812,11 @@ void TByteColumn::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TByteColumn::ascii_fingerprint = "1CB300106BAA463A70BB2A2395900F48";
+const uint8_t TByteColumn::binary_fingerprint[16] = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48};
+
uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2793,7 +2883,7 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TByteColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -2814,6 +2904,7 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2832,12 +2923,13 @@ TByteColumn& TByteColumn::operator=(const TByteColumn& other100) {
nulls = other100.nulls;
return *this;
}
-void TByteColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) {
+ using apache::thrift::to_string;
out << "TByteColumn(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -2853,9 +2945,11 @@ void TI16Column::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TI16Column::ascii_fingerprint = "6574CDB1F121C8DB47FB257A3F104BDB";
+const uint8_t TI16Column::binary_fingerprint[16] = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB};
+
uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -2922,7 +3016,7 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI16Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -2943,6 +3037,7 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -2961,12 +3056,13 @@ TI16Column& TI16Column::operator=(const TI16Column& other108) {
nulls = other108.nulls;
return *this;
}
-void TI16Column::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI16Column& obj) {
+ using apache::thrift::to_string;
out << "TI16Column(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -2982,9 +3078,11 @@ void TI32Column::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TI32Column::ascii_fingerprint = "CCCCE89C7E9DA10280F5663700677313";
+const uint8_t TI32Column::binary_fingerprint[16] = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13};
+
uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3051,7 +3149,7 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI32Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3072,6 +3170,7 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3090,12 +3189,13 @@ TI32Column& TI32Column::operator=(const TI32Column& other116) {
nulls = other116.nulls;
return *this;
}
-void TI32Column::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI32Column& obj) {
+ using apache::thrift::to_string;
out << "TI32Column(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -3111,9 +3211,11 @@ void TI64Column::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TI64Column::ascii_fingerprint = "925353917FC0AF87976A2338011F5A31";
+const uint8_t TI64Column::binary_fingerprint[16] = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31};
+
uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3180,7 +3282,7 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TI64Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3201,6 +3303,7 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3219,12 +3322,13 @@ TI64Column& TI64Column::operator=(const TI64Column& other124) {
nulls = other124.nulls;
return *this;
}
-void TI64Column::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TI64Column& obj) {
+ using apache::thrift::to_string;
out << "TI64Column(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -3240,9 +3344,11 @@ void TDoubleColumn::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TDoubleColumn::ascii_fingerprint = "8FF1C050A8D7FD247AEB23CD71539C09";
+const uint8_t TDoubleColumn::binary_fingerprint[16] = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09};
+
uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3309,7 +3415,7 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TDoubleColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3330,6 +3436,7 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3348,12 +3455,13 @@ TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) {
nulls = other132.nulls;
return *this;
}
-void TDoubleColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) {
+ using apache::thrift::to_string;
out << "TDoubleColumn(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -3369,9 +3477,11 @@ void TStringColumn::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TStringColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
+const uint8_t TStringColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
+
uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3438,7 +3548,7 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TStringColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3459,6 +3569,7 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3477,12 +3588,13 @@ TStringColumn& TStringColumn::operator=(const TStringColumn& other140) {
nulls = other140.nulls;
return *this;
}
-void TStringColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) {
+ using apache::thrift::to_string;
out << "TStringColumn(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -3498,9 +3610,11 @@ void TBinaryColumn::__set_nulls(const std::string& val) {
this->nulls = val;
}
+const char* TBinaryColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F";
+const uint8_t TBinaryColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F};
+
uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3567,7 +3681,7 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TBinaryColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3588,6 +3702,7 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3606,12 +3721,13 @@ TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) {
nulls = other148.nulls;
return *this;
}
-void TBinaryColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) {
+ using apache::thrift::to_string;
out << "TBinaryColumn(";
- out << "values=" << to_string(values);
- out << ", " << "nulls=" << to_string(nulls);
+ out << "values=" << to_string(obj.values);
+ out << ", " << "nulls=" << to_string(obj.nulls);
out << ")";
+ return out;
}
@@ -3651,9 +3767,11 @@ void TColumn::__set_binaryVal(const TBinaryColumn& val) {
this->binaryVal = val;
}
+const char* TColumn::ascii_fingerprint = "E6ADD10B4CDDE61A19E8878CC7039A17";
+const uint8_t TColumn::binary_fingerprint[16] = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17};
+
uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3750,7 +3868,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TColumn");
xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3787,6 +3905,7 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -3826,18 +3945,19 @@ TColumn& TColumn::operator=(const TColumn& other150) {
__isset = other150.__isset;
return *this;
}
-void TColumn::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TColumn& obj) {
+ using apache::thrift::to_string;
out << "TColumn(";
- out << "boolVal=" << to_string(boolVal);
- out << ", " << "byteVal=" << to_string(byteVal);
- out << ", " << "i16Val=" << to_string(i16Val);
- out << ", " << "i32Val=" << to_string(i32Val);
- out << ", " << "i64Val=" << to_string(i64Val);
- out << ", " << "doubleVal=" << to_string(doubleVal);
- out << ", " << "stringVal=" << to_string(stringVal);
- out << ", " << "binaryVal=" << to_string(binaryVal);
+ out << "boolVal=" << to_string(obj.boolVal);
+ out << ", " << "byteVal=" << to_string(obj.byteVal);
+ out << ", " << "i16Val=" << to_string(obj.i16Val);
+ out << ", " << "i32Val=" << to_string(obj.i32Val);
+ out << ", " << "i64Val=" << to_string(obj.i64Val);
+ out << ", " << "doubleVal=" << to_string(obj.doubleVal);
+ out << ", " << "stringVal=" << to_string(obj.stringVal);
+ out << ", " << "binaryVal=" << to_string(obj.binaryVal);
out << ")";
+ return out;
}
@@ -3858,9 +3978,11 @@ void TRowSet::__set_columns(const std::vector<TColumn> & val) {
__isset.columns = true;
}
+const char* TRowSet::ascii_fingerprint = "46DA30A870489C7A58105AE0080DAEBF";
+const uint8_t TRowSet::binary_fingerprint[16] = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF};
+
uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -3947,7 +4069,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TRowSet");
xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1);
@@ -3981,6 +4103,7 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4005,13 +4128,14 @@ TRowSet& TRowSet::operator=(const TRowSet& other164) {
__isset = other164.__isset;
return *this;
}
-void TRowSet::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TRowSet& obj) {
+ using apache::thrift::to_string;
out << "TRowSet(";
- out << "startRowOffset=" << to_string(startRowOffset);
- out << ", " << "rows=" << to_string(rows);
- out << ", " << "columns="; (__isset.columns ? (out << to_string(columns)) : (out << "<null>"));
+ out << "startRowOffset=" << to_string(obj.startRowOffset);
+ out << ", " << "rows=" << to_string(obj.rows);
+ out << ", " << "columns="; (obj.__isset.columns ? (out << to_string(obj.columns)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4043,9 +4167,11 @@ void TStatus::__set_errorMessage(const std::string& val) {
__isset.errorMessage = true;
}
+const char* TStatus::ascii_fingerprint = "D5DEF49634A59C615C1B3A6F7D0DADB5";
+const uint8_t TStatus::binary_fingerprint[16] = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5};
+
uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4135,7 +4261,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TStatus");
xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1);
@@ -4172,6 +4298,7 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4202,15 +4329,16 @@ TStatus& TStatus::operator=(const TStatus& other173) {
__isset = other173.__isset;
return *this;
}
-void TStatus::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TStatus& obj) {
+ using apache::thrift::to_string;
out << "TStatus(";
- out << "statusCode=" << to_string(statusCode);
- out << ", " << "infoMessages="; (__isset.infoMessages ? (out << to_string(infoMessages)) : (out << "<null>"));
- out << ", " << "sqlState="; (__isset.sqlState ? (out << to_string(sqlState)) : (out << "<null>"));
- out << ", " << "errorCode="; (__isset.errorCode ? (out << to_string(errorCode)) : (out << "<null>"));
- out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "<null>"));
+ out << "statusCode=" << to_string(obj.statusCode);
+ out << ", " << "infoMessages="; (obj.__isset.infoMessages ? (out << to_string(obj.infoMessages)) : (out << "<null>"));
+ out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "<null>"));
+ out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "<null>"));
+ out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4226,9 +4354,11 @@ void THandleIdentifier::__set_secret(const std::string& val) {
this->secret = val;
}
+const char* THandleIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
+const uint8_t THandleIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
+
uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4283,7 +4413,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("THandleIdentifier");
xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1);
@@ -4296,6 +4426,7 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4314,12 +4445,13 @@ THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other17
secret = other175.secret;
return *this;
}
-void THandleIdentifier::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) {
+ using apache::thrift::to_string;
out << "THandleIdentifier(";
- out << "guid=" << to_string(guid);
- out << ", " << "secret=" << to_string(secret);
+ out << "guid=" << to_string(obj.guid);
+ out << ", " << "secret=" << to_string(obj.secret);
out << ")";
+ return out;
}
@@ -4331,9 +4463,11 @@ void TSessionHandle::__set_sessionId(const THandleIdentifier& val) {
this->sessionId = val;
}
+const char* TSessionHandle::ascii_fingerprint = "A756D3DBE614FB13F70BF7F7B6EB3D73";
+const uint8_t TSessionHandle::binary_fingerprint[16] = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73};
+
uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4377,7 +4511,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TSessionHandle");
xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4386,6 +4520,7 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4401,11 +4536,12 @@ TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) {
sessionId = other177.sessionId;
return *this;
}
-void TSessionHandle::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) {
+ using apache::thrift::to_string;
out << "TSessionHandle(";
- out << "sessionId=" << to_string(sessionId);
+ out << "sessionId=" << to_string(obj.sessionId);
out << ")";
+ return out;
}
@@ -4430,9 +4566,11 @@ void TOperationHandle::__set_modifiedRowCount(const double val) {
__isset.modifiedRowCount = true;
}
+const char* TOperationHandle::ascii_fingerprint = "29FD80F4F96804A30FCC59C23D2E5349";
+const uint8_t TOperationHandle::binary_fingerprint[16] = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49};
+
uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4508,7 +4646,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TOperationHandle");
xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4530,6 +4668,7 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4557,14 +4696,15 @@ TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180)
__isset = other180.__isset;
return *this;
}
-void TOperationHandle::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) {
+ using apache::thrift::to_string;
out << "TOperationHandle(";
- out << "operationId=" << to_string(operationId);
- out << ", " << "operationType=" << to_string(operationType);
- out << ", " << "hasResultSet=" << to_string(hasResultSet);
- out << ", " << "modifiedRowCount="; (__isset.modifiedRowCount ? (out << to_string(modifiedRowCount)) : (out << "<null>"));
+ out << "operationId=" << to_string(obj.operationId);
+ out << ", " << "operationType=" << to_string(obj.operationType);
+ out << ", " << "hasResultSet=" << to_string(obj.hasResultSet);
+ out << ", " << "modifiedRowCount="; (obj.__isset.modifiedRowCount ? (out << to_string(obj.modifiedRowCount)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4591,9 +4731,11 @@ void TOpenSessionReq::__set_configuration(const std::map<std::string, std::strin
__isset.configuration = true;
}
+const char* TOpenSessionReq::ascii_fingerprint = "C8FD0F306A16C16BDA7B57F58BFAE5B2";
+const uint8_t TOpenSessionReq::binary_fingerprint[16] = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2};
+
uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4678,7 +4820,7 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TOpenSessionReq");
xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1);
@@ -4711,6 +4853,7 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4738,14 +4881,15 @@ TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) {
__isset = other191.__isset;
return *this;
}
-void TOpenSessionReq::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) {
+ using apache::thrift::to_string;
out << "TOpenSessionReq(";
- out << "client_protocol=" << to_string(client_protocol);
- out << ", " << "username="; (__isset.username ? (out << to_string(username)) : (out << "<null>"));
- out << ", " << "password="; (__isset.password ? (out << to_string(password)) : (out << "<null>"));
- out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
+ out << "client_protocol=" << to_string(obj.client_protocol);
+ out << ", " << "username="; (obj.__isset.username ? (out << to_string(obj.username)) : (out << "<null>"));
+ out << ", " << "password="; (obj.__isset.password ? (out << to_string(obj.password)) : (out << "<null>"));
+ out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4771,9 +4915,11 @@ void TOpenSessionResp::__set_configuration(const std::map<std::string, std::stri
__isset.configuration = true;
}
+const char* TOpenSessionResp::ascii_fingerprint = "CFE7D7F4E9EC671F2518ED74FEE9F163";
+const uint8_t TOpenSessionResp::binary_fingerprint[16] = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63};
+
uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4861,7 +5007,7 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TOpenSessionResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4893,6 +5039,7 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -4920,14 +5067,15 @@ TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202)
__isset = other202.__isset;
return *this;
}
-void TOpenSessionResp::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) {
+ using apache::thrift::to_string;
out << "TOpenSessionResp(";
- out << "status=" << to_string(status);
- out << ", " << "serverProtocolVersion=" << to_string(serverProtocolVersion);
- out << ", " << "sessionHandle="; (__isset.sessionHandle ? (out << to_string(sessionHandle)) : (out << "<null>"));
- out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "<null>"));
+ out << "status=" << to_string(obj.status);
+ out << ", " << "serverProtocolVersion=" << to_string(obj.serverProtocolVersion);
+ out << ", " << "sessionHandle="; (obj.__isset.sessionHandle ? (out << to_string(obj.sessionHandle)) : (out << "<null>"));
+ out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -4939,9 +5087,11 @@ void TCloseSessionReq::__set_sessionHandle(const TSessionHandle& val) {
this->sessionHandle = val;
}
+const char* TCloseSessionReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
+const uint8_t TCloseSessionReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -4985,7 +5135,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCloseSessionReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4994,6 +5144,7 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5009,11 +5160,12 @@ TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204)
sessionHandle = other204.sessionHandle;
return *this;
}
-void TCloseSessionReq::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) {
+ using apache::thrift::to_string;
out << "TCloseSessionReq(";
- out << "sessionHandle=" << to_string(sessionHandle);
+ out << "sessionHandle=" << to_string(obj.sessionHandle);
out << ")";
+ return out;
}
@@ -5025,9 +5177,11 @@ void TCloseSessionResp::__set_status(const TStatus& val) {
this->status = val;
}
+const char* TCloseSessionResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2";
+const uint8_t TCloseSessionResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2};
+
uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5071,7 +5225,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TCloseSessionResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5080,6 +5234,7 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5095,11 +5250,12 @@ TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other20
status = other206.status;
return *this;
}
-void TCloseSessionResp::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) {
+ using apache::thrift::to_string;
out << "TCloseSessionResp(";
- out << "status=" << to_string(status);
+ out << "status=" << to_string(obj.status);
out << ")";
+ return out;
}
@@ -5131,9 +5287,11 @@ void TGetInfoValue::__set_lenValue(const int64_t val) {
this->lenValue = val;
}
+const char* TGetInfoValue::ascii_fingerprint = "057FED11279FD7248CFE73EE82ED579E";
+const uint8_t TGetInfoValue::binary_fingerprint[16] = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E};
+
uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5214,7 +5372,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TGetInfoValue");
xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1);
@@ -5243,6 +5401,7 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5276,16 +5435,17 @@ TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) {
__isset = other208.__isset;
return *this;
}
-void TGetInfoValue::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) {
+ using apache::thrift::to_string;
out << "TGetInfoValue(";
- out << "stringValue=" << to_string(stringValue);
- out << ", " << "smallIntValue=" << to_string(smallIntValue);
- out << ", " << "integerBitmask=" << to_string(integerBitmask);
- out << ", " << "integerFlag=" << to_string(integerFlag);
- out << ", " << "binaryValue=" << to_string(binaryValue);
- out << ", " << "lenValue=" << to_string(lenValue);
+ out << "stringValue=" << to_string(obj.stringValue);
+ out << ", " << "smallIntValue=" << to_string(obj.smallIntValue);
+ out << ", " << "integerBitmask=" << to_string(obj.integerBitmask);
+ out << ", " << "integerFlag=" << to_string(obj.integerFlag);
+ out << ", " << "binaryValue=" << to_string(obj.binaryValue);
+ out << ", " << "lenValue=" << to_string(obj.lenValue);
out << ")";
+ return out;
}
@@ -5301,9 +5461,11 @@ void TGetInfoReq::__set_infoType(const TGetInfoType::type val) {
this->infoType = val;
}
+const char* TGetInfoReq::ascii_fingerprint = "95675B1A0BADE5F7EDE323809DB679B2";
+const uint8_t TGetInfoReq::binary_fingerprint[16] = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2};
+
uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5360,7 +5522,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TGetInfoReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5373,6 +5535,7 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5391,12 +5554,13 @@ TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) {
infoType = other211.infoType;
return *this;
}
-void TGetInfoReq::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) {
+ using apache::thrift::to_string;
out << "TGetInfoReq(";
- out << "sessionHandle=" << to_string(sessionHandle);
- out << ", " << "infoType=" << to_string(infoType);
+ out << "sessionHandle=" << to_string(obj.sessionHandle);
+ out << ", " << "infoType=" << to_string(obj.infoType);
out << ")";
+ return out;
}
@@ -5412,9 +5576,11 @@ void TGetInfoResp::__set_infoValue(const TGetInfoValue& val) {
this->infoValue = val;
}
+const char* TGetInfoResp::ascii_fingerprint = "72AFA10A82728B51FDE91092012868DE";
+const uint8_t TGetInfoResp::binary_fingerprint[16] = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE};
+
uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5469,7 +5635,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TGetInfoResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5482,6 +5648,7 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5500,12 +5667,13 @@ TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) {
infoValue = other213.infoValue;
return *this;
}
-void TGetInfoResp::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) {
+ using apache::thrift::to_string;
out << "TGetInfoResp(";
- out << "status=" << to_string(status);
- out << ", " << "infoValue=" << to_string(infoValue);
+ out << "status=" << to_string(obj.status);
+ out << ", " << "infoValue=" << to_string(obj.infoValue);
out << ")";
+ return out;
}
@@ -5531,9 +5699,11 @@ void TExecuteStatementReq::__set_runAsync(const bool val) {
__isset.runAsync = true;
}
+const char* TExecuteStatementReq::ascii_fingerprint = "FED75DB77E66D76EC1939A51FB0D96FA";
+const uint8_t TExecuteStatementReq::binary_fingerprint[16] = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA};
+
uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5619,7 +5789,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot
uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TExecuteStatementReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5651,6 +5821,7 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5678,14 +5849,15 @@ TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq
__isset = other223.__isset;
return *this;
}
-void TExecuteStatementReq::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) {
+ using apache::thrift::to_string;
out << "TExecuteStatementReq(";
- out << "sessionHandle=" << to_string(sessionHandle);
- out << ", " << "statement=" << to_string(statement);
- out << ", " << "confOverlay="; (__isset.confOverlay ? (out << to_string(confOverlay)) : (out << "<null>"));
- out << ", " << "runAsync="; (__isset.runAsync ? (out << to_string(runAsync)) : (out << "<null>"));
+ out << "sessionHandle=" << to_string(obj.sessionHandle);
+ out << ", " << "statement=" << to_string(obj.statement);
+ out << ", " << "confOverlay="; (obj.__isset.confOverlay ? (out << to_string(obj.confOverlay)) : (out << "<null>"));
+ out << ", " << "runAsync="; (obj.__isset.runAsync ? (out << to_string(obj.runAsync)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -5702,9 +5874,11 @@ void TExecuteStatementResp::__set_operationHandle(const TOperationHandle& val) {
__isset.operationHandle = true;
}
+const char* TExecuteStatementResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286";
+const uint8_t TExecuteStatementResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86};
+
uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5756,7 +5930,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TExecuteStatementResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5770,6 +5944,7 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5791,12 +5966,13 @@ TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementR
__isset = other225.__isset;
return *this;
}
-void TExecuteStatementResp::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) {
+ using apache::thrift::to_string;
out << "TExecuteStatementResp(";
- out << "status=" << to_string(status);
- out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "<null>"));
+ out << "status=" << to_string(obj.status);
+ out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "<null>"));
out << ")";
+ return out;
}
@@ -5808,9 +5984,11 @@ void TGetTypeInfoReq::__set_sessionHandle(const TSessionHandle& val) {
this->sessionHandle = val;
}
+const char* TGetTypeInfoReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF";
+const uint8_t TGetTypeInfoReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF};
+
uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
- apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
@@ -5854,7 +6032,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
+ oprot->incrementRecursionDepth();
xfer += oprot->writeStructBegin("TGetTypeInfoReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5863,6 +6041,7 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
+ oprot->decrementRecursionDepth();
return xfer;
}
@@ -5878,11 +6057,12 @@ TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) {
sessionHandle = other227.sessionHandle;
return *this;
}
-void TGetTypeInfoReq::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
+std::ostr
<TRUNCATED>
[15/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter
api in metastore api
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
index b9b7f3c..28b816d 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowLocksResponse implements org.apache.thrift.TBase<ShowLocksResponse, ShowLocksResponse._Fields>, java.io.Serializable, Cloneable, Comparable<ShowLocksResponse> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksResponse");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
index 037a383..d41c5eb 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLocksResponseElement, ShowLocksResponseElement._Fields>, java.io.Serializable, Cloneable, Comparable<ShowLocksResponseElement> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksResponseElement");
@@ -640,7 +640,7 @@ public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLoc
public Object getFieldValue(_Fields field) {
switch (field) {
case LOCKID:
- return getLockid();
+ return Long.valueOf(getLockid());
case DBNAME:
return getDbname();
@@ -658,13 +658,13 @@ public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLoc
return getType();
case TXNID:
- return getTxnid();
+ return Long.valueOf(getTxnid());
case LASTHEARTBEAT:
- return getLastheartbeat();
+ return Long.valueOf(getLastheartbeat());
case ACQUIREDAT:
- return getAcquiredat();
+ return Long.valueOf(getAcquiredat());
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
index c32f50c..cf3a257 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class SkewedInfo implements org.apache.thrift.TBase<SkewedInfo, SkewedInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SkewedInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SkewedInfo");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
index 938f06b..20273b1 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class StorageDescriptor implements org.apache.thrift.TBase<StorageDescriptor, StorageDescriptor._Fields>, java.io.Serializable, Cloneable, Comparable<StorageDescriptor> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("StorageDescriptor");
@@ -748,10 +748,10 @@ public class StorageDescriptor implements org.apache.thrift.TBase<StorageDescrip
return getOutputFormat();
case COMPRESSED:
- return isCompressed();
+ return Boolean.valueOf(isCompressed());
case NUM_BUCKETS:
- return getNumBuckets();
+ return Integer.valueOf(getNumBuckets());
case SERDE_INFO:
return getSerdeInfo();
@@ -769,7 +769,7 @@ public class StorageDescriptor implements org.apache.thrift.TBase<StorageDescrip
return getSkewedInfo();
case STORED_AS_SUB_DIRECTORIES:
- return isStoredAsSubDirectories();
+ return Boolean.valueOf(isStoredAsSubDirectories());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
index bd8a922..856a098 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class StringColumnStatsData implements org.apache.thrift.TBase<StringColumnStatsData, StringColumnStatsData._Fields>, java.io.Serializable, Cloneable, Comparable<StringColumnStatsData> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("StringColumnStatsData");
@@ -317,16 +317,16 @@ public class StringColumnStatsData implements org.apache.thrift.TBase<StringColu
public Object getFieldValue(_Fields field) {
switch (field) {
case MAX_COL_LEN:
- return getMaxColLen();
+ return Long.valueOf(getMaxColLen());
case AVG_COL_LEN:
- return getAvgColLen();
+ return Double.valueOf(getAvgColLen());
case NUM_NULLS:
- return getNumNulls();
+ return Long.valueOf(getNumNulls());
case NUM_DVS:
- return getNumDVs();
+ return Long.valueOf(getNumDVs());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
index 5d683fb..80a8d2f 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class Table implements org.apache.thrift.TBase<Table, Table._Fields>, java.io.Serializable, Cloneable, Comparable<Table> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Table");
@@ -798,13 +798,13 @@ public class Table implements org.apache.thrift.TBase<Table, Table._Fields>, jav
return getOwner();
case CREATE_TIME:
- return getCreateTime();
+ return Integer.valueOf(getCreateTime());
case LAST_ACCESS_TIME:
- return getLastAccessTime();
+ return Integer.valueOf(getLastAccessTime());
case RETENTION:
- return getRetention();
+ return Integer.valueOf(getRetention());
case SD:
return getSd();
@@ -828,7 +828,7 @@ public class Table implements org.apache.thrift.TBase<Table, Table._Fields>, jav
return getPrivileges();
case TEMPORARY:
- return isTemporary();
+ return Boolean.valueOf(isTemporary());
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
index 08a8e36..f9d011e 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableMeta.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TableMeta implements org.apache.thrift.TBase<TableMeta, TableMeta._Fields>, java.io.Serializable, Cloneable, Comparable<TableMeta> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableMeta");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
index d0daee5..b1ef109 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TableStatsRequest implements org.apache.thrift.TBase<TableStatsRequest, TableStatsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<TableStatsRequest> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsRequest");
http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
index 78d4250..1d23528 100644
--- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
+++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.3)
+ * Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-17")
public class TableStatsResult implements org.apache.thrift.TBase<TableStatsResult, TableStatsResult._Fields>, java.io.Serializable, Cloneable, Comparable<TableStatsResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsResult");