You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2014/02/20 00:50:34 UTC

svn commit: r1569985 [5/8] - in /hive/trunk: itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/ itests/util/src/main/java/org/apache/hadoop/hive/ql/ metastore/if/ metastore/src/gen/thrift/gen-cpp/ metastore/src/gen/thrift/gen-javabean/org...

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java?rev=1569985&r1=1569984&r2=1569985&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java Wed Feb 19 23:50:32 2014
@@ -184,6 +184,16 @@ public class ThriftHiveMetastore {
 
     public boolean delete_table_column_statistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException;
 
+    public void create_function(Function func) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
+
+    public void drop_function(String dbName, String funcName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
+
+    public void alter_function(String dbName, String funcName, Function newFunc) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
+
+    public List<String> get_functions(String dbName, String pattern) throws MetaException, org.apache.thrift.TException;
+
+    public Function get_function(String dbName, String funcName) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
+
     public boolean create_role(Role role) throws MetaException, org.apache.thrift.TException;
 
     public boolean drop_role(String role_name) throws MetaException, org.apache.thrift.TException;
@@ -362,6 +372,16 @@ public class ThriftHiveMetastore {
 
     public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.delete_table_column_statistics_call> resultHandler) throws org.apache.thrift.TException;
 
+    public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.create_function_call> resultHandler) throws org.apache.thrift.TException;
+
+    public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.drop_function_call> resultHandler) throws org.apache.thrift.TException;
+
+    public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.alter_function_call> resultHandler) throws org.apache.thrift.TException;
+
+    public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.get_functions_call> resultHandler) throws org.apache.thrift.TException;
+
+    public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.get_function_call> resultHandler) throws org.apache.thrift.TException;
+
     public void create_role(Role role, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.create_role_call> resultHandler) throws org.apache.thrift.TException;
 
     public void drop_role(String role_name, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.drop_role_call> resultHandler) throws org.apache.thrift.TException;
@@ -2699,6 +2719,150 @@ public class ThriftHiveMetastore {
       throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result");
     }
 
+    public void create_function(Function func) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
+    {
+      send_create_function(func);
+      recv_create_function();
+    }
+
+    public void send_create_function(Function func) throws org.apache.thrift.TException
+    {
+      create_function_args args = new create_function_args();
+      args.setFunc(func);
+      sendBase("create_function", args);
+    }
+
+    public void recv_create_function() throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
+    {
+      create_function_result result = new create_function_result();
+      receiveBase(result, "create_function");
+      if (result.o1 != null) {
+        throw result.o1;
+      }
+      if (result.o2 != null) {
+        throw result.o2;
+      }
+      if (result.o3 != null) {
+        throw result.o3;
+      }
+      if (result.o4 != null) {
+        throw result.o4;
+      }
+      return;
+    }
+
+    public void drop_function(String dbName, String funcName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
+    {
+      send_drop_function(dbName, funcName);
+      recv_drop_function();
+    }
+
+    public void send_drop_function(String dbName, String funcName) throws org.apache.thrift.TException
+    {
+      drop_function_args args = new drop_function_args();
+      args.setDbName(dbName);
+      args.setFuncName(funcName);
+      sendBase("drop_function", args);
+    }
+
+    public void recv_drop_function() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
+    {
+      drop_function_result result = new drop_function_result();
+      receiveBase(result, "drop_function");
+      if (result.o1 != null) {
+        throw result.o1;
+      }
+      if (result.o3 != null) {
+        throw result.o3;
+      }
+      return;
+    }
+
+    public void alter_function(String dbName, String funcName, Function newFunc) throws InvalidOperationException, MetaException, org.apache.thrift.TException
+    {
+      send_alter_function(dbName, funcName, newFunc);
+      recv_alter_function();
+    }
+
+    public void send_alter_function(String dbName, String funcName, Function newFunc) throws org.apache.thrift.TException
+    {
+      alter_function_args args = new alter_function_args();
+      args.setDbName(dbName);
+      args.setFuncName(funcName);
+      args.setNewFunc(newFunc);
+      sendBase("alter_function", args);
+    }
+
+    public void recv_alter_function() throws InvalidOperationException, MetaException, org.apache.thrift.TException
+    {
+      alter_function_result result = new alter_function_result();
+      receiveBase(result, "alter_function");
+      if (result.o1 != null) {
+        throw result.o1;
+      }
+      if (result.o2 != null) {
+        throw result.o2;
+      }
+      return;
+    }
+
+    public List<String> get_functions(String dbName, String pattern) throws MetaException, org.apache.thrift.TException
+    {
+      send_get_functions(dbName, pattern);
+      return recv_get_functions();
+    }
+
+    public void send_get_functions(String dbName, String pattern) throws org.apache.thrift.TException
+    {
+      get_functions_args args = new get_functions_args();
+      args.setDbName(dbName);
+      args.setPattern(pattern);
+      sendBase("get_functions", args);
+    }
+
+    public List<String> recv_get_functions() throws MetaException, org.apache.thrift.TException
+    {
+      get_functions_result result = new get_functions_result();
+      receiveBase(result, "get_functions");
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
+      if (result.o1 != null) {
+        throw result.o1;
+      }
+      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_functions failed: unknown result");
+    }
+
+    public Function get_function(String dbName, String funcName) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
+    {
+      send_get_function(dbName, funcName);
+      return recv_get_function();
+    }
+
+    public void send_get_function(String dbName, String funcName) throws org.apache.thrift.TException
+    {
+      get_function_args args = new get_function_args();
+      args.setDbName(dbName);
+      args.setFuncName(funcName);
+      sendBase("get_function", args);
+    }
+
+    public Function recv_get_function() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
+    {
+      get_function_result result = new get_function_result();
+      receiveBase(result, "get_function");
+      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_function failed: unknown result");
+    }
+
     public boolean create_role(Role role) throws MetaException, org.apache.thrift.TException
     {
       send_create_role(role);
@@ -5793,6 +5957,181 @@ public class ThriftHiveMetastore {
       }
     }
 
+    public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback<create_function_call> resultHandler) throws org.apache.thrift.TException {
+      checkReady();
+      create_function_call method_call = new create_function_call(func, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class create_function_call extends org.apache.thrift.async.TAsyncMethodCall {
+      private Function func;
+      public create_function_call(Function func, org.apache.thrift.async.AsyncMethodCallback<create_function_call> 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.func = func;
+      }
+
+      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("create_function", org.apache.thrift.protocol.TMessageType.CALL, 0));
+        create_function_args args = new create_function_args();
+        args.setFunc(func);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public void getResult() throws AlreadyExistsException, InvalidObjectException, 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);
+        (new Client(prot)).recv_create_function();
+      }
+    }
+
+    public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<drop_function_call> resultHandler) throws org.apache.thrift.TException {
+      checkReady();
+      drop_function_call method_call = new drop_function_call(dbName, funcName, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class drop_function_call extends org.apache.thrift.async.TAsyncMethodCall {
+      private String dbName;
+      private String funcName;
+      public drop_function_call(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<drop_function_call> 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.dbName = dbName;
+        this.funcName = funcName;
+      }
+
+      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("drop_function", org.apache.thrift.protocol.TMessageType.CALL, 0));
+        drop_function_args args = new drop_function_args();
+        args.setDbName(dbName);
+        args.setFuncName(funcName);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public void getResult() throws NoSuchObjectException, MetaException, 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);
+        (new Client(prot)).recv_drop_function();
+      }
+    }
+
+    public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback<alter_function_call> resultHandler) throws org.apache.thrift.TException {
+      checkReady();
+      alter_function_call method_call = new alter_function_call(dbName, funcName, newFunc, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class alter_function_call extends org.apache.thrift.async.TAsyncMethodCall {
+      private String dbName;
+      private String funcName;
+      private Function newFunc;
+      public alter_function_call(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback<alter_function_call> 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.dbName = dbName;
+        this.funcName = funcName;
+        this.newFunc = newFunc;
+      }
+
+      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("alter_function", org.apache.thrift.protocol.TMessageType.CALL, 0));
+        alter_function_args args = new alter_function_args();
+        args.setDbName(dbName);
+        args.setFuncName(funcName);
+        args.setNewFunc(newFunc);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public void getResult() throws InvalidOperationException, MetaException, 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);
+        (new Client(prot)).recv_alter_function();
+      }
+    }
+
+    public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback<get_functions_call> resultHandler) throws org.apache.thrift.TException {
+      checkReady();
+      get_functions_call method_call = new get_functions_call(dbName, pattern, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class get_functions_call extends org.apache.thrift.async.TAsyncMethodCall {
+      private String dbName;
+      private String pattern;
+      public get_functions_call(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback<get_functions_call> 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.dbName = dbName;
+        this.pattern = pattern;
+      }
+
+      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_functions", org.apache.thrift.protocol.TMessageType.CALL, 0));
+        get_functions_args args = new get_functions_args();
+        args.setDbName(dbName);
+        args.setPattern(pattern);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public List<String> getResult() throws MetaException, 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_functions();
+      }
+    }
+
+    public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<get_function_call> resultHandler) throws org.apache.thrift.TException {
+      checkReady();
+      get_function_call method_call = new get_function_call(dbName, funcName, resultHandler, this, ___protocolFactory, ___transport);
+      this.___currentMethod = method_call;
+      ___manager.call(method_call);
+    }
+
+    public static class get_function_call extends org.apache.thrift.async.TAsyncMethodCall {
+      private String dbName;
+      private String funcName;
+      public get_function_call(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback<get_function_call> 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.dbName = dbName;
+        this.funcName = funcName;
+      }
+
+      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_function", org.apache.thrift.protocol.TMessageType.CALL, 0));
+        get_function_args args = new get_function_args();
+        args.setDbName(dbName);
+        args.setFuncName(funcName);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public Function 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_function();
+      }
+    }
+
     public void create_role(Role role, org.apache.thrift.async.AsyncMethodCallback<create_role_call> resultHandler) throws org.apache.thrift.TException {
       checkReady();
       create_role_call method_call = new create_role_call(role, resultHandler, this, ___protocolFactory, ___transport);
@@ -6366,6 +6705,11 @@ public class ThriftHiveMetastore {
       processMap.put("get_partitions_statistics_req", new get_partitions_statistics_req());
       processMap.put("delete_partition_column_statistics", new delete_partition_column_statistics());
       processMap.put("delete_table_column_statistics", new delete_table_column_statistics());
+      processMap.put("create_function", new create_function());
+      processMap.put("drop_function", new drop_function());
+      processMap.put("alter_function", new alter_function());
+      processMap.put("get_functions", new get_functions());
+      processMap.put("get_function", new get_function());
       processMap.put("create_role", new create_role());
       processMap.put("drop_role", new drop_role());
       processMap.put("get_role_names", new get_role_names());
@@ -8357,6 +8701,138 @@ public class ThriftHiveMetastore {
       }
     }
 
+    public static class create_function<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_function_args> {
+      public create_function() {
+        super("create_function");
+      }
+
+      public create_function_args getEmptyArgsInstance() {
+        return new create_function_args();
+      }
+
+      protected boolean isOneway() {
+        return false;
+      }
+
+      public create_function_result getResult(I iface, create_function_args args) throws org.apache.thrift.TException {
+        create_function_result result = new create_function_result();
+        try {
+          iface.create_function(args.func);
+        } catch (AlreadyExistsException o1) {
+          result.o1 = o1;
+        } catch (InvalidObjectException o2) {
+          result.o2 = o2;
+        } catch (MetaException o3) {
+          result.o3 = o3;
+        } catch (NoSuchObjectException o4) {
+          result.o4 = o4;
+        }
+        return result;
+      }
+    }
+
+    public static class drop_function<I extends Iface> extends org.apache.thrift.ProcessFunction<I, drop_function_args> {
+      public drop_function() {
+        super("drop_function");
+      }
+
+      public drop_function_args getEmptyArgsInstance() {
+        return new drop_function_args();
+      }
+
+      protected boolean isOneway() {
+        return false;
+      }
+
+      public drop_function_result getResult(I iface, drop_function_args args) throws org.apache.thrift.TException {
+        drop_function_result result = new drop_function_result();
+        try {
+          iface.drop_function(args.dbName, args.funcName);
+        } catch (NoSuchObjectException o1) {
+          result.o1 = o1;
+        } catch (MetaException o3) {
+          result.o3 = o3;
+        }
+        return result;
+      }
+    }
+
+    public static class alter_function<I extends Iface> extends org.apache.thrift.ProcessFunction<I, alter_function_args> {
+      public alter_function() {
+        super("alter_function");
+      }
+
+      public alter_function_args getEmptyArgsInstance() {
+        return new alter_function_args();
+      }
+
+      protected boolean isOneway() {
+        return false;
+      }
+
+      public alter_function_result getResult(I iface, alter_function_args args) throws org.apache.thrift.TException {
+        alter_function_result result = new alter_function_result();
+        try {
+          iface.alter_function(args.dbName, args.funcName, args.newFunc);
+        } catch (InvalidOperationException o1) {
+          result.o1 = o1;
+        } catch (MetaException o2) {
+          result.o2 = o2;
+        }
+        return result;
+      }
+    }
+
+    public static class get_functions<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_functions_args> {
+      public get_functions() {
+        super("get_functions");
+      }
+
+      public get_functions_args getEmptyArgsInstance() {
+        return new get_functions_args();
+      }
+
+      protected boolean isOneway() {
+        return false;
+      }
+
+      public get_functions_result getResult(I iface, get_functions_args args) throws org.apache.thrift.TException {
+        get_functions_result result = new get_functions_result();
+        try {
+          result.success = iface.get_functions(args.dbName, args.pattern);
+        } catch (MetaException o1) {
+          result.o1 = o1;
+        }
+        return result;
+      }
+    }
+
+    public static class get_function<I extends Iface> extends org.apache.thrift.ProcessFunction<I, get_function_args> {
+      public get_function() {
+        super("get_function");
+      }
+
+      public get_function_args getEmptyArgsInstance() {
+        return new get_function_args();
+      }
+
+      protected boolean isOneway() {
+        return false;
+      }
+
+      public get_function_result getResult(I iface, get_function_args args) throws org.apache.thrift.TException {
+        get_function_result result = new get_function_result();
+        try {
+          result.success = iface.get_function(args.dbName, args.funcName);
+        } catch (MetaException o1) {
+          result.o1 = o1;
+        } catch (NoSuchObjectException o2) {
+          result.o2 = o2;
+        }
+        return result;
+      }
+    }
+
     public static class create_role<I extends Iface> extends org.apache.thrift.ProcessFunction<I, create_role_args> {
       public create_role() {
         super("create_role");
@@ -12458,7 +12934,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list354.size);
                   for (int _i355 = 0; _i355 < _list354.size; ++_i355)
                   {
-                    String _elem356; // required
+                    String _elem356; // optional
                     _elem356 = iprot.readString();
                     struct.success.add(_elem356);
                   }
@@ -12557,7 +13033,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list359.size);
             for (int _i360 = 0; _i360 < _list359.size; ++_i360)
             {
-              String _elem361; // required
+              String _elem361; // optional
               _elem361 = iprot.readString();
               struct.success.add(_elem361);
             }
@@ -13220,7 +13696,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list362.size);
                   for (int _i363 = 0; _i363 < _list362.size; ++_i363)
                   {
-                    String _elem364; // required
+                    String _elem364; // optional
                     _elem364 = iprot.readString();
                     struct.success.add(_elem364);
                   }
@@ -13319,7 +13795,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list367.size);
             for (int _i368 = 0; _i368 < _list367.size; ++_i368)
             {
-              String _elem369; // required
+              String _elem369; // optional
               _elem369 = iprot.readString();
               struct.success.add(_elem369);
             }
@@ -19080,7 +19556,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<FieldSchema>(_list380.size);
                   for (int _i381 = 0; _i381 < _list380.size; ++_i381)
                   {
-                    FieldSchema _elem382; // required
+                    FieldSchema _elem382; // optional
                     _elem382 = new FieldSchema();
                     _elem382.read(iprot);
                     struct.success.add(_elem382);
@@ -19220,7 +19696,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<FieldSchema>(_list385.size);
             for (int _i386 = 0; _i386 < _list385.size; ++_i386)
             {
-              FieldSchema _elem387; // required
+              FieldSchema _elem387; // optional
               _elem387 = new FieldSchema();
               _elem387.read(iprot);
               struct.success.add(_elem387);
@@ -20272,7 +20748,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<FieldSchema>(_list388.size);
                   for (int _i389 = 0; _i389 < _list388.size; ++_i389)
                   {
-                    FieldSchema _elem390; // required
+                    FieldSchema _elem390; // optional
                     _elem390 = new FieldSchema();
                     _elem390.read(iprot);
                     struct.success.add(_elem390);
@@ -20412,7 +20888,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<FieldSchema>(_list393.size);
             for (int _i394 = 0; _i394 < _list393.size; ++_i394)
             {
-              FieldSchema _elem395; // required
+              FieldSchema _elem395; // optional
               _elem395 = new FieldSchema();
               _elem395.read(iprot);
               struct.success.add(_elem395);
@@ -25662,7 +26138,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list396.size);
                   for (int _i397 = 0; _i397 < _list396.size; ++_i397)
                   {
-                    String _elem398; // required
+                    String _elem398; // optional
                     _elem398 = iprot.readString();
                     struct.success.add(_elem398);
                   }
@@ -25761,7 +26237,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list401.size);
             for (int _i402 = 0; _i402 < _list401.size; ++_i402)
             {
-              String _elem403; // required
+              String _elem403; // optional
               _elem403 = iprot.readString();
               struct.success.add(_elem403);
             }
@@ -26536,7 +27012,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list404.size);
                   for (int _i405 = 0; _i405 < _list404.size; ++_i405)
                   {
-                    String _elem406; // required
+                    String _elem406; // optional
                     _elem406 = iprot.readString();
                     struct.success.add(_elem406);
                   }
@@ -26635,7 +27111,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list409.size);
             for (int _i410 = 0; _i410 < _list409.size; ++_i410)
             {
-              String _elem411; // required
+              String _elem411; // optional
               _elem411 = iprot.readString();
               struct.success.add(_elem411);
             }
@@ -28097,7 +28573,7 @@ public class ThriftHiveMetastore {
                   struct.tbl_names = new ArrayList<String>(_list412.size);
                   for (int _i413 = 0; _i413 < _list412.size; ++_i413)
                   {
-                    String _elem414; // required
+                    String _elem414; // optional
                     _elem414 = iprot.readString();
                     struct.tbl_names.add(_elem414);
                   }
@@ -28191,7 +28667,7 @@ public class ThriftHiveMetastore {
             struct.tbl_names = new ArrayList<String>(_list417.size);
             for (int _i418 = 0; _i418 < _list417.size; ++_i418)
             {
-              String _elem419; // required
+              String _elem419; // optional
               _elem419 = iprot.readString();
               struct.tbl_names.add(_elem419);
             }
@@ -28765,7 +29241,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Table>(_list420.size);
                   for (int _i421 = 0; _i421 < _list420.size; ++_i421)
                   {
-                    Table _elem422; // required
+                    Table _elem422; // optional
                     _elem422 = new Table();
                     _elem422.read(iprot);
                     struct.success.add(_elem422);
@@ -28905,7 +29381,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Table>(_list425.size);
             for (int _i426 = 0; _i426 < _list425.size; ++_i426)
             {
-              Table _elem427; // required
+              Table _elem427; // optional
               _elem427 = new Table();
               _elem427.read(iprot);
               struct.success.add(_elem427);
@@ -30061,7 +30537,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list428.size);
                   for (int _i429 = 0; _i429 < _list428.size; ++_i429)
                   {
-                    String _elem430; // required
+                    String _elem430; // optional
                     _elem430 = iprot.readString();
                     struct.success.add(_elem430);
                   }
@@ -30200,7 +30676,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list433.size);
             for (int _i434 = 0; _i434 < _list433.size; ++_i434)
             {
-              String _elem435; // required
+              String _elem435; // optional
               _elem435 = iprot.readString();
               struct.success.add(_elem435);
             }
@@ -34926,7 +35402,7 @@ public class ThriftHiveMetastore {
                   struct.new_parts = new ArrayList<Partition>(_list436.size);
                   for (int _i437 = 0; _i437 < _list436.size; ++_i437)
                   {
-                    Partition _elem438; // required
+                    Partition _elem438; // optional
                     _elem438 = new Partition();
                     _elem438.read(iprot);
                     struct.new_parts.add(_elem438);
@@ -35006,7 +35482,7 @@ public class ThriftHiveMetastore {
             struct.new_parts = new ArrayList<Partition>(_list441.size);
             for (int _i442 = 0; _i442 < _list441.size; ++_i442)
             {
-              Partition _elem443; // required
+              Partition _elem443; // optional
               _elem443 = new Partition();
               _elem443.read(iprot);
               struct.new_parts.add(_elem443);
@@ -36192,7 +36668,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list444.size);
                   for (int _i445 = 0; _i445 < _list444.size; ++_i445)
                   {
-                    String _elem446; // required
+                    String _elem446; // optional
                     _elem446 = iprot.readString();
                     struct.part_vals.add(_elem446);
                   }
@@ -36301,7 +36777,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list449.size);
             for (int _i450 = 0; _i450 < _list449.size; ++_i450)
             {
-              String _elem451; // required
+              String _elem451; // optional
               _elem451 = iprot.readString();
               struct.part_vals.add(_elem451);
             }
@@ -38619,7 +39095,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list452.size);
                   for (int _i453 = 0; _i453 < _list452.size; ++_i453)
                   {
-                    String _elem454; // required
+                    String _elem454; // optional
                     _elem454 = iprot.readString();
                     struct.part_vals.add(_elem454);
                   }
@@ -38748,7 +39224,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list457.size);
             for (int _i458 = 0; _i458 < _list457.size; ++_i458)
             {
-              String _elem459; // required
+              String _elem459; // optional
               _elem459 = iprot.readString();
               struct.part_vals.add(_elem459);
             }
@@ -42627,7 +43103,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list460.size);
                   for (int _i461 = 0; _i461 < _list460.size; ++_i461)
                   {
-                    String _elem462; // required
+                    String _elem462; // optional
                     _elem462 = iprot.readString();
                     struct.part_vals.add(_elem462);
                   }
@@ -42753,7 +43229,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list465.size);
             for (int _i466 = 0; _i466 < _list465.size; ++_i466)
             {
-              String _elem467; // required
+              String _elem467; // optional
               _elem467 = iprot.readString();
               struct.part_vals.add(_elem467);
             }
@@ -44001,7 +44477,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list468.size);
                   for (int _i469 = 0; _i469 < _list468.size; ++_i469)
                   {
-                    String _elem470; // required
+                    String _elem470; // optional
                     _elem470 = iprot.readString();
                     struct.part_vals.add(_elem470);
                   }
@@ -44147,7 +44623,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list473.size);
             for (int _i474 = 0; _i474 < _list473.size; ++_i474)
             {
-              String _elem475; // required
+              String _elem475; // optional
               _elem475 = iprot.readString();
               struct.part_vals.add(_elem475);
             }
@@ -48758,7 +49234,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list476.size);
                   for (int _i477 = 0; _i477 < _list476.size; ++_i477)
                   {
-                    String _elem478; // required
+                    String _elem478; // optional
                     _elem478 = iprot.readString();
                     struct.part_vals.add(_elem478);
                   }
@@ -48867,7 +49343,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list481.size);
             for (int _i482 = 0; _i482 < _list481.size; ++_i482)
             {
-              String _elem483; // required
+              String _elem483; // optional
               _elem483 = iprot.readString();
               struct.part_vals.add(_elem483);
             }
@@ -51757,7 +52233,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list494.size);
                   for (int _i495 = 0; _i495 < _list494.size; ++_i495)
                   {
-                    String _elem496; // required
+                    String _elem496; // optional
                     _elem496 = iprot.readString();
                     struct.part_vals.add(_elem496);
                   }
@@ -51783,7 +52259,7 @@ public class ThriftHiveMetastore {
                   struct.group_names = new ArrayList<String>(_list497.size);
                   for (int _i498 = 0; _i498 < _list497.size; ++_i498)
                   {
-                    String _elem499; // required
+                    String _elem499; // optional
                     _elem499 = iprot.readString();
                     struct.group_names.add(_elem499);
                   }
@@ -51927,7 +52403,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list504.size);
             for (int _i505 = 0; _i505 < _list504.size; ++_i505)
             {
-              String _elem506; // required
+              String _elem506; // optional
               _elem506 = iprot.readString();
               struct.part_vals.add(_elem506);
             }
@@ -51944,7 +52420,7 @@ public class ThriftHiveMetastore {
             struct.group_names = new ArrayList<String>(_list507.size);
             for (int _i508 = 0; _i508 < _list507.size; ++_i508)
             {
-              String _elem509; // required
+              String _elem509; // optional
               _elem509 = iprot.readString();
               struct.group_names.add(_elem509);
             }
@@ -54719,7 +55195,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list510.size);
                   for (int _i511 = 0; _i511 < _list510.size; ++_i511)
                   {
-                    Partition _elem512; // required
+                    Partition _elem512; // optional
                     _elem512 = new Partition();
                     _elem512.read(iprot);
                     struct.success.add(_elem512);
@@ -54839,7 +55315,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list515.size);
             for (int _i516 = 0; _i516 < _list515.size; ++_i516)
             {
-              Partition _elem517; // required
+              Partition _elem517; // optional
               _elem517 = new Partition();
               _elem517.read(iprot);
               struct.success.add(_elem517);
@@ -55539,7 +56015,7 @@ public class ThriftHiveMetastore {
                   struct.group_names = new ArrayList<String>(_list518.size);
                   for (int _i519 = 0; _i519 < _list518.size; ++_i519)
                   {
-                    String _elem520; // required
+                    String _elem520; // optional
                     _elem520 = iprot.readString();
                     struct.group_names.add(_elem520);
                   }
@@ -55676,7 +56152,7 @@ public class ThriftHiveMetastore {
             struct.group_names = new ArrayList<String>(_list523.size);
             for (int _i524 = 0; _i524 < _list523.size; ++_i524)
             {
-              String _elem525; // required
+              String _elem525; // optional
               _elem525 = iprot.readString();
               struct.group_names.add(_elem525);
             }
@@ -56169,7 +56645,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list526.size);
                   for (int _i527 = 0; _i527 < _list526.size; ++_i527)
                   {
-                    Partition _elem528; // required
+                    Partition _elem528; // optional
                     _elem528 = new Partition();
                     _elem528.read(iprot);
                     struct.success.add(_elem528);
@@ -56289,7 +56765,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list531.size);
             for (int _i532 = 0; _i532 < _list531.size; ++_i532)
             {
-              Partition _elem533; // required
+              Partition _elem533; // optional
               _elem533 = new Partition();
               _elem533.read(iprot);
               struct.success.add(_elem533);
@@ -57278,7 +57754,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list534.size);
                   for (int _i535 = 0; _i535 < _list534.size; ++_i535)
                   {
-                    String _elem536; // required
+                    String _elem536; // optional
                     _elem536 = iprot.readString();
                     struct.success.add(_elem536);
                   }
@@ -57377,7 +57853,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list539.size);
             for (int _i540 = 0; _i540 < _list539.size; ++_i540)
             {
-              String _elem541; // required
+              String _elem541; // optional
               _elem541 = iprot.readString();
               struct.success.add(_elem541);
             }
@@ -57974,7 +58450,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list542.size);
                   for (int _i543 = 0; _i543 < _list542.size; ++_i543)
                   {
-                    String _elem544; // required
+                    String _elem544; // optional
                     _elem544 = iprot.readString();
                     struct.part_vals.add(_elem544);
                   }
@@ -58100,7 +58576,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list547.size);
             for (int _i548 = 0; _i548 < _list547.size; ++_i548)
             {
-              String _elem549; // required
+              String _elem549; // optional
               _elem549 = iprot.readString();
               struct.part_vals.add(_elem549);
             }
@@ -58597,7 +59073,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list550.size);
                   for (int _i551 = 0; _i551 < _list550.size; ++_i551)
                   {
-                    Partition _elem552; // required
+                    Partition _elem552; // optional
                     _elem552 = new Partition();
                     _elem552.read(iprot);
                     struct.success.add(_elem552);
@@ -58717,7 +59193,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list555.size);
             for (int _i556 = 0; _i556 < _list555.size; ++_i556)
             {
-              Partition _elem557; // required
+              Partition _elem557; // optional
               _elem557 = new Partition();
               _elem557.read(iprot);
               struct.success.add(_elem557);
@@ -59502,7 +59978,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list558.size);
                   for (int _i559 = 0; _i559 < _list558.size; ++_i559)
                   {
-                    String _elem560; // required
+                    String _elem560; // optional
                     _elem560 = iprot.readString();
                     struct.part_vals.add(_elem560);
                   }
@@ -59536,7 +60012,7 @@ public class ThriftHiveMetastore {
                   struct.group_names = new ArrayList<String>(_list561.size);
                   for (int _i562 = 0; _i562 < _list561.size; ++_i562)
                   {
-                    String _elem563; // required
+                    String _elem563; // optional
                     _elem563 = iprot.readString();
                     struct.group_names.add(_elem563);
                   }
@@ -59689,7 +60165,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list568.size);
             for (int _i569 = 0; _i569 < _list568.size; ++_i569)
             {
-              String _elem570; // required
+              String _elem570; // optional
               _elem570 = iprot.readString();
               struct.part_vals.add(_elem570);
             }
@@ -59710,7 +60186,7 @@ public class ThriftHiveMetastore {
             struct.group_names = new ArrayList<String>(_list571.size);
             for (int _i572 = 0; _i572 < _list571.size; ++_i572)
             {
-              String _elem573; // required
+              String _elem573; // optional
               _elem573 = iprot.readString();
               struct.group_names.add(_elem573);
             }
@@ -60203,7 +60679,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list574.size);
                   for (int _i575 = 0; _i575 < _list574.size; ++_i575)
                   {
-                    Partition _elem576; // required
+                    Partition _elem576; // optional
                     _elem576 = new Partition();
                     _elem576.read(iprot);
                     struct.success.add(_elem576);
@@ -60323,7 +60799,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list579.size);
             for (int _i580 = 0; _i580 < _list579.size; ++_i580)
             {
-              Partition _elem581; // required
+              Partition _elem581; // optional
               _elem581 = new Partition();
               _elem581.read(iprot);
               struct.success.add(_elem581);
@@ -60926,7 +61402,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list582.size);
                   for (int _i583 = 0; _i583 < _list582.size; ++_i583)
                   {
-                    String _elem584; // required
+                    String _elem584; // optional
                     _elem584 = iprot.readString();
                     struct.part_vals.add(_elem584);
                   }
@@ -61052,7 +61528,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list587.size);
             for (int _i588 = 0; _i588 < _list587.size; ++_i588)
             {
-              String _elem589; // required
+              String _elem589; // optional
               _elem589 = iprot.readString();
               struct.part_vals.add(_elem589);
             }
@@ -61549,7 +62025,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list590.size);
                   for (int _i591 = 0; _i591 < _list590.size; ++_i591)
                   {
-                    String _elem592; // required
+                    String _elem592; // optional
                     _elem592 = iprot.readString();
                     struct.success.add(_elem592);
                   }
@@ -61668,7 +62144,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list595.size);
             for (int _i596 = 0; _i596 < _list595.size; ++_i596)
             {
-              String _elem597; // required
+              String _elem597; // optional
               _elem597 = iprot.readString();
               struct.success.add(_elem597);
             }
@@ -62841,7 +63317,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list598.size);
                   for (int _i599 = 0; _i599 < _list598.size; ++_i599)
                   {
-                    Partition _elem600; // required
+                    Partition _elem600; // optional
                     _elem600 = new Partition();
                     _elem600.read(iprot);
                     struct.success.add(_elem600);
@@ -62961,7 +63437,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list603.size);
             for (int _i604 = 0; _i604 < _list603.size; ++_i604)
             {
-              Partition _elem605; // required
+              Partition _elem605; // optional
               _elem605 = new Partition();
               _elem605.read(iprot);
               struct.success.add(_elem605);
@@ -64419,7 +64895,7 @@ public class ThriftHiveMetastore {
                   struct.names = new ArrayList<String>(_list606.size);
                   for (int _i607 = 0; _i607 < _list606.size; ++_i607)
                   {
-                    String _elem608; // required
+                    String _elem608; // optional
                     _elem608 = iprot.readString();
                     struct.names.add(_elem608);
                   }
@@ -64528,7 +65004,7 @@ public class ThriftHiveMetastore {
             struct.names = new ArrayList<String>(_list611.size);
             for (int _i612 = 0; _i612 < _list611.size; ++_i612)
             {
-              String _elem613; // required
+              String _elem613; // optional
               _elem613 = iprot.readString();
               struct.names.add(_elem613);
             }
@@ -65021,7 +65497,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Partition>(_list614.size);
                   for (int _i615 = 0; _i615 < _list614.size; ++_i615)
                   {
-                    Partition _elem616; // required
+                    Partition _elem616; // optional
                     _elem616 = new Partition();
                     _elem616.read(iprot);
                     struct.success.add(_elem616);
@@ -65141,7 +65617,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Partition>(_list619.size);
             for (int _i620 = 0; _i620 < _list619.size; ++_i620)
             {
-              Partition _elem621; // required
+              Partition _elem621; // optional
               _elem621 = new Partition();
               _elem621.read(iprot);
               struct.success.add(_elem621);
@@ -66698,7 +67174,7 @@ public class ThriftHiveMetastore {
                   struct.new_parts = new ArrayList<Partition>(_list622.size);
                   for (int _i623 = 0; _i623 < _list622.size; ++_i623)
                   {
-                    Partition _elem624; // required
+                    Partition _elem624; // optional
                     _elem624 = new Partition();
                     _elem624.read(iprot);
                     struct.new_parts.add(_elem624);
@@ -66808,7 +67284,7 @@ public class ThriftHiveMetastore {
             struct.new_parts = new ArrayList<Partition>(_list627.size);
             for (int _i628 = 0; _i628 < _list627.size; ++_i628)
             {
-              Partition _elem629; // required
+              Partition _elem629; // optional
               _elem629 = new Partition();
               _elem629.read(iprot);
               struct.new_parts.add(_elem629);
@@ -69014,7 +69490,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list630.size);
                   for (int _i631 = 0; _i631 < _list630.size; ++_i631)
                   {
-                    String _elem632; // required
+                    String _elem632; // optional
                     _elem632 = iprot.readString();
                     struct.part_vals.add(_elem632);
                   }
@@ -69143,7 +69619,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list635.size);
             for (int _i636 = 0; _i636 < _list635.size; ++_i636)
             {
-              String _elem637; // required
+              String _elem637; // optional
               _elem637 = iprot.readString();
               struct.part_vals.add(_elem637);
             }
@@ -70026,7 +70502,7 @@ public class ThriftHiveMetastore {
                   struct.part_vals = new ArrayList<String>(_list638.size);
                   for (int _i639 = 0; _i639 < _list638.size; ++_i639)
                   {
-                    String _elem640; // required
+                    String _elem640; // optional
                     _elem640 = iprot.readString();
                     struct.part_vals.add(_elem640);
                   }
@@ -70122,7 +70598,7 @@ public class ThriftHiveMetastore {
             struct.part_vals = new ArrayList<String>(_list643.size);
             for (int _i644 = 0; _i644 < _list643.size; ++_i644)
             {
-              String _elem645; // required
+              String _elem645; // optional
               _elem645 = iprot.readString();
               struct.part_vals.add(_elem645);
             }
@@ -72286,7 +72762,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list646.size);
                   for (int _i647 = 0; _i647 < _list646.size; ++_i647)
                   {
-                    String _elem648; // required
+                    String _elem648; // optional
                     _elem648 = iprot.readString();
                     struct.success.add(_elem648);
                   }
@@ -72385,7 +72861,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list651.size);
             for (int _i652 = 0; _i652 < _list651.size; ++_i652)
             {
-              String _elem653; // required
+              String _elem653; // optional
               _elem653 = iprot.readString();
               struct.success.add(_elem653);
             }
@@ -82381,7 +82857,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<Index>(_list684.size);
                   for (int _i685 = 0; _i685 < _list684.size; ++_i685)
                   {
-                    Index _elem686; // required
+                    Index _elem686; // optional
                     _elem686 = new Index();
                     _elem686.read(iprot);
                     struct.success.add(_elem686);
@@ -82501,7 +82977,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<Index>(_list689.size);
             for (int _i690 = 0; _i690 < _list689.size; ++_i690)
             {
-              Index _elem691; // required
+              Index _elem691; // optional
               _elem691 = new Index();
               _elem691.read(iprot);
               struct.success.add(_elem691);
@@ -83490,7 +83966,7 @@ public class ThriftHiveMetastore {
                   struct.success = new ArrayList<String>(_list692.size);
                   for (int _i693 = 0; _i693 < _list692.size; ++_i693)
                   {
-                    String _elem694; // required
+                    String _elem694; // optional
                     _elem694 = iprot.readString();
                     struct.success.add(_elem694);
                   }
@@ -83589,7 +84065,7 @@ public class ThriftHiveMetastore {
             struct.success = new ArrayList<String>(_list697.size);
             for (int _i698 = 0; _i698 < _list697.size; ++_i698)
             {
-              String _elem699; // required
+              String _elem699; // optional
               _elem699 = iprot.readString();
               struct.success.add(_elem699);
             }
@@ -93382,22 +93858,22 @@ public class ThriftHiveMetastore {
 
   }
 
-  public static class create_role_args implements org.apache.thrift.TBase<create_role_args, create_role_args._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_role_args");
+  public static class create_function_args implements org.apache.thrift.TBase<create_function_args, create_function_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_function_args");
 
-    private static final org.apache.thrift.protocol.TField ROLE_FIELD_DESC = new org.apache.thrift.protocol.TField("role", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+    private static final org.apache.thrift.protocol.TField FUNC_FIELD_DESC = new org.apache.thrift.protocol.TField("func", org.apache.thrift.protocol.TType.STRUCT, (short)1);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new create_role_argsStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new create_role_argsTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new create_function_argsStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new create_function_argsTupleSchemeFactory());
     }
 
-    private Role role; // required
+    private Function func; // 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 {
-      ROLE((short)1, "role");
+      FUNC((short)1, "func");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -93412,8 +93888,8 @@ public class ThriftHiveMetastore {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 1: // ROLE
-            return ROLE;
+          case 1: // FUNC
+            return FUNC;
           default:
             return null;
         }
@@ -93457,70 +93933,70 @@ 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.ROLE, new org.apache.thrift.meta_data.FieldMetaData("role", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Role.class)));
+      tmpMap.put(_Fields.FUNC, new org.apache.thrift.meta_data.FieldMetaData("func", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_role_args.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_function_args.class, metaDataMap);
     }
 
-    public create_role_args() {
+    public create_function_args() {
     }
 
-    public create_role_args(
-      Role role)
+    public create_function_args(
+      Function func)
     {
       this();
-      this.role = role;
+      this.func = func;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public create_role_args(create_role_args other) {
-      if (other.isSetRole()) {
-        this.role = new Role(other.role);
+    public create_function_args(create_function_args other) {
+      if (other.isSetFunc()) {
+        this.func = new Function(other.func);
       }
     }
 
-    public create_role_args deepCopy() {
-      return new create_role_args(this);
+    public create_function_args deepCopy() {
+      return new create_function_args(this);
     }
 
     @Override
     public void clear() {
-      this.role = null;
+      this.func = null;
     }
 
-    public Role getRole() {
-      return this.role;
+    public Function getFunc() {
+      return this.func;
     }
 
-    public void setRole(Role role) {
-      this.role = role;
+    public void setFunc(Function func) {
+      this.func = func;
     }
 
-    public void unsetRole() {
-      this.role = null;
+    public void unsetFunc() {
+      this.func = null;
     }
 
-    /** Returns true if field role is set (has been assigned a value) and false otherwise */
-    public boolean isSetRole() {
-      return this.role != null;
+    /** Returns true if field func is set (has been assigned a value) and false otherwise */
+    public boolean isSetFunc() {
+      return this.func != null;
     }
 
-    public void setRoleIsSet(boolean value) {
+    public void setFuncIsSet(boolean value) {
       if (!value) {
-        this.role = null;
+        this.func = null;
       }
     }
 
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
-      case ROLE:
+      case FUNC:
         if (value == null) {
-          unsetRole();
+          unsetFunc();
         } else {
-          setRole((Role)value);
+          setFunc((Function)value);
         }
         break;
 
@@ -93529,8 +94005,8 @@ public class ThriftHiveMetastore {
 
     public Object getFieldValue(_Fields field) {
       switch (field) {
-      case ROLE:
-        return getRole();
+      case FUNC:
+        return getFunc();
 
       }
       throw new IllegalStateException();
@@ -93543,8 +94019,8 @@ public class ThriftHiveMetastore {
       }
 
       switch (field) {
-      case ROLE:
-        return isSetRole();
+      case FUNC:
+        return isSetFunc();
       }
       throw new IllegalStateException();
     }
@@ -93553,21 +94029,21 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof create_role_args)
-        return this.equals((create_role_args)that);
+      if (that instanceof create_function_args)
+        return this.equals((create_function_args)that);
       return false;
     }
 
-    public boolean equals(create_role_args that) {
+    public boolean equals(create_function_args that) {
       if (that == null)
         return false;
 
-      boolean this_present_role = true && this.isSetRole();
-      boolean that_present_role = true && that.isSetRole();
-      if (this_present_role || that_present_role) {
-        if (!(this_present_role && that_present_role))
+      boolean this_present_func = true && this.isSetFunc();
+      boolean that_present_func = true && that.isSetFunc();
+      if (this_present_func || that_present_func) {
+        if (!(this_present_func && that_present_func))
           return false;
-        if (!this.role.equals(that.role))
+        if (!this.func.equals(that.func))
           return false;
       }
 
@@ -93578,28 +94054,28 @@ public class ThriftHiveMetastore {
     public int hashCode() {
       HashCodeBuilder builder = new HashCodeBuilder();
 
-      boolean present_role = true && (isSetRole());
-      builder.append(present_role);
-      if (present_role)
-        builder.append(role);
+      boolean present_func = true && (isSetFunc());
+      builder.append(present_func);
+      if (present_func)
+        builder.append(func);
 
       return builder.toHashCode();
     }
 
-    public int compareTo(create_role_args other) {
+    public int compareTo(create_function_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      create_role_args typedOther = (create_role_args)other;
+      create_function_args typedOther = (create_function_args)other;
 
-      lastComparison = Boolean.valueOf(isSetRole()).compareTo(typedOther.isSetRole());
+      lastComparison = Boolean.valueOf(isSetFunc()).compareTo(typedOther.isSetFunc());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetRole()) {
-        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role, typedOther.role);
+      if (isSetFunc()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.func, typedOther.func);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -93621,14 +94097,14 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("create_role_args(");
+      StringBuilder sb = new StringBuilder("create_function_args(");
       boolean first = true;
 
-      sb.append("role:");
-      if (this.role == null) {
+      sb.append("func:");
+      if (this.func == null) {
         sb.append("null");
       } else {
-        sb.append(this.role);
+        sb.append(this.func);
       }
       first = false;
       sb.append(")");
@@ -93638,8 +94114,8 @@ public class ThriftHiveMetastore {
     public void validate() throws org.apache.thrift.TException {
       // check for required fields
       // check for sub-struct validity
-      if (role != null) {
-        role.validate();
+      if (func != null) {
+        func.validate();
       }
     }
 
@@ -93659,15 +94135,15 @@ public class ThriftHiveMetastore {
       }
     }
 
-    private static class create_role_argsStandardSchemeFactory implements SchemeFactory {
-      public create_role_argsStandardScheme getScheme() {
-        return new create_role_argsStandardScheme();
+    private static class create_function_argsStandardSchemeFactory implements SchemeFactory {
+      public create_function_argsStandardScheme getScheme() {
+        return new create_function_argsStandardScheme();
       }
     }
 
-    private static class create_role_argsStandardScheme extends StandardScheme<create_role_args> {
+    private static class create_function_argsStandardScheme extends StandardScheme<create_function_args> {
 
-      public void read(org.apache.thrift.protocol.TProtocol iprot, create_role_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_args struct) throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
         iprot.readStructBegin();
         while (true)
@@ -93677,11 +94153,11 @@ public class ThriftHiveMetastore {
             break;
           }
           switch (schemeField.id) {
-            case 1: // ROLE
+            case 1: // FUNC
               if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-                struct.role = new Role();
-                struct.role.read(iprot);
-                struct.setRoleIsSet(true);
+                struct.func = new Function();
+                struct.func.read(iprot);
+                struct.setFuncIsSet(true);
               } else { 
                 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
               }
@@ -93695,13 +94171,13 @@ public class ThriftHiveMetastore {
         struct.validate();
       }
 
-      public void write(org.apache.thrift.protocol.TProtocol oprot, create_role_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_args struct) throws org.apache.thrift.TException {
         struct.validate();
 
         oprot.writeStructBegin(STRUCT_DESC);
-        if (struct.role != null) {
-          oprot.writeFieldBegin(ROLE_FIELD_DESC);
-          struct.role.write(oprot);
+        if (struct.func != null) {
+          oprot.writeFieldBegin(FUNC_FIELD_DESC);
+          struct.func.write(oprot);
           oprot.writeFieldEnd();
         }
         oprot.writeFieldStop();
@@ -93710,60 +94186,66 @@ public class ThriftHiveMetastore {
 
     }
 
-    private static class create_role_argsTupleSchemeFactory implements SchemeFactory {
-      public create_role_argsTupleScheme getScheme() {
-        return new create_role_argsTupleScheme();
+    private static class create_function_argsTupleSchemeFactory implements SchemeFactory {
+      public create_function_argsTupleScheme getScheme() {
+        return new create_function_argsTupleScheme();
       }
     }
 
-    private static class create_role_argsTupleScheme extends TupleScheme<create_role_args> {
+    private static class create_function_argsTupleScheme extends TupleScheme<create_function_args> {
 
       @Override
-      public void write(org.apache.thrift.protocol.TProtocol prot, create_role_args struct) throws org.apache.thrift.TException {
+      public void write(org.apache.thrift.protocol.TProtocol prot, create_function_args struct) throws org.apache.thrift.TException {
         TTupleProtocol oprot = (TTupleProtocol) prot;
         BitSet optionals = new BitSet();
-        if (struct.isSetRole()) {
+        if (struct.isSetFunc()) {
           optionals.set(0);
         }
         oprot.writeBitSet(optionals, 1);
-        if (struct.isSetRole()) {
-          struct.role.write(oprot);
+        if (struct.isSetFunc()) {
+          struct.func.write(oprot);
         }
       }
 
       @Override
-      public void read(org.apache.thrift.protocol.TProtocol prot, create_role_args struct) throws org.apache.thrift.TException {
+      public void read(org.apache.thrift.protocol.TProtocol prot, create_function_args struct) throws org.apache.thrift.TException {
         TTupleProtocol iprot = (TTupleProtocol) prot;
         BitSet incoming = iprot.readBitSet(1);
         if (incoming.get(0)) {
-          struct.role = new Role();
-          struct.role.read(iprot);
-          struct.setRoleIsSet(true);
+          struct.func = new Function();
+          struct.func.read(iprot);
+          struct.setFuncIsSet(true);
         }
       }
     }
 
   }
 
-  public static class create_role_result implements org.apache.thrift.TBase<create_role_result, create_role_result._Fields>, java.io.Serializable, Cloneable   {
-    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_role_result");
+  public static class create_function_result implements org.apache.thrift.TBase<create_function_result, create_function_result._Fields>, java.io.Serializable, Cloneable   {
+    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_function_result");
 
-    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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 org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4);
 
     private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
     static {
-      schemes.put(StandardScheme.class, new create_role_resultStandardSchemeFactory());
-      schemes.put(TupleScheme.class, new create_role_resultTupleSchemeFactory());
+      schemes.put(StandardScheme.class, new create_function_resultStandardSchemeFactory());
+      schemes.put(TupleScheme.class, new create_function_resultTupleSchemeFactory());
     }
 
-    private boolean success; // required
-    private MetaException o1; // required
+    private AlreadyExistsException o1; // required
+    private InvalidObjectException o2; // required
+    private MetaException o3; // required
+    private NoSuchObjectException o4; // 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");
+      O1((short)1, "o1"),
+      O2((short)2, "o2"),
+      O3((short)3, "o3"),
+      O4((short)4, "o4");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -93778,10 +94260,14 @@ public class ThriftHiveMetastore {
        */
       public static _Fields findByThriftId(int fieldId) {
         switch(fieldId) {
-          case 0: // SUCCESS
-            return SUCCESS;
           case 1: // O1
             return O1;
+          case 2: // O2
+            return O2;
+          case 3: // O3
+            return O3;
+          case 4: // O4
+            return O4;
           default:
             return null;
         }
@@ -93822,81 +94308,72 @@ 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.BOOL)));
       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)));
+      tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(create_role_result.class, metaDataMap);
+      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_function_result.class, metaDataMap);
     }
 
-    public create_role_result() {
+    public create_function_result() {
     }
 
-    public create_role_result(
-      boolean success,
-      MetaException o1)
+    public create_function_result(
+      AlreadyExistsException o1,
+      InvalidObjectException o2,
+      MetaException o3,
+      NoSuchObjectException o4)
     {
       this();
-      this.success = success;
-      setSuccessIsSet(true);
       this.o1 = o1;
+      this.o2 = o2;
+      this.o3 = o3;
+      this.o4 = o4;
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public create_role_result(create_role_result other) {
-      __isset_bitfield = other.__isset_bitfield;
-      this.success = other.success;
+    public create_function_result(create_function_result other) {
       if (other.isSetO1()) {
-        this.o1 = new MetaException(other.o1);
+        this.o1 = new AlreadyExistsException(other.o1);
+      }
+      if (other.isSetO2()) {
+        this.o2 = new InvalidObjectException(other.o2);
+      }
+      if (other.isSetO3()) {
+        this.o3 = new MetaException(other.o3);
+      }
+      if (other.isSetO4()) {
+        this.o4 = new NoSuchObjectException(other.o4);
       }
     }
 
-    public create_role_result deepCopy() {
-      return new create_role_result(this);
+    public create_function_result deepCopy() {
+      return new create_function_result(this);
     }
 
     @Override
     public void clear() {
-      setSuccessIsSet(false);
-      this.success = false;
       this.o1 = null;
+      this.o2 = null;
+      this.o3 = null;
+      this.o4 = null;
     }
 
-    public boolean isSuccess() {
-      return this.success;
-    }
-
-    public void setSuccess(boolean success) {
-      this.success = success;
-      setSuccessIsSet(true);
-    }
-
-    public void unsetSuccess() {
-      __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
-    }
-
-    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-    public boolean isSetSuccess() {
-      return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
-    }
-
-    public void setSuccessIsSet(boolean value) {
-      __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
-    }
-
-    public MetaException getO1() {
+    public AlreadyExistsException getO1() {
       return this.o1;
     }
 
-    public void setO1(MetaException o1) {
+    public void setO1(AlreadyExistsException o1) {
       this.o1 = o1;
     }
 
@@ -93915,25 +94392,5045 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public void setFieldValue(_Fields field, Object value) {
-      switch (field) {
-      case SUCCESS:
-        if (value == null) {
-          unsetSuccess();
-        } else {
-          setSuccess((Boolean)value);
-        }
-        break;
-
-      case O1:
-        if (value == null) {
-          unsetO1();
-        } else {
-          setO1((MetaException)value);
-        }
-        break;
+    public InvalidObjectException getO2() {
+      return this.o2;
+    }
 
-      }
+    public void setO2(InvalidObjectException 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 MetaException getO3() {
+      return this.o3;
+    }
+
+    public void setO3(MetaException 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 NoSuchObjectException getO4() {
+      return this.o4;
+    }
+
+    public void setO4(NoSuchObjectException o4) {
+      this.o4 = o4;
+    }
+
+    public void unsetO4() {
+      this.o4 = null;
+    }
+
+    /** Returns true if field o4 is set (has been assigned a value) and false otherwise */
+    public boolean isSetO4() {
+      return this.o4 != null;
+    }
+
+    public void setO4IsSet(boolean value) {
+      if (!value) {
+        this.o4 = null;
+      }
+    }
+
+    public void setFieldValue(_Fields field, Object value) {
+      switch (field) {
+      case O1:
+        if (value == null) {
+          unsetO1();
+        } else {
+          setO1((AlreadyExistsException)value);
+        }
+        break;
+
+      case O2:
+        if (value == null) {
+          unsetO2();
+        } else {
+          setO2((InvalidObjectException)value);
+        }
+        break;
+
+      case O3:
+        if (value == null) {
+          unsetO3();
+        } else {
+          setO3((MetaException)value);
+        }
+        break;
+
+      case O4:
+        if (value == null) {
+          unsetO4();
+        } else {
+          setO4((NoSuchObjectException)value);
+        }
+        break;
+
+      }
+    }
+
+    public Object getFieldValue(_Fields field) {
+      switch (field) {
+      case O1:
+        return getO1();
+
+      case O2:
+        return getO2();
+
+      case O3:
+        return getO3();
+
+      case O4:
+        return getO4();
+
+      }
+      throw new IllegalStateException();
+    }
+
+    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+    public boolean isSet(_Fields field) {
+      if (field == null) {
+        throw new IllegalArgumentException();
+      }
+
+      switch (field) {
+      case O1:
+        return isSetO1();
+      case O2:
+        return isSetO2();
+      case O3:
+        return isSetO3();
+      case O4:
+        return isSetO4();
+      }
+      throw new IllegalStateException();
+    }
+
+    @Override
+    public boolean equals(Object that) {
+      if (that == null)
+        return false;
+      if (that instanceof create_function_result)
+        return this.equals((create_function_result)that);
+      return false;
+    }
+
+    public boolean equals(create_function_result that) {
+      if (that == null)
+        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;
+      }
+
+      boolean this_present_o4 = true && this.isSetO4();
+      boolean that_present_o4 = true && that.isSetO4();
+      if (this_present_o4 || that_present_o4) {
+        if (!(this_present_o4 && that_present_o4))
+          return false;
+        if (!this.o4.equals(that.o4))
+          return false;
+      }
+
+      return true;
+    }
+
+    @Override
+    public int hashCode() {
+      HashCodeBuilder builder = new HashCodeBuilder();
+
+      boolean present_o1 = true && (isSetO1());
+      builder.append(present_o1);
+      if (present_o1)
+        builder.append(o1);
+
+      boolean present_o2 = true && (isSetO2());
+      builder.append(present_o2);
+      if (present_o2)
+        builder.append(o2);
+
+      boolean present_o3 = true && (isSetO3());
+      builder.append(present_o3);
+      if (present_o3)
+        builder.append(o3);
+
+      boolean present_o4 = true && (isSetO4());
+      builder.append(present_o4);
+      if (present_o4)
+        builder.append(o4);
+
+      return builder.toHashCode();
+    }
+
+    public int compareTo(create_function_result other) {
+      if (!getClass().equals(other.getClass())) {
+        return getClass().getName().compareTo(other.getClass().getName());
+      }
+
+      int lastComparison = 0;
+      create_function_result typedOther = (create_function_result)other;
+
+      lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO1()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO2()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO3()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO4()) {
+        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4);
+        if (lastComparison != 0) {
+          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("create_function_result(");
+      boolean first = true;
+
+      sb.append("o1:");
+      if (this.o1 == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.o1);
+      }
+      first = false;
+      if (!first) sb.append(", ");
+      sb.append("o2:");
+      if (this.o2 == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.o2);
+      }
+      first = false;
+      if (!first) sb.append(", ");
+      sb.append("o3:");
+      if (this.o3 == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.o3);
+      }
+      first = false;
+      if (!first) sb.append(", ");
+      sb.append("o4:");
+      if (this.o4 == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.o4);
+      }
+      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 create_function_resultStandardSchemeFactory implements SchemeFactory {
+      public create_function_resultStandardScheme getScheme() {
+        return new create_function_resultStandardScheme();
+      }
+    }
+
+    private static class create_function_resultStandardScheme extends StandardScheme<create_function_result> {
+

[... 5081 lines stripped ...]