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:50:28 UTC
[01/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Repository: hive
Updated Branches:
refs/heads/master ccb30e3ec -> e862ff80b
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 177531d..978c2a3 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -8,6 +8,7 @@
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
@@ -116,7 +117,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):
"""
@@ -149,7 +150,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()
@@ -177,7 +178,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()
@@ -205,7 +206,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()
@@ -233,7 +234,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()
@@ -261,7 +262,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()
@@ -289,7 +290,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()
@@ -351,9 +352,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = execute_result()
try:
self._handler.execute(args.query)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("execute", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -365,9 +374,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchOne_result()
try:
result.success = self._handler.fetchOne()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchOne", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -379,9 +396,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchN_result()
try:
result.success = self._handler.fetchN(args.numRows)
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchN", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -393,9 +418,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = fetchAll_result()
try:
result.success = self._handler.fetchAll()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("fetchAll", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -407,9 +440,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getSchema_result()
try:
result.success = self._handler.getSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getSchema", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -421,9 +462,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getThriftSchema_result()
try:
result.success = self._handler.getThriftSchema()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getThriftSchema", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -435,9 +484,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getClusterStatus_result()
try:
result.success = self._handler.getClusterStatus()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getClusterStatus", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -449,9 +506,17 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
result = getQueryPlan_result()
try:
result.success = self._handler.getQueryPlan()
- except HiveServerException, ex:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except HiveServerException as ex:
+ msg_type = TMessageType.REPLY
result.ex = ex
- oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getQueryPlan", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -461,8 +526,16 @@ class Processor(hive_metastore.ThriftHiveMetastore.Processor, Iface, TProcessor)
args.read(iprot)
iprot.readMessageEnd()
result = clean_result()
- self._handler.clean()
- oprot.writeMessageBegin("clean", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -495,7 +568,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:
@@ -674,7 +747,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:
@@ -750,7 +823,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:
@@ -820,7 +893,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:
@@ -952,7 +1025,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/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 29eb916..e19fe2a 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 73f4d7b..ed7d2d7 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f97a6fb..9191767 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f754d7d..7d7f7a7 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 3f72769..25adbb4 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bfb2b69..f004ec4 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6859ceb..2b57cd9 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
[16/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b64c133..f15d7a9 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getMin());
+ return getMin();
case MAX:
- return Long.valueOf(getMax());
+ return getMax();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2b5955d..b00fb9c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b4903cc..3b818ab 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1d2e27c..d7dd8ec 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 427930f..f5b1d0e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 54f4ab9..44d99c7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case LAST_ACCESS_TIME:
- return Integer.valueOf(getLastAccessTime());
+ return 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 Boolean.valueOf(isDeferredRebuild());
+ return isDeferredRebuild();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bbf3340..2588524 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d91cc30..488d3a0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 5092451..7c7e000 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b7488c1..957aca0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 49b6189..6217bb8 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 96534d3..ef71511 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 0966575..adb0c44 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 08840f1..e58ea46 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 8ca149c..eada4ee 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxnid());
+ return getTxnid();
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 12ba695..862c67f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLockid());
+ return getLockid();
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bce2b5a..48a0bbd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 9d60531..8ae4351 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 41033ee..2f41c5a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLowValue());
+ return getLowValue();
case HIGH_VALUE:
- return Long.valueOf(getHighValue());
+ return getHighValue();
case NUM_NULLS:
- return Long.valueOf(getNumNulls());
+ return getNumNulls();
case NUM_DVS:
- return Long.valueOf(getNumDVs());
+ return getNumDVs();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a231251..21be66b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6acffb6..87fad1a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 0179964..aefbe4a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 5605337..efa5326 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 95bf970..8149d9c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 f91c29e..c40bb4b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getEventId());
+ return getEventId();
case EVENT_TIME:
- return Integer.valueOf(getEventTime());
+ return getEventTime();
case EVENT_TYPE:
return getEventType();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bf3f60d..bafb9b6 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLastEvent());
+ return getLastEvent();
case MAX_EVENTS:
- return Integer.valueOf(getMaxEvents());
+ return getMaxEvents();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 3c6f7cb..fcbbd18 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 eccfa93..01371ec 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getNum_txns());
+ return getNum_txns();
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a81ead2..e11a2b3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b07b0cb..cc0e2dd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getOrder());
+ return getOrder();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 5cdeaa6..a247221 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case LAST_ACCESS_TIME:
- return Integer.valueOf(getLastAccessTime());
+ return getLastAccessTime();
case SD:
return getSd();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 40bdb56..b515401 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 848b512..e8232b9 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 3237c8c..e8188a9 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 ba84f83..2c41912 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 57d8b4a..f0c5ce1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case LAST_ACCESS_TIME:
- return Integer.valueOf(getLastAccessTime());
+ return getLastAccessTime();
case RELATIVE_PATH:
return getRelativePath();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a4ffef3..59972af 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Short.valueOf(getMaxParts());
+ return getMaxParts();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7d91fd5..12ae66d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isHasUnknownPartitions());
+ return isHasUnknownPartitions();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8a57ccf..8416369 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 4b07b46..2e903f1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 04d2569..e1792bd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 65e937e..82eb8fd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 136f107..bba2d40 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 0b33119..ba08d3a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case GRANTOR:
return getGrantor();
@@ -385,7 +385,7 @@ public class PrivilegeGrantInfo implements org.apache.thrift.TBase<PrivilegeGran
return getGrantorType();
case GRANT_OPTION:
- return Boolean.valueOf(isGrantOption());
+ return isGrantOption();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f3fd608..1b7bbf0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 {
- sb.append(this.metadata);
+ org.apache.thrift.TBaseHelper.toString(this.metadata, sb);
}
first = false;
if (isSetType()) {
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d657957..d807671 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 9207934..7f8a044 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 861a6db..a15c1ee 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 edf69bd..994a498 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 7a659a8..612c64d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case OWNER_NAME:
return getOwnerName();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 4ecde4c..81e8d16 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isGrantOption());
+ return isGrantOption();
case GRANT_TIME:
- return Integer.valueOf(getGrantTime());
+ return getGrantTime();
case GRANTOR_NAME:
return getGrantorName();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b9bc115..75d0ebb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 61a369a..d5a8d99 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1f0259f..6e334f6 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1fda8c8..ad1c57c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 5471de4..afa832c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d88276c..dd7dd8e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getStart());
+ return getStart();
case RUN_AS:
return getRunAs();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6c85bc2..e89b93b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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");
[14/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 809f68c..47b7afa 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
public class ThriftHiveMetastore {
/**
@@ -158,8 +158,6 @@ 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;
@@ -428,8 +426,6 @@ 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;
@@ -2398,37 +2394,6 @@ 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);
@@ -6655,44 +6620,6 @@ 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);
@@ -9300,7 +9227,6 @@ 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());
@@ -10928,33 +10854,6 @@ 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");
@@ -12871,7 +12770,6 @@ 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());
@@ -16627,69 +16525,6 @@ 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");
@@ -24860,10 +24695,10 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
case CASCADE:
- return Boolean.valueOf(isCascade());
+ return isCascade();
}
throw new IllegalStateException();
@@ -29890,7 +29725,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -30880,7 +30715,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -39520,7 +39355,7 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
}
throw new IllegalStateException();
@@ -40594,7 +40429,7 @@ public class ThriftHiveMetastore {
return getName();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -46948,7 +46783,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_TABLES:
- return Short.valueOf(getMax_tables());
+ return getMax_tables();
}
throw new IllegalStateException();
@@ -50467,7 +50302,7 @@ public class ThriftHiveMetastore {
return getNew_tbl();
case CASCADE:
- return Boolean.valueOf(isCascade());
+ return isCascade();
}
throw new IllegalStateException();
@@ -54206,7 +54041,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Integer.valueOf(getSuccess());
+ return getSuccess();
case O1:
return getO1();
@@ -55294,7 +55129,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Integer.valueOf(getSuccess());
+ return getSuccess();
case O1:
return getO1();
@@ -62344,7 +62179,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
}
throw new IllegalStateException();
@@ -62991,7 +62826,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -63675,7 +63510,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -64387,7 +64222,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -65010,7 +64845,7 @@ public class ThriftHiveMetastore {
return getPart_name();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
}
throw new IllegalStateException();
@@ -65625,7 +65460,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -66292,7 +66127,7 @@ public class ThriftHiveMetastore {
return getPart_name();
case DELETE_DATA:
- return Boolean.valueOf(isDeleteData());
+ return isDeleteData();
case ENVIRONMENT_CONTEXT:
return getEnvironment_context();
@@ -66972,7 +66807,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Boolean.valueOf(isSuccess());
+ return isSuccess();
case O1:
return getO1();
@@ -75541,7 +75376,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -76836,7 +76671,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
case USER_NAME:
return getUser_name();
@@ -78178,7 +78013,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return Integer.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -79368,7 +79203,7 @@ public class ThriftHiveMetastore {
return getTbl_name();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -80511,7 +80346,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -81959,7 +81794,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
case USER_NAME:
return getUser_name();
@@ -83454,7 +83289,7 @@ public class ThriftHiveMetastore {
return getPart_vals();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -84775,7 +84610,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_PARTS:
- return Short.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -86069,7 +85904,7 @@ public class ThriftHiveMetastore {
return getFilter();
case MAX_PARTS:
- return Integer.valueOf(getMax_parts());
+ return getMax_parts();
}
throw new IllegalStateException();
@@ -88008,28 +87843,28 @@ public class ThriftHiveMetastore {
}
- 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");
+ 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 FILTER_FIELD_DESC = new org.apache.thrift.protocol.TField("filter", org.apache.thrift.protocol.TType.STRING, (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 get_num_partitions_by_filter_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_num_partitions_by_filter_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 String filter; // 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"),
- FILTER((short)3, "filter");
+ NAMES((short)3, "names");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -88048,8 +87883,8 @@ public class ThriftHiveMetastore {
return DB_NAME;
case 2: // TBL_NAME
return TBL_NAME;
- case 3: // FILTER
- return FILTER;
+ case 3: // NAMES
+ return NAMES;
default:
return null;
}
@@ -88097,50 +87932,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.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)));
+ 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(get_num_partitions_by_filter_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_args.class, metaDataMap);
}
- public get_num_partitions_by_filter_args() {
+ public get_partitions_by_names_args() {
}
- public get_num_partitions_by_filter_args(
+ public get_partitions_by_names_args(
String db_name,
String tbl_name,
- String filter)
+ List<String> names)
{
this();
this.db_name = db_name;
this.tbl_name = tbl_name;
- this.filter = filter;
+ this.names = names;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_num_partitions_by_filter_args(get_num_partitions_by_filter_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.isSetFilter()) {
- this.filter = other.filter;
+ if (other.isSetNames()) {
+ List<String> __this__names = new ArrayList<String>(other.names);
+ this.names = __this__names;
}
}
- public get_num_partitions_by_filter_args deepCopy() {
- return new get_num_partitions_by_filter_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.filter = null;
+ this.names = null;
}
public String getDb_name() {
@@ -88189,26 +88026,41 @@ public class ThriftHiveMetastore {
}
}
- public String getFilter() {
- return this.filter;
+ public int getNamesSize() {
+ return (this.names == null) ? 0 : this.names.size();
}
- public void setFilter(String filter) {
- this.filter = filter;
+ public java.util.Iterator<String> getNamesIterator() {
+ return (this.names == null) ? null : this.names.iterator();
}
- public void unsetFilter() {
- this.filter = null;
+ public void addToNames(String elem) {
+ if (this.names == null) {
+ this.names = new ArrayList<String>();
+ }
+ this.names.add(elem);
}
- /** Returns true if field filter is set (has been assigned a value) and false otherwise */
- public boolean isSetFilter() {
- return this.filter != null;
+ public List<String> getNames() {
+ return this.names;
}
- public void setFilterIsSet(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.filter = null;
+ this.names = null;
}
}
@@ -88230,11 +88082,11 @@ public class ThriftHiveMetastore {
}
break;
- case FILTER:
+ case NAMES:
if (value == null) {
- unsetFilter();
+ unsetNames();
} else {
- setFilter((String)value);
+ setNames((List<String>)value);
}
break;
@@ -88249,8 +88101,8 @@ public class ThriftHiveMetastore {
case TBL_NAME:
return getTbl_name();
- case FILTER:
- return getFilter();
+ case NAMES:
+ return getNames();
}
throw new IllegalStateException();
@@ -88267,8 +88119,8 @@ public class ThriftHiveMetastore {
return isSetDb_name();
case TBL_NAME:
return isSetTbl_name();
- case FILTER:
- return isSetFilter();
+ case NAMES:
+ return isSetNames();
}
throw new IllegalStateException();
}
@@ -88277,12 +88129,12 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_num_partitions_by_filter_args)
- return this.equals((get_num_partitions_by_filter_args)that);
+ if (that instanceof get_partitions_by_names_args)
+ return this.equals((get_partitions_by_names_args)that);
return false;
}
- public boolean equals(get_num_partitions_by_filter_args that) {
+ public boolean equals(get_partitions_by_names_args that) {
if (that == null)
return false;
@@ -88304,12 +88156,12 @@ public class ThriftHiveMetastore {
return false;
}
- 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))
+ 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.filter.equals(that.filter))
+ if (!this.names.equals(that.names))
return false;
}
@@ -88330,16 +88182,16 @@ public class ThriftHiveMetastore {
if (present_tbl_name)
list.add(tbl_name);
- boolean present_filter = true && (isSetFilter());
- list.add(present_filter);
- if (present_filter)
- list.add(filter);
+ boolean present_names = true && (isSetNames());
+ list.add(present_names);
+ if (present_names)
+ list.add(names);
return list.hashCode();
}
@Override
- public int compareTo(get_num_partitions_by_filter_args other) {
+ public int compareTo(get_partitions_by_names_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -88366,12 +88218,12 @@ public class ThriftHiveMetastore {
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter());
+ lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetFilter()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter);
+ if (isSetNames()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
if (lastComparison != 0) {
return lastComparison;
}
@@ -88393,7 +88245,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_args(");
+ StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
boolean first = true;
sb.append("db_name:");
@@ -88412,11 +88264,11 @@ public class ThriftHiveMetastore {
}
first = false;
if (!first) sb.append(", ");
- sb.append("filter:");
- if (this.filter == null) {
+ sb.append("names:");
+ if (this.names == null) {
sb.append("null");
} else {
- sb.append(this.filter);
+ sb.append(this.names);
}
first = false;
sb.append(")");
@@ -88444,15 +88296,15 @@ public class ThriftHiveMetastore {
}
}
- 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_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_argsStandardScheme extends StandardScheme<get_num_partitions_by_filter_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, get_num_partitions_by_filter_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)
@@ -88478,10 +88330,20 @@ public class ThriftHiveMetastore {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // FILTER
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.filter = iprot.readString();
- struct.setFilterIsSet(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);
}
@@ -88495,7 +88357,7 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_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);
@@ -88509,9 +88371,16 @@ public class ThriftHiveMetastore {
oprot.writeString(struct.tbl_name);
oprot.writeFieldEnd();
}
- if (struct.filter != null) {
- oprot.writeFieldBegin(FILTER_FIELD_DESC);
- oprot.writeString(struct.filter);
+ 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();
@@ -88520,16 +88389,16 @@ public class ThriftHiveMetastore {
}
- 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_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_argsTupleScheme extends TupleScheme<get_num_partitions_by_filter_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, get_num_partitions_by_filter_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()) {
@@ -88538,7 +88407,7 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
optionals.set(1);
}
- if (struct.isSetFilter()) {
+ if (struct.isSetNames()) {
optionals.set(2);
}
oprot.writeBitSet(optionals, 3);
@@ -88548,13 +88417,19 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
oprot.writeString(struct.tbl_name);
}
- if (struct.isSetFilter()) {
- oprot.writeString(struct.filter);
+ 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, get_num_partitions_by_filter_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)) {
@@ -88566,28 +88441,37 @@ public class ThriftHiveMetastore {
struct.setTbl_nameIsSet(true);
}
if (incoming.get(2)) {
- struct.filter = iprot.readString();
- struct.setFilterIsSet(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 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");
+ 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.I32, (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.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 get_num_partitions_by_filter_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_num_partitions_by_filter_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new get_partitions_by_names_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
}
- private int success; // required
+ private List<Partition> success; // required
private MetaException o1; // required
private NoSuchObjectException o2; // required
@@ -88656,32 +88540,30 @@ 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.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+ 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(get_num_partitions_by_filter_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_by_names_result.class, metaDataMap);
}
- public get_num_partitions_by_filter_result() {
+ public get_partitions_by_names_result() {
}
- public get_num_partitions_by_filter_result(
- int success,
+ public get_partitions_by_names_result(
+ List<Partition> success,
MetaException o1,
NoSuchObjectException o2)
{
this();
this.success = success;
- setSuccessIsSet(true);
this.o1 = o1;
this.o2 = o2;
}
@@ -88689,9 +88571,14 @@ public class ThriftHiveMetastore {
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_num_partitions_by_filter_result(get_num_partitions_by_filter_result other) {
- __isset_bitfield = other.__isset_bitfield;
- this.success = other.success;
+ 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 MetaException(other.o1);
}
@@ -88700,38 +88587,53 @@ public class ThriftHiveMetastore {
}
}
- public get_num_partitions_by_filter_result deepCopy() {
- return new get_num_partitions_by_filter_result(this);
+ public get_partitions_by_names_result deepCopy() {
+ return new get_partitions_by_names_result(this);
}
@Override
public void clear() {
- setSuccessIsSet(false);
- this.success = 0;
+ this.success = null;
this.o1 = null;
this.o2 = null;
}
- public int getSuccess() {
+ 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(int success) {
+ public void setSuccess(List<Partition> success) {
this.success = success;
- setSuccessIsSet(true);
}
public void unsetSuccess() {
- __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
+ this.success = null;
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
- return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
+ return this.success != null;
}
public void setSuccessIsSet(boolean value) {
- __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
+ if (!value) {
+ this.success = null;
+ }
}
public MetaException getO1() {
@@ -88786,7 +88688,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((Integer)value);
+ setSuccess((List<Partition>)value);
}
break;
@@ -88812,7 +88714,7 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return Integer.valueOf(getSuccess());
+ return getSuccess();
case O1:
return getO1();
@@ -88845,21 +88747,21 @@ public class ThriftHiveMetastore {
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof get_num_partitions_by_filter_result)
- return this.equals((get_num_partitions_by_filter_result)that);
+ if (that instanceof get_partitions_by_names_result)
+ return this.equals((get_partitions_by_names_result)that);
return false;
}
- public boolean equals(get_num_partitions_by_filter_result that) {
+ public boolean equals(get_partitions_by_names_result that) {
if (that == null)
return false;
- boolean this_present_success = true;
- boolean that_present_success = true;
+ 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 != that.success)
+ if (!this.success.equals(that.success))
return false;
}
@@ -88888,7 +88790,7 @@ public class ThriftHiveMetastore {
public int hashCode() {
List<Object> list = new ArrayList<Object>();
- boolean present_success = true;
+ boolean present_success = true && (isSetSuccess());
list.add(present_success);
if (present_success)
list.add(success);
@@ -88907,7 +88809,7 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_num_partitions_by_filter_result other) {
+ public int compareTo(get_partitions_by_names_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -88961,11 +88863,15 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_num_partitions_by_filter_result(");
+ StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
boolean first = true;
sb.append("success:");
- sb.append(this.success);
+ if (this.success == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.success);
+ }
first = false;
if (!first) sb.append(", ");
sb.append("o1:");
@@ -89002,23 +88908,21 @@ 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_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_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_resultStandardScheme extends StandardScheme<get_num_partitions_by_filter_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, get_num_partitions_by_filter_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)
@@ -89029,8 +88933,19 @@ public class ThriftHiveMetastore {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
- struct.success = iprot.readI32();
+ 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);
@@ -89063,13 +88978,20 @@ public class ThriftHiveMetastore {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, get_num_partitions_by_filter_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.isSetSuccess()) {
+ if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- oprot.writeI32(struct.success);
+ {
+ 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.writeFieldEnd();
}
if (struct.o1 != null) {
@@ -89088,16 +89010,16 @@ public class ThriftHiveMetastore {
}
- 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_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_resultTupleScheme extends TupleScheme<get_num_partitions_by_filter_result> {
+ private static class get_partitions_by_names_resultTupleScheme extends TupleScheme<get_partitions_by_names_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -89111,7 +89033,13 @@ public class ThriftHiveMetastore {
}
oprot.writeBitSet(optionals, 3);
if (struct.isSetSuccess()) {
- oprot.writeI32(struct.success);
+ {
+ oprot.writeI32(struct.success.size());
+ for (Partition _iter930 : struct.success)
+ {
+ _iter930.write(oprot);
+ }
+ }
}
if (struct.isSetO1()) {
struct.o1.write(oprot);
@@ -89122,11 +89050,21 @@ public class ThriftHiveMetastore {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, get_num_partitions_by_filter_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_names_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
- struct.success = iprot.readI32();
+ {
+ 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.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -89144,28 +89082,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 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");
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 NEW_PART_FIELD_DESC = new org.apache.thrift.protocol.TField("new_part", org.apache.thrift.protocol.TType.STRUCT, (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 alter_partition_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new alter_partition_argsTupleSchemeFactory());
}
private String db_name; // required
private String tbl_name; // required
- private List<String> names; // required
+ private Partition new_part; // 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");
+ NEW_PART((short)3, "new_part");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -89184,8 +89122,8 @@ public class ThriftHiveMetastore {
return DB_NAME;
case 2: // TBL_NAME
return TBL_NAME;
- case 3: // NAMES
- return NAMES;
+ case 3: // NEW_PART
+ return NEW_PART;
default:
return null;
}
@@ -89233,52 +89171,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.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)));
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(alter_partition_args.class, metaDataMap);
}
- public get_partitions_by_names_args() {
+ public alter_partition_args() {
}
- public get_partitions_by_names_args(
+ public alter_partition_args(
String db_name,
String tbl_name,
- List<String> names)
+ Partition new_part)
{
this();
this.db_name = db_name;
this.tbl_name = tbl_name;
- this.names = names;
+ this.new_part = new_part;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public get_partitions_by_names_args(get_partitions_by_names_args other) {
+ public alter_partition_args(alter_partition_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.isSetNew_part()) {
+ this.new_part = new Partition(other.new_part);
}
}
- public get_partitions_by_names_args deepCopy() {
- return new get_partitions_by_names_args(this);
+ public alter_partition_args deepCopy() {
+ return new alter_partition_args(this);
}
@Override
public void clear() {
this.db_name = null;
this.tbl_name = null;
- this.names = null;
+ this.new_part = null;
}
public String getDb_name() {
@@ -89327,41 +89263,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 Partition getNew_part() {
+ return this.new_part;
}
- public void setNames(List<String> names) {
- this.names = names;
+ public void setNew_part(Partition new_part) {
+ this.new_part = new_part;
}
- public void unsetNames() {
- this.names = null;
+ public void unsetNew_part() {
+ this.new_part = 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 new_part is set (has been assigned a value) and false otherwise */
+ public boolean isSetNew_part() {
+ return this.new_part != null;
}
- public void setNamesIsSet(boolean value) {
+ public void setNew_partIsSet(boolean value) {
if (!value) {
- this.names = null;
+ this.new_part = null;
}
}
@@ -89383,11 +89304,11 @@ public class ThriftHiveMetastore {
}
break;
- case NAMES:
+ case NEW_PART:
if (value == null) {
- unsetNames();
+ unsetNew_part();
} else {
- setNames((List<String>)value);
+ setNew_part((Partition)value);
}
break;
@@ -89402,8 +89323,8 @@ public class ThriftHiveMetastore {
case TBL_NAME:
return getTbl_name();
- case NAMES:
- return getNames();
+ case NEW_PART:
+ return getNew_part();
}
throw new IllegalStateException();
@@ -89420,8 +89341,8 @@ public class ThriftHiveMetastore {
return isSetDb_name();
case TBL_NAME:
return isSetTbl_name();
- case NAMES:
- return isSetNames();
+ case NEW_PART:
+ return isSetNew_part();
}
throw new IllegalStateException();
}
@@ -89430,12 +89351,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 alter_partition_args)
+ return this.equals((alter_partition_args)that);
return false;
}
- public boolean equals(get_partitions_by_names_args that) {
+ public boolean equals(alter_partition_args that) {
if (that == null)
return false;
@@ -89457,12 +89378,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_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))
return false;
- if (!this.names.equals(that.names))
+ if (!this.new_part.equals(that.new_part))
return false;
}
@@ -89483,16 +89404,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_new_part = true && (isSetNew_part());
+ list.add(present_new_part);
+ if (present_new_part)
+ list.add(new_part);
return list.hashCode();
}
@Override
- public int compareTo(get_partitions_by_names_args other) {
+ public int compareTo(alter_partition_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -89519,12 +89440,12 @@ public class ThriftHiveMetastore {
return lastComparison;
}
}
- lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames());
+ lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetNames()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names);
+ if (isSetNew_part()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part);
if (lastComparison != 0) {
return lastComparison;
}
@@ -89546,7 +89467,7 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_partitions_by_names_args(");
+ StringBuilder sb = new StringBuilder("alter_partition_args(");
boolean first = true;
sb.append("db_name:");
@@ -89565,11 +89486,11 @@ public class ThriftHiveMetastore {
}
first = false;
if (!first) sb.append(", ");
- sb.append("names:");
- if (this.names == null) {
+ sb.append("new_part:");
+ if (this.new_part == null) {
sb.append("null");
} else {
- sb.append(this.names);
+ sb.append(this.new_part);
}
first = false;
sb.append(")");
@@ -89579,6 +89500,9 @@ 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 {
@@ -89597,15 +89521,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 alter_partition_argsStandardSchemeFactory implements SchemeFactory {
+ public alter_partition_argsStandardScheme getScheme() {
+ return new alter_partition_argsStandardScheme();
}
}
- private static class get_partitions_by_names_argsStandardScheme extends StandardScheme<get_partitions_by_names_args> {
+ private static class alter_partition_argsStandardScheme extends StandardScheme<alter_partition_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, alter_partition_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -89631,20 +89555,11 @@ 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: // 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);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -89658,7 +89573,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, alter_partition_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -89672,16 +89587,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.new_part != null) {
+ oprot.writeFieldBegin(NEW_PART_FIELD_DESC);
+ struct.new_part.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -89690,16 +89598,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 alter_partition_argsTupleSchemeFactory implements SchemeFactory {
+ public alter_partition_argsTupleScheme getScheme() {
+ return new alter_partition_argsTupleScheme();
}
}
- private static class get_partitions_by_names_argsTupleScheme extends TupleScheme<get_partitions_by_names_args> {
+ private static class alter_partition_argsTupleScheme extends TupleScheme<alter_partition_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, alter_partition_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetDb_name()) {
@@ -89708,7 +89616,7 @@ public class ThriftHiveMetastore {
if (struct.isSetTbl_name()) {
optionals.set(1);
}
- if (struct.isSetNames()) {
+ if (struct.isSetNew_part()) {
optionals.set(2);
}
oprot.writeBitSet(optionals, 3);
@@ -89718,19 +89626,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.isSetNew_part()) {
+ struct.new_part.write(oprot);
}
}
@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, alter_partition_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(3);
if (incoming.get(0)) {
@@ -89742,43 +89644,32 @@ 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.new_part = new Partition();
+ struct.new_part.read(iprot);
+ struct.setNew_partIsSet(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 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");
- 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 get_partitions_by_names_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new get_partitions_by_names_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new alter_partition_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new alter_partition_resultTupleSchemeFactory());
}
- private List<Partition> success; // required
- private MetaException o1; // required
- private NoSuchObjectException o2; // required
+ private InvalidOperationException o1; // required
+ private MetaException 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");
@@ -89795,8 +89686,6 @@ public class ThriftHiveMetastore {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 0: // SUCCESS
- return SUCCESS;
case 1: // O1
return O1;
case 2: // O2
@@ -89844,27 +89733,22 @@ 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(get_partitions_by_names_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_partition_result.class, metaDataMap);
}
- public get_partitions_by_names_result() {
+ public alter_partition_result() {
}
- public get_partitions_by_names_result(
- List<Partition> success,
- MetaException o1,
- NoSuchObjectException o2)
+ public alter_partition_result(
+ InvalidOperationException o1,
+ MetaException o2)
{
this();
- this.success = success;
this.o1 = o1;
this.o2 = o2;
}
@@ -89872,76 +89756,30 @@ 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 alter_partition_result(alter_partition_result other) {
if (other.isSetO1()) {
- this.o1 = new MetaException(other.o1);
+ this.o1 = new InvalidOperationException(other.o1);
}
if (other.isSetO2()) {
- this.o2 = new NoSuchObjectException(other.o2);
+ this.o2 = new MetaException(other.o2);
}
}
- public get_partitions_by_names_result deepCopy() {
- return new get_partitions_by_names_result(this);
+ public alter_partition_result deepCopy() {
+ return new alter_partition_result(this);
}
@Override
public void clear() {
- this.success = null;
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() {
- 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() {
+ public InvalidOperationException getO1() {
return this.o1;
}
- public void setO1(MetaException o1) {
+ public void setO1(InvalidOperationException o1) {
this.o1 = o1;
}
@@ -89960,11 +89798,11 @@ public class ThriftHiveMetastore {
}
}
- public NoSuchObjectException getO2() {
+ public MetaException getO2() {
return this.o2;
}
- public void setO2(NoSuchObjectException o2) {
+ public void setO2(MetaException o2) {
this.o2 = o2;
}
@@ -89985,19 +89823,11 @@ 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((MetaException)value);
+ setO1((InvalidOperationException)value);
}
break;
@@ -90005,7 +89835,7 @@ public class ThriftHiveMetastore {
if (value == null) {
unsetO2();
} else {
- setO2((NoSuchObjectException)value);
+ setO2((MetaException)value);
}
break;
@@ -90014,9 +89844,6 @@ public class ThriftHiveMetastore {
public Object getFieldValue(_Fields field) {
switch (field) {
- case SUCCESS:
- return getSuccess();
-
case O1:
return getO1();
@@ -90034,8 +89861,6 @@ public class ThriftHiveMetastore {
}
switch (field) {
- case SUCCESS:
- return isSetSuccess();
case O1:
return isSetO1();
case O2:
@@ -90048,24 +89873,15 @@ 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 alter_partition_result)
+ return this.equals((alter_partition_result)that);
return false;
}
- public boolean equals(get_partitions_by_names_result that) {
+ public boolean equals(alter_partition_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) {
@@ -90091,11 +89907,6 @@ 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)
@@ -90110,23 +89921,13 @@ public class ThriftHiveMetastore {
}
@Override
- public int compareTo(get_partitions_by_names_result other) {
+ public int compareTo(alter_partition_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;
@@ -90164,17 +89965,9 @@ public class ThriftHiveMetastore {
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("get_partitions_by_names_result(");
+ StringBuilder sb = new StringBuilder("alter_partition_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");
@@ -90215,15 +90008,15 @@ public class ThriftHiveMetastore {
}
}
- 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_resultStandardSchemeFactory implements SchemeFactory {
+ public alter_partition_resultStandardScheme getScheme() {
+ return new alter_partition_resultStandardScheme();
}
}
- private static class get_partitions_by_names_resultStandardScheme extends StandardScheme<get_partitions_by_names_result> {
+ private static class alter_partition_resultStandardScheme extends StandardScheme<alter_partition_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, alter_partition_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -90233,28 +90026,9 @@ 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 MetaException();
+ struct.o1 = new InvalidOperationException();
struct.o1.read(iprot);
struct.setO1IsSet(true);
} else {
@@ -90263,7 +90037,7 @@ public class ThriftHiveMetastore {
break;
case 2: // O2
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.o2 = new NoSuchObjectException();
+ struct.o2 = new MetaException();
struct.o2.read(iprot);
struct.setO2IsSet(true);
} else {
@@ -90279,22 +90053,10 @@ 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, alter_partition_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>
[18/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 ffe096e..97d3362 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -396,9 +396,6 @@ 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() {
@@ -431,11 +428,17 @@ class Version {
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 Version& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -446,9 +449,6 @@ 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,11 +486,17 @@ class FieldSchema {
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 FieldSchema& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -502,9 +508,6 @@ 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() {
@@ -553,11 +556,17 @@ class Type {
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 Type& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -570,9 +579,6 @@ 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() {
@@ -620,11 +626,17 @@ class HiveObjectRef {
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 HiveObjectRef& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -637,9 +649,6 @@ 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) {
@@ -687,11 +696,17 @@ class PrivilegeGrantInfo {
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 PrivilegeGrantInfo& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -703,9 +718,6 @@ 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) {
@@ -748,11 +760,17 @@ class HiveObjectPrivilege {
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 HiveObjectPrivilege& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -761,9 +779,6 @@ 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() {
@@ -791,11 +806,17 @@ class PrivilegeBag {
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 PrivilegeBag& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -806,9 +827,6 @@ 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() {
@@ -846,11 +864,17 @@ class PrincipalPrivilegeSet {
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 PrincipalPrivilegeSet& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -861,9 +885,6 @@ 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) {
@@ -903,11 +924,17 @@ class GrantRevokePrivilegeRequest {
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 GrantRevokePrivilegeRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -916,9 +943,6 @@ 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) {
@@ -948,11 +972,17 @@ class GrantRevokePrivilegeResponse {
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 GrantRevokePrivilegeResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -963,9 +993,6 @@ 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() {
@@ -1003,11 +1030,17 @@ class Role {
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 Role& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1022,9 +1055,6 @@ 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) {
@@ -1082,18 +1112,21 @@ class RolePrincipalGrant {
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 RolePrincipalGrant& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -1124,18 +1157,21 @@ class GetRoleGrantsForPrincipalRequest {
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 GetRoleGrantsForPrincipalRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1161,18 +1197,21 @@ class GetRoleGrantsForPrincipalResponse {
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 GetRoleGrantsForPrincipalResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1198,18 +1237,21 @@ class GetPrincipalsInRoleRequest {
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 GetPrincipalsInRoleRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1235,11 +1277,17 @@ class GetPrincipalsInRoleResponse {
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 GetPrincipalsInRoleResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1254,9 +1302,6 @@ 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) {
@@ -1320,11 +1365,17 @@ class GrantRevokeRoleRequest {
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 GrantRevokeRoleRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1333,9 +1384,6 @@ 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) {
@@ -1365,11 +1413,17 @@ class GrantRevokeRoleResponse {
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 GrantRevokeRoleResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1384,9 +1438,6 @@ 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) {
@@ -1450,11 +1501,17 @@ class Database {
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 Database& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1465,9 +1522,6 @@ 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() {
@@ -1505,11 +1559,17 @@ class SerDeInfo {
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 SerDeInfo& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1519,9 +1579,6 @@ 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) {
@@ -1554,11 +1611,17 @@ class Order {
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 Order& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1569,9 +1632,6 @@ 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() {
@@ -1609,11 +1669,17 @@ class SkewedInfo {
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 SkewedInfo& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1633,9 +1699,6 @@ 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) {
@@ -1722,11 +1785,17 @@ class StorageDescriptor {
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 StorageDescriptor& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1748,9 +1817,6 @@ 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) {
@@ -1847,11 +1913,17 @@ class Table {
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 Table& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1867,9 +1939,6 @@ 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) {
@@ -1934,11 +2003,17 @@ class Partition {
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 Partition& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1952,9 +2027,6 @@ 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() {
@@ -2009,11 +2081,17 @@ class PartitionWithoutSD {
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 PartitionWithoutSD& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2023,9 +2101,6 @@ 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() {
@@ -2058,11 +2133,17 @@ class PartitionSpecWithSharedSD {
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 PartitionSpecWithSharedSD& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2071,9 +2152,6 @@ 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() {
@@ -2101,11 +2179,17 @@ class PartitionListComposingSpec {
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 PartitionListComposingSpec& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2118,9 +2202,6 @@ 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() {
@@ -2172,11 +2253,17 @@ class PartitionSpec {
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 PartitionSpec& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2194,9 +2281,6 @@ 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) {
@@ -2269,18 +2353,21 @@ class Index {
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 Index& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -2316,11 +2403,17 @@ class BooleanColumnStatsData {
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 BooleanColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2330,9 +2423,6 @@ 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) {
@@ -2379,11 +2469,17 @@ class DoubleColumnStatsData {
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 DoubleColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2393,9 +2489,6 @@ 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) {
@@ -2442,18 +2535,21 @@ class LongColumnStatsData {
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 LongColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -2494,18 +2590,21 @@ class StringColumnStatsData {
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 StringColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -2541,18 +2640,21 @@ class BinaryColumnStatsData {
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 BinaryColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -2583,11 +2685,17 @@ class Decimal {
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 Decimal& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2597,9 +2705,6 @@ 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) {
@@ -2646,17 +2751,20 @@ class DecimalColumnStatsData {
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 DecimalColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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};
+
+class Date {
+ public:
Date(const Date&);
Date& operator=(const Date&);
@@ -2683,11 +2791,17 @@ class Date {
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 Date& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2697,9 +2811,6 @@ 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) {
@@ -2746,11 +2857,17 @@ class DateColumnStatsData {
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 DateColumnStatsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2765,9 +2882,6 @@ 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() {
@@ -2825,18 +2939,21 @@ class ColumnStatisticsData {
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 ColumnStatisticsData& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2872,11 +2989,17 @@ class ColumnStatisticsObj {
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 ColumnStatisticsObj& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2886,9 +3009,6 @@ 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) {
@@ -2940,18 +3060,21 @@ class ColumnStatisticsDesc {
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 ColumnStatisticsDesc& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2982,18 +3105,21 @@ class ColumnStatistics {
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 ColumnStatistics& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -3024,18 +3150,21 @@ class AggrStats {
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 AggrStats& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3061,11 +3190,17 @@ class SetPartitionsStatsRequest {
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 SetPartitionsStatsRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3075,9 +3210,6 @@ 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() {
@@ -3110,11 +3242,17 @@ class Schema {
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 Schema& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3123,9 +3261,6 @@ 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() {
@@ -3153,18 +3288,21 @@ class EnvironmentContext {
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 EnvironmentContext& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -3195,11 +3333,17 @@ class PartitionsByExprResult {
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 PartitionsByExprResult& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3209,9 +3353,6 @@ 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) {
@@ -3263,18 +3404,21 @@ class PartitionsByExprRequest {
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 PartitionsByExprRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3300,18 +3444,21 @@ class TableStatsResult {
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 TableStatsResult& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3337,18 +3484,21 @@ class PartitionsStatsResult {
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 PartitionsStatsResult& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3384,18 +3534,21 @@ class TableStatsRequest {
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 TableStatsRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3436,11 +3589,17 @@ class PartitionsStatsRequest {
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 PartitionsStatsRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3449,9 +3608,6 @@ 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() {
@@ -3481,11 +3637,17 @@ class AddPartitionsResult {
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 AddPartitionsResult& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3494,9 +3656,6 @@ 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) {
@@ -3546,11 +3705,17 @@ class AddPartitionsRequest {
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 AddPartitionsRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3559,9 +3724,6 @@ 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() {
@@ -3591,11 +3753,17 @@ class DropPartitionsResult {
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 DropPartitionsResult& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3604,9 +3772,6 @@ 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) {
@@ -3641,11 +3806,17 @@ class DropPartitionsExpr {
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 DropPartitionsExpr& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3655,9 +3826,6 @@ 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() {
@@ -3690,11 +3858,17 @@ class RequestPartsSpec {
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 RequestPartsSpec& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3707,9 +3881,6 @@ 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) {
@@ -3782,11 +3953,17 @@ class DropPartitionsRequest {
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 DropPartitionsRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3796,9 +3973,6 @@ 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() {
@@ -3831,11 +4005,17 @@ class ResourceUri {
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 ResourceUri& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3851,9 +4031,6 @@ 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) {
@@ -3916,18 +4093,21 @@ class Function {
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 Function& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3968,18 +4148,21 @@ class TxnInfo {
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 TxnInfo& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4010,18 +4193,21 @@ class GetOpenTxnsInfoResponse {
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 GetOpenTxnsInfoResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4052,18 +4238,21 @@ class GetOpenTxnsResponse {
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 GetOpenTxnsResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -4099,18 +4288,21 @@ class OpenTxnRequest {
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 OpenTxnRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -4136,18 +4328,21 @@ class OpenTxnsResponse {
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 OpenTxnsResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4173,18 +4368,21 @@ class AbortTxnRequest {
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 AbortTxnRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4210,11 +4408,17 @@ class CommitTxnRequest {
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 CommitTxnRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4224,9 +4428,6 @@ 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() {
@@ -4278,11 +4479,17 @@ class LockComponent {
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 LockComponent& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4291,9 +4498,6 @@ 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() {
@@ -4338,18 +4542,21 @@ class LockRequest {
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 LockRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4380,18 +4587,21 @@ class LockResponse {
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 LockResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4417,18 +4627,21 @@ class CheckLockRequest {
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 CheckLockRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4454,18 +4667,21 @@ class UnlockRequest {
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 UnlockRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -4486,11 +4702,17 @@ class ShowLocksRequest {
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 ShowLocksRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4502,9 +4724,6 @@ 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() {
@@ -4590,11 +4809,17 @@ class ShowLocksResponseElement {
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 ShowLocksResponseElement& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4603,9 +4828,6 @@ 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() {
@@ -4633,11 +4855,17 @@ class ShowLocksResponse {
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 ShowLocksResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4647,9 +4875,6 @@ 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) {
@@ -4686,18 +4911,21 @@ class HeartbeatRequest {
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 HeartbeatRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -4728,18 +4956,21 @@ class HeartbeatTxnRangeRequest {
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 HeartbeatTxnRangeRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -4770,11 +5001,17 @@ class HeartbeatTxnRangeResponse {
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 HeartbeatTxnRangeResponse& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4784,9 +5021,6 @@ 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() {
@@ -4838,18 +5072,21 @@ class CompactionRequest {
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 CompactionRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -4870,11 +5107,17 @@ class ShowCompactRequest {
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 ShowCompactRequest& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -4886,9 +5129,6 @@ 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() {
@@ -4959,18 +5199,21 @@ class ShowCompactResponseElement {
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 ShowCompactResponseElement& obj);
+ virtual void printTo(std::ostream& out) const;
};
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; // = "915B7B8DB8966D65769C0F9870
<TRUNCATED>
[08/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7dae2f8..7e2c028 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,6 +15,7 @@ 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;
@@ -55,7 +56,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_OpenSession_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -64,7 +65,6 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_OpenSession_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -84,7 +84,6 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -95,6 +94,7 @@ 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,6 +156,7 @@ 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;
@@ -201,6 +202,7 @@ 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;
@@ -241,7 +243,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CloseSession_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -250,7 +252,6 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -261,7 +262,7 @@ TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() {
uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CloseSession_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -270,7 +271,6 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -281,6 +281,7 @@ 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;
@@ -342,6 +343,7 @@ 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;
@@ -387,6 +389,7 @@ 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;
@@ -427,7 +430,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetInfo_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -436,7 +439,6 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -447,7 +449,7 @@ TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() {
uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetInfo_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -456,7 +458,6 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -467,6 +468,7 @@ 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;
@@ -528,6 +530,7 @@ 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;
@@ -573,6 +576,7 @@ 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;
@@ -613,7 +617,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -622,7 +626,6 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -633,7 +636,7 @@ TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw(
uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -642,7 +645,6 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -653,6 +655,7 @@ 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;
@@ -714,6 +717,7 @@ 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;
@@ -759,6 +763,7 @@ 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;
@@ -799,7 +804,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -808,7 +813,6 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -819,7 +823,7 @@ TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() {
uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -828,7 +832,6 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -839,6 +842,7 @@ 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;
@@ -900,6 +904,7 @@ 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;
@@ -945,6 +950,7 @@ 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;
@@ -985,7 +991,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -994,7 +1000,6 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1005,7 +1010,7 @@ TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() {
uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1014,7 +1019,6 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1025,6 +1029,7 @@ 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;
@@ -1086,6 +1091,7 @@ 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;
@@ -1131,6 +1137,7 @@ 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;
@@ -1171,7 +1178,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetSchemas_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1180,7 +1187,6 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1191,7 +1197,7 @@ TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() {
uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetSchemas_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1200,7 +1206,6 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1211,6 +1216,7 @@ 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;
@@ -1272,6 +1278,7 @@ 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;
@@ -1317,6 +1324,7 @@ 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;
@@ -1357,7 +1365,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTables_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1366,7 +1374,6 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1377,7 +1384,7 @@ TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() {
uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTables_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1386,7 +1393,6 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1397,6 +1403,7 @@ 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;
@@ -1458,6 +1465,7 @@ 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;
@@ -1503,6 +1511,7 @@ 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;
@@ -1543,7 +1552,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1552,7 +1561,6 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1563,7 +1571,7 @@ TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() {
uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1572,7 +1580,6 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1583,6 +1590,7 @@ 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;
@@ -1644,6 +1652,7 @@ 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;
@@ -1689,6 +1698,7 @@ 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;
@@ -1729,7 +1739,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetColumns_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1738,7 +1748,6 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1749,7 +1758,7 @@ TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() {
uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetColumns_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1758,7 +1767,6 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1769,6 +1777,7 @@ 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;
@@ -1830,6 +1839,7 @@ 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;
@@ -1875,6 +1885,7 @@ 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;
@@ -1915,7 +1926,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetFunctions_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1924,7 +1935,6 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1935,7 +1945,7 @@ TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() {
uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetFunctions_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1944,7 +1954,6 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1955,6 +1964,7 @@ 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;
@@ -2016,6 +2026,7 @@ 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;
@@ -2061,6 +2072,7 @@ 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;
@@ -2101,7 +2113,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2110,7 +2122,6 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2121,7 +2132,7 @@ TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() th
uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2130,7 +2141,6 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2141,6 +2151,7 @@ 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;
@@ -2202,6 +2213,7 @@ 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;
@@ -2247,6 +2259,7 @@ 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;
@@ -2287,7 +2300,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CancelOperation_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2296,7 +2309,6 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2307,7 +2319,7 @@ TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw()
uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CancelOperation_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2316,7 +2328,6 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2327,6 +2338,7 @@ 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;
@@ -2388,6 +2400,7 @@ 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;
@@ -2433,6 +2446,7 @@ 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;
@@ -2473,7 +2487,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CloseOperation_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2482,7 +2496,6 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2493,7 +2506,7 @@ TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() {
uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CloseOperation_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2502,7 +2515,6 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2513,6 +2525,7 @@ 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;
@@ -2574,6 +2587,7 @@ 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;
@@ -2619,6 +2633,7 @@ 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;
@@ -2659,7 +2674,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2668,7 +2683,6 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2679,7 +2693,7 @@ TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs(
uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2688,7 +2702,6 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2699,6 +2712,7 @@ 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;
@@ -2760,6 +2774,7 @@ 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;
@@ -2805,6 +2820,7 @@ 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;
@@ -2845,7 +2861,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_FetchResults_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2854,7 +2870,6 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2865,7 +2880,7 @@ TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() {
uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_FetchResults_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2874,7 +2889,6 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2885,6 +2899,7 @@ 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;
@@ -2946,6 +2961,7 @@ 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;
@@ -2991,6 +3007,7 @@ 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;
@@ -3031,7 +3048,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3040,7 +3057,6 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3051,7 +3067,7 @@ TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() th
uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3060,7 +3076,6 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3071,6 +3086,7 @@ 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;
@@ -3132,6 +3148,7 @@ 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;
@@ -3177,6 +3194,7 @@ 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;
@@ -3217,7 +3235,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3226,7 +3244,6 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3237,7 +3254,7 @@ TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_parg
uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3246,7 +3263,6 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3257,6 +3273,7 @@ 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;
@@ -3318,6 +3335,7 @@ 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;
@@ -3363,6 +3381,7 @@ 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;
@@ -3403,7 +3422,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_args");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3412,7 +3431,6 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3423,7 +3441,7 @@ TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs(
uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_pargs");
xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3432,7 +3450,6 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3443,6 +3460,7 @@ 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;
@@ -3504,6 +3522,7 @@ 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;
@@ -5695,5 +5714,1602 @@ 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>
[22/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d2b9841..22bea87 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,6 +15,7 @@ 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;
@@ -55,7 +56,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_args");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -64,7 +65,6 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_pargs");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -84,7 +84,6 @@ uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -95,6 +94,7 @@ 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,6 +168,7 @@ 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;
@@ -221,6 +222,7 @@ 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;
@@ -269,7 +271,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_args");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -282,7 +284,6 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -293,7 +294,7 @@ ThriftHiveMetastore_setMetaConf_pargs::~ThriftHiveMetastore_setMetaConf_pargs()
uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_pargs");
xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1);
@@ -306,7 +307,6 @@ uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -317,6 +317,7 @@ 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;
@@ -378,6 +379,7 @@ 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;
@@ -423,6 +425,7 @@ 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;
@@ -463,7 +466,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args");
xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -472,7 +475,6 @@ uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -483,7 +485,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs");
xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -492,7 +494,6 @@ uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::prot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -503,6 +504,7 @@ 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;
@@ -588,6 +590,7 @@ 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;
@@ -649,6 +652,7 @@ 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;
@@ -689,7 +693,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -698,7 +702,6 @@ uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -709,7 +712,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -718,7 +721,6 @@ uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -729,6 +731,7 @@ 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;
@@ -814,6 +817,7 @@ 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;
@@ -875,6 +879,7 @@ 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;
@@ -931,7 +936,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -948,7 +953,6 @@ uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -959,7 +963,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -976,7 +980,6 @@ uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -987,6 +990,7 @@ 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;
@@ -1072,6 +1076,7 @@ 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;
@@ -1133,6 +1138,7 @@ 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;
@@ -1173,7 +1179,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args");
xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
@@ -1182,7 +1188,6 @@ uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1193,7 +1198,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs");
xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1);
@@ -1202,7 +1207,6 @@ uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1213,6 +1217,7 @@ 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;
@@ -1306,6 +1311,7 @@ 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;
@@ -1371,6 +1377,7 @@ 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;
@@ -1398,12 +1405,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1414,12 +1420,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1430,6 +1435,7 @@ 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;
@@ -1523,6 +1529,7 @@ 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;
@@ -1588,6 +1595,7 @@ 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;
@@ -1636,7 +1644,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -1649,7 +1657,6 @@ uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1660,7 +1667,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -1673,7 +1680,6 @@ uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1684,6 +1690,7 @@ 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;
@@ -1757,6 +1764,7 @@ 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;
@@ -1810,6 +1818,7 @@ 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;
@@ -1850,7 +1859,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -1859,7 +1868,6 @@ uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1870,7 +1878,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -1879,7 +1887,6 @@ uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1890,6 +1897,7 @@ 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;
@@ -1975,6 +1983,7 @@ 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;
@@ -2036,6 +2045,7 @@ 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;
@@ -2076,7 +2086,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2085,7 +2095,6 @@ uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2096,7 +2105,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2105,7 +2114,6 @@ uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2116,6 +2124,7 @@ 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;
@@ -2213,6 +2222,7 @@ 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;
@@ -2282,6 +2292,7 @@ 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;
@@ -2322,7 +2333,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
@@ -2331,7 +2342,6 @@ uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2342,7 +2352,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1);
@@ -2351,7 +2361,6 @@ uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2362,6 +2371,7 @@ 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;
@@ -2447,6 +2457,7 @@ 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;
@@ -2508,6 +2519,7 @@ 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;
@@ -2548,7 +2560,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2557,7 +2569,6 @@ uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2568,7 +2579,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2577,7 +2588,6 @@ uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2588,6 +2598,7 @@ 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;
@@ -2685,6 +2696,7 @@ 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;
@@ -2753,6 +2765,7 @@ 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;
@@ -2801,7 +2814,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2814,7 +2827,6 @@ uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2825,7 +2837,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2838,7 +2850,6 @@ uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2849,6 +2860,7 @@ 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;
@@ -2966,6 +2978,7 @@ 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;
@@ -3047,6 +3060,7 @@ 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;
@@ -3103,7 +3117,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3120,7 +3134,6 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3131,7 +3144,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3148,7 +3161,6 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3159,6 +3171,7 @@ 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;
@@ -3276,6 +3289,7 @@ 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;
@@ -3357,6 +3371,7 @@ 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;
@@ -3405,7 +3420,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3418,7 +3433,6 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3429,7 +3443,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3442,7 +3456,6 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3453,6 +3466,7 @@ 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;
@@ -3570,6 +3584,7 @@ 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;
@@ -3651,6 +3666,7 @@ 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;
@@ -3707,7 +3723,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3724,7 +3740,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3735,7 +3750,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3752,7 +3767,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3763,6 +3777,7 @@ 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;
@@ -3880,6 +3895,7 @@ 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;
@@ -3961,6 +3977,7 @@ 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;
@@ -4001,7 +4018,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4010,7 +4027,6 @@ uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4021,7 +4037,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4030,7 +4046,6 @@ uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4041,6 +4056,7 @@ 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;
@@ -4138,6 +4154,7 @@ 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;
@@ -4207,6 +4224,7 @@ 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;
@@ -4255,7 +4273,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4268,7 +4286,6 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4279,7 +4296,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4292,7 +4309,6 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write(
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4303,6 +4319,7 @@ 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;
@@ -4400,6 +4417,7 @@ 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;
@@ -4469,6 +4487,7 @@ 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;
@@ -4525,7 +4544,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4542,7 +4561,6 @@ uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4553,7 +4571,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4570,7 +4588,6 @@ uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4581,6 +4598,7 @@ 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;
@@ -4654,6 +4672,7 @@ 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;
@@ -4707,6 +4726,7 @@ 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;
@@ -4771,7 +4791,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4792,7 +4812,6 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::a
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4803,7 +4822,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -4824,7 +4843,6 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4835,6 +4853,7 @@ 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;
@@ -4908,6 +4927,7 @@ 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;
@@ -4961,6 +4981,7 @@ 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;
@@ -5009,7 +5030,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5022,7 +5043,6 @@ uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5033,7 +5053,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5046,7 +5066,6 @@ uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5057,6 +5076,7 @@ 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;
@@ -5150,6 +5170,7 @@ 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;
@@ -5215,6 +5236,7 @@ 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;
@@ -5283,7 +5305,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_meta_args");
xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1);
@@ -5308,7 +5330,6 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5319,7 +5340,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_meta_pargs");
xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1);
@@ -5344,7 +5365,6 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5355,6 +5375,7 @@ 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;
@@ -5448,6 +5469,7 @@ 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;
@@ -5513,6 +5535,7 @@ 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;
@@ -5553,7 +5576,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5562,7 +5585,6 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5573,7 +5595,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -5582,7 +5604,6 @@ uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5593,6 +5614,7 @@ 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;
@@ -5686,6 +5708,7 @@ 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;
@@ -5751,6 +5774,7 @@ 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;
@@ -5799,7 +5823,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -5812,7 +5836,6 @@ uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::T
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5823,7 +5846,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -5836,7 +5859,6 @@ uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5847,6 +5869,7 @@ 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;
@@ -5932,6 +5955,7 @@ 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;
@@ -5993,6 +6017,7 @@ 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;
@@ -6053,7 +6078,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6074,7 +6099,6 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6085,7 +6109,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6106,7 +6130,6 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6117,6 +6140,7 @@ 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;
@@ -6234,6 +6258,7 @@ 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;
@@ -6315,6 +6340,7 @@ 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;
@@ -6371,7 +6397,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6388,7 +6414,6 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6399,7 +6424,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6416,7 +6441,6 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::th
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6427,6 +6451,7 @@ 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;
@@ -6544,6 +6569,7 @@ 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;
@@ -6625,6 +6651,7 @@ 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;
@@ -6681,7 +6708,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6698,7 +6725,6 @@ uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6709,7 +6735,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6726,7 +6752,6 @@ uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6737,6 +6762,7 @@ 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;
@@ -6810,6 +6836,7 @@ 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;
@@ -6863,6 +6890,7 @@ 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;
@@ -6927,7 +6955,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6948,7 +6976,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6959,7 +6986,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -6980,7 +7007,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6991,6 +7017,7 @@ 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;
@@ -7064,6 +7091,7 @@ 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;
@@ -7117,6 +7145,7 @@ 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;
@@ -7181,7 +7210,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_args");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -7202,7 +7231,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thri
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7213,7 +7241,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_pargs");
xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1);
@@ -7234,7 +7262,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7245,6 +7272,7 @@ 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;
@@ -7318,6 +7346,7 @@ 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;
@@ -7371,6 +7400,7 @@ 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;
@@ -7411,7 +7441,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_args");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7420,7 +7450,6 @@ uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7431,7 +7460,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_pargs");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7440,7 +7469,6 @@ uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7451,6 +7479,7 @@ 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;
@@ -7548,6 +7577,7 @@ 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;
@@ -7617,6 +7647,7 @@ 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;
@@ -7665,7 +7696,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_args");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7678,7 +7709,6 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write(
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7689,7 +7719,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_pargs");
xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -7702,7 +7732,6 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7713,6 +7742,7 @@ 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;
@@ -7810,6 +7840,7 @@ 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;
@@ -7879,6 +7910,7 @@ 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;
@@ -7931,7 +7963,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -7948,7 +7980,6 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7959,7 +7990,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -7976,7 +8007,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -7987,6 +8017,7 @@ 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;
@@ -8084,6 +8115,7 @@ 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;
@@ -8153,6 +8185,7 @@ 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;
@@ -8205,7 +8238,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_args");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -8222,7 +8255,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift::
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -8233,7 +8265,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_pargs");
xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1);
@@ -8250,7 +8282,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift:
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -8261,6 +8292,7 @@ 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;
@@ -8358,6 +8390,7 @@ 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;
@@ -8427,6 +8460,7 @@ 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;
@@ -8495,7 +8529,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_args");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -8520,7 +8554,6 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -8531,7 +8564,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_pargs");
xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -8556,7 +8589,6 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -8567,6 +8599,7 @@ 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;
@@ -8664,6 +8697,7 @@ ThriftHiveMetastore_append_partition_presult::~ThriftHiveMetastore_append_partit
uint32_t ThriftHiveMetastore_append_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+ apache::thrift::pr
<TRUNCATED>
[05/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 4536b41..b078c99 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -338,9 +338,6 @@ 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() {
@@ -377,18 +374,21 @@ class TTypeQualifierValue {
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 TTypeQualifierValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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,11 +414,17 @@ class TTypeQualifiers {
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 TTypeQualifiers& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -427,9 +433,6 @@ 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) {
@@ -464,18 +467,21 @@ class TPrimitiveTypeEntry {
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 TPrimitiveTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -501,18 +507,21 @@ class TArrayTypeEntry {
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 TArrayTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -543,18 +552,21 @@ class TMapTypeEntry {
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 TMapTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -580,18 +592,21 @@ class TStructTypeEntry {
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 TStructTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -617,18 +632,21 @@ class TUnionTypeEntry {
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 TUnionTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -654,11 +672,17 @@ class TUserDefinedTypeEntry {
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 TUserDefinedTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -672,9 +696,6 @@ 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() {
@@ -727,18 +748,21 @@ class TTypeEntry {
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 TTypeEntry& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -764,11 +788,17 @@ class TTypeDesc {
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 TTypeDesc& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -777,9 +807,6 @@ 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() {
@@ -824,18 +851,21 @@ class TColumnDesc {
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 TColumnDesc& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -861,11 +891,17 @@ class TTableSchema {
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 TTableSchema& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -874,9 +910,6 @@ 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) {
@@ -906,11 +939,17 @@ class TBoolValue {
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 TBoolValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -919,9 +958,6 @@ 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) {
@@ -951,11 +987,17 @@ class TByteValue {
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 TByteValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -964,9 +1006,6 @@ 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) {
@@ -996,11 +1035,17 @@ class TI16Value {
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 TI16Value& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1009,9 +1054,6 @@ 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) {
@@ -1041,11 +1083,17 @@ class TI32Value {
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 TI32Value& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1054,9 +1102,6 @@ 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) {
@@ -1086,11 +1131,17 @@ class TI64Value {
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 TI64Value& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1099,9 +1150,6 @@ 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) {
@@ -1131,11 +1179,17 @@ class TDoubleValue {
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 TDoubleValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1144,9 +1198,6 @@ 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() {
@@ -1176,11 +1227,17 @@ class TStringValue {
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 TStringValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1195,9 +1252,6 @@ 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() {
@@ -1255,18 +1309,21 @@ class TColumnValue {
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 TColumnValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1292,18 +1349,21 @@ class TRow {
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 TRow& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1334,18 +1394,21 @@ class TBoolColumn {
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 TBoolColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1376,18 +1439,21 @@ class TByteColumn {
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 TByteColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1418,18 +1484,21 @@ class TI16Column {
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 TI16Column& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1460,18 +1529,21 @@ class TI32Column {
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 TI32Column& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1502,18 +1574,21 @@ class TI64Column {
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 TI64Column& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1544,18 +1619,21 @@ class TDoubleColumn {
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 TDoubleColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1586,18 +1664,21 @@ class TStringColumn {
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 TStringColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1628,11 +1709,17 @@ class TBinaryColumn {
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 TBinaryColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1648,9 +1735,6 @@ 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() {
@@ -1713,11 +1797,17 @@ class TColumn {
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 TColumn& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1726,9 +1816,6 @@ 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) {
@@ -1768,11 +1855,17 @@ class TRowSet {
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 TRowSet& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1784,9 +1877,6 @@ 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() {
@@ -1842,18 +1932,21 @@ class TStatus {
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 TStatus& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1884,18 +1977,21 @@ class THandleIdentifier {
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 THandleIdentifier& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -1921,11 +2017,17 @@ class TSessionHandle {
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 TSessionHandle& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1934,9 +2036,6 @@ 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) {
@@ -1981,11 +2080,17 @@ class TOperationHandle {
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 TOperationHandle& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -1996,9 +2101,6 @@ 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() {
@@ -2049,11 +2151,17 @@ class TOpenSessionReq {
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 TOpenSessionReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2063,9 +2171,6 @@ 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) {
@@ -2114,18 +2219,21 @@ class TOpenSessionResp {
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 TOpenSessionResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2151,18 +2259,21 @@ class TCloseSessionReq {
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 TCloseSessionReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2188,11 +2299,17 @@ class TCloseSessionResp {
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 TCloseSessionResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2206,9 +2323,6 @@ 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) {
@@ -2261,18 +2375,21 @@ class TGetInfoValue {
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 TGetInfoValue& obj);
+ virtual void printTo(std::ostream& out) const;
};
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) {
@@ -2303,18 +2420,21 @@ class TGetInfoReq {
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 TGetInfoReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2345,11 +2465,17 @@ class TGetInfoResp {
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 TGetInfoResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2359,9 +2485,6 @@ 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) {
@@ -2408,11 +2531,17 @@ class TExecuteStatementReq {
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 TExecuteStatementReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2421,9 +2550,6 @@ 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() {
@@ -2458,18 +2584,21 @@ class TExecuteStatementResp {
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 TExecuteStatementResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2495,11 +2624,17 @@ class TGetTypeInfoReq {
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 TGetTypeInfoReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2508,9 +2643,6 @@ 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() {
@@ -2545,18 +2677,21 @@ class TGetTypeInfoResp {
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 TGetTypeInfoResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2582,11 +2717,17 @@ class TGetCatalogsReq {
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 TGetCatalogsReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2595,9 +2736,6 @@ 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() {
@@ -2632,11 +2770,17 @@ class TGetCatalogsResp {
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 TGetCatalogsResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2646,9 +2790,6 @@ 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() {
@@ -2690,11 +2831,17 @@ class TGetSchemasReq {
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 TGetSchemasReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2703,9 +2850,6 @@ 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() {
@@ -2740,11 +2884,17 @@ class TGetSchemasResp {
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 TGetSchemasResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2756,9 +2906,6 @@ 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() {
@@ -2814,11 +2961,17 @@ class TGetTablesReq {
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 TGetTablesReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2827,9 +2980,6 @@ 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() {
@@ -2864,18 +3014,21 @@ class TGetTablesResp {
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 TGetTablesResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -2901,11 +3054,17 @@ class TGetTableTypesReq {
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 TGetTableTypesReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2914,9 +3073,6 @@ 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() {
@@ -2951,11 +3107,17 @@ class TGetTableTypesResp {
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 TGetTableTypesResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -2967,9 +3129,6 @@ 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() {
@@ -3025,11 +3184,17 @@ class TGetColumnsReq {
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 TGetColumnsReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3038,9 +3203,6 @@ 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() {
@@ -3075,11 +3237,17 @@ class TGetColumnsResp {
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 TGetColumnsResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3089,9 +3257,6 @@ 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() {
@@ -3138,11 +3303,17 @@ class TGetFunctionsReq {
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 TGetFunctionsReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3151,9 +3322,6 @@ 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() {
@@ -3188,18 +3356,21 @@ class TGetFunctionsResp {
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 TGetFunctionsResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3225,11 +3396,17 @@ class TGetOperationStatusReq {
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 TGetOperationStatusReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3241,9 +3418,6 @@ 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() {
@@ -3299,18 +3473,21 @@ class TGetOperationStatusResp {
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 TGetOperationStatusResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3336,18 +3513,21 @@ class TCancelOperationReq {
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 TCancelOperationReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3373,18 +3553,21 @@ class TCancelOperationResp {
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 TCancelOperationResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3410,18 +3593,21 @@ class TCloseOperationReq {
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 TCloseOperationReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3447,18 +3633,21 @@ class TCloseOperationResp {
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 TCloseOperationResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3484,11 +3673,17 @@ class TGetResultSetMetadataReq {
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 TGetResultSetMetadataReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3497,9 +3692,6 @@ 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() {
@@ -3534,11 +3726,17 @@ class TGetResultSetMetadataResp {
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 TGetResultSetMetadataResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3547,9 +3745,6 @@ 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) {
@@ -3596,11 +3791,17 @@ class TFetchResultsReq {
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 TFetchResultsReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3610,9 +3811,6 @@ 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) {
@@ -3654,18 +3852,21 @@ class TFetchResultsResp {
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 TFetchResultsResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3701,11 +3902,17 @@ class TGetDelegationTokenReq {
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 TGetDelegationTokenReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -3714,9 +3921,6 @@ 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() {
@@ -3751,18 +3955,21 @@ class TGetDelegationTokenResp {
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 TGetDelegationTokenResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3793,18 +4000,21 @@ class TCancelDelegationTokenReq {
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 TCancelDelegationTokenReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3830,18 +4040,21 @@ class TCancelDelegationTokenResp {
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 TCancelDelegationTokenResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3872,18 +4085,21 @@ class TRenewDelegationTokenReq {
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 TRenewDelegationTokenReq& obj);
+ virtual void printTo(std::ostream& out) const;
};
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() {
@@ -3909,11 +4125,17 @@ class TRenewDelegationTokenResp {
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 TRenewDelegationTokenResp& obj);
+ virtual void printTo(std::ostream& out) const;
};
void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b);
+inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj)
+{
+ obj.printTo(out);
+ return out;
+}
+
}}}}} // namespace
#endif
[17/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 056f8aa..8e3a0ae 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxnid());
+ return getTxnid();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a26ac1b..bb6e584 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxnid());
+ return getTxnid();
case DBNAME:
return getDbname();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1ce9f7d..083d340 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isIfNotExists());
+ return isIfNotExists();
case NEED_RESULT:
- return Boolean.valueOf(isNeedResult());
+ return isNeedResult();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e5d757c..9004457 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8f64ab0..bfd1206 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getPartsFound());
+ return getPartsFound();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 94b7387..4032f19 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 753c5eb..84e393c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getMaxColLen());
+ return getMaxColLen();
case AVG_COL_LEN:
- return Double.valueOf(getAvgColLen());
+ return getAvgColLen();
case NUM_NULLS:
- return Long.valueOf(getNumNulls());
+ return getNumNulls();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 75b3d9f..6aa4668 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getNumTrues());
+ return getNumTrues();
case NUM_FALSES:
- return Long.valueOf(getNumFalses());
+ return getNumFalses();
case NUM_NULLS:
- return Long.valueOf(getNumNulls());
+ return getNumNulls();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1ca0b4f..430be03 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLockid());
+ return getLockid();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e771cac..657bb7b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 e7dc52c..8e46d83 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b5c5e33..ba059fe 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6558add..036d438 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 5415621..daf3d10 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isIsTblLevel());
+ return 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 Long.valueOf(getLastAnalyzed());
+ return getLastAnalyzed();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 58af623..4191beb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 e39f85f..77554b7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxnid());
+ return getTxnid();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6ada5cb..e028ecb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 09474ee..7450b27 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 1324956..d454a96 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1780c1b..2565a08 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getEventId());
+ return getEventId();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8dfe579..2769845 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 ea51e31..bf064e5 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getDaysSinceEpoch());
+ return getDaysSinceEpoch();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 9e6ca5a..2ebb811 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getNumNulls());
+ return getNumNulls();
case NUM_DVS:
- return Long.valueOf(getNumDVs());
+ return getNumDVs();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 bbbdfb2..5b23dba 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Short.valueOf(getScale());
+ return getScale();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 87a8d2f..720176a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getNumNulls());
+ return getNumNulls();
case NUM_DVS:
- return Long.valueOf(getNumDVs());
+ return getNumDVs();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 0f76302..5d48b5d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Double.valueOf(getLowValue());
+ return getLowValue();
case HIGH_VALUE:
- return Double.valueOf(getHighValue());
+ return getHighValue();
case NUM_NULLS:
- return Long.valueOf(getNumNulls());
+ return getNumNulls();
case NUM_DVS:
- return Long.valueOf(getNumDVs());
+ return getNumDVs();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b4bb3bf..ac97aa3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getPartArchiveLevel());
+ return getPartArchiveLevel();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 56f6661..2dbde0c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDeleteData());
+ return isDeleteData();
case IF_EXISTS:
- return Boolean.valueOf(isIfExists());
+ return isIfExists();
case IGNORE_PROTECTION:
- return Boolean.valueOf(isIgnoreProtection());
+ return isIgnoreProtection();
case ENVIRONMENT_CONTEXT:
return getEnvironmentContext();
case NEED_RESULT:
- return Boolean.valueOf(isNeedResult());
+ return isNeedResult();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 32c3a86..adef415 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 64bfc0c..de588e2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 422b44f..4295046 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 1c04329..06a7b4d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d3c7d1f..8ffaa89 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 cda2b3f..6b08234 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isSuccessful());
+ return isSuccessful();
case DATA:
return getData();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2830496..db8dc8b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 e60e017..9a86ed5 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 ad02032..5f8ce0d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case FUNCTION_TYPE:
return getFunctionType();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6958566..1116f88 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 5d11eb9..f88e279 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 47c3d50..0236b4a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDoGetFooters());
+ return isDoGetFooters();
case TYPE:
return getType();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e2eee9a..89eb819 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isIsSupported());
+ return isIsSupported();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c38c1b9..2408ad1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 c0aae99..8946635 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isIsSupported());
+ return isIsSupported();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2a09765..629c042 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxn_high_water_mark());
+ return getTxn_high_water_mark();
case OPEN_TXNS:
return getOpen_txns();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 70f7d1e..9f57a4a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getTxn_high_water_mark());
+ return getTxn_high_water_mark();
case OPEN_TXNS:
return getOpen_txns();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 43c595a..342b268 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 9b363a2..02c652a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b053c93..ea667d3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 3c2a92a..c013e0e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8ce172d..014c857 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isRevokeGrantOption());
+ return isRevokeGrantOption();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a4ae0d5..ddbc4c3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isSuccess());
+ return isSuccess();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b2b2756..adbd345 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isGrantOption());
+ return isGrantOption();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1418806..541ac21 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isSuccess());
+ return isSuccess();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f7b4587..ac65ec7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 ee572a6..0d36f22 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLockid());
+ return getLockid();
case TXNID:
- return Long.valueOf(getTxnid());
+ return getTxnid();
}
throw new IllegalStateException();
[07/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 29a9f4a..2ea80c7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,10 +8,16 @@
#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() {}
@@ -130,9 +136,6 @@ 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() {
@@ -160,23 +163,18 @@ 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 {
@@ -187,9 +185,6 @@ 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() {
@@ -217,7 +212,6 @@ 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 {
@@ -228,9 +222,6 @@ 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;
@@ -239,7 +230,6 @@ 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 {
@@ -250,9 +240,6 @@ 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() {
@@ -280,23 +267,18 @@ 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 {
@@ -307,9 +289,6 @@ 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() {
@@ -337,7 +316,6 @@ 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 {
@@ -348,9 +326,6 @@ 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;
@@ -359,7 +334,6 @@ 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 {
@@ -370,9 +344,6 @@ 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() {
@@ -400,23 +371,18 @@ 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 {
@@ -427,9 +393,6 @@ 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() {
@@ -457,7 +420,6 @@ 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 {
@@ -468,9 +430,6 @@ 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;
@@ -479,7 +438,6 @@ 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 {
@@ -490,9 +448,6 @@ 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() {
@@ -520,23 +475,18 @@ 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 {
@@ -547,9 +497,6 @@ 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() {
@@ -577,7 +524,6 @@ 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 {
@@ -588,9 +534,6 @@ 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;
@@ -599,7 +542,6 @@ 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 {
@@ -610,9 +552,6 @@ 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() {
@@ -640,23 +579,18 @@ 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 {
@@ -667,9 +601,6 @@ 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() {
@@ -697,7 +628,6 @@ 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 {
@@ -708,9 +638,6 @@ 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;
@@ -719,7 +646,6 @@ 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 {
@@ -730,9 +656,6 @@ 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() {
@@ -760,23 +683,18 @@ 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 {
@@ -787,9 +705,6 @@ 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() {
@@ -817,7 +732,6 @@ 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 {
@@ -828,9 +742,6 @@ 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;
@@ -839,7 +750,6 @@ 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 {
@@ -850,9 +760,6 @@ 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() {
@@ -880,23 +787,18 @@ 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 {
@@ -907,9 +809,6 @@ 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() {
@@ -937,7 +836,6 @@ 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 {
@@ -948,9 +846,6 @@ 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;
@@ -959,7 +854,6 @@ 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 {
@@ -970,9 +864,6 @@ 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() {
@@ -1000,23 +891,18 @@ 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 {
@@ -1027,9 +913,6 @@ 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() {
@@ -1057,7 +940,6 @@ 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 {
@@ -1068,9 +950,6 @@ 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;
@@ -1079,7 +958,6 @@ 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 {
@@ -1090,9 +968,6 @@ 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() {
@@ -1120,23 +995,18 @@ 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 {
@@ -1147,9 +1017,6 @@ 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() {
@@ -1177,7 +1044,6 @@ 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 {
@@ -1188,9 +1054,6 @@ 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;
@@ -1199,7 +1062,6 @@ 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 {
@@ -1210,9 +1072,6 @@ 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() {
@@ -1240,23 +1099,18 @@ 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 {
@@ -1267,9 +1121,6 @@ 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() {
@@ -1297,7 +1148,6 @@ 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 {
@@ -1308,9 +1158,6 @@ 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;
@@ -1319,7 +1166,6 @@ 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 {
@@ -1330,9 +1176,6 @@ 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() {
@@ -1360,23 +1203,18 @@ 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 {
@@ -1387,9 +1225,6 @@ 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() {
@@ -1417,7 +1252,6 @@ 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 {
@@ -1428,9 +1262,6 @@ 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;
@@ -1439,7 +1270,6 @@ 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 {
@@ -1450,9 +1280,6 @@ 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() {
@@ -1480,23 +1307,18 @@ 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 {
@@ -1507,9 +1329,6 @@ 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() {
@@ -1537,7 +1356,6 @@ 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 {
@@ -1548,9 +1366,6 @@ 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;
@@ -1559,7 +1374,6 @@ 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 {
@@ -1570,9 +1384,6 @@ 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() {
@@ -1600,23 +1411,18 @@ 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 {
@@ -1627,9 +1433,6 @@ 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() {
@@ -1657,7 +1460,6 @@ 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 {
@@ -1668,9 +1470,6 @@ 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;
@@ -1679,7 +1478,6 @@ 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 {
@@ -1690,9 +1488,6 @@ 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() {
@@ -1720,23 +1515,18 @@ 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 {
@@ -1747,9 +1537,6 @@ 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() {
@@ -1777,7 +1564,6 @@ 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 {
@@ -1788,9 +1574,6 @@ 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;
@@ -1799,7 +1582,6 @@ 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 {
@@ -1810,9 +1592,6 @@ 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() {
@@ -1840,23 +1619,18 @@ 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 {
@@ -1867,9 +1641,6 @@ 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() {
@@ -1897,7 +1668,6 @@ 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 {
@@ -1908,9 +1678,6 @@ 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;
@@ -1919,7 +1686,6 @@ 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 {
@@ -1930,9 +1696,6 @@ 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() {
@@ -1960,23 +1723,18 @@ 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 {
@@ -1987,9 +1745,6 @@ 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() {
@@ -2017,7 +1772,6 @@ 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 {
@@ -2028,9 +1782,6 @@ 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;
@@ -2039,7 +1790,6 @@ 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 {
@@ -2050,9 +1800,6 @@ 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() {
@@ -2080,23 +1827,18 @@ 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 {
@@ -2107,9 +1849,6 @@ 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() {
@@ -2137,7 +1876,6 @@ 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 {
@@ -2148,9 +1886,6 @@ 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;
@@ -2159,7 +1894,6 @@ 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 {
@@ -2170,9 +1904,6 @@ 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() {
@@ -2200,23 +1931,18 @@ 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 {
@@ -2227,9 +1953,6 @@ 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() {
@@ -2257,7 +1980,6 @@ 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 {
@@ -2268,9 +1990,6 @@ 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;
@@ -2279,7 +1998,6 @@ 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 {
@@ -2290,9 +2008,6 @@ 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() {
@@ -2320,23 +2035,18 @@ 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 {
@@ -2347,9 +2057,6 @@ 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() {
@@ -2377,7 +2084,6 @@ 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 {
@@ -2388,9 +2094,6 @@ 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;
@@ -2399,7 +2102,6 @@ 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 {
@@ -2760,6 +2462,103 @@ 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/e862ff80/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 dcca5c8..60eeff7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 8993394..9310717 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[23/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
Revert "HIVE-11487 : Adds getNumPartitionsByFilter api in metastore api"
This reverts commit ccb30e3ec1d26fdf4b5fe600a420ae7f2ff247fc.
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e862ff80
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e862ff80
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e862ff80
Branch: refs/heads/master
Commit: e862ff80b05510cc8c2cbbeffd5680168dde8620
Parents: ccb30e3
Author: Amareshwari Sriramadasu <am...@apache.org>
Authored: Mon Dec 21 14:19:58 2015 +0530
Committer: Amareshwari Sriramadasu <am...@apache.org>
Committed: Mon Dec 21 14:19:58 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 | 1341 ++++---
.../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 | 2961 ++++++++++-----
.../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, 10968 insertions(+), 12289 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/metastore/if/hive_metastore.thrift
----------------------------------------------------------------------
diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift
index 56ec9aa..e6403ed 100755
--- a/metastore/if/hive_metastore.thrift
+++ b/metastore/if/hive_metastore.thrift
@@ -1067,10 +1067,6 @@ 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)
[11/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f86fda9..d1c07a5 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 877a7e4..fbeab5e 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 7ef6f43..eeccc84 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f545de6..a7b1e86 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 be83a98..a90a180 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -1004,23 +1004,6 @@ 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()
@@ -3024,19 +3007,6 @@ 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()
@@ -6206,46 +6176,6 @@ 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/e862ff80/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 ace644b..81d7128 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -4559,25 +4559,6 @@ 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/e862ff80/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 09a6aea..a17c6d8 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
@@ -1204,6 +1204,7 @@ public class HiveMetaStoreClient implements IMetaStoreClient {
return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions(); // Assume the worst.
}
+
/**
* @param name
* @return the database
@@ -1394,24 +1395,6 @@ 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/e862ff80/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 4284d54..25e0d38 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
@@ -530,22 +530,6 @@ 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/e862ff80/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 be54b9c..36b316a 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
@@ -385,20 +385,6 @@ 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.
@@ -821,39 +807,6 @@ 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/e862ff80/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 e1b8b6c..05d5b57 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
@@ -2279,7 +2279,6 @@ public class ObjectStore implements RawStore, Configurable {
}
return result;
}
-
@Override
protected List<Partition> getJdoResult(
GetHelper<List<Partition>> ctx) throws MetaException, NoSuchObjectException {
@@ -2366,12 +2365,6 @@ 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.
@@ -2653,36 +2646,6 @@ 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/e862ff80/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 cbd5957..d228f24 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
@@ -223,9 +223,6 @@ 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/e862ff80/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 0ffdbe0..fcf983f 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,21 +758,6 @@ 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.
[20/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 0fee77b..383a0d2 100644
--- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
+++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
@@ -312,11 +312,6 @@ 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/e862ff80/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 f61ac7d..f982bf2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 c95fec1..ae14bd1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[13/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 788d82c..689f646 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 27d977d..47cdaf4 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getId());
+ return getId();
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d455229..10b5f9b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 69d6239..de59755 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 e9ec6f1..14cd42e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 a0f254b..a5ea86f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 cbb8410..538ce29 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6cbc999..95bd0dd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 22a048f..f28e808 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLockid());
+ return getLockid();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f0dfa6f..12a2bce 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b6e0a29..5a666f2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 2fe4590..75f4a47 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -533,15 +533,6 @@ 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
@@ -4494,65 +4485,6 @@ 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);
@@ -24004,252 +23936,6 @@ 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/e862ff80/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 89e2c31..fe4c966 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 216a0fa..9564ded 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -82,7 +82,6 @@ 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)')
@@ -574,12 +573,6 @@ 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')
[02/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 fc5f458..d1d86fe 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isHasResultSet());
+ return isHasResultSet();
case MODIFIED_ROW_COUNT:
- return Double.valueOf(getModifiedRowCount());
+ return getModifiedRowCount();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2dfde1c..fe029ef 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 6927740..f105259 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 fe2ad7e..38a5be3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6e714c6..c936ada 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 0a8d6e1..e74bb29 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 4a5b522..63633e3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8153fb4..28c34cd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 f0dd60f..9b9b2ac 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getStartRowOffset());
+ return getStartRowOffset();
case ROWS:
return getRows();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 09161e5..aeff2b6 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 2fd1ac1..ccf281a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getErrorCode());
+ return getErrorCode();
case ERROR_MESSAGE:
return getErrorMessage();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 91d1a97..8900d4c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 ed33013..7c15ec1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 302b552..96e9be0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b25b0e8..c90926a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 73276cf..7a38e15 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d84b6a9..e187da2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 203d3b9..a53eaa2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 e6f2336..379bc92 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 54df6dc..cc786b2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 80be0a4..ac97b7f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 49f7388..0c7120d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6bc7a6f..4ae9505 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 f5dd904..eba62f1 100644
--- a/service/src/gen/thrift/gen-php/TCLIService.php
+++ b/service/src/gen/thrift/gen-php/TCLIService.php
@@ -1,7 +1,6 @@
<?php
-namespace ;
/**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 2c783b6..23dc8fd 100644
--- a/service/src/gen/thrift/gen-php/ThriftHive.php
+++ b/service/src/gen/thrift/gen-php/ThriftHive.php
@@ -1,7 +1,6 @@
<?php
-namespace ;
/**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 d8f3c5b..cbf4c29 100644
--- a/service/src/gen/thrift/gen-php/Types.php
+++ b/service/src/gen/thrift/gen-php/Types.php
@@ -1,8 +1,6 @@
<?php
-namespace ;
-
/**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 2bfca56..56f5c5d 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 0067195..ad2d71d 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -7,6 +7,7 @@
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
+import logging
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
@@ -188,7 +189,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):
"""
@@ -219,7 +220,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):
"""
@@ -250,7 +251,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):
"""
@@ -281,7 +282,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):
"""
@@ -312,7 +313,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):
"""
@@ -343,7 +344,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):
"""
@@ -374,7 +375,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):
"""
@@ -405,7 +406,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):
"""
@@ -436,7 +437,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):
"""
@@ -467,7 +468,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):
"""
@@ -498,7 +499,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):
"""
@@ -529,7 +530,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):
"""
@@ -560,7 +561,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):
"""
@@ -591,7 +592,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):
"""
@@ -622,7 +623,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):
"""
@@ -653,7 +654,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):
"""
@@ -684,7 +685,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):
"""
@@ -715,7 +716,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):
"""
@@ -746,7 +747,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):
@@ -793,8 +794,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = OpenSession_result()
- result.success = self._handler.OpenSession(args.req)
- oprot.writeMessageBegin("OpenSession", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -804,8 +813,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CloseSession_result()
- result.success = self._handler.CloseSession(args.req)
- oprot.writeMessageBegin("CloseSession", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -815,8 +832,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetInfo_result()
- result.success = self._handler.GetInfo(args.req)
- oprot.writeMessageBegin("GetInfo", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -826,8 +851,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = ExecuteStatement_result()
- result.success = self._handler.ExecuteStatement(args.req)
- oprot.writeMessageBegin("ExecuteStatement", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -837,8 +870,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTypeInfo_result()
- result.success = self._handler.GetTypeInfo(args.req)
- oprot.writeMessageBegin("GetTypeInfo", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -848,8 +889,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetCatalogs_result()
- result.success = self._handler.GetCatalogs(args.req)
- oprot.writeMessageBegin("GetCatalogs", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -859,8 +908,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetSchemas_result()
- result.success = self._handler.GetSchemas(args.req)
- oprot.writeMessageBegin("GetSchemas", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -870,8 +927,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTables_result()
- result.success = self._handler.GetTables(args.req)
- oprot.writeMessageBegin("GetTables", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -881,8 +946,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetTableTypes_result()
- result.success = self._handler.GetTableTypes(args.req)
- oprot.writeMessageBegin("GetTableTypes", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -892,8 +965,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetColumns_result()
- result.success = self._handler.GetColumns(args.req)
- oprot.writeMessageBegin("GetColumns", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -903,8 +984,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetFunctions_result()
- result.success = self._handler.GetFunctions(args.req)
- oprot.writeMessageBegin("GetFunctions", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -914,8 +1003,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetOperationStatus_result()
- result.success = self._handler.GetOperationStatus(args.req)
- oprot.writeMessageBegin("GetOperationStatus", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -925,8 +1022,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CancelOperation_result()
- result.success = self._handler.CancelOperation(args.req)
- oprot.writeMessageBegin("CancelOperation", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -936,8 +1041,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CloseOperation_result()
- result.success = self._handler.CloseOperation(args.req)
- oprot.writeMessageBegin("CloseOperation", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -947,8 +1060,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetResultSetMetadata_result()
- result.success = self._handler.GetResultSetMetadata(args.req)
- oprot.writeMessageBegin("GetResultSetMetadata", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -958,8 +1079,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = FetchResults_result()
- result.success = self._handler.FetchResults(args.req)
- oprot.writeMessageBegin("FetchResults", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -969,8 +1098,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = GetDelegationToken_result()
- result.success = self._handler.GetDelegationToken(args.req)
- oprot.writeMessageBegin("GetDelegationToken", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -980,8 +1117,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = CancelDelegationToken_result()
- result.success = self._handler.CancelDelegationToken(args.req)
- oprot.writeMessageBegin("CancelDelegationToken", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -991,8 +1136,16 @@ class Processor(Iface, TProcessor):
args.read(iprot)
iprot.readMessageEnd()
result = RenewDelegationToken_result()
- result.success = self._handler.RenewDelegationToken(args.req)
- oprot.writeMessageBegin("RenewDelegationToken", TMessageType.REPLY, seqid)
+ 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.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 9fb1a86..c8d4f8f 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 efee8ef..ef5f5f5 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 7f63595..4bd7a5a 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -91,7 +91,6 @@ 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)')
@@ -637,12 +636,6 @@ 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')
[15/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 28b816d..b9b7f3c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d41c5eb..037a383 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getLockid());
+ return getLockid();
case DBNAME:
return getDbname();
@@ -658,13 +658,13 @@ public class ShowLocksResponseElement implements org.apache.thrift.TBase<ShowLoc
return getType();
case TXNID:
- return Long.valueOf(getTxnid());
+ return getTxnid();
case LASTHEARTBEAT:
- return Long.valueOf(getLastheartbeat());
+ return getLastheartbeat();
case ACQUIREDAT:
- return Long.valueOf(getAcquiredat());
+ return getAcquiredat();
case USER:
return getUser();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 cf3a257..c32f50c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 20273b1..938f06b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isCompressed());
+ return isCompressed();
case NUM_BUCKETS:
- return Integer.valueOf(getNumBuckets());
+ return 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 Boolean.valueOf(isStoredAsSubDirectories());
+ return isStoredAsSubDirectories();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 856a098..bd8a922 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getMaxColLen());
+ return getMaxColLen();
case AVG_COL_LEN:
- return Double.valueOf(getAvgColLen());
+ return getAvgColLen();
case NUM_NULLS:
- return Long.valueOf(getNumNulls());
+ return getNumNulls();
case NUM_DVS:
- return Long.valueOf(getNumDVs());
+ return getNumDVs();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 80a8d2f..5d683fb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getCreateTime());
+ return getCreateTime();
case LAST_ACCESS_TIME:
- return Integer.valueOf(getLastAccessTime());
+ return getLastAccessTime();
case RETENTION:
- return Integer.valueOf(getRetention());
+ return 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 Boolean.valueOf(isTemporary());
+ return isTemporary();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f9d011e..08a8e36 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b1ef109..d0daee5 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1d23528..78d4250 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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");
[03/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 ab48bf7..46c71ee 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 bc345e4..934a8a5 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getNumRows());
+ return getNumRows();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c21f215..0fb33c7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getObjectTypePtr());
+ return getObjectTypePtr();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 3a3b2b5..788bc89 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 {
- sb.append(this.values);
+ org.apache.thrift.TBaseHelper.toString(this.values, sb);
}
first = false;
if (!first) sb.append(", ");
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2f079cd..c0c5cbe 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 486c2fb..3670a1e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isValue());
+ return isValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 51cf2c0..85c881e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1c659ca..82209f1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Byte.valueOf(getValue());
+ return getValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 3d1d96d..ded848f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
public class TCLIService {
public interface Iface {
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 046eb15..3f46013 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 4cf1688..fde0c47 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8441e86..65d0551 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 2548ee9..f532d09 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8666ba7..f7f8325 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 640ad23..c0c2c2c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 101086a..83bcd03 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 7bc61a8..d9c989a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 fbe8f78..7c64d4d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1bda69d..082b9b4 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 916dd1d..b01fadb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getPosition());
+ return getPosition();
case COMMENT:
return getComment();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 61aee4d..2c2c6bb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 339f630..dffad80 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8e26d5f..6524f93 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Double.valueOf(getValue());
+ return getValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2ffb045..30cf243 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isRunAsync());
+ return isRunAsync();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a1b33a5..0b9aa0f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 64713e8..d3fd3f0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 aad8e38..23cfd54 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getMaxRows());
+ return getMaxRows();
case FETCH_TYPE:
- return Short.valueOf(getFetchType());
+ return getFetchType();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 f911ce8..2d325fc 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isHasMoreRows());
+ return isHasMoreRows();
case RESULTS:
return getResults();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2f87ba8..02e5cbc 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 91442fc..2372d3a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 2f2618e..60872f4 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 6273cab..7992a24 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d877e02..363bf4b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 17d2aec..5234dcd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 1a6b199..d366529 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 89d915f..6ef2960 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 5c0fa1e..80b80c7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 943ad14..f6a07fc 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 f4dc73d..72385a7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 af1224d..361e39f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 3c9f51e..183ff6d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 4a4fb05..99c2409 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getErrorCode());
+ return getErrorCode();
case ERROR_MESSAGE:
return getErrorMessage();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c5ead0e..626b59f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 a7e1331..8e2d462 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 9fafa90..11988e2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 20d3224..27060b7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 3f5f08d..8c9106e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 26a0a24..440e080 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 c7a7d83..4f22732 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 0923c49..4878228 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 caaf742..3fa8edc 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 9a80a74..c0dd1f8 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 7169f26..d959456 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 aa874c1..1a7f13a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 38ebd58..ece0199 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Short.valueOf(getValue());
+ return getValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b2967fa..78fb651 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 b7d4e5d..cf63261 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getValue());
+ return getValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 79e1fdb..0f649fb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 d526b1c..75ada87 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Long.valueOf(getValue());
+ return getValue();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 45138f8..9777683 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getKeyTypePtr());
+ return getKeyTypePtr();
case VALUE_TYPE_PTR:
- return Integer.valueOf(getValueTypePtr());
+ return getValueTypePtr();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6d92c55..a43c1d0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 25cfd42..3199ec3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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");
[04/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8935c04..a5448f0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -15,6 +15,7 @@ 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;
@@ -55,7 +56,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_execute_args");
xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
@@ -64,7 +65,6 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_execute_pargs");
xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1);
@@ -84,7 +84,6 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -95,6 +94,7 @@ 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,6 +156,7 @@ 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;
@@ -201,6 +202,7 @@ 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;
@@ -228,12 +230,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -244,12 +245,11 @@ ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() {
uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -260,6 +260,7 @@ 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;
@@ -333,6 +334,7 @@ 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;
@@ -386,6 +388,7 @@ 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;
@@ -426,7 +429,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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchN_args");
xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
@@ -435,7 +438,6 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -446,7 +448,7 @@ ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() {
uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs");
xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1);
@@ -455,7 +457,6 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -466,6 +467,7 @@ 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;
@@ -559,6 +561,7 @@ 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;
@@ -624,6 +627,7 @@ 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;
@@ -651,12 +655,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -667,12 +670,11 @@ ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() {
uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -683,6 +685,7 @@ 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;
@@ -776,6 +779,7 @@ 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;
@@ -841,6 +845,7 @@ 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;
@@ -868,12 +873,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getSchema_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -884,12 +888,11 @@ ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() {
uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -900,6 +903,7 @@ 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;
@@ -973,6 +977,7 @@ 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;
@@ -1026,6 +1031,7 @@ 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;
@@ -1053,12 +1059,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1069,12 +1074,11 @@ ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() {
uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1085,6 +1089,7 @@ 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;
@@ -1158,6 +1163,7 @@ 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;
@@ -1211,6 +1217,7 @@ 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;
@@ -1238,12 +1245,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1254,12 +1260,11 @@ ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw()
uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1270,6 +1275,7 @@ 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;
@@ -1343,6 +1349,7 @@ 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;
@@ -1396,6 +1403,7 @@ 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;
@@ -1423,12 +1431,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1439,12 +1446,11 @@ ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() {
uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1455,6 +1461,7 @@ 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;
@@ -1528,6 +1535,7 @@ 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;
@@ -1581,6 +1589,7 @@ 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;
@@ -1608,12 +1617,11 @@ 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;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_clean_args");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1624,12 +1632,11 @@ ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() {
uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftHive_clean_pargs");
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1640,6 +1647,7 @@ 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;
@@ -1683,6 +1691,7 @@ 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;
@@ -2761,5 +2770,775 @@ 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/e862ff80/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 e610e50..902bd4b 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,11 +8,17 @@
#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() {}
@@ -91,9 +97,6 @@ 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() {
@@ -121,23 +124,18 @@ 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 {
@@ -148,9 +146,6 @@ 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() {
@@ -178,7 +173,6 @@ 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 {
@@ -189,9 +183,6 @@ 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;
@@ -200,16 +191,12 @@ 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() {
@@ -230,22 +217,17 @@ 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 {
@@ -257,9 +239,6 @@ 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() {
@@ -292,7 +271,6 @@ 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 {
@@ -304,9 +282,6 @@ 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;
@@ -316,7 +291,6 @@ 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 {
@@ -327,9 +301,6 @@ 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) {
@@ -357,23 +328,18 @@ 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 {
@@ -385,9 +351,6 @@ 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() {
@@ -420,7 +383,6 @@ 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 {
@@ -432,9 +394,6 @@ 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;
@@ -444,16 +403,12 @@ 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() {
@@ -474,22 +429,17 @@ 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 {
@@ -501,9 +451,6 @@ 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() {
@@ -536,7 +483,6 @@ 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 {
@@ -548,9 +494,6 @@ 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;
@@ -560,16 +503,12 @@ 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() {
@@ -590,22 +529,17 @@ 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 {
@@ -617,9 +551,6 @@ 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() {
@@ -652,7 +583,6 @@ 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 {
@@ -664,9 +594,6 @@ 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;
@@ -676,16 +603,12 @@ 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() {
@@ -706,22 +629,17 @@ 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 {
@@ -733,9 +651,6 @@ 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() {
@@ -768,7 +683,6 @@ 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 {
@@ -780,9 +694,6 @@ 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;
@@ -792,16 +703,12 @@ 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() {
@@ -822,22 +729,17 @@ 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 {
@@ -849,9 +751,6 @@ 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() {
@@ -884,7 +783,6 @@ 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 {
@@ -896,9 +794,6 @@ 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;
@@ -908,16 +803,12 @@ 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() {
@@ -938,22 +829,17 @@ 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 {
@@ -965,9 +851,6 @@ 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() {
@@ -1000,7 +883,6 @@ 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 {
@@ -1012,9 +894,6 @@ 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;
@@ -1024,16 +903,12 @@ 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() {
@@ -1054,31 +929,23 @@ 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() {
@@ -1099,22 +966,17 @@ 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 {
@@ -1310,6 +1172,53 @@ 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/e862ff80/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 c3c8482..e2bbe71 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 5878dbe..e0887f4 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 4d6cf01..9ddf7c1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -52,11 +52,9 @@ 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;
@@ -139,7 +137,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("HiveClusterStatus");
xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1);
@@ -168,7 +166,6 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -202,17 +199,16 @@ HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2)
__isset = other2.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) {
- using apache::thrift::to_string;
+void HiveClusterStatus::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "HiveClusterStatus(";
- 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 << "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 << ")";
- return out;
}
@@ -232,11 +228,9 @@ 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;
@@ -293,7 +287,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("HiveServerException");
xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1);
@@ -310,7 +304,6 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -335,14 +328,24 @@ HiveServerException& HiveServerException::operator=(const HiveServerException& o
__isset = other4.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) {
- using apache::thrift::to_string;
+void HiveServerException::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "HiveServerException(";
- out << "message=" << to_string(obj.message);
- out << ", " << "errorCode=" << to_string(obj.errorCode);
- out << ", " << "SQLState=" << to_string(obj.SQLState);
+ out << "message=" << to_string(message);
+ out << ", " << "errorCode=" << to_string(errorCode);
+ out << ", " << "SQLState=" << to_string(SQLState);
out << ")";
- return 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";
+ }
}
}}} // namespace
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7fea88c..266f8ea 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -48,9 +48,6 @@ 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) {
@@ -103,11 +100,17 @@ class HiveClusterStatus {
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 HiveClusterStatus& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -118,9 +121,6 @@ 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,11 +158,19 @@ class HiveServerException : public ::apache::thrift::TException {
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 HiveServerException& obj);
+ virtual void printTo(std::ostream& out) const;
+ mutable std::string thriftTExceptionMessageHolder_;
+ const char* what() const throw();
};
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/e862ff80/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 9dbfbe4..ad89867 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getTaskTrackers());
+ return getTaskTrackers();
case MAP_TASKS:
- return Integer.valueOf(getMapTasks());
+ return getMapTasks();
case REDUCE_TASKS:
- return Integer.valueOf(getReduceTasks());
+ return getReduceTasks();
case MAX_MAP_TASKS:
- return Integer.valueOf(getMaxMapTasks());
+ return getMaxMapTasks();
case MAX_REDUCE_TASKS:
- return Integer.valueOf(getMaxReduceTasks());
+ return getMaxReduceTasks();
case STATE:
return getState();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 d1c2f3f..97b1219 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getErrorCode());
+ return getErrorCode();
case SQLSTATE:
return getSQLState();
[10/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 660dd4e..477a3be 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
@@ -310,12 +310,6 @@ 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/e862ff80/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 9103102..ecabd5d 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
@@ -341,12 +341,6 @@ 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/e862ff80/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 2e1f5f4..1157033 100644
--- a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
+++ b/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java
@@ -37,7 +37,6 @@ 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;
@@ -164,8 +163,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", serdeConstants.STRING_TYPE_NAME, "");
- FieldSchema partitionKey2 = new FieldSchema("State", serdeConstants.STRING_TYPE_NAME, "");
+ FieldSchema partitionKey1 = new FieldSchema("Country", "String", "");
+ FieldSchema partitionKey2 = new FieldSchema("State", "String", "");
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>();
@@ -183,12 +182,6 @@ 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/e862ff80/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 280edbe..9186bad 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 6bee48d..6cc8af0 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 a1fb60b..e92d776 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -150,11 +150,9 @@ 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;
@@ -225,7 +223,7 @@ uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Adjacency");
xfer += oprot->writeFieldBegin("node", ::apache::thrift::protocol::T_STRING, 1);
@@ -250,7 +248,6 @@ uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -275,14 +272,13 @@ Adjacency& Adjacency::operator=(const Adjacency& other8) {
__isset = other8.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Adjacency& obj) {
- using apache::thrift::to_string;
+void Adjacency::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Adjacency(";
- out << "node=" << to_string(obj.node);
- out << ", " << "children=" << to_string(obj.children);
- out << ", " << "adjacencyType=" << to_string(obj.adjacencyType);
+ out << "node=" << to_string(node);
+ out << ", " << "children=" << to_string(children);
+ out << ", " << "adjacencyType=" << to_string(adjacencyType);
out << ")";
- return out;
}
@@ -302,11 +298,9 @@ 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;
@@ -389,7 +383,7 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Graph");
xfer += oprot->writeFieldBegin("nodeType", ::apache::thrift::protocol::T_I32, 1);
@@ -422,7 +416,6 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -447,14 +440,13 @@ Graph& Graph::operator=(const Graph& other23) {
__isset = other23.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Graph& obj) {
- using apache::thrift::to_string;
+void Graph::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Graph(";
- out << "nodeType=" << to_string(obj.nodeType);
- out << ", " << "roots=" << to_string(obj.roots);
- out << ", " << "adjacencyList=" << to_string(obj.adjacencyList);
+ out << "nodeType=" << to_string(nodeType);
+ out << ", " << "roots=" << to_string(roots);
+ out << ", " << "adjacencyList=" << to_string(adjacencyList);
out << ")";
- return out;
}
@@ -486,11 +478,9 @@ 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;
@@ -603,7 +593,7 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Operator");
xfer += oprot->writeFieldBegin("operatorId", ::apache::thrift::protocol::T_STRING, 1);
@@ -650,7 +640,6 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -684,17 +673,16 @@ Operator& Operator::operator=(const Operator& other42) {
__isset = other42.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Operator& obj) {
- using apache::thrift::to_string;
+void Operator::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Operator(";
- 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 << "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 << ")";
- return out;
}
@@ -736,11 +724,9 @@ 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;
@@ -881,7 +867,7 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Task");
xfer += oprot->writeFieldBegin("taskId", ::apache::thrift::protocol::T_STRING, 1);
@@ -946,7 +932,6 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -986,19 +971,18 @@ Task& Task::operator=(const Task& other67) {
__isset = other67.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Task& obj) {
- using apache::thrift::to_string;
+void Task::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Task(";
- 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 << "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 << ")";
- return out;
}
@@ -1034,11 +1018,9 @@ 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;
@@ -1171,7 +1153,7 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Stage");
xfer += oprot->writeFieldBegin("stageId", ::apache::thrift::protocol::T_STRING, 1);
@@ -1230,7 +1212,6 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1267,18 +1248,17 @@ Stage& Stage::operator=(const Stage& other92) {
__isset = other92.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Stage& obj) {
- using apache::thrift::to_string;
+void Stage::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Stage(";
- 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 << "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 << ")";
- return out;
}
@@ -1318,11 +1298,9 @@ 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;
@@ -1461,7 +1439,7 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Query");
xfer += oprot->writeFieldBegin("queryId", ::apache::thrift::protocol::T_STRING, 1);
@@ -1524,7 +1502,6 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1564,19 +1541,18 @@ Query& Query::operator=(const Query& other116) {
__isset = other116.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Query& obj) {
- using apache::thrift::to_string;
+void Query::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Query(";
- 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 << "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 << ")";
- return out;
}
@@ -1596,11 +1572,9 @@ 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;
@@ -1669,7 +1643,7 @@ uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("QueryPlan");
xfer += oprot->writeFieldBegin("queries", ::apache::thrift::protocol::T_LIST, 1);
@@ -1694,7 +1668,6 @@ uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1719,14 +1692,13 @@ QueryPlan& QueryPlan::operator=(const QueryPlan& other124) {
__isset = other124.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const QueryPlan& obj) {
- using apache::thrift::to_string;
+void QueryPlan::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "QueryPlan(";
- out << "queries=" << to_string(obj.queries);
- out << ", " << "done=" << to_string(obj.done);
- out << ", " << "started=" << to_string(obj.started);
+ out << "queries=" << to_string(queries);
+ out << ", " << "done=" << to_string(done);
+ out << ", " << "started=" << to_string(started);
out << ")";
- return out;
}
}}} // namespace
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 932804d..ce37b2e 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -123,9 +123,6 @@ 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) {
@@ -163,11 +160,17 @@ class Adjacency {
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 Adjacency& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -178,9 +181,6 @@ 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,11 +218,17 @@ class Graph {
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 Graph& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -236,9 +242,6 @@ 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) {
@@ -291,11 +294,17 @@ class Operator {
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 Operator& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -311,9 +320,6 @@ 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) {
@@ -380,11 +386,17 @@ class Task {
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 Task& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -399,9 +411,6 @@ 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) {
@@ -459,11 +468,17 @@ class Stage {
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 Stage& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -479,9 +494,6 @@ 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) {
@@ -544,11 +556,17 @@ class Query {
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 Query& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -559,9 +577,6 @@ 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) {
@@ -599,11 +614,17 @@ class QueryPlan {
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 QueryPlan& obj);
+ virtual void printTo(std::ostream& out) const;
};
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/e862ff80/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 87e8008..37edf2a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 470cad2..7a716f8 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 7dbd65a..0b454df 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 5fdbfa3..c3ce662 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 2ebff17..05dbb2d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDone());
+ return isDone();
case STARTED:
- return Boolean.valueOf(isStarted());
+ return isStarted();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1d17dcb..a002348 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 b3f8778..de553e1 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDone());
+ return isDone();
case STARTED:
- return Boolean.valueOf(isStarted());
+ return isStarted();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e12005d..0e12279 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDone());
+ return isDone();
case STARTED:
- return Boolean.valueOf(isStarted());
+ return isStarted();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 309237d..7f86eeb 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDone());
+ return isDone();
case STARTED:
- return Boolean.valueOf(isStarted());
+ return isStarted();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c7b0ff7..f20174c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 87ce205..f978e42 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isDone());
+ return isDone();
case STARTED:
- return Boolean.valueOf(isStarted());
+ return isStarted();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8aad073..d77f008 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 3dfff1d..e1693f3 100644
--- a/ql/src/gen/thrift/gen-php/Types.php
+++ b/ql/src/gen/thrift/gen-php/Types.php
@@ -1,8 +1,6 @@
<?php
-namespace ;
-
/**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6deb850..2073959 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 428185e..e61608b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1a22f07..f8b4034 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 dca1198..29df4f9 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,30 +2373,6 @@ 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/e862ff80/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 aa146c6..a6df39c 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 971cd2c..ee0bdca 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 fb6fe25..36c1514 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -51,11 +51,9 @@ 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;
@@ -171,7 +169,7 @@ uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PropValueUnion");
if (this->__isset.intValue) {
@@ -226,7 +224,6 @@ uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) con
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -263,18 +260,17 @@ PropValueUnion& PropValueUnion::operator=(const PropValueUnion& other15) {
__isset = other15.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj) {
- using apache::thrift::to_string;
+void PropValueUnion::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PropValueUnion(";
- 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 << "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 << ")";
- return out;
}
@@ -294,11 +290,9 @@ 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;
@@ -355,7 +349,7 @@ uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("IntString");
xfer += oprot->writeFieldBegin("myint", ::apache::thrift::protocol::T_I32, 1);
@@ -372,7 +366,6 @@ uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -397,14 +390,13 @@ IntString& IntString::operator=(const IntString& other17) {
__isset = other17.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const IntString& obj) {
- using apache::thrift::to_string;
+void IntString::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "IntString(";
- out << "myint=" << to_string(obj.myint);
- out << ", " << "myString=" << to_string(obj.myString);
- out << ", " << "underscore_int=" << to_string(obj.underscore_int);
+ out << "myint=" << to_string(myint);
+ out << ", " << "myString=" << to_string(myString);
+ out << ", " << "underscore_int=" << to_string(underscore_int);
out << ")";
- return out;
}
@@ -452,11 +444,9 @@ 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;
@@ -665,7 +655,7 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Complex");
xfer += oprot->writeFieldBegin("aint", ::apache::thrift::protocol::T_I32, 1);
@@ -770,7 +760,6 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -816,21 +805,20 @@ Complex& Complex::operator=(const Complex& other69) {
__isset = other69.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Complex& obj) {
- using apache::thrift::to_string;
+void Complex::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Complex(";
- 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 << "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 << ")";
- return out;
}
@@ -846,11 +834,9 @@ 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;
@@ -912,7 +898,7 @@ uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("SetIntString");
xfer += oprot->writeFieldBegin("sIntString", ::apache::thrift::protocol::T_SET, 1);
@@ -933,7 +919,6 @@ uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -955,13 +940,12 @@ SetIntString& SetIntString::operator=(const SetIntString& other78) {
__isset = other78.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const SetIntString& obj) {
- using apache::thrift::to_string;
+void SetIntString::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "SetIntString(";
- out << "sIntString=" << to_string(obj.sIntString);
- out << ", " << "aString=" << to_string(obj.aString);
+ out << "sIntString=" << to_string(sIntString);
+ out << ", " << "aString=" << to_string(aString);
out << ")";
- return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 2637720..38fa559 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -41,9 +41,6 @@ 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) {
@@ -111,11 +108,17 @@ class PropValueUnion {
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 PropValueUnion& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -126,9 +129,6 @@ 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,11 +166,17 @@ class IntString {
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 IntString& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -188,9 +194,6 @@ 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() {
@@ -263,11 +266,17 @@ class Complex {
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 Complex& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -277,9 +286,6 @@ 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() {
@@ -312,11 +318,17 @@ class SetIntString {
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 SetIntString& obj);
+ virtual void printTo(std::ostream& out) const;
};
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/e862ff80/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 9a18a48..c3e3794 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 1b0558f..e08f8a3 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 6123f7d..42f7e31 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -38,11 +38,9 @@ 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;
@@ -93,7 +91,7 @@ uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("MiniStruct");
if (this->__isset.my_string) {
@@ -108,7 +106,6 @@ uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -130,13 +127,12 @@ MiniStruct& MiniStruct::operator=(const MiniStruct& other2) {
__isset = other2.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const MiniStruct& obj) {
- using apache::thrift::to_string;
+void MiniStruct::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "MiniStruct(";
- 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 << "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 << ")";
- return out;
}
@@ -244,11 +240,9 @@ 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;
@@ -644,7 +638,7 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("MegaStruct");
if (this->__isset.my_bool) {
@@ -867,7 +861,6 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -943,31 +936,30 @@ MegaStruct& MegaStruct::operator=(const MegaStruct& other110) {
__isset = other110.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const MegaStruct& obj) {
- using apache::thrift::to_string;
+void MegaStruct::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "MegaStruct(";
- 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 << "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 << ")";
- return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e4985dc..d04a814 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -41,9 +41,6 @@ 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) {
@@ -80,11 +77,17 @@ class MiniStruct {
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 MiniStruct& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -112,9 +115,6 @@ 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,11 +277,17 @@ class MegaStruct {
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 MegaStruct& obj);
+ virtual void printTo(std::ostream& out) const;
};
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/e862ff80/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 d5d6999..243d3b8 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 cd48926..3566ead 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
[09/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 a37ff7c..c05f86d 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 eb7659a..bdaab33 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 0fa57e7..9538dae 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 cba3296..45fdc28 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 0cd19b9..c76e2fd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -22,11 +22,9 @@ 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;
@@ -67,7 +65,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("InnerStruct");
xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1);
@@ -76,7 +74,6 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -95,12 +92,11 @@ InnerStruct& InnerStruct::operator=(const InnerStruct& other1) {
__isset = other1.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) {
- using apache::thrift::to_string;
+void InnerStruct::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "InnerStruct(";
- out << "field0=" << to_string(obj.field0);
+ out << "field0=" << to_string(field0);
out << ")";
- return out;
}
@@ -120,11 +116,9 @@ 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;
@@ -193,7 +187,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ThriftTestObj");
xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1);
@@ -218,7 +212,6 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -243,14 +236,13 @@ ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) {
__isset = other9.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) {
- using apache::thrift::to_string;
+void ThriftTestObj::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "ThriftTestObj(";
- out << "field1=" << to_string(obj.field1);
- out << ", " << "field2=" << to_string(obj.field2);
- out << ", " << "field3=" << to_string(obj.field3);
+ out << "field1=" << to_string(field1);
+ out << ", " << "field2=" << to_string(field2);
+ out << ", " << "field3=" << to_string(field3);
out << ")";
- return out;
}
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 8c57e48..a59346a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -31,9 +31,6 @@ 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) {
@@ -61,11 +58,17 @@ class InnerStruct {
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 InnerStruct& obj);
+ virtual void printTo(std::ostream& out) const;
};
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;
@@ -76,9 +79,6 @@ 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,11 +116,17 @@ class ThriftTestObj {
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 ThriftTestObj& obj);
+ virtual void printTo(std::ostream& out) const;
};
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/e862ff80/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 7902849..8b3eeb7 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 b29780d..01a84fe 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getField0());
+ return getField0();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7fdd99a..d2f78f5 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getField1());
+ return getField1();
case FIELD2:
return getField2();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c4a7e4f..6f0c721 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getAint());
+ return getAint();
case A_STRING:
return getAString();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 84b5728..ea7747f 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Integer.valueOf(getMyint());
+ return getMyint();
case MY_STRING:
return getMyString();
case UNDERSCORE_INT:
- return Integer.valueOf(getUnderscore_int());
+ return getUnderscore_int();
}
throw new IllegalStateException();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b5bf63c..b8f8dfd 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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 Boolean.valueOf(isMy_bool());
+ return isMy_bool();
case MY_BYTE:
- return Byte.valueOf(getMy_byte());
+ return getMy_byte();
case MY_16BIT_INT:
- return Short.valueOf(getMy_16bit_int());
+ return getMy_16bit_int();
case MY_32BIT_INT:
- return Integer.valueOf(getMy_32bit_int());
+ return getMy_32bit_int();
case MY_64BIT_INT:
- return Long.valueOf(getMy_64bit_int());
+ return getMy_64bit_int();
case MY_DOUBLE:
- return Double.valueOf(getMy_double());
+ return getMy_double();
case MY_STRING:
return getMy_string();
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 42dd95c..10f10d2 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 03f88c5..e5baf36 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 2a70482..92d5a0a 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 a349f65..a331638 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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.2)", date = "2015-12-17")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
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/e862ff80/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 8bb2fe3..27c5b25 100644
--- a/serde/src/gen/thrift/gen-php/Types.php
+++ b/serde/src/gen/thrift/gen-php/Types.php
@@ -1,8 +1,6 @@
<?php
-namespace ;
-
/**
- * Autogenerated by Thrift Compiler (0.9.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 94dc455..8370698 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* 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/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7f757da..d39de75 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 c4c5a7f..93c9250 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 1673073..6ef3bcf 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 daa619e..8621257 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 99717a9..4a6492b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1b64a7d..133a602 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# 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/e862ff80/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 3df0b7a..8b75421 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 13d981f..8a03efd 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6eb3f07..ab01193 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 7d425af..fb8ccdf 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 56d9e76..f98441b 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 b3143d1..3bf85ab 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 1f9473e..a793bf2 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 80d5572..f265d42 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
[12/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 6e90d16..97acb5d 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.2)
+# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
@@ -8,6 +8,7 @@
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
@@ -523,15 +524,6 @@ 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:
@@ -1127,7 +1119,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):
"""
@@ -1230,7 +1222,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):
"""
@@ -1302,7 +1294,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()
@@ -1330,7 +1322,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):
"""
@@ -1400,7 +1392,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):
"""
@@ -1437,7 +1429,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):
"""
@@ -1472,7 +1464,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):
"""
@@ -1505,7 +1497,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):
"""
@@ -1544,7 +1536,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):
"""
@@ -1585,7 +1577,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):
"""
@@ -1624,7 +1616,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):
"""
@@ -1665,7 +1657,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):
"""
@@ -1852,7 +1844,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):
"""
@@ -1889,7 +1881,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):
"""
@@ -1922,7 +1914,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):
"""
@@ -1959,7 +1951,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):
"""
@@ -1998,7 +1990,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):
"""
@@ -2039,7 +2031,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):
"""
@@ -2191,7 +2183,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):
"""
@@ -2230,7 +2222,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):
"""
@@ -2267,7 +2259,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):
"""
@@ -2304,7 +2296,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):
"""
@@ -2345,7 +2337,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):
"""
@@ -2382,7 +2374,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):
"""
@@ -2425,7 +2417,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):
"""
@@ -2466,7 +2458,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):
"""
@@ -2509,7 +2501,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):
"""
@@ -2550,7 +2542,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):
"""
@@ -2593,7 +2585,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):
"""
@@ -2634,7 +2626,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):
"""
@@ -2677,7 +2669,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):
"""
@@ -2712,7 +2704,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):
"""
@@ -2751,7 +2743,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):
"""
@@ -2798,7 +2790,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):
"""
@@ -2845,7 +2837,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):
"""
@@ -2888,7 +2880,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):
"""
@@ -2927,7 +2919,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):
"""
@@ -2966,7 +2958,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):
"""
@@ -3009,7 +3001,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):
"""
@@ -3048,7 +3040,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):
"""
@@ -3085,7 +3077,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):
"""
@@ -3126,7 +3118,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):
"""
@@ -3171,7 +3163,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):
"""
@@ -3212,7 +3204,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):
"""
@@ -3253,7 +3245,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):
"""
@@ -3294,7 +3286,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):
"""
@@ -3329,46 +3321,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_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");
+ raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result")
def get_partitions_by_names(self, db_name, tbl_name, names):
"""
@@ -3407,7 +3360,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):
"""
@@ -3594,7 +3547,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):
"""
@@ -3629,7 +3582,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):
"""
@@ -3662,7 +3615,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):
"""
@@ -3695,7 +3648,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):
"""
@@ -3791,7 +3744,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):
"""
@@ -3830,7 +3783,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):
"""
@@ -3910,7 +3863,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):
"""
@@ -3949,7 +3902,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):
"""
@@ -3988,7 +3941,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):
"""
@@ -4025,7 +3978,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):
"""
@@ -4064,7 +4017,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):
"""
@@ -4103,7 +4056,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):
"""
@@ -4146,7 +4099,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):
"""
@@ -4191,7 +4144,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):
"""
@@ -4226,7 +4179,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):
"""
@@ -4261,7 +4214,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):
"""
@@ -4296,7 +4249,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):
"""
@@ -4335,7 +4288,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):
"""
@@ -4380,7 +4333,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):
"""
@@ -4423,7 +4376,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):
"""
@@ -4567,7 +4520,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):
"""
@@ -4604,7 +4557,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()
@@ -4632,7 +4585,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):
"""
@@ -4665,7 +4618,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):
"""
@@ -4698,7 +4651,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()
@@ -4726,7 +4679,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):
"""
@@ -4769,7 +4722,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):
"""
@@ -4806,7 +4759,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):
"""
@@ -4841,7 +4794,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):
"""
@@ -4874,7 +4827,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):
"""
@@ -4907,7 +4860,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):
"""
@@ -4940,7 +4893,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):
"""
@@ -4977,7 +4930,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):
"""
@@ -5014,7 +4967,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):
"""
@@ -5047,7 +5000,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):
"""
@@ -5080,7 +5033,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):
"""
@@ -5113,7 +5066,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):
"""
@@ -5148,7 +5101,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):
"""
@@ -5183,7 +5136,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):
"""
@@ -5216,7 +5169,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):
"""
@@ -5273,7 +5226,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()
@@ -5299,7 +5252,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):
"""
@@ -5330,7 +5283,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):
"""
@@ -5429,7 +5382,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):
"""
@@ -5466,7 +5419,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):
"""
@@ -5530,7 +5483,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):
"""
@@ -5596,7 +5549,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):
"""
@@ -5656,7 +5609,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):
"""
@@ -5720,7 +5673,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()
@@ -5746,7 +5699,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):
"""
@@ -5777,7 +5730,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()
@@ -5832,7 +5785,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):
"""
@@ -5863,7 +5816,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):
"""
@@ -5894,7 +5847,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):
"""
@@ -5925,7 +5878,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):
"""
@@ -6020,7 +5973,6 @@ 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
@@ -6118,9 +6070,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = getMetaConf_result()
try:
result.success = self._handler.getMetaConf(args.key)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("getMetaConf", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("getMetaConf", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6132,9 +6092,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = setMetaConf_result()
try:
self._handler.setMetaConf(args.key, args.value)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("setMetaConf", TMessageType.REPLY, seqid)
+ except Exception as ex:
+ msg_type = TMessageType.EXCEPTION
+ logging.exception(ex)
+ result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
+ oprot.writeMessageBegin("setMetaConf", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6146,13 +6114,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_database_result()
try:
self._handler.create_database(args.database)
- except AlreadyExistsException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except AlreadyExistsException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidObjectException, o2:
+ except InvalidObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("create_database", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6164,11 +6142,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_database_result()
try:
result.success = self._handler.get_database(args.name)
- except NoSuchObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except NoSuchObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o2:
+ except MetaException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("get_database", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6180,13 +6167,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_database_result()
try:
self._handler.drop_database(args.name, args.deleteData, args.cascade)
- except NoSuchObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except NoSuchObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidOperationException, o2:
+ except InvalidOperationException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("drop_database", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6198,9 +6195,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_databases_result()
try:
result.success = self._handler.get_databases(args.pattern)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("get_databases", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6212,9 +6217,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_all_databases_result()
try:
result.success = self._handler.get_all_databases()
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("get_all_databases", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6226,11 +6239,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_database_result()
try:
self._handler.alter_database(args.dbname, args.db)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except NoSuchObjectException, o2:
+ except NoSuchObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("alter_database", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6242,11 +6264,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_type_result()
try:
result.success = self._handler.get_type(args.name)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except NoSuchObjectException, o2:
+ except NoSuchObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("get_type", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6258,13 +6289,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_type_result()
try:
result.success = self._handler.create_type(args.type)
- except AlreadyExistsException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except AlreadyExistsException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidObjectException, o2:
+ except InvalidObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("create_type", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6276,11 +6317,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_type_result()
try:
result.success = self._handler.drop_type(args.type)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except NoSuchObjectException, o2:
+ except NoSuchObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("drop_type", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6292,9 +6342,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_type_all_result()
try:
result.success = self._handler.get_type_all(args.name)
- except MetaException, o2:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("get_type_all", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6306,13 +6364,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_fields_result()
try:
result.success = self._handler.get_fields(args.db_name, args.table_name)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except UnknownTableException, o2:
+ except UnknownTableException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_fields", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6324,13 +6392,23 @@ 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)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except UnknownTableException, o2:
+ except UnknownTableException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_fields_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6342,13 +6420,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_schema_result()
try:
result.success = self._handler.get_schema(args.db_name, args.table_name)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except UnknownTableException, o2:
+ except UnknownTableException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_schema", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6360,13 +6448,23 @@ 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)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except UnknownTableException, o2:
+ except UnknownTableException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_schema_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6378,15 +6476,26 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = create_table_result()
try:
self._handler.create_table(args.tbl)
- except AlreadyExistsException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except AlreadyExistsException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidObjectException, o2:
+ except InvalidObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- except NoSuchObjectException, o4:
+ except NoSuchObjectException as o4:
+ msg_type = TMessageType.REPLY
result.o4 = o4
- oprot.writeMessageBegin("create_table", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6398,15 +6507,26 @@ 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)
- except AlreadyExistsException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except AlreadyExistsException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidObjectException, o2:
+ except InvalidObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- except NoSuchObjectException, o4:
+ except NoSuchObjectException as o4:
+ msg_type = TMessageType.REPLY
result.o4 = o4
- oprot.writeMessageBegin("create_table_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6418,11 +6538,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = drop_table_result()
try:
self._handler.drop_table(args.dbname, args.name, args.deleteData)
- except NoSuchObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except NoSuchObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("drop_table", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6434,11 +6563,20 @@ 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)
- except NoSuchObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except NoSuchObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("drop_table_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6450,9 +6588,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_tables_result()
try:
result.success = self._handler.get_tables(args.db_name, args.pattern)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("get_tables", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6464,9 +6610,17 @@ 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)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("get_table_meta", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6478,9 +6632,17 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_all_tables_result()
try:
result.success = self._handler.get_all_tables(args.db_name)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- oprot.writeMessageBegin("get_all_tables", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6492,14 +6654,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = get_table_result()
try:
result.success = self._handler.get_table(args.dbname, args.tbl_name)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except NoSuchObjectException, o2:
+ except NoSuchObjectException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("get_table", TMessageType.REPLY, seqid)
- result.write(oprot)
- oprot.writeMessageEnd()
- oprot.trans.flush()
+ 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)
+ result.write(oprot)
+ oprot.writeMessageEnd()
+ oprot.trans.flush()
def process_get_table_objects_by_name(self, seqid, iprot, oprot):
args = get_table_objects_by_name_args()
@@ -6508,13 +6679,23 @@ 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)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidOperationException, o2:
+ except InvalidOperationException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_table_objects_by_name", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6526,13 +6707,23 @@ 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)
- except MetaException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except MetaException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except InvalidOperationException, o2:
+ except InvalidOperationException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except UnknownDBException, o3:
+ except UnknownDBException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("get_table_names_by_filter", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6544,11 +6735,20 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = alter_table_result()
try:
self._handler.alter_table(args.dbname, args.tbl_name, args.new_tbl)
- except InvalidOperationException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidOperationException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o2:
+ except MetaException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("alter_table", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6560,11 +6760,20 @@ 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)
- except InvalidOperationException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidOperationException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o2:
+ except MetaException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("alter_table_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6576,11 +6785,20 @@ 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)
- except InvalidOperationException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidOperationException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except MetaException, o2:
+ except MetaException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- oprot.writeMessageBegin("alter_table_with_cascade", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6592,13 +6810,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partition_result()
try:
result.success = self._handler.add_partition(args.new_part)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("add_partition", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6610,13 +6838,23 @@ 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)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("add_partition_with_environment_context", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6628,13 +6866,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_result()
try:
result.success = self._handler.add_partitions(args.new_parts)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("add_partitions", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6646,13 +6894,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_pspec_result()
try:
result.success = self._handler.add_partitions_pspec(args.new_parts)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("add_partitions_pspec", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6664,13 +6922,23 @@ 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)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("append_partition", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6682,13 +6950,23 @@ class Processor(fb303.FacebookService.Processor, Iface, TProcessor):
result = add_partitions_req_result()
try:
result.success = self._handler.add_partitions_req(args.request)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMessageBegin("add_partitions_req", TMessageType.REPLY, seqid)
+ 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)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
@@ -6700,13 +6978,23 @@ 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)
- except InvalidObjectException, o1:
+ msg_type = TMessageType.REPLY
+ except (TTransport.TTransportException, KeyboardInterrupt, SystemExit):
+ raise
+ except InvalidObjectException as o1:
+ msg_type = TMessageType.REPLY
result.o1 = o1
- except AlreadyExistsException, o2:
+ except AlreadyExistsException as o2:
+ msg_type = TMessageType.REPLY
result.o2 = o2
- except MetaException, o3:
+ except MetaException as o3:
+ msg_type = TMessageType.REPLY
result.o3 = o3
- oprot.writeMes
<TRUNCATED>
[06/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 742cfdc..b852379 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -280,11 +280,9 @@ 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;
@@ -333,7 +331,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TTypeQualifierValue");
if (this->__isset.i32Value) {
@@ -348,7 +346,6 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -370,13 +367,12 @@ TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& o
__isset = other1.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) {
- using apache::thrift::to_string;
+void TTypeQualifierValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TTypeQualifierValue(";
- 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 << "i32Value="; (__isset.i32Value ? (out << to_string(i32Value)) : (out << "<null>"));
+ out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -388,11 +384,9 @@ 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;
@@ -451,7 +445,7 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TTypeQualifiers");
xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1);
@@ -469,7 +463,6 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -485,12 +478,11 @@ TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) {
qualifiers = other11.qualifiers;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) {
- using apache::thrift::to_string;
+void TTypeQualifiers::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TTypeQualifiers(";
- out << "qualifiers=" << to_string(obj.qualifiers);
+ out << "qualifiers=" << to_string(qualifiers);
out << ")";
- return out;
}
@@ -507,11 +499,9 @@ 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;
@@ -565,7 +555,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TPrimitiveTypeEntry");
xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1);
@@ -579,7 +569,6 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -601,13 +590,12 @@ TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& o
__isset = other14.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) {
- using apache::thrift::to_string;
+void TPrimitiveTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TPrimitiveTypeEntry(";
- out << "type=" << to_string(obj.type);
- out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "<null>"));
+ out << "type=" << to_string(type);
+ out << ", " << "typeQualifiers="; (__isset.typeQualifiers ? (out << to_string(typeQualifiers)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -619,11 +607,9 @@ 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;
@@ -667,7 +653,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TArrayTypeEntry");
xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1);
@@ -676,7 +662,6 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -692,12 +677,11 @@ TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) {
objectTypePtr = other16.objectTypePtr;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) {
- using apache::thrift::to_string;
+void TArrayTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TArrayTypeEntry(";
- out << "objectTypePtr=" << to_string(obj.objectTypePtr);
+ out << "objectTypePtr=" << to_string(objectTypePtr);
out << ")";
- return out;
}
@@ -713,11 +697,9 @@ 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;
@@ -772,7 +754,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TMapTypeEntry");
xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1);
@@ -785,7 +767,6 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -804,13 +785,12 @@ TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) {
valueTypePtr = other18.valueTypePtr;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) {
- using apache::thrift::to_string;
+void TMapTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TMapTypeEntry(";
- out << "keyTypePtr=" << to_string(obj.keyTypePtr);
- out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr);
+ out << "keyTypePtr=" << to_string(keyTypePtr);
+ out << ", " << "valueTypePtr=" << to_string(valueTypePtr);
out << ")";
- return out;
}
@@ -822,11 +802,9 @@ 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;
@@ -885,7 +863,7 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TStructTypeEntry");
xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
@@ -903,7 +881,6 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -919,12 +896,11 @@ TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) {
nameToTypePtr = other28.nameToTypePtr;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) {
- using apache::thrift::to_string;
+void TStructTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TStructTypeEntry(";
- out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
+ out << "nameToTypePtr=" << to_string(nameToTypePtr);
out << ")";
- return out;
}
@@ -936,11 +912,9 @@ 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;
@@ -999,7 +973,7 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TUnionTypeEntry");
xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1);
@@ -1017,7 +991,6 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1033,12 +1006,11 @@ TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) {
nameToTypePtr = other38.nameToTypePtr;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) {
- using apache::thrift::to_string;
+void TUnionTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TUnionTypeEntry(";
- out << "nameToTypePtr=" << to_string(obj.nameToTypePtr);
+ out << "nameToTypePtr=" << to_string(nameToTypePtr);
out << ")";
- return out;
}
@@ -1050,11 +1022,9 @@ 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;
@@ -1098,7 +1068,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TUserDefinedTypeEntry");
xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1107,7 +1077,6 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1123,12 +1092,11 @@ TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEn
typeClassName = other40.typeClassName;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) {
- using apache::thrift::to_string;
+void TUserDefinedTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TUserDefinedTypeEntry(";
- out << "typeClassName=" << to_string(obj.typeClassName);
+ out << "typeClassName=" << to_string(typeClassName);
out << ")";
- return out;
}
@@ -1160,11 +1128,9 @@ 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;
@@ -1245,7 +1211,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TTypeEntry");
xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1274,7 +1240,6 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1308,17 +1273,16 @@ TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) {
__isset = other42.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) {
- using apache::thrift::to_string;
+void TTypeEntry::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TTypeEntry(";
- 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 << "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 << ")";
- return out;
}
@@ -1330,11 +1294,9 @@ 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;
@@ -1390,7 +1352,7 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TTypeDesc");
xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1);
@@ -1407,7 +1369,6 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1423,12 +1384,11 @@ TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) {
types = other50.types;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) {
- using apache::thrift::to_string;
+void TTypeDesc::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TTypeDesc(";
- out << "types=" << to_string(obj.types);
+ out << "types=" << to_string(types);
out << ")";
- return out;
}
@@ -1453,11 +1413,9 @@ 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;
@@ -1531,7 +1489,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TColumnDesc");
xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1553,7 +1511,6 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1581,15 +1538,14 @@ TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) {
__isset = other52.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) {
- using apache::thrift::to_string;
+void TColumnDesc::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TColumnDesc(";
- 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 << "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 << ")";
- return out;
}
@@ -1601,11 +1557,9 @@ 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;
@@ -1661,7 +1615,7 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TTableSchema");
xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
@@ -1678,7 +1632,6 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1694,12 +1647,11 @@ TTableSchema& TTableSchema::operator=(const TTableSchema& other60) {
columns = other60.columns;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) {
- using apache::thrift::to_string;
+void TTableSchema::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TTableSchema(";
- out << "columns=" << to_string(obj.columns);
+ out << "columns=" << to_string(columns);
out << ")";
- return out;
}
@@ -1712,11 +1664,9 @@ 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;
@@ -1757,7 +1707,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TBoolValue");
if (this->__isset.value) {
@@ -1767,7 +1717,6 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1786,12 +1735,11 @@ TBoolValue& TBoolValue::operator=(const TBoolValue& other62) {
__isset = other62.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) {
- using apache::thrift::to_string;
+void TBoolValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TBoolValue(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -1804,11 +1752,9 @@ 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;
@@ -1849,7 +1795,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TByteValue");
if (this->__isset.value) {
@@ -1859,7 +1805,6 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1878,12 +1823,11 @@ TByteValue& TByteValue::operator=(const TByteValue& other64) {
__isset = other64.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TByteValue& obj) {
- using apache::thrift::to_string;
+void TByteValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TByteValue(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -1896,11 +1840,9 @@ 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;
@@ -1941,7 +1883,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI16Value");
if (this->__isset.value) {
@@ -1951,7 +1893,6 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1970,12 +1911,11 @@ TI16Value& TI16Value::operator=(const TI16Value& other66) {
__isset = other66.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI16Value& obj) {
- using apache::thrift::to_string;
+void TI16Value::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI16Value(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -1988,11 +1928,9 @@ 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;
@@ -2033,7 +1971,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI32Value");
if (this->__isset.value) {
@@ -2043,7 +1981,6 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2062,12 +1999,11 @@ TI32Value& TI32Value::operator=(const TI32Value& other68) {
__isset = other68.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI32Value& obj) {
- using apache::thrift::to_string;
+void TI32Value::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI32Value(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -2080,11 +2016,9 @@ 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;
@@ -2125,7 +2059,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI64Value");
if (this->__isset.value) {
@@ -2135,7 +2069,6 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2154,12 +2087,11 @@ TI64Value& TI64Value::operator=(const TI64Value& other70) {
__isset = other70.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI64Value& obj) {
- using apache::thrift::to_string;
+void TI64Value::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI64Value(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -2172,11 +2104,9 @@ 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;
@@ -2217,7 +2147,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TDoubleValue");
if (this->__isset.value) {
@@ -2227,7 +2157,6 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2246,12 +2175,11 @@ TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) {
__isset = other72.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) {
- using apache::thrift::to_string;
+void TDoubleValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TDoubleValue(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -2264,11 +2192,9 @@ 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;
@@ -2309,7 +2235,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TStringValue");
if (this->__isset.value) {
@@ -2319,7 +2245,6 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2338,12 +2263,11 @@ TStringValue& TStringValue::operator=(const TStringValue& other74) {
__isset = other74.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TStringValue& obj) {
- using apache::thrift::to_string;
+void TStringValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TStringValue(";
- out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "<null>"));
+ out << "value="; (__isset.value ? (out << to_string(value)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -2379,11 +2303,9 @@ 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;
@@ -2472,7 +2394,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TColumnValue");
xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -2505,7 +2427,6 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2542,18 +2463,17 @@ TColumnValue& TColumnValue::operator=(const TColumnValue& other76) {
__isset = other76.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) {
- using apache::thrift::to_string;
+void TColumnValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TColumnValue(";
- 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 << "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 << ")";
- return out;
}
@@ -2565,11 +2485,9 @@ 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;
@@ -2625,7 +2543,7 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TRow");
xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1);
@@ -2642,7 +2560,6 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2658,12 +2575,11 @@ TRow& TRow::operator=(const TRow& other84) {
colVals = other84.colVals;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TRow& obj) {
- using apache::thrift::to_string;
+void TRow::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TRow(";
- out << "colVals=" << to_string(obj.colVals);
+ out << "colVals=" << to_string(colVals);
out << ")";
- return out;
}
@@ -2679,11 +2595,9 @@ 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;
@@ -2750,7 +2664,7 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TBoolColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -2771,7 +2685,6 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2790,13 +2703,12 @@ TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) {
nulls = other92.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) {
- using apache::thrift::to_string;
+void TBoolColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TBoolColumn(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -2812,11 +2724,9 @@ 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;
@@ -2883,7 +2793,7 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TByteColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -2904,7 +2814,6 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2923,13 +2832,12 @@ TByteColumn& TByteColumn::operator=(const TByteColumn& other100) {
nulls = other100.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) {
- using apache::thrift::to_string;
+void TByteColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TByteColumn(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -2945,11 +2853,9 @@ 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;
@@ -3016,7 +2922,7 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI16Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3037,7 +2943,6 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3056,13 +2961,12 @@ TI16Column& TI16Column::operator=(const TI16Column& other108) {
nulls = other108.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI16Column& obj) {
- using apache::thrift::to_string;
+void TI16Column::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI16Column(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3078,11 +2982,9 @@ 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;
@@ -3149,7 +3051,7 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI32Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3170,7 +3072,6 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3189,13 +3090,12 @@ TI32Column& TI32Column::operator=(const TI32Column& other116) {
nulls = other116.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI32Column& obj) {
- using apache::thrift::to_string;
+void TI32Column::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI32Column(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3211,11 +3111,9 @@ 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;
@@ -3282,7 +3180,7 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TI64Column");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3303,7 +3201,6 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3322,13 +3219,12 @@ TI64Column& TI64Column::operator=(const TI64Column& other124) {
nulls = other124.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TI64Column& obj) {
- using apache::thrift::to_string;
+void TI64Column::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TI64Column(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3344,11 +3240,9 @@ 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;
@@ -3415,7 +3309,7 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TDoubleColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3436,7 +3330,6 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3455,13 +3348,12 @@ TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) {
nulls = other132.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) {
- using apache::thrift::to_string;
+void TDoubleColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TDoubleColumn(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3477,11 +3369,9 @@ 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;
@@ -3548,7 +3438,7 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TStringColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3569,7 +3459,6 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3588,13 +3477,12 @@ TStringColumn& TStringColumn::operator=(const TStringColumn& other140) {
nulls = other140.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) {
- using apache::thrift::to_string;
+void TStringColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TStringColumn(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3610,11 +3498,9 @@ 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;
@@ -3681,7 +3567,7 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TBinaryColumn");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -3702,7 +3588,6 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3721,13 +3606,12 @@ TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) {
nulls = other148.nulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) {
- using apache::thrift::to_string;
+void TBinaryColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TBinaryColumn(";
- out << "values=" << to_string(obj.values);
- out << ", " << "nulls=" << to_string(obj.nulls);
+ out << "values=" << to_string(values);
+ out << ", " << "nulls=" << to_string(nulls);
out << ")";
- return out;
}
@@ -3767,11 +3651,9 @@ 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;
@@ -3868,7 +3750,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TColumn");
xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -3905,7 +3787,6 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3945,19 +3826,18 @@ TColumn& TColumn::operator=(const TColumn& other150) {
__isset = other150.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TColumn& obj) {
- using apache::thrift::to_string;
+void TColumn::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TColumn(";
- 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 << "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 << ")";
- return out;
}
@@ -3978,11 +3858,9 @@ 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;
@@ -4069,7 +3947,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TRowSet");
xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1);
@@ -4103,7 +3981,6 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4128,14 +4005,13 @@ TRowSet& TRowSet::operator=(const TRowSet& other164) {
__isset = other164.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TRowSet& obj) {
- using apache::thrift::to_string;
+void TRowSet::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TRowSet(";
- 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 << "startRowOffset=" << to_string(startRowOffset);
+ out << ", " << "rows=" << to_string(rows);
+ out << ", " << "columns="; (__isset.columns ? (out << to_string(columns)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -4167,11 +4043,9 @@ 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;
@@ -4261,7 +4135,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TStatus");
xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1);
@@ -4298,7 +4172,6 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4329,16 +4202,15 @@ TStatus& TStatus::operator=(const TStatus& other173) {
__isset = other173.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TStatus& obj) {
- using apache::thrift::to_string;
+void TStatus::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TStatus(";
- 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 << "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 << ")";
- return out;
}
@@ -4354,11 +4226,9 @@ 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;
@@ -4413,7 +4283,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("THandleIdentifier");
xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1);
@@ -4426,7 +4296,6 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4445,13 +4314,12 @@ THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other17
secret = other175.secret;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) {
- using apache::thrift::to_string;
+void THandleIdentifier::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "THandleIdentifier(";
- out << "guid=" << to_string(obj.guid);
- out << ", " << "secret=" << to_string(obj.secret);
+ out << "guid=" << to_string(guid);
+ out << ", " << "secret=" << to_string(secret);
out << ")";
- return out;
}
@@ -4463,11 +4331,9 @@ 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;
@@ -4511,7 +4377,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TSessionHandle");
xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4520,7 +4386,6 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4536,12 +4401,11 @@ TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) {
sessionId = other177.sessionId;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) {
- using apache::thrift::to_string;
+void TSessionHandle::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TSessionHandle(";
- out << "sessionId=" << to_string(obj.sessionId);
+ out << "sessionId=" << to_string(sessionId);
out << ")";
- return out;
}
@@ -4566,11 +4430,9 @@ 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;
@@ -4646,7 +4508,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TOperationHandle");
xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -4668,7 +4530,6 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4696,15 +4557,14 @@ TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180)
__isset = other180.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) {
- using apache::thrift::to_string;
+void TOperationHandle::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TOperationHandle(";
- 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 << "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 << ")";
- return out;
}
@@ -4731,11 +4591,9 @@ 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;
@@ -4820,7 +4678,7 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TOpenSessionReq");
xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1);
@@ -4853,7 +4711,6 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4881,15 +4738,14 @@ TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) {
__isset = other191.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) {
- using apache::thrift::to_string;
+void TOpenSessionReq::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TOpenSessionReq(";
- 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 << "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 << ")";
- return out;
}
@@ -4915,11 +4771,9 @@ 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;
@@ -5007,7 +4861,7 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TOpenSessionResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5039,7 +4893,6 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5067,15 +4920,14 @@ TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202)
__isset = other202.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) {
- using apache::thrift::to_string;
+void TOpenSessionResp::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TOpenSessionResp(";
- 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 << "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 << ")";
- return out;
}
@@ -5087,11 +4939,9 @@ 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;
@@ -5135,7 +4985,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCloseSessionReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5144,7 +4994,6 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5160,12 +5009,11 @@ TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204)
sessionHandle = other204.sessionHandle;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) {
- using apache::thrift::to_string;
+void TCloseSessionReq::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TCloseSessionReq(";
- out << "sessionHandle=" << to_string(obj.sessionHandle);
+ out << "sessionHandle=" << to_string(sessionHandle);
out << ")";
- return out;
}
@@ -5177,11 +5025,9 @@ 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;
@@ -5225,7 +5071,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TCloseSessionResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5234,7 +5080,6 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5250,12 +5095,11 @@ TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other20
status = other206.status;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) {
- using apache::thrift::to_string;
+void TCloseSessionResp::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TCloseSessionResp(";
- out << "status=" << to_string(obj.status);
+ out << "status=" << to_string(status);
out << ")";
- return out;
}
@@ -5287,11 +5131,9 @@ 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;
@@ -5372,7 +5214,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TGetInfoValue");
xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1);
@@ -5401,7 +5243,6 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5435,17 +5276,16 @@ TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) {
__isset = other208.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) {
- using apache::thrift::to_string;
+void TGetInfoValue::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TGetInfoValue(";
- 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 << "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 << ")";
- return out;
}
@@ -5461,11 +5301,9 @@ 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;
@@ -5522,7 +5360,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TGetInfoReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5535,7 +5373,6 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5554,13 +5391,12 @@ TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) {
infoType = other211.infoType;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) {
- using apache::thrift::to_string;
+void TGetInfoReq::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TGetInfoReq(";
- out << "sessionHandle=" << to_string(obj.sessionHandle);
- out << ", " << "infoType=" << to_string(obj.infoType);
+ out << "sessionHandle=" << to_string(sessionHandle);
+ out << ", " << "infoType=" << to_string(infoType);
out << ")";
- return out;
}
@@ -5576,11 +5412,9 @@ 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;
@@ -5635,7 +5469,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TGetInfoResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5648,7 +5482,6 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5667,13 +5500,12 @@ TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) {
infoValue = other213.infoValue;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) {
- using apache::thrift::to_string;
+void TGetInfoResp::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TGetInfoResp(";
- out << "status=" << to_string(obj.status);
- out << ", " << "infoValue=" << to_string(obj.infoValue);
+ out << "status=" << to_string(status);
+ out << ", " << "infoValue=" << to_string(infoValue);
out << ")";
- return out;
}
@@ -5699,11 +5531,9 @@ 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;
@@ -5789,7 +5619,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot
uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TExecuteStatementReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5821,7 +5651,6 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5849,15 +5678,14 @@ TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq
__isset = other223.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) {
- using apache::thrift::to_string;
+void TExecuteStatementReq::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TExecuteStatementReq(";
- 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 << "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 << ")";
- return out;
}
@@ -5874,11 +5702,9 @@ 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;
@@ -5930,7 +5756,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TExecuteStatementResp");
xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -5944,7 +5770,6 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5966,13 +5791,12 @@ TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementR
__isset = other225.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) {
- using apache::thrift::to_string;
+void TExecuteStatementResp::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "TExecuteStatementResp(";
- out << "status=" << to_string(obj.status);
- out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "<null>"));
+ out << "status=" << to_string(status);
+ out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -5984,11 +5808,9 @@ 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;
@@ -6032,7 +5854,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("TGetTypeInfoReq");
xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -6041,7 +5863,6 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6057,12 +5878,11 @@ TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) {
sessionHandle = other227.sessionHandle;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) {
- using apache::thrift::to_str
<TRUNCATED>
[19/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 e374cb1..d997e33 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -172,11 +172,9 @@ 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;
@@ -225,7 +223,7 @@ uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Version");
xfer += oprot->writeFieldBegin("version", ::apache::thrift::protocol::T_STRING, 1);
@@ -238,7 +236,6 @@ uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -260,13 +257,12 @@ Version& Version::operator=(const Version& other1) {
__isset = other1.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Version& obj) {
- using apache::thrift::to_string;
+void Version::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Version(";
- out << "version=" << to_string(obj.version);
- out << ", " << "comments=" << to_string(obj.comments);
+ out << "version=" << to_string(version);
+ out << ", " << "comments=" << to_string(comments);
out << ")";
- return out;
}
@@ -286,11 +282,9 @@ 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;
@@ -347,7 +341,7 @@ uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("FieldSchema");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -364,7 +358,6 @@ uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -389,14 +382,13 @@ FieldSchema& FieldSchema::operator=(const FieldSchema& other3) {
__isset = other3.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) {
- using apache::thrift::to_string;
+void FieldSchema::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "FieldSchema(";
- out << "name=" << to_string(obj.name);
- out << ", " << "type=" << to_string(obj.type);
- out << ", " << "comment=" << to_string(obj.comment);
+ out << "name=" << to_string(name);
+ out << ", " << "type=" << to_string(type);
+ out << ", " << "comment=" << to_string(comment);
out << ")";
- return out;
}
@@ -423,11 +415,9 @@ 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;
@@ -504,7 +494,7 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Type");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -536,7 +526,6 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -564,15 +553,14 @@ Type& Type::operator=(const Type& other11) {
__isset = other11.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Type& obj) {
- using apache::thrift::to_string;
+void Type::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Type(";
- 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 << "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 << ")";
- return out;
}
@@ -600,11 +588,9 @@ 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;
@@ -691,7 +677,7 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("HiveObjectRef");
xfer += oprot->writeFieldBegin("objectType", ::apache::thrift::protocol::T_I32, 1);
@@ -724,7 +710,6 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -755,16 +740,15 @@ HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other20) {
__isset = other20.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj) {
- using apache::thrift::to_string;
+void HiveObjectRef::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "HiveObjectRef(";
- 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 << "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 << ")";
- return out;
}
@@ -792,11 +776,9 @@ 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;
@@ -871,7 +853,7 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PrivilegeGrantInfo");
xfer += oprot->writeFieldBegin("privilege", ::apache::thrift::protocol::T_STRING, 1);
@@ -896,7 +878,6 @@ uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -927,16 +908,15 @@ PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& othe
__isset = other23.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj) {
- using apache::thrift::to_string;
+void PrivilegeGrantInfo::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PrivilegeGrantInfo(";
- 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 << "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 << ")";
- return out;
}
@@ -960,11 +940,9 @@ 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;
@@ -1031,7 +1009,7 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("HiveObjectPrivilege");
xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -1052,7 +1030,6 @@ uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1080,15 +1057,14 @@ HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& o
__isset = other26.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj) {
- using apache::thrift::to_string;
+void HiveObjectPrivilege::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "HiveObjectPrivilege(";
- 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 << "hiveObject=" << to_string(hiveObject);
+ out << ", " << "principalName=" << to_string(principalName);
+ out << ", " << "principalType=" << to_string(principalType);
+ out << ", " << "grantInfo=" << to_string(grantInfo);
out << ")";
- return out;
}
@@ -1100,11 +1076,9 @@ 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;
@@ -1157,7 +1131,7 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PrivilegeBag");
xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_LIST, 1);
@@ -1174,7 +1148,6 @@ uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1193,12 +1166,11 @@ PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other34) {
__isset = other34.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj) {
- using apache::thrift::to_string;
+void PrivilegeBag::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PrivilegeBag(";
- out << "privileges=" << to_string(obj.privileges);
+ out << "privileges=" << to_string(privileges);
out << ")";
- return out;
}
@@ -1218,11 +1190,9 @@ 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;
@@ -1360,7 +1330,7 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PrincipalPrivilegeSet");
xfer += oprot->writeFieldBegin("userPrivileges", ::apache::thrift::protocol::T_MAP, 1);
@@ -1428,7 +1398,6 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1453,14 +1422,13 @@ PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilege
__isset = other78.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj) {
- using apache::thrift::to_string;
+void PrincipalPrivilegeSet::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PrincipalPrivilegeSet(";
- out << "userPrivileges=" << to_string(obj.userPrivileges);
- out << ", " << "groupPrivileges=" << to_string(obj.groupPrivileges);
- out << ", " << "rolePrivileges=" << to_string(obj.rolePrivileges);
+ out << "userPrivileges=" << to_string(userPrivileges);
+ out << ", " << "groupPrivileges=" << to_string(groupPrivileges);
+ out << ", " << "rolePrivileges=" << to_string(rolePrivileges);
out << ")";
- return out;
}
@@ -1481,11 +1449,9 @@ 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;
@@ -1544,7 +1510,7 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol
uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GrantRevokePrivilegeRequest");
xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1);
@@ -1562,7 +1528,6 @@ uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtoco
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1587,14 +1552,13 @@ GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantR
__isset = other81.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj) {
- using apache::thrift::to_string;
+void GrantRevokePrivilegeRequest::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GrantRevokePrivilegeRequest(";
- 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 << "requestType=" << to_string(requestType);
+ out << ", " << "privileges=" << to_string(privileges);
+ out << ", " << "revokeGrantOption="; (__isset.revokeGrantOption ? (out << to_string(revokeGrantOption)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -1607,11 +1571,9 @@ 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;
@@ -1652,7 +1614,7 @@ uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtoco
uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GrantRevokePrivilegeResponse");
if (this->__isset.success) {
@@ -1662,7 +1624,6 @@ uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtoc
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1681,12 +1642,11 @@ GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const Gran
__isset = other83.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj) {
- using apache::thrift::to_string;
+void GrantRevokePrivilegeResponse::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GrantRevokePrivilegeResponse(";
- out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "<null>"));
+ out << "success="; (__isset.success ? (out << to_string(success)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -1706,11 +1666,9 @@ 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;
@@ -1767,7 +1725,7 @@ uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Role");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1784,7 +1742,6 @@ uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -1809,14 +1766,13 @@ Role& Role::operator=(const Role& other85) {
__isset = other85.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Role& obj) {
- using apache::thrift::to_string;
+void Role::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Role(";
- out << "roleName=" << to_string(obj.roleName);
- out << ", " << "createTime=" << to_string(obj.createTime);
- out << ", " << "ownerName=" << to_string(obj.ownerName);
+ out << "roleName=" << to_string(roleName);
+ out << ", " << "createTime=" << to_string(createTime);
+ out << ", " << "ownerName=" << to_string(ownerName);
out << ")";
- return out;
}
@@ -1852,11 +1808,9 @@ 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;
@@ -1949,7 +1903,7 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("RolePrincipalGrant");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -1982,7 +1936,6 @@ uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot)
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2019,18 +1972,17 @@ RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& othe
__isset = other89.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj) {
- using apache::thrift::to_string;
+void RolePrincipalGrant::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "RolePrincipalGrant(";
- 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 << "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 << ")";
- return out;
}
@@ -2046,11 +1998,9 @@ 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;
@@ -2107,7 +2057,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro
uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalRequest");
xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2120,7 +2070,6 @@ uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TPr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2139,13 +2088,12 @@ GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(co
principal_type = other92.principal_type;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj) {
- using apache::thrift::to_string;
+void GetRoleGrantsForPrincipalRequest::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GetRoleGrantsForPrincipalRequest(";
- out << "principal_name=" << to_string(obj.principal_name);
- out << ", " << "principal_type=" << to_string(obj.principal_type);
+ out << "principal_name=" << to_string(principal_name);
+ out << ", " << "principal_type=" << to_string(principal_type);
out << ")";
- return out;
}
@@ -2157,11 +2105,9 @@ 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;
@@ -2217,7 +2163,7 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr
uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalResponse");
xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1);
@@ -2234,7 +2180,6 @@ uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TP
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2250,12 +2195,11 @@ GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=(
principalGrants = other100.principalGrants;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj) {
- using apache::thrift::to_string;
+void GetRoleGrantsForPrincipalResponse::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GetRoleGrantsForPrincipalResponse(";
- out << "principalGrants=" << to_string(obj.principalGrants);
+ out << "principalGrants=" << to_string(principalGrants);
out << ")";
- return out;
}
@@ -2267,11 +2211,9 @@ 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;
@@ -2315,7 +2257,7 @@ uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol*
uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GetPrincipalsInRoleRequest");
xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1);
@@ -2324,7 +2266,6 @@ uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2340,12 +2281,11 @@ GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrinc
roleName = other102.roleName;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj) {
- using apache::thrift::to_string;
+void GetPrincipalsInRoleRequest::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GetPrincipalsInRoleRequest(";
- out << "roleName=" << to_string(obj.roleName);
+ out << "roleName=" << to_string(roleName);
out << ")";
- return out;
}
@@ -2357,11 +2297,9 @@ 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;
@@ -2417,7 +2355,7 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol
uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GetPrincipalsInRoleResponse");
xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1);
@@ -2434,7 +2372,6 @@ uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtoco
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2450,12 +2387,11 @@ GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPri
principalGrants = other110.principalGrants;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj) {
- using apache::thrift::to_string;
+void GetPrincipalsInRoleResponse::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GetPrincipalsInRoleResponse(";
- out << "principalGrants=" << to_string(obj.principalGrants);
+ out << "principalGrants=" << to_string(principalGrants);
out << ")";
- return out;
}
@@ -2494,11 +2430,9 @@ 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;
@@ -2593,7 +2527,7 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GrantRevokeRoleRequest");
xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1);
@@ -2629,7 +2563,6 @@ uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* op
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2666,18 +2599,17 @@ GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleR
__isset = other115.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj) {
- using apache::thrift::to_string;
+void GrantRevokeRoleRequest::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GrantRevokeRoleRequest(";
- 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 << "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 << ")";
- return out;
}
@@ -2690,11 +2622,9 @@ 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;
@@ -2735,7 +2665,7 @@ uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* ip
uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("GrantRevokeRoleResponse");
if (this->__isset.success) {
@@ -2745,7 +2675,6 @@ uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* o
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -2764,12 +2693,11 @@ GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRol
__isset = other117.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj) {
- using apache::thrift::to_string;
+void GrantRevokeRoleResponse::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "GrantRevokeRoleResponse(";
- out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "<null>"));
+ out << "success="; (__isset.success ? (out << to_string(success)) : (out << "<null>"));
out << ")";
- return out;
}
@@ -2808,11 +2736,9 @@ 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;
@@ -2918,7 +2844,7 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Database");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -2963,7 +2889,6 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3000,18 +2925,17 @@ Database& Database::operator=(const Database& other128) {
__isset = other128.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Database& obj) {
- using apache::thrift::to_string;
+void Database::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Database(";
- 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 << "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 << ")";
- return out;
}
@@ -3031,11 +2955,9 @@ 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;
@@ -3107,7 +3029,7 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("SerDeInfo");
xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
@@ -3133,7 +3055,6 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3158,14 +3079,13 @@ SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other138) {
__isset = other138.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj) {
- using apache::thrift::to_string;
+void SerDeInfo::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "SerDeInfo(";
- out << "name=" << to_string(obj.name);
- out << ", " << "serializationLib=" << to_string(obj.serializationLib);
- out << ", " << "parameters=" << to_string(obj.parameters);
+ out << "name=" << to_string(name);
+ out << ", " << "serializationLib=" << to_string(serializationLib);
+ out << ", " << "parameters=" << to_string(parameters);
out << ")";
- return out;
}
@@ -3181,11 +3101,9 @@ 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;
@@ -3234,7 +3152,7 @@ uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Order");
xfer += oprot->writeFieldBegin("col", ::apache::thrift::protocol::T_STRING, 1);
@@ -3247,7 +3165,6 @@ uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3269,13 +3186,12 @@ Order& Order::operator=(const Order& other140) {
__isset = other140.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Order& obj) {
- using apache::thrift::to_string;
+void Order::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Order(";
- out << "col=" << to_string(obj.col);
- out << ", " << "order=" << to_string(obj.order);
+ out << "col=" << to_string(col);
+ out << ", " << "order=" << to_string(order);
out << ")";
- return out;
}
@@ -3295,11 +3211,9 @@ 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;
@@ -3419,7 +3333,7 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("SkewedInfo");
xfer += oprot->writeFieldBegin("skewedColNames", ::apache::thrift::protocol::T_LIST, 1);
@@ -3477,7 +3391,6 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3502,14 +3415,13 @@ SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other174) {
__isset = other174.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj) {
- using apache::thrift::to_string;
+void SkewedInfo::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "SkewedInfo(";
- out << "skewedColNames=" << to_string(obj.skewedColNames);
- out << ", " << "skewedColValues=" << to_string(obj.skewedColValues);
- out << ", " << "skewedColValueLocationMaps=" << to_string(obj.skewedColValueLocationMaps);
+ out << "skewedColNames=" << to_string(skewedColNames);
+ out << ", " << "skewedColValues=" << to_string(skewedColValues);
+ out << ", " << "skewedColValueLocationMaps=" << to_string(skewedColValueLocationMaps);
out << ")";
- return out;
}
@@ -3567,11 +3479,9 @@ 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;
@@ -3751,7 +3661,7 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("StorageDescriptor");
xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1);
@@ -3839,7 +3749,6 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot)
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -3891,23 +3800,22 @@ StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other20
__isset = other202.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) {
- using apache::thrift::to_string;
+void StorageDescriptor::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "StorageDescriptor(";
- 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 << "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 << ")";
- return out;
}
@@ -3973,11 +3881,9 @@ 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;
@@ -4149,7 +4055,7 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Table");
xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 1);
@@ -4229,7 +4135,6 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4287,25 +4192,24 @@ Table& Table::operator=(const Table& other218) {
__isset = other218.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Table& obj) {
- using apache::thrift::to_string;
+void Table::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Table(";
- 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 << "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 << ")";
- return out;
}
@@ -4346,11 +4250,9 @@ 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;
@@ -4474,7 +4376,7 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Partition");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -4529,7 +4431,6 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const {
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4569,19 +4470,18 @@ Partition& Partition::operator=(const Partition& other234) {
__isset = other234.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Partition& obj) {
- using apache::thrift::to_string;
+void Partition::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Partition(";
- 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 << "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 << ")";
- return out;
}
@@ -4614,11 +4514,9 @@ 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;
@@ -4726,7 +4624,7 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PartitionWithoutSD");
xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1);
@@ -4773,7 +4671,6 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot)
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4807,17 +4704,16 @@ PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& othe
__isset = other250.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj) {
- using apache::thrift::to_string;
+void PartitionWithoutSD::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PartitionWithoutSD(";
- 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 << "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 << ")";
- return out;
}
@@ -4833,11 +4729,9 @@ 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;
@@ -4898,7 +4792,7 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol*
uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PartitionSpecWithSharedSD");
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
@@ -4919,7 +4813,6 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol*
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -4941,13 +4834,12 @@ PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionS
__isset = other258.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj) {
- using apache::thrift::to_string;
+void PartitionSpecWithSharedSD::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PartitionSpecWithSharedSD(";
- out << "partitions=" << to_string(obj.partitions);
- out << ", " << "sd=" << to_string(obj.sd);
+ out << "partitions=" << to_string(partitions);
+ out << ", " << "sd=" << to_string(sd);
out << ")";
- return out;
}
@@ -4959,11 +4851,9 @@ 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;
@@ -5016,7 +4906,7 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol*
uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PartitionListComposingSpec");
xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1);
@@ -5033,7 +4923,6 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5052,12 +4941,11 @@ PartitionListComposingSpec& PartitionListComposingSpec::operator=(const Partitio
__isset = other266.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj) {
- using apache::thrift::to_string;
+void PartitionListComposingSpec::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PartitionListComposingSpec(";
- out << "partitions=" << to_string(obj.partitions);
+ out << "partitions=" << to_string(partitions);
out << ")";
- return out;
}
@@ -5087,11 +4975,9 @@ 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;
@@ -5164,7 +5050,7 @@ uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("PartitionSpec");
xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1);
@@ -5191,7 +5077,6 @@ uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) cons
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5222,16 +5107,15 @@ PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other268) {
__isset = other268.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj) {
- using apache::thrift::to_string;
+void PartitionSpec::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "PartitionSpec(";
- 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 << "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 << ")";
- return out;
}
@@ -5279,11 +5163,9 @@ 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;
@@ -5411,7 +5293,7 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Index");
xfer += oprot->writeFieldBegin("indexName", ::apache::thrift::protocol::T_STRING, 1);
@@ -5465,7 +5347,6 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5511,21 +5392,20 @@ Index& Index::operator=(const Index& other278) {
__isset = other278.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Index& obj) {
- using apache::thrift::to_string;
+void Index::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Index(";
- 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 << "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 << ")";
- return out;
}
@@ -5545,11 +5425,9 @@ 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;
@@ -5615,7 +5493,7 @@ uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("BooleanColumnStatsData");
xfer += oprot->writeFieldBegin("numTrues", ::apache::thrift::protocol::T_I64, 1);
@@ -5632,7 +5510,6 @@ uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5654,14 +5531,13 @@ BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnSta
numNulls = other280.numNulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj) {
- using apache::thrift::to_string;
+void BooleanColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "BooleanColumnStatsData(";
- out << "numTrues=" << to_string(obj.numTrues);
- out << ", " << "numFalses=" << to_string(obj.numFalses);
- out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << "numTrues=" << to_string(numTrues);
+ out << ", " << "numFalses=" << to_string(numFalses);
+ out << ", " << "numNulls=" << to_string(numNulls);
out << ")";
- return out;
}
@@ -5687,11 +5563,9 @@ 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;
@@ -5762,7 +5636,7 @@ uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("DoubleColumnStatsData");
if (this->__isset.lowValue) {
@@ -5785,7 +5659,6 @@ uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5813,15 +5686,14 @@ DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsD
__isset = other282.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj) {
- using apache::thrift::to_string;
+void DoubleColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "DoubleColumnStatsData(";
- 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 << "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 << ")";
- return out;
}
@@ -5847,11 +5719,9 @@ 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;
@@ -5922,7 +5792,7 @@ uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("LongColumnStatsData");
if (this->__isset.lowValue) {
@@ -5945,7 +5815,6 @@ uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -5973,15 +5842,14 @@ LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& o
__isset = other284.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj) {
- using apache::thrift::to_string;
+void LongColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "LongColumnStatsData(";
- 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 << "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 << ")";
- return out;
}
@@ -6005,11 +5873,9 @@ 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;
@@ -6086,7 +5952,7 @@ uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("StringColumnStatsData");
xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1);
@@ -6107,7 +5973,6 @@ uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6132,15 +5997,14 @@ StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsD
numDVs = other286.numDVs;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj) {
- using apache::thrift::to_string;
+void StringColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "StringColumnStatsData(";
- 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 << "maxColLen=" << to_string(maxColLen);
+ out << ", " << "avgColLen=" << to_string(avgColLen);
+ out << ", " << "numNulls=" << to_string(numNulls);
+ out << ", " << "numDVs=" << to_string(numDVs);
out << ")";
- return out;
}
@@ -6160,11 +6024,9 @@ 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;
@@ -6230,7 +6092,7 @@ uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro
uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("BinaryColumnStatsData");
xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1);
@@ -6247,7 +6109,6 @@ uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6269,14 +6130,13 @@ BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsD
numNulls = other288.numNulls;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj) {
- using apache::thrift::to_string;
+void BinaryColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "BinaryColumnStatsData(";
- out << "maxColLen=" << to_string(obj.maxColLen);
- out << ", " << "avgColLen=" << to_string(obj.avgColLen);
- out << ", " << "numNulls=" << to_string(obj.numNulls);
+ out << "maxColLen=" << to_string(maxColLen);
+ out << ", " << "avgColLen=" << to_string(avgColLen);
+ out << ", " << "numNulls=" << to_string(numNulls);
out << ")";
- return out;
}
@@ -6292,11 +6152,9 @@ 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;
@@ -6351,7 +6209,7 @@ uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Decimal");
xfer += oprot->writeFieldBegin("unscaled", ::apache::thrift::protocol::T_STRING, 1);
@@ -6364,7 +6222,6 @@ uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6383,13 +6240,12 @@ Decimal& Decimal::operator=(const Decimal& other290) {
scale = other290.scale;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Decimal& obj) {
- using apache::thrift::to_string;
+void Decimal::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Decimal(";
- out << "unscaled=" << to_string(obj.unscaled);
- out << ", " << "scale=" << to_string(obj.scale);
+ out << "unscaled=" << to_string(unscaled);
+ out << ", " << "scale=" << to_string(scale);
out << ")";
- return out;
}
@@ -6415,11 +6271,9 @@ 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;
@@ -6490,7 +6344,7 @@ uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr
uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("DecimalColumnStatsData");
if (this->__isset.lowValue) {
@@ -6513,7 +6367,6 @@ uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* op
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6541,15 +6394,14 @@ DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnSta
__isset = other292.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj) {
- using apache::thrift::to_string;
+void DecimalColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "DecimalColumnStatsData(";
- 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 << "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 << ")";
- return out;
}
@@ -6561,11 +6413,9 @@ 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;
@@ -6609,7 +6459,7 @@ uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("Date");
xfer += oprot->writeFieldBegin("daysSinceEpoch", ::apache::thrift::protocol::T_I64, 1);
@@ -6618,7 +6468,6 @@ uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const {
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6634,12 +6483,11 @@ Date& Date::operator=(const Date& other294) {
daysSinceEpoch = other294.daysSinceEpoch;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const Date& obj) {
- using apache::thrift::to_string;
+void Date::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "Date(";
- out << "daysSinceEpoch=" << to_string(obj.daysSinceEpoch);
+ out << "daysSinceEpoch=" << to_string(daysSinceEpoch);
out << ")";
- return out;
}
@@ -6665,11 +6513,9 @@ 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;
@@ -6740,7 +6586,7 @@ uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot)
uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("DateColumnStatsData");
if (this->__isset.lowValue) {
@@ -6763,7 +6609,6 @@ uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
- oprot->decrementRecursionDepth();
return xfer;
}
@@ -6791,15 +6636,14 @@ DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& o
__isset = other296.__isset;
return *this;
}
-std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj) {
- using apache::thrift::to_string;
+void DateColumnStatsData::printTo(std::ostream& out) const {
+ using ::apache::thrift::to_string;
out << "DateColumnStatsData(";
- 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 << "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 << ")";
- return out;
}
@@ -6835,11 +6679,9 @@ 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;
@@ -6928,7 +6770,7 @@ uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot
uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- oprot->incrementRecursionDepth();
+ apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
xfer += oprot->writeStructBegin("ColumnStatisticsData");
xfer += oprot->writeFieldBegin("booleanStats", ::apache::thrift::protocol::T_STRUCT, 1);
@@ -6961,7 +6803,6 @@ uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* opro
xfer += oprot->writeFieldStop();
<TRUNCATED>
[21/23] hive git commit: Revert "HIVE-11487 : Adds
getNumPartitionsByFilter api in metastore api"
Posted by am...@apache.org.
http://git-wip-us.apache.org/repos/asf/hive/blob/e862ff80/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 5f790e5..62a2007 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.2)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -8,11 +8,17 @@
#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() {}
@@ -74,7 +80,6 @@ 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;
@@ -360,10 +365,6 @@ 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;
}
@@ -611,9 +612,6 @@ 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() {
@@ -641,23 +639,18 @@ 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 {
@@ -669,9 +662,6 @@ 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() {
@@ -704,7 +694,6 @@ 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 {
@@ -716,9 +705,6 @@ 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;
@@ -728,7 +714,6 @@ 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 {
@@ -740,9 +725,6 @@ 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() {
@@ -775,16 +757,12 @@ 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;
@@ -792,7 +770,6 @@ 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 {
@@ -803,9 +780,6 @@ 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() {
@@ -833,7 +807,6 @@ 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 {
@@ -844,9 +817,6 @@ 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;
@@ -855,7 +825,6 @@ 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 {
@@ -866,9 +835,6 @@ 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() {
@@ -896,23 +862,18 @@ 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 {
@@ -925,9 +886,6 @@ 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() {
@@ -965,7 +923,6 @@ 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 {
@@ -978,9 +935,6 @@ 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;
@@ -991,7 +945,6 @@ 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 {
@@ -1002,9 +955,6 @@ 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() {
@@ -1032,23 +982,18 @@ 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 {
@@ -1061,9 +1006,6 @@ 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() {
@@ -1101,7 +1043,6 @@ 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 {
@@ -1114,9 +1055,6 @@ 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;
@@ -1127,7 +1065,6 @@ 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 {
@@ -1140,9 +1077,6 @@ 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) {
@@ -1180,16 +1114,12 @@ 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;
@@ -1198,7 +1128,6 @@ 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 {
@@ -1211,9 +1140,6 @@ 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() {
@@ -1251,7 +1177,6 @@ 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 {
@@ -1264,9 +1189,6 @@ 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;
@@ -1277,7 +1199,6 @@ 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 {
@@ -1288,9 +1209,6 @@ 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() {
@@ -1318,23 +1236,18 @@ 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 {
@@ -1346,9 +1259,6 @@ 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() {
@@ -1381,7 +1291,6 @@ 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 {
@@ -1393,9 +1302,6 @@ 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;
@@ -1405,16 +1311,12 @@ 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() {
@@ -1435,22 +1337,17 @@ 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 {
@@ -1462,9 +1359,6 @@ 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() {
@@ -1497,7 +1391,6 @@ 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 {
@@ -1509,9 +1402,6 @@ 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;
@@ -1521,7 +1411,6 @@ 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 {
@@ -1533,9 +1422,6 @@ 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() {
@@ -1568,16 +1454,12 @@ 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;
@@ -1585,7 +1467,6 @@ 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 {
@@ -1597,9 +1478,6 @@ 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() {
@@ -1632,7 +1510,6 @@ 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 {
@@ -1644,9 +1521,6 @@ 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;
@@ -1656,7 +1530,6 @@ 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 {
@@ -1667,9 +1540,6 @@ 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() {
@@ -1697,23 +1567,18 @@ 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 {
@@ -1726,9 +1591,6 @@ 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() {
@@ -1766,7 +1628,6 @@ 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 {
@@ -1779,9 +1640,6 @@ 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;
@@ -1792,7 +1650,6 @@ 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 {
@@ -1803,9 +1660,6 @@ 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() {
@@ -1833,23 +1687,18 @@ 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 {
@@ -1863,9 +1712,6 @@ 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) {
@@ -1908,7 +1754,6 @@ 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 {
@@ -1922,9 +1767,6 @@ 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;
@@ -1936,7 +1778,6 @@ 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 {
@@ -1947,9 +1788,6 @@ 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() {
@@ -1977,23 +1815,18 @@ 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 {
@@ -2006,9 +1839,6 @@ 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) {
@@ -2046,7 +1876,6 @@ 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 {
@@ -2059,9 +1888,6 @@ 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;
@@ -2072,7 +1898,6 @@ 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 {
@@ -2083,9 +1908,6 @@ 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() {
@@ -2113,23 +1935,18 @@ 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 {
@@ -2141,9 +1958,6 @@ 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() {
@@ -2176,7 +1990,6 @@ 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 {
@@ -2188,9 +2001,6 @@ 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;
@@ -2200,7 +2010,6 @@ 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 {
@@ -2212,9 +2021,6 @@ 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() {
@@ -2247,16 +2053,12 @@ 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;
@@ -2264,7 +2066,6 @@ 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 {
@@ -2278,9 +2079,6 @@ 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() {
@@ -2323,7 +2121,6 @@ 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 {
@@ -2337,9 +2134,6 @@ 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;
@@ -2351,7 +2145,6 @@ 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 {
@@ -2364,9 +2157,6 @@ 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() {
@@ -2404,16 +2194,12 @@ 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;
@@ -2422,7 +2208,6 @@ 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 {
@@ -2436,9 +2221,6 @@ 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() {
@@ -2481,7 +2263,6 @@ 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 {
@@ -2495,9 +2276,6 @@ 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;
@@ -2509,7 +2287,6 @@ 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 {
@@ -2521,9 +2298,6 @@ 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() {
@@ -2556,16 +2330,12 @@ 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;
@@ -2573,7 +2343,6 @@ 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 {
@@ -2587,9 +2356,6 @@ 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() {
@@ -2632,7 +2398,6 @@ 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 {
@@ -2646,9 +2411,6 @@ 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;
@@ -2660,7 +2422,6 @@ 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 {
@@ -2673,9 +2434,6 @@ 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() {
@@ -2713,16 +2471,12 @@ 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;
@@ -2731,7 +2485,6 @@ 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 {
@@ -2745,9 +2498,6 @@ 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() {
@@ -2790,7 +2540,6 @@ 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 {
@@ -2804,9 +2553,6 @@ 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;
@@ -2818,7 +2564,6 @@ 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 {
@@ -2829,9 +2574,6 @@ 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() {
@@ -2859,23 +2601,18 @@ 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 {
@@ -2889,9 +2626,6 @@ 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() {
@@ -2934,7 +2668,6 @@ 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 {
@@ -2948,9 +2681,6 @@ 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;
@@ -2962,7 +2692,6 @@ 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 {
@@ -2974,9 +2703,6 @@ 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() {
@@ -3009,16 +2735,12 @@ 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;
@@ -3026,7 +2748,6 @@ 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 {
@@ -3040,9 +2761,6 @@ 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() {
@@ -3085,7 +2803,6 @@ 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 {
@@ -3099,9 +2816,6 @@ 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;
@@ -3113,7 +2827,6 @@ 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 {
@@ -3126,9 +2839,6 @@ 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) {
@@ -3166,16 +2876,12 @@ 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;
@@ -3184,7 +2890,6 @@ 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 {
@@ -3196,9 +2901,6 @@ 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() {
@@ -3231,7 +2933,6 @@ 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 {
@@ -3243,9 +2944,6 @@ 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;
@@ -3255,7 +2953,6 @@ 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 {
@@ -3269,9 +2966,6 @@ 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) {
@@ -3314,16 +3008,12 @@ 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;
@@ -3333,7 +3023,6 @@ 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 {
@@ -3345,9 +3034,6 @@ 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() {
@@ -3380,7 +3066,6 @@ 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 {
@@ -3392,9 +3077,6 @@ 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;
@@ -3404,7 +3086,6 @@ 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 {
@@ -3416,9 +3097,6 @@ 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() {
@@ -3451,16 +3129,12 @@ 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;
@@ -3468,7 +3142,6 @@ 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 {
@@ -3480,9 +3153,6 @@ 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() {
@@ -3515,7 +3185,6 @@ 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 {
@@ -3527,9 +3196,6 @@ 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;
@@ -3539,7 +3205,6 @@ 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 {
@@ -3552,9 +3217,6 @@ 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() {
@@ -3592,16 +3254,12 @@ 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;
@@ -3610,7 +3268,6 @@ 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 {
@@ -3622,9 +3279,6 @@ 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() {
@@ -3657,7 +3311,6 @@ 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 {
@@ -3669,9 +3322,6 @@ 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;
@@ -3681,7 +3331,6 @@ 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 {
@@ -3692,9 +3341,6 @@ 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() {
@@ -3722,23 +3368,18 @@ 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 {
@@ -3750,9 +3391,6 @@ 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() {
@@ -3785,7 +3423,6 @@ 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 {
@@ -3797,9 +3434,6 @@ 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;
@@ -3809,7 +3443,6 @@ 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 {
@@ -3821,9 +3454,6 @@ 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() {
@@ -3856,16 +3486,12 @@ 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;
@@ -3873,7 +3499,6 @@ 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 {
@@ -3886,9 +3511,6 @@ 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() {
@@ -3926,7 +3548,6 @@ 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 {
@@ -3939,9 +3560,6 @@ 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;
@@ -3952,7 +3570,6 @@ 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 {
@@ -3964,9 +3581,6 @@ 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() {
@@ -3999,16 +3613,12 @@ 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;
@@ -4016,7 +3626,6 @@ 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 {
@@ -4030,9 +3639,6 @@ 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() {
@@ -4075,7 +3681,6 @@ 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 {
@@ -4089,9 +3694,6 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset {
class ThriftHiveMetastore_get_table_objects_
<TRUNCATED>