Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 16A1F200BDE for ; Fri, 11 Nov 2016 00:10:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1533B160B10; Thu, 10 Nov 2016 23:10:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BCC95160B14 for ; Fri, 11 Nov 2016 00:10:25 +0100 (CET) Received: (qmail 20512 invoked by uid 500); 10 Nov 2016 23:10:24 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 20173 invoked by uid 99); 10 Nov 2016 23:10:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 23:10:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 68631EEE25; Thu, 10 Nov 2016 23:10:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sershe@apache.org To: commits@hive.apache.org Date: Thu, 10 Nov 2016 23:10:28 -0000 Message-Id: <2a87257f59194f77b0284ee2df224820@git.apache.org> In-Reply-To: <81cd4e7562c94c2f987a2334b651c750@git.apache.org> References: <81cd4e7562c94c2f987a2334b651c750@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/9] hive git commit: HIVE-15062 : create backward compat checking for metastore APIs (Sergey Shelukhin, reviewed by Thejas M Nair and Sushanth Sowmyan) archived-at: Thu, 10 Nov 2016 23:10:28 -0000 http://git-wip-us.apache.org/repos/asf/hive/blob/fb5bf0cb/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 d827d6c..317da4b 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 @@ -100,7 +100,11 @@ public class ThriftHiveMetastore { public Table get_table(String dbname, String tbl_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; - public List get_table_objects_by_name(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; + public List
get_table_objects_by_name(String dbname, List tbl_names) throws org.apache.thrift.TException; + + public GetTableResult get_table_req(GetTableRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; + + public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; public List get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; @@ -406,6 +410,10 @@ public class ThriftHiveMetastore { public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_req(GetTableRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + + public void get_table_objects_by_name_req(GetTablesRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -1508,7 +1516,7 @@ public class ThriftHiveMetastore { throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table failed: unknown result"); } - public List
get_table_objects_by_name(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + public List
get_table_objects_by_name(String dbname, List tbl_names) throws org.apache.thrift.TException { send_get_table_objects_by_name(dbname, tbl_names); return recv_get_table_objects_by_name(); @@ -1522,13 +1530,65 @@ public class ThriftHiveMetastore { sendBase("get_table_objects_by_name", args); } - public List
recv_get_table_objects_by_name() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + public List
recv_get_table_objects_by_name() throws org.apache.thrift.TException { get_table_objects_by_name_result result = new get_table_objects_by_name_result(); receiveBase(result, "get_table_objects_by_name"); if (result.isSetSuccess()) { return result.success; } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result"); + } + + public GetTableResult get_table_req(GetTableRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + send_get_table_req(req); + return recv_get_table_req(); + } + + public void send_get_table_req(GetTableRequest req) throws org.apache.thrift.TException + { + get_table_req_args args = new get_table_req_args(); + args.setReq(req); + sendBase("get_table_req", args); + } + + public GetTableResult recv_get_table_req() throws MetaException, NoSuchObjectException, org.apache.thrift.TException + { + get_table_req_result result = new get_table_req_result(); + receiveBase(result, "get_table_req"); + 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_table_req failed: unknown result"); + } + + public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + { + send_get_table_objects_by_name_req(req); + return recv_get_table_objects_by_name_req(); + } + + public void send_get_table_objects_by_name_req(GetTablesRequest req) throws org.apache.thrift.TException + { + get_table_objects_by_name_req_args args = new get_table_objects_by_name_req_args(); + args.setReq(req); + sendBase("get_table_objects_by_name_req", args); + } + + public GetTablesResult recv_get_table_objects_by_name_req() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException + { + get_table_objects_by_name_req_result result = new get_table_objects_by_name_req_result(); + receiveBase(result, "get_table_objects_by_name_req"); + if (result.isSetSuccess()) { + return result.success; + } if (result.o1 != null) { throw result.o1; } @@ -1538,7 +1598,7 @@ public class ThriftHiveMetastore { if (result.o3 != null) { throw result.o3; } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result"); + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result"); } public List get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException @@ -6035,7 +6095,7 @@ public class ThriftHiveMetastore { prot.writeMessageEnd(); } - public List
getResult() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { + public List
getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -6045,6 +6105,70 @@ public class ThriftHiveMetastore { } } + public void get_table_req(GetTableRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_table_req_call method_call = new get_table_req_call(req, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_table_req_call extends org.apache.thrift.async.TAsyncMethodCall { + private GetTableRequest req; + public get_table_req_call(GetTableRequest req, 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.req = req; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_table_req", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_table_req_args args = new get_table_req_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetTableResult 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_table_req(); + } + } + + public void get_table_objects_by_name_req(GetTablesRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_table_objects_by_name_req_call method_call = new get_table_objects_by_name_req_call(req, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_table_objects_by_name_req_call extends org.apache.thrift.async.TAsyncMethodCall { + private GetTablesRequest req; + public get_table_objects_by_name_req_call(GetTablesRequest req, 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.req = req; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_table_objects_by_name_req", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_table_objects_by_name_req_args args = new get_table_objects_by_name_req_args(); + args.setReq(req); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetTablesResult getResult() throws MetaException, InvalidOperationException, UnknownDBException, 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_table_objects_by_name_req(); + } + } + public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_names_by_filter_call method_call = new get_table_names_by_filter_call(dbname, filter, max_tables, resultHandler, this, ___protocolFactory, ___transport); @@ -10345,6 +10469,8 @@ public class ThriftHiveMetastore { processMap.put("get_all_tables", new get_all_tables()); processMap.put("get_table", new get_table()); processMap.put("get_table_objects_by_name", new get_table_objects_by_name()); + processMap.put("get_table_req", new get_table_req()); + processMap.put("get_table_objects_by_name_req", new get_table_objects_by_name_req()); processMap.put("get_table_names_by_filter", new get_table_names_by_filter()); processMap.put("alter_table", new alter_table()); processMap.put("alter_table_with_environment_context", new alter_table_with_environment_context()); @@ -11247,8 +11373,54 @@ public class ThriftHiveMetastore { public get_table_objects_by_name_result getResult(I iface, get_table_objects_by_name_args args) throws org.apache.thrift.TException { get_table_objects_by_name_result result = new get_table_objects_by_name_result(); + result.success = iface.get_table_objects_by_name(args.dbname, args.tbl_names); + return result; + } + } + + public static class get_table_req extends org.apache.thrift.ProcessFunction { + public get_table_req() { + super("get_table_req"); + } + + public get_table_req_args getEmptyArgsInstance() { + return new get_table_req_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_table_req_result getResult(I iface, get_table_req_args args) throws org.apache.thrift.TException { + get_table_req_result result = new get_table_req_result(); try { - result.success = iface.get_table_objects_by_name(args.dbname, args.tbl_names); + result.success = iface.get_table_req(args.req); + } catch (MetaException o1) { + result.o1 = o1; + } catch (NoSuchObjectException o2) { + result.o2 = o2; + } + return result; + } + } + + public static class get_table_objects_by_name_req extends org.apache.thrift.ProcessFunction { + public get_table_objects_by_name_req() { + super("get_table_objects_by_name_req"); + } + + public get_table_objects_by_name_req_args getEmptyArgsInstance() { + return new get_table_objects_by_name_req_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_table_objects_by_name_req_result getResult(I iface, get_table_objects_by_name_req_args args) throws org.apache.thrift.TException { + get_table_objects_by_name_req_result result = new get_table_objects_by_name_req_result(); + try { + result.success = iface.get_table_objects_by_name_req(args.req); } catch (MetaException o1) { result.o1 = o1; } catch (InvalidOperationException o2) { @@ -14341,6 +14513,8 @@ public class ThriftHiveMetastore { processMap.put("get_all_tables", new get_all_tables()); processMap.put("get_table", new get_table()); processMap.put("get_table_objects_by_name", new get_table_objects_by_name()); + processMap.put("get_table_req", new get_table_req()); + processMap.put("get_table_objects_by_name_req", new get_table_objects_by_name_req()); processMap.put("get_table_names_by_filter", new get_table_names_by_filter()); processMap.put("alter_table", new alter_table()); processMap.put("alter_table_with_environment_context", new alter_table_with_environment_context()); @@ -16299,6 +16473,119 @@ public class ThriftHiveMetastore { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; get_table_objects_by_name_result result = new get_table_objects_by_name_result(); + { + 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_table_objects_by_name_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_table_objects_by_name(args.dbname, args.tbl_names,resultHandler); + } + } + + public static class get_table_req extends org.apache.thrift.AsyncProcessFunction { + public get_table_req() { + super("get_table_req"); + } + + public get_table_req_args getEmptyArgsInstance() { + return new get_table_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetTableResult o) { + get_table_req_result result = new get_table_req_result(); + result.success = o; + 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_table_req_result result = new get_table_req_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_table_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_table_req(args.req,resultHandler); + } + } + + public static class get_table_objects_by_name_req extends org.apache.thrift.AsyncProcessFunction { + public get_table_objects_by_name_req() { + super("get_table_objects_by_name_req"); + } + + public get_table_objects_by_name_req_args getEmptyArgsInstance() { + return new get_table_objects_by_name_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetTablesResult o) { + get_table_objects_by_name_req_result result = new get_table_objects_by_name_req_result(); + result.success = o; + 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_table_objects_by_name_req_result result = new get_table_objects_by_name_req_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -16334,8 +16621,8 @@ public class ThriftHiveMetastore { return false; } - public void start(I iface, get_table_objects_by_name_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.get_table_objects_by_name(args.dbname, args.tbl_names,resultHandler); + public void start(I iface, get_table_objects_by_name_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_table_objects_by_name_req(args.req,resultHandler); } } @@ -28995,13 +29282,13 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); - struct.success = new ArrayList(_list642.size); - String _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.success = new ArrayList(_list666.size); + String _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem643 = iprot.readString(); - struct.success.add(_elem643); + _elem667 = iprot.readString(); + struct.success.add(_elem667); } iprot.readListEnd(); } @@ -29036,9 +29323,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter645 : struct.success) + for (String _iter669 : struct.success) { - oprot.writeString(_iter645); + oprot.writeString(_iter669); } oprot.writeListEnd(); } @@ -29077,9 +29364,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter646 : struct.success) + for (String _iter670 : struct.success) { - oprot.writeString(_iter646); + oprot.writeString(_iter670); } } } @@ -29094,13 +29381,13 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list647.size); - String _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list671.size); + String _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem648 = iprot.readString(); - struct.success.add(_elem648); + _elem672 = iprot.readString(); + struct.success.add(_elem672); } } struct.setSuccessIsSet(true); @@ -29754,13 +30041,13 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.success = new ArrayList(_list674.size); + String _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem651 = iprot.readString(); - struct.success.add(_elem651); + _elem675 = iprot.readString(); + struct.success.add(_elem675); } iprot.readListEnd(); } @@ -29795,9 +30082,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter653 : struct.success) + for (String _iter677 : struct.success) { - oprot.writeString(_iter653); + oprot.writeString(_iter677); } oprot.writeListEnd(); } @@ -29836,9 +30123,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter654 : struct.success) + for (String _iter678 : struct.success) { - oprot.writeString(_iter654); + oprot.writeString(_iter678); } } } @@ -29853,13 +30140,13 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list679.size); + String _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem656 = iprot.readString(); - struct.success.add(_elem656); + _elem680 = iprot.readString(); + struct.success.add(_elem680); } } struct.setSuccessIsSet(true); @@ -34466,16 +34753,16 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map658 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map658.size); - String _key659; - Type _val660; - for (int _i661 = 0; _i661 < _map658.size; ++_i661) + org.apache.thrift.protocol.TMap _map682 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map682.size); + String _key683; + Type _val684; + for (int _i685 = 0; _i685 < _map682.size; ++_i685) { - _key659 = iprot.readString(); - _val660 = new Type(); - _val660.read(iprot); - struct.success.put(_key659, _val660); + _key683 = iprot.readString(); + _val684 = new Type(); + _val684.read(iprot); + struct.success.put(_key683, _val684); } iprot.readMapEnd(); } @@ -34510,10 +34797,10 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter662 : struct.success.entrySet()) + for (Map.Entry _iter686 : struct.success.entrySet()) { - oprot.writeString(_iter662.getKey()); - _iter662.getValue().write(oprot); + oprot.writeString(_iter686.getKey()); + _iter686.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -34552,10 +34839,10 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter663 : struct.success.entrySet()) + for (Map.Entry _iter687 : struct.success.entrySet()) { - oprot.writeString(_iter663.getKey()); - _iter663.getValue().write(oprot); + oprot.writeString(_iter687.getKey()); + _iter687.getValue().write(oprot); } } } @@ -34570,16 +34857,16 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map664 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map664.size); - String _key665; - Type _val666; - for (int _i667 = 0; _i667 < _map664.size; ++_i667) + org.apache.thrift.protocol.TMap _map688 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map688.size); + String _key689; + Type _val690; + for (int _i691 = 0; _i691 < _map688.size; ++_i691) { - _key665 = iprot.readString(); - _val666 = new Type(); - _val666.read(iprot); - struct.success.put(_key665, _val666); + _key689 = iprot.readString(); + _val690 = new Type(); + _val690.read(iprot); + struct.success.put(_key689, _val690); } } struct.setSuccessIsSet(true); @@ -35614,14 +35901,14 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list668 = iprot.readListBegin(); - struct.success = new ArrayList(_list668.size); - FieldSchema _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.success = new ArrayList(_list692.size); + FieldSchema _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem669 = new FieldSchema(); - _elem669.read(iprot); - struct.success.add(_elem669); + _elem693 = new FieldSchema(); + _elem693.read(iprot); + struct.success.add(_elem693); } iprot.readListEnd(); } @@ -35674,9 +35961,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter671 : struct.success) + for (FieldSchema _iter695 : struct.success) { - _iter671.write(oprot); + _iter695.write(oprot); } oprot.writeListEnd(); } @@ -35731,9 +36018,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter672 : struct.success) + for (FieldSchema _iter696 : struct.success) { - _iter672.write(oprot); + _iter696.write(oprot); } } } @@ -35754,14 +36041,14 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list673.size); - FieldSchema _elem674; - for (int _i675 = 0; _i675 < _list673.size; ++_i675) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list697.size); + FieldSchema _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem674 = new FieldSchema(); - _elem674.read(iprot); - struct.success.add(_elem674); + _elem698 = new FieldSchema(); + _elem698.read(iprot); + struct.success.add(_elem698); } } struct.setSuccessIsSet(true); @@ -36915,14 +37202,14 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); - struct.success = new ArrayList(_list676.size); - FieldSchema _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.success = new ArrayList(_list700.size); + FieldSchema _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem677 = new FieldSchema(); - _elem677.read(iprot); - struct.success.add(_elem677); + _elem701 = new FieldSchema(); + _elem701.read(iprot); + struct.success.add(_elem701); } iprot.readListEnd(); } @@ -36975,9 +37262,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter679 : struct.success) + for (FieldSchema _iter703 : struct.success) { - _iter679.write(oprot); + _iter703.write(oprot); } oprot.writeListEnd(); } @@ -37032,9 +37319,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter680 : struct.success) + for (FieldSchema _iter704 : struct.success) { - _iter680.write(oprot); + _iter704.write(oprot); } } } @@ -37055,14 +37342,14 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list681.size); - FieldSchema _elem682; - for (int _i683 = 0; _i683 < _list681.size; ++_i683) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list705.size); + FieldSchema _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem682 = new FieldSchema(); - _elem682.read(iprot); - struct.success.add(_elem682); + _elem706 = new FieldSchema(); + _elem706.read(iprot); + struct.success.add(_elem706); } } struct.setSuccessIsSet(true); @@ -38107,14 +38394,14 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); - struct.success = new ArrayList(_list684.size); - FieldSchema _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); + struct.success = new ArrayList(_list708.size); + FieldSchema _elem709; + for (int _i710 = 0; _i710 < _list708.size; ++_i710) { - _elem685 = new FieldSchema(); - _elem685.read(iprot); - struct.success.add(_elem685); + _elem709 = new FieldSchema(); + _elem709.read(iprot); + struct.success.add(_elem709); } iprot.readListEnd(); } @@ -38167,9 +38454,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter687 : struct.success) + for (FieldSchema _iter711 : struct.success) { - _iter687.write(oprot); + _iter711.write(oprot); } oprot.writeListEnd(); } @@ -38224,9 +38511,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter688 : struct.success) + for (FieldSchema _iter712 : struct.success) { - _iter688.write(oprot); + _iter712.write(oprot); } } } @@ -38247,14 +38534,14 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list689.size); - FieldSchema _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list713.size); + FieldSchema _elem714; + for (int _i715 = 0; _i715 < _list713.size; ++_i715) { - _elem690 = new FieldSchema(); - _elem690.read(iprot); - struct.success.add(_elem690); + _elem714 = new FieldSchema(); + _elem714.read(iprot); + struct.success.add(_elem714); } } struct.setSuccessIsSet(true); @@ -39408,14 +39695,14 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); - struct.success = new ArrayList(_list692.size); - FieldSchema _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.success = new ArrayList(_list716.size); + FieldSchema _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem693 = new FieldSchema(); - _elem693.read(iprot); - struct.success.add(_elem693); + _elem717 = new FieldSchema(); + _elem717.read(iprot); + struct.success.add(_elem717); } iprot.readListEnd(); } @@ -39468,9 +39755,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter695 : struct.success) + for (FieldSchema _iter719 : struct.success) { - _iter695.write(oprot); + _iter719.write(oprot); } oprot.writeListEnd(); } @@ -39525,9 +39812,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter696 : struct.success) + for (FieldSchema _iter720 : struct.success) { - _iter696.write(oprot); + _iter720.write(oprot); } } } @@ -39548,14 +39835,14 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list697.size); - FieldSchema _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list721.size); + FieldSchema _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem698 = new FieldSchema(); - _elem698.read(iprot); - struct.success.add(_elem698); + _elem722 = new FieldSchema(); + _elem722.read(iprot); + struct.success.add(_elem722); } } struct.setSuccessIsSet(true); @@ -42280,14 +42567,14 @@ public class ThriftHiveMetastore { case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list700.size); - SQLPrimaryKey _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list724.size); + SQLPrimaryKey _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem701 = new SQLPrimaryKey(); - _elem701.read(iprot); - struct.primaryKeys.add(_elem701); + _elem725 = new SQLPrimaryKey(); + _elem725.read(iprot); + struct.primaryKeys.add(_elem725); } iprot.readListEnd(); } @@ -42299,14 +42586,14 @@ public class ThriftHiveMetastore { case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list703 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list703.size); - SQLForeignKey _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list727 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list727.size); + SQLForeignKey _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem704 = new SQLForeignKey(); - _elem704.read(iprot); - struct.foreignKeys.add(_elem704); + _elem728 = new SQLForeignKey(); + _elem728.read(iprot); + struct.foreignKeys.add(_elem728); } iprot.readListEnd(); } @@ -42337,9 +42624,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter706 : struct.primaryKeys) + for (SQLPrimaryKey _iter730 : struct.primaryKeys) { - _iter706.write(oprot); + _iter730.write(oprot); } oprot.writeListEnd(); } @@ -42349,9 +42636,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter707 : struct.foreignKeys) + for (SQLForeignKey _iter731 : struct.foreignKeys) { - _iter707.write(oprot); + _iter731.write(oprot); } oprot.writeListEnd(); } @@ -42391,18 +42678,18 @@ public class ThriftHiveMetastore { if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter708 : struct.primaryKeys) + for (SQLPrimaryKey _iter732 : struct.primaryKeys) { - _iter708.write(oprot); + _iter732.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter709 : struct.foreignKeys) + for (SQLForeignKey _iter733 : struct.foreignKeys) { - _iter709.write(oprot); + _iter733.write(oprot); } } } @@ -42419,28 +42706,28 @@ public class ThriftHiveMetastore { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list710 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list710.size); - SQLPrimaryKey _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + org.apache.thrift.protocol.TList _list734 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list734.size); + SQLPrimaryKey _elem735; + for (int _i736 = 0; _i736 < _list734.size; ++_i736) { - _elem711 = new SQLPrimaryKey(); - _elem711.read(iprot); - struct.primaryKeys.add(_elem711); + _elem735 = new SQLPrimaryKey(); + _elem735.read(iprot); + struct.primaryKeys.add(_elem735); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list713.size); - SQLForeignKey _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list737.size); + SQLForeignKey _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem714 = new SQLForeignKey(); - _elem714.read(iprot); - struct.foreignKeys.add(_elem714); + _elem738 = new SQLForeignKey(); + _elem738.read(iprot); + struct.foreignKeys.add(_elem738); } } struct.setForeignKeysIsSet(true); @@ -48639,13 +48926,13 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); - struct.success = new ArrayList(_list716.size); - String _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.success = new ArrayList(_list740.size); + String _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem717 = iprot.readString(); - struct.success.add(_elem717); + _elem741 = iprot.readString(); + struct.success.add(_elem741); } iprot.readListEnd(); } @@ -48680,9 +48967,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter719 : struct.success) + for (String _iter743 : struct.success) { - oprot.writeString(_iter719); + oprot.writeString(_iter743); } oprot.writeListEnd(); } @@ -48721,9 +49008,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter720 : struct.success) + for (String _iter744 : struct.success) { - oprot.writeString(_iter720); + oprot.writeString(_iter744); } } } @@ -48738,13 +49025,13 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list721.size); - String _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list745.size); + String _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem722 = iprot.readString(); - struct.success.add(_elem722); + _elem746 = iprot.readString(); + struct.success.add(_elem746); } } struct.setSuccessIsSet(true); @@ -49718,13 +50005,13 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); - struct.success = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); + struct.success = new ArrayList(_list748.size); + String _elem749; + for (int _i750 = 0; _i750 < _list748.size; ++_i750) { - _elem725 = iprot.readString(); - struct.success.add(_elem725); + _elem749 = iprot.readString(); + struct.success.add(_elem749); } iprot.readListEnd(); } @@ -49759,9 +50046,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter727 : struct.success) + for (String _iter751 : struct.success) { - oprot.writeString(_iter727); + oprot.writeString(_iter751); } oprot.writeListEnd(); } @@ -49800,9 +50087,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter728 : struct.success) + for (String _iter752 : struct.success) { - oprot.writeString(_iter728); + oprot.writeString(_iter752); } } } @@ -49817,13 +50104,13 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list753.size); + String _elem754; + for (int _i755 = 0; _i755 < _list753.size; ++_i755) { - _elem730 = iprot.readString(); - struct.success.add(_elem730); + _elem754 = iprot.readString(); + struct.success.add(_elem754); } } struct.setSuccessIsSet(true); @@ -50328,13 +50615,13 @@ public class ThriftHiveMetastore { case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list732.size); - String _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list756.size); + String _elem757; + for (int _i758 = 0; _i758 < _list756.size; ++_i758) { - _elem733 = iprot.readString(); - struct.tbl_types.add(_elem733); + _elem757 = iprot.readString(); + struct.tbl_types.add(_elem757); } iprot.readListEnd(); } @@ -50370,9 +50657,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter735 : struct.tbl_types) + for (String _iter759 : struct.tbl_types) { - oprot.writeString(_iter735); + oprot.writeString(_iter759); } oprot.writeListEnd(); } @@ -50415,9 +50702,9 @@ public class ThriftHiveMetastore { if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter736 : struct.tbl_types) + for (String _iter760 : struct.tbl_types) { - oprot.writeString(_iter736); + oprot.writeString(_iter760); } } } @@ -50437,13 +50724,13 @@ public class ThriftHiveMetastore { } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list737.size); - String _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list761.size); + String _elem762; + for (int _i763 = 0; _i763 < _list761.size; ++_i763) { - _elem738 = iprot.readString(); - struct.tbl_types.add(_elem738); + _elem762 = iprot.readString(); + struct.tbl_types.add(_elem762); } } struct.setTbl_typesIsSet(true); @@ -50849,14 +51136,14 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); - struct.success = new ArrayList(_list740.size); - TableMeta _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.success = new ArrayList(_list764.size); + TableMeta _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem741 = new TableMeta(); - _elem741.read(iprot); - struct.success.add(_elem741); + _elem765 = new TableMeta(); + _elem765.read(iprot); + struct.success.add(_elem765); } iprot.readListEnd(); } @@ -50891,9 +51178,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter743 : struct.success) + for (TableMeta _iter767 : struct.success) { - _iter743.write(oprot); + _iter767.write(oprot); } oprot.writeListEnd(); } @@ -50932,9 +51219,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter744 : struct.success) + for (TableMeta _iter768 : struct.success) { - _iter744.write(oprot); + _iter768.write(oprot); } } } @@ -50949,14 +51236,14 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list745.size); - TableMeta _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list769.size); + TableMeta _elem770; + for (int _i771 = 0; _i771 < _list769.size; ++_i771) { - _elem746 = new TableMeta(); - _elem746.read(iprot); - struct.success.add(_elem746); + _elem770 = new TableMeta(); + _elem770.read(iprot); + struct.success.add(_elem770); } } struct.setSuccessIsSet(true); @@ -51722,13 +52009,13 @@ public class ThriftHiveMetastore { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); - struct.success = new ArrayList(_list748.size); - String _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.success = new ArrayList(_list772.size); + String _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem749 = iprot.readString(); - struct.success.add(_elem749); + _elem773 = iprot.readString(); + struct.success.add(_elem773); } iprot.readListEnd(); } @@ -51763,9 +52050,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter751 : struct.success) + for (String _iter775 : struct.success) { - oprot.writeString(_iter751); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -51804,9 +52091,9 @@ public class ThriftHiveMetastore { if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter752 : struct.success) + for (String _iter776 : struct.success) { - oprot.writeString(_iter752); + oprot.writeString(_iter776); } } } @@ -51821,13 +52108,13 @@ public class ThriftHiveMetastore { BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list753.size); - String _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list777.size); + String _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem754 = iprot.readString(); - struct.success.add(_elem754); + _elem778 = iprot.readString(); + struct.success.add(_elem778); } } struct.setSuccessIsSet(true); @@ -53280,13 +53567,13 @@ public class ThriftHiveMetastore { case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list756.size); - String _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list780.size); + String _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem757 = iprot.readString(); - struct.tbl_names.add(_elem757); + _elem781 = iprot.readString(); + struct.tbl_names.add(_elem781); } iprot.readListEnd(); } @@ -53317,9 +53604,9 @@ public class ThriftHiveMetastore { oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter759 : struct.tbl_names) + for (String _iter783 : struct.tbl_names) { - oprot.writeString(_iter759); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -53356,9 +53643,9 @@ public class ThriftHiveMetastore { if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter760 : struct.tbl_names) + for (String _iter784 : struct.tbl_names) { - oprot.writeString(_iter760); + oprot.writeString(_iter784); } } } @@ -53374,13 +53661,13 @@ public class ThriftHiveMetastore { } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list761.size); - String _elem762; - for (int _i763 = 0; _i763 < _list761.size; ++_i763) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem762 = iprot.readString(); - struct.tbl_names.add(_elem762); + _elem786 = iprot.readString(); + struct.tbl_names.add(_elem786); } } struct.setTbl_namesIsSet(true); @@ -53394,9 +53681,6 @@ public class ThriftHiveMetastore { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53405,16 +53689,10 @@ public class ThriftHiveMetastore { } private List
success; // required - private MetaException o1; // required - private InvalidOperationException o2; // required - private UnknownDBException o3; // 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"), - O3((short)3, "o3"); + SUCCESS((short)0, "success"); private static final Map byName = new HashMap(); @@ -53431,12 +53709,6 @@ public class ThriftHiveMetastore { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O1 - return O1; - case 2: // O2 - return O2; - case 3: // O3 - return O3; default: return null; } @@ -53483,12 +53755,6 @@ public class ThriftHiveMetastore { 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, Table.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))); - tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", 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_table_objects_by_name_result.class, metaDataMap); } @@ -53497,16 +53763,10 @@ public class ThriftHiveMetastore { } public get_table_objects_by_name_result( - List
success, - MetaException o1, - InvalidOperationException o2, - UnknownDBException o3) + List
success) { this(); this.success = success; - this.o1 = o1; - this.o2 = o2; - this.o3 = o3; } /** @@ -53520,15 +53780,6 @@ public class ThriftHiveMetastore { } this.success = __this__success; } - if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); - } - if (other.isSetO2()) { - this.o2 = new InvalidOperationException(other.o2); - } - if (other.isSetO3()) { - this.o3 = new UnknownDBException(other.o3); - } } public get_table_objects_by_name_result deepCopy() { @@ -53538,9 +53789,6 @@ public class ThriftHiveMetastore { @Override public void clear() { this.success = null; - this.o1 = null; - this.o2 = null; - this.o3 = null; } public int getSuccessSize() { @@ -53581,75 +53829,6 @@ public class ThriftHiveMetastore { } } - public MetaException getO1() { - return this.o1; - } - - public void setO1(MetaException o1) { - this.o1 = o1; - } - - public void unsetO1() { - this.o1 = null; - } - - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; - } - - public void setO1IsSet(boolean value) { - if (!value) { - this.o1 = null; - } - } - - public InvalidOperationException getO2() { - return this.o2; - } - - public void setO2(InvalidOperationException o2) { - this.o2 = o2; - } - - public void unsetO2() { - this.o2 = null; - } - - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != null; - } - - public void setO2IsSet(boolean value) { - if (!value) { - this.o2 = null; - } - } - - public UnknownDBException getO3() { - return this.o3; - } - - public void setO3(UnknownDBException o3) { - this.o3 = o3; - } - - public void unsetO3() { - this.o3 = null; - } - - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != null; - } - - public void setO3IsSet(boolean value) { - if (!value) { - this.o3 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -53660,30 +53839,6 @@ public class ThriftHiveMetastore { } break; - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((MetaException)value); - } - break; - - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((InvalidOperationException)value); - } - break; - - case O3: - if (value == null) { - unsetO3(); - } else { - setO3((UnknownDBException)value); - } - break; - } } @@ -53692,15 +53847,6 @@ public class ThriftHiveMetastore { case SUCCESS: return getSuccess(); - case O1: - return getO1(); - - case O2: - return getO2(); - - case O3: - return getO3(); - } throw new IllegalStateException(); } @@ -53714,12 +53860,6 @@ public class ThriftHiveMetastore { switch (field) { case SUCCESS: return isSetSuccess(); - case O1: - return isSetO1(); - case O2: - return isSetO2(); - case O3: - return isSetO3(); } throw new IllegalStateException(); } @@ -53746,33 +53886,6 @@ public class ThriftHiveMetastore { return false; } - boolean this_present_o1 = true && this.isSetO1(); - boolean that_present_o1 = true && that.isSetO1(); - if (this_present_o1 || that_present_o1) { - if (!(this_present_o1 && that_present_o1)) - return false; - if (!this.o1.equals(that.o1)) - return false; - } - - boolean this_present_o2 = true && this.isSetO2(); - boolean that_present_o2 = true && that.isSetO2(); - if (this_present_o2 || that_present_o2) { - if (!(this_present_o2 && that_present_o2)) - return false; - if (!this.o2.equals(that.o2)) - return false; - } - - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) - return false; - if (!this.o3.equals(that.o3)) - return false; - } - return true; } @@ -53785,21 +53898,6 @@ public class ThriftHiveMetastore { if (present_success) list.add(success); - boolean present_o1 = true && (isSetO1()); - list.add(present_o1); - if (present_o1) - list.add(o1); - - boolean present_o2 = true && (isSetO2()); - list.add(present_o2); - if (present_o2) - list.add(o2); - - boolean present_o3 = true && (isSetO3()); - list.add(present_o3); - if (present_o3) - list.add(o3); - return list.hashCode(); } @@ -53821,6 +53919,1888 @@ public class ThriftHiveMetastore { return lastComparison; } } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_table_objects_by_name_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + 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_table_objects_by_name_resultStandardSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_resultStandardScheme getScheme() { + return new get_table_objects_by_name_resultStandardScheme(); + } + } + + private static class get_table_objects_by_name_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_by_name_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.success = new ArrayList
(_list788.size); + Table _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) + { + _elem789 = new Table(); + _elem789.read(iprot); + struct.success.add(_elem789); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_by_name_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 (Table _iter791 : struct.success) + { + _iter791.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_table_objects_by_name_resultTupleSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_resultTupleScheme getScheme() { + return new get_table_objects_by_name_resultTupleScheme(); + } + } + + private static class get_table_objects_by_name_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Table _iter792 : struct.success) + { + _iter792.write(oprot); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list793.size); + Table _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) + { + _elem794 = new Table(); + _elem794.read(iprot); + struct.success.add(_elem794); + } + } + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class get_table_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_req_args"); + + private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_table_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_req_argsTupleSchemeFactory()); + } + + private GetTableRequest req; // 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 { + REQ((short)1, "req"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // REQ + return REQ; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + 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.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTableRequest.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_req_args.class, metaDataMap); + } + + public get_table_req_args() { + } + + public get_table_req_args( + GetTableRequest req) + { + this(); + this.req = req; + } + + /** + * Performs a deep copy on other. + */ + public get_table_req_args(get_table_req_args other) { + if (other.isSetReq()) { + this.req = new GetTableRequest(other.req); + } + } + + public get_table_req_args deepCopy() { + return new get_table_req_args(this); + } + + @Override + public void clear() { + this.req = null; + } + + public GetTableRequest getReq() { + return this.req; + } + + public void setReq(GetTableRequest req) { + this.req = req; + } + + public void unsetReq() { + this.req = null; + } + + /** Returns true if field req is set (has been assigned a value) and false otherwise */ + public boolean isSetReq() { + return this.req != null; + } + + public void setReqIsSet(boolean value) { + if (!value) { + this.req = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case REQ: + if (value == null) { + unsetReq(); + } else { + setReq((GetTableRequest)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case REQ: + return getReq(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field cor