http://git-wip-us.apache.org/repos/asf/hive/blob/ba8a99e1/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
----------------------------------------------------------------------
diff --git 
a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp 
b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
index 0f49d93..5897fae 100644
--- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
+++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
@@ -419,11 +419,11 @@ uint32_t 
ThriftHiveMetastore_setMetaConf_presult::read(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_create_database_args::~ThriftHiveMetastore_create_database_args()
 throw() {
+ThriftHiveMetastore_create_catalog_args::~ThriftHiveMetastore_create_catalog_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_catalog_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -446,8 +446,8 @@ uint32_t 
ThriftHiveMetastore_create_database_args::read(::apache::thrift::protoc
     {
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->database.read(iprot);
-          this->__isset.database = true;
+          xfer += this->catalog.read(iprot);
+          this->__isset.catalog = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -464,13 +464,13 @@ uint32_t 
ThriftHiveMetastore_create_database_args::read(::apache::thrift::protoc
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_catalog_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_catalog_args");
 
-  xfer += oprot->writeFieldBegin("database", 
::apache::thrift::protocol::T_STRUCT, 1);
-  xfer += this->database.write(oprot);
+  xfer += oprot->writeFieldBegin("catalog", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += this->catalog.write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -479,17 +479,17 @@ uint32_t 
ThriftHiveMetastore_create_database_args::write(::apache::thrift::proto
 }
 
 
-ThriftHiveMetastore_create_database_pargs::~ThriftHiveMetastore_create_database_pargs()
 throw() {
+ThriftHiveMetastore_create_catalog_pargs::~ThriftHiveMetastore_create_catalog_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_catalog_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_catalog_pargs");
 
-  xfer += oprot->writeFieldBegin("database", 
::apache::thrift::protocol::T_STRUCT, 1);
-  xfer += (*(this->database)).write(oprot);
+  xfer += oprot->writeFieldBegin("catalog", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += (*(this->catalog)).write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -498,11 +498,11 @@ uint32_t 
ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::prot
 }
 
 
-ThriftHiveMetastore_create_database_result::~ThriftHiveMetastore_create_database_result()
 throw() {
+ThriftHiveMetastore_create_catalog_result::~ThriftHiveMetastore_create_catalog_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_catalog_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -559,11 +559,11 @@ uint32_t 
ThriftHiveMetastore_create_database_result::read(::apache::thrift::prot
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_create_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_catalog_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_create_database_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_catalog_result");
 
   if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
@@ -584,11 +584,11 @@ uint32_t 
ThriftHiveMetastore_create_database_result::write(::apache::thrift::pro
 }
 
 
-ThriftHiveMetastore_create_database_presult::~ThriftHiveMetastore_create_database_presult()
 throw() {
+ThriftHiveMetastore_create_catalog_presult::~ThriftHiveMetastore_create_catalog_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_catalog_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -646,11 +646,11 @@ uint32_t 
ThriftHiveMetastore_create_database_presult::read(::apache::thrift::pro
 }
 
 
-ThriftHiveMetastore_get_database_args::~ThriftHiveMetastore_get_database_args()
 throw() {
+ThriftHiveMetastore_get_catalog_args::~ThriftHiveMetastore_get_catalog_args() 
throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalog_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -672,9 +672,9 @@ uint32_t 
ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol:
     switch (fid)
     {
       case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->name);
-          this->__isset.name = true;
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->catName.read(iprot);
+          this->__isset.catName = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -691,13 +691,13 @@ uint32_t 
ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol:
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_catalog_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalog_args");
 
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString(this->name);
+  xfer += oprot->writeFieldBegin("catName", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += this->catName.write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -706,17 +706,17 @@ uint32_t 
ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol
 }
 
 
-ThriftHiveMetastore_get_database_pargs::~ThriftHiveMetastore_get_database_pargs()
 throw() {
+ThriftHiveMetastore_get_catalog_pargs::~ThriftHiveMetastore_get_catalog_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_catalog_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalog_pargs");
 
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString((*(this->name)));
+  xfer += oprot->writeFieldBegin("catName", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += (*(this->catName)).write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -725,11 +725,11 @@ uint32_t 
ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_get_database_result::~ThriftHiveMetastore_get_database_result()
 throw() {
+ThriftHiveMetastore_get_catalog_result::~ThriftHiveMetastore_get_catalog_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalog_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -786,11 +786,11 @@ uint32_t 
ThriftHiveMetastore_get_database_result::read(::apache::thrift::protoco
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_catalog_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalog_result");
 
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_STRUCT, 0);
@@ -811,11 +811,11 @@ uint32_t 
ThriftHiveMetastore_get_database_result::write(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_get_database_presult::~ThriftHiveMetastore_get_database_presult()
 throw() {
+ThriftHiveMetastore_get_catalog_presult::~ThriftHiveMetastore_get_catalog_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalog_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -873,11 +873,11 @@ uint32_t 
ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_drop_database_args::~ThriftHiveMetastore_drop_database_args()
 throw() {
+ThriftHiveMetastore_get_catalogs_args::~ThriftHiveMetastore_get_catalogs_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalogs_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -896,36 +896,7 @@ uint32_t 
ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol
     if (ftype == ::apache::thrift::protocol::T_STOP) {
       break;
     }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->name);
-          this->__isset.name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool(this->deleteData);
-          this->__isset.deleteData = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool(this->cascade);
-          this->__isset.cascade = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
+    xfer += iprot->skip(ftype);
     xfer += iprot->readFieldEnd();
   }
 
@@ -934,22 +905,10 @@ uint32_t 
ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_catalogs_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args");
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString(this->name);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("deleteData", 
::apache::thrift::protocol::T_BOOL, 2);
-  xfer += oprot->writeBool(this->deleteData);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("cascade", 
::apache::thrift::protocol::T_BOOL, 3);
-  xfer += oprot->writeBool(this->cascade);
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalogs_args");
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -957,26 +916,14 @@ uint32_t 
ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_drop_database_pargs::~ThriftHiveMetastore_drop_database_pargs()
 throw() {
+ThriftHiveMetastore_get_catalogs_pargs::~ThriftHiveMetastore_get_catalogs_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_catalogs_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs");
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString((*(this->name)));
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("deleteData", 
::apache::thrift::protocol::T_BOOL, 2);
-  xfer += oprot->writeBool((*(this->deleteData)));
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("cascade", 
::apache::thrift::protocol::T_BOOL, 3);
-  xfer += oprot->writeBool((*(this->cascade)));
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalogs_pargs");
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -984,11 +931,11 @@ uint32_t 
ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_drop_database_result::~ThriftHiveMetastore_drop_database_result()
 throw() {
+ThriftHiveMetastore_get_catalogs_result::~ThriftHiveMetastore_get_catalogs_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalogs_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1009,92 +956,14 @@ uint32_t 
ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protoc
     }
     switch (fid)
     {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o1.read(iprot);
-          this->__isset.o1 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
+      case 0:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o3.read(iprot);
-          this->__isset.o3 = true;
+          xfer += this->success.read(iprot);
+          this->__isset.success = true;
         } else {
           xfer += iprot->skip(ftype);
         }
         break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t 
ThriftHiveMetastore_drop_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
-
-  uint32_t xfer = 0;
-
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_result");
-
-  if (this->__isset.o1) {
-    xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
-    xfer += this->o1.write(oprot);
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o2) {
-    xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
2);
-    xfer += this->o2.write(oprot);
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o3) {
-    xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 
3);
-    xfer += this->o3.write(oprot);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-
-ThriftHiveMetastore_drop_database_presult::~ThriftHiveMetastore_drop_database_presult()
 throw() {
-}
-
-
-uint32_t 
ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
           xfer += this->o1.read(iprot);
@@ -1103,22 +972,6 @@ uint32_t 
ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::proto
           xfer += iprot->skip(ftype);
         }
         break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o3.read(iprot);
-          this->__isset.o3 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -1131,91 +984,32 @@ uint32_t 
ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::proto
   return xfer;
 }
 
+uint32_t 
ThriftHiveMetastore_get_catalogs_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
-ThriftHiveMetastore_get_databases_args::~ThriftHiveMetastore_get_databases_args()
 throw() {
-}
-
-
-uint32_t 
ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
 
-  xfer += iprot->readStructBegin(fname);
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_catalogs_result");
 
-  using ::apache::thrift::protocol::TProtocolException;
-
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->pattern);
-          this->__isset.pattern = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
-    xfer += iprot->readFieldEnd();
+  if (this->__isset.success) {
+    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_STRUCT, 0);
+    xfer += this->success.write(oprot);
+    xfer += oprot->writeFieldEnd();
+  } else if (this->__isset.o1) {
+    xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
+    xfer += this->o1.write(oprot);
+    xfer += oprot->writeFieldEnd();
   }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t 
ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args");
-
-  xfer += oprot->writeFieldBegin("pattern", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->pattern);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-
-ThriftHiveMetastore_get_databases_pargs::~ThriftHiveMetastore_get_databases_pargs()
 throw() {
-}
-
-
-uint32_t 
ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
-  uint32_t xfer = 0;
-  apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs");
-
-  xfer += oprot->writeFieldBegin("pattern", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString((*(this->pattern)));
-  xfer += oprot->writeFieldEnd();
-
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
   return xfer;
 }
 
 
-ThriftHiveMetastore_get_databases_result::~ThriftHiveMetastore_get_databases_result()
 throw() {
+ThriftHiveMetastore_get_catalogs_presult::~ThriftHiveMetastore_get_catalogs_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_catalogs_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1237,20 +1031,8 @@ uint32_t 
ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->success.clear();
-            uint32_t _size1157;
-            ::apache::thrift::protocol::TType _etype1160;
-            xfer += iprot->readListBegin(_etype1160, _size1157);
-            this->success.resize(_size1157);
-            uint32_t _i1161;
-            for (_i1161 = 0; _i1161 < _size1157; ++_i1161)
-            {
-              xfer += iprot->readString(this->success[_i1161]);
-            }
-            xfer += iprot->readListEnd();
-          }
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += (*(this->success)).read(iprot);
           this->__isset.success = true;
         } else {
           xfer += iprot->skip(ftype);
@@ -1276,40 +1058,12 @@ uint32_t 
ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_databases_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
-
-  uint32_t xfer = 0;
-
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_result");
 
-  if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_LIST, 0);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->success.size()));
-      std::vector<std::string> ::const_iterator _iter1162;
-      for (_iter1162 = this->success.begin(); _iter1162 != 
this->success.end(); ++_iter1162)
-      {
-        xfer += oprot->writeString((*_iter1162));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o1) {
-    xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
-    xfer += this->o1.write(oprot);
-    xfer += oprot->writeFieldEnd();
-  }
-  xfer += oprot->writeFieldStop();
-  xfer += oprot->writeStructEnd();
-  return xfer;
-}
-
-
-ThriftHiveMetastore_get_databases_presult::~ThriftHiveMetastore_get_databases_presult()
 throw() {
+ThriftHiveMetastore_drop_catalog_args::~ThriftHiveMetastore_drop_catalog_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_catalog_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1330,30 +1084,10 @@ uint32_t 
ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            (*(this->success)).clear();
-            uint32_t _size1163;
-            ::apache::thrift::protocol::TType _etype1166;
-            xfer += iprot->readListBegin(_etype1166, _size1163);
-            (*(this->success)).resize(_size1163);
-            uint32_t _i1167;
-            for (_i1167 = 0; _i1167 < _size1163; ++_i1167)
-            {
-              xfer += iprot->readString((*(this->success))[_i1167]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.success = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o1.read(iprot);
-          this->__isset.o1 = true;
+          xfer += this->catName.read(iprot);
+          this->__isset.catName = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -1370,43 +1104,14 @@ uint32_t 
ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto
   return xfer;
 }
 
-
-ThriftHiveMetastore_get_all_databases_args::~ThriftHiveMetastore_get_all_databases_args()
 throw() {
-}
-
-
-uint32_t 
ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
-
-  apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
-  uint32_t xfer = 0;
-  std::string fname;
-  ::apache::thrift::protocol::TType ftype;
-  int16_t fid;
-
-  xfer += iprot->readStructBegin(fname);
-
-  using ::apache::thrift::protocol::TProtocolException;
-
-
-  while (true)
-  {
-    xfer += iprot->readFieldBegin(fname, ftype, fid);
-    if (ftype == ::apache::thrift::protocol::T_STOP) {
-      break;
-    }
-    xfer += iprot->skip(ftype);
-    xfer += iprot->readFieldEnd();
-  }
-
-  xfer += iprot->readStructEnd();
-
-  return xfer;
-}
-
-uint32_t 
ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_catalog_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_catalog_args");
+
+  xfer += oprot->writeFieldBegin("catName", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += this->catName.write(oprot);
+  xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -1414,14 +1119,18 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::pro
 }
 
 
-ThriftHiveMetastore_get_all_databases_pargs::~ThriftHiveMetastore_get_all_databases_pargs()
 throw() {
+ThriftHiveMetastore_drop_catalog_pargs::~ThriftHiveMetastore_drop_catalog_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_catalog_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_catalog_pargs");
+
+  xfer += oprot->writeFieldBegin("catName", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += (*(this->catName)).write(oprot);
+  xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -1429,11 +1138,11 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::pr
 }
 
 
-ThriftHiveMetastore_get_all_databases_result::~ThriftHiveMetastore_get_all_databases_result()
 throw() {
+ThriftHiveMetastore_drop_catalog_result::~ThriftHiveMetastore_drop_catalog_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_catalog_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1454,30 +1163,26 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->success.clear();
-            uint32_t _size1168;
-            ::apache::thrift::protocol::TType _etype1171;
-            xfer += iprot->readListBegin(_etype1171, _size1168);
-            this->success.resize(_size1168);
-            uint32_t _i1172;
-            for (_i1172 = 0; _i1172 < _size1168; ++_i1172)
-            {
-              xfer += iprot->readString(this->success[_i1172]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.success = true;
+      case 1:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o1.read(iprot);
+          this->__isset.o1 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
         break;
-      case 1:
+      case 2:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o1.read(iprot);
-          this->__isset.o1 = true;
+          xfer += this->o2.read(iprot);
+          this->__isset.o2 = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
+      case 3:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o3.read(iprot);
+          this->__isset.o3 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -1494,28 +1199,24 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_catalog_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_catalog_result");
 
-  if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_LIST, 0);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->success.size()));
-      std::vector<std::string> ::const_iterator _iter1173;
-      for (_iter1173 = this->success.begin(); _iter1173 != 
this->success.end(); ++_iter1173)
-      {
-        xfer += oprot->writeString((*_iter1173));
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o1) {
+  if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
     xfer += this->o1.write(oprot);
     xfer += oprot->writeFieldEnd();
+  } else if (this->__isset.o2) {
+    xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
2);
+    xfer += this->o2.write(oprot);
+    xfer += oprot->writeFieldEnd();
+  } else if (this->__isset.o3) {
+    xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 
3);
+    xfer += this->o3.write(oprot);
+    xfer += oprot->writeFieldEnd();
   }
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -1523,11 +1224,11 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p
 }
 
 
-ThriftHiveMetastore_get_all_databases_presult::~ThriftHiveMetastore_get_all_databases_presult()
 throw() {
+ThriftHiveMetastore_drop_catalog_presult::~ThriftHiveMetastore_drop_catalog_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_catalog_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1548,30 +1249,26 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            (*(this->success)).clear();
-            uint32_t _size1174;
-            ::apache::thrift::protocol::TType _etype1177;
-            xfer += iprot->readListBegin(_etype1177, _size1174);
-            (*(this->success)).resize(_size1174);
-            uint32_t _i1178;
-            for (_i1178 = 0; _i1178 < _size1174; ++_i1178)
-            {
-              xfer += iprot->readString((*(this->success))[_i1178]);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.success = true;
+      case 1:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o1.read(iprot);
+          this->__isset.o1 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
         break;
-      case 1:
+      case 2:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o1.read(iprot);
-          this->__isset.o1 = true;
+          xfer += this->o2.read(iprot);
+          this->__isset.o2 = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
+      case 3:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o3.read(iprot);
+          this->__isset.o3 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -1589,11 +1286,11 @@ uint32_t 
ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p
 }
 
 
-ThriftHiveMetastore_alter_database_args::~ThriftHiveMetastore_alter_database_args()
 throw() {
+ThriftHiveMetastore_create_database_args::~ThriftHiveMetastore_create_database_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1615,17 +1312,9 @@ uint32_t 
ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protoco
     switch (fid)
     {
       case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->dbname);
-          this->__isset.dbname = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->db.read(iprot);
-          this->__isset.db = true;
+          xfer += this->database.read(iprot);
+          this->__isset.database = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -1642,17 +1331,13 @@ uint32_t 
ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protoco
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args");
-
-  xfer += oprot->writeFieldBegin("dbname", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->dbname);
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args");
 
-  xfer += oprot->writeFieldBegin("db", ::apache::thrift::protocol::T_STRUCT, 
2);
-  xfer += this->db.write(oprot);
+  xfer += oprot->writeFieldBegin("database", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += this->database.write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -1661,21 +1346,17 @@ uint32_t 
ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_alter_database_pargs::~ThriftHiveMetastore_alter_database_pargs()
 throw() {
+ThriftHiveMetastore_create_database_pargs::~ThriftHiveMetastore_create_database_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs");
-
-  xfer += oprot->writeFieldBegin("dbname", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString((*(this->dbname)));
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs");
 
-  xfer += oprot->writeFieldBegin("db", ::apache::thrift::protocol::T_STRUCT, 
2);
-  xfer += (*(this->db)).write(oprot);
+  xfer += oprot->writeFieldBegin("database", 
::apache::thrift::protocol::T_STRUCT, 1);
+  xfer += (*(this->database)).write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -1684,11 +1365,11 @@ uint32_t 
ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::proto
 }
 
 
-ThriftHiveMetastore_alter_database_result::~ThriftHiveMetastore_alter_database_result()
 throw() {
+ThriftHiveMetastore_create_database_result::~ThriftHiveMetastore_create_database_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_alter_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1725,6 +1406,14 @@ uint32_t 
ThriftHiveMetastore_alter_database_result::read(::apache::thrift::proto
           xfer += iprot->skip(ftype);
         }
         break;
+      case 3:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o3.read(iprot);
+          this->__isset.o3 = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -1737,11 +1426,11 @@ uint32_t 
ThriftHiveMetastore_alter_database_result::read(::apache::thrift::proto
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_alter_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_create_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_result");
+  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_create_database_result");
 
   if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
@@ -1751,6 +1440,10 @@ uint32_t 
ThriftHiveMetastore_alter_database_result::write(::apache::thrift::prot
     xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
2);
     xfer += this->o2.write(oprot);
     xfer += oprot->writeFieldEnd();
+  } else if (this->__isset.o3) {
+    xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 
3);
+    xfer += this->o3.write(oprot);
+    xfer += oprot->writeFieldEnd();
   }
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -1758,11 +1451,11 @@ uint32_t 
ThriftHiveMetastore_alter_database_result::write(::apache::thrift::prot
 }
 
 
-ThriftHiveMetastore_alter_database_presult::~ThriftHiveMetastore_alter_database_presult()
 throw() {
+ThriftHiveMetastore_create_database_presult::~ThriftHiveMetastore_create_database_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_create_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1799,6 +1492,14 @@ uint32_t 
ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::prot
           xfer += iprot->skip(ftype);
         }
         break;
+      case 3:
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->o3.read(iprot);
+          this->__isset.o3 = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -1812,11 +1513,11 @@ uint32_t 
ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::prot
 }
 
 
-ThriftHiveMetastore_get_type_args::~ThriftHiveMetastore_get_type_args() 
throw() {
+ThriftHiveMetastore_get_database_args::~ThriftHiveMetastore_get_database_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TProtocol* 
iprot) {
+uint32_t 
ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1857,10 +1558,10 @@ uint32_t 
ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TPr
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
+uint32_t 
ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args");
 
   xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
   xfer += oprot->writeString(this->name);
@@ -1872,14 +1573,14 @@ uint32_t 
ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TP
 }
 
 
-ThriftHiveMetastore_get_type_pargs::~ThriftHiveMetastore_get_type_pargs() 
throw() {
+ThriftHiveMetastore_get_database_pargs::~ThriftHiveMetastore_get_database_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs");
 
   xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
   xfer += oprot->writeString((*(this->name)));
@@ -1891,11 +1592,11 @@ uint32_t 
ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::T
 }
 
 
-ThriftHiveMetastore_get_type_result::~ThriftHiveMetastore_get_type_result() 
throw() {
+ThriftHiveMetastore_get_database_result::~ThriftHiveMetastore_get_database_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -1952,11 +1653,11 @@ uint32_t 
ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::T
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_type_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_result");
 
   if (this->__isset.success) {
     xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_STRUCT, 0);
@@ -1977,11 +1678,11 @@ uint32_t 
ThriftHiveMetastore_get_type_result::write(::apache::thrift::protocol::
 }
 
 
-ThriftHiveMetastore_get_type_presult::~ThriftHiveMetastore_get_type_presult() 
throw() {
+ThriftHiveMetastore_get_database_presult::~ThriftHiveMetastore_get_database_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2039,11 +1740,11 @@ uint32_t 
ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol::
 }
 
 
-ThriftHiveMetastore_create_type_args::~ThriftHiveMetastore_create_type_args() 
throw() {
+ThriftHiveMetastore_drop_database_args::~ThriftHiveMetastore_drop_database_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2065,9 +1766,25 @@ uint32_t 
ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::
     switch (fid)
     {
       case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->type.read(iprot);
-          this->__isset.type = true;
+        if (ftype == ::apache::thrift::protocol::T_STRING) {
+          xfer += iprot->readString(this->name);
+          this->__isset.name = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
+      case 2:
+        if (ftype == ::apache::thrift::protocol::T_BOOL) {
+          xfer += iprot->readBool(this->deleteData);
+          this->__isset.deleteData = true;
+        } else {
+          xfer += iprot->skip(ftype);
+        }
+        break;
+      case 3:
+        if (ftype == ::apache::thrift::protocol::T_BOOL) {
+          xfer += iprot->readBool(this->cascade);
+          this->__isset.cascade = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -2084,13 +1801,21 @@ uint32_t 
ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args");
 
-  xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 
1);
-  xfer += this->type.write(oprot);
+  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
+  xfer += oprot->writeString(this->name);
+  xfer += oprot->writeFieldEnd();
+
+  xfer += oprot->writeFieldBegin("deleteData", 
::apache::thrift::protocol::T_BOOL, 2);
+  xfer += oprot->writeBool(this->deleteData);
+  xfer += oprot->writeFieldEnd();
+
+  xfer += oprot->writeFieldBegin("cascade", 
::apache::thrift::protocol::T_BOOL, 3);
+  xfer += oprot->writeBool(this->cascade);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2099,17 +1824,25 @@ uint32_t 
ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol:
 }
 
 
-ThriftHiveMetastore_create_type_pargs::~ThriftHiveMetastore_create_type_pargs()
 throw() {
+ThriftHiveMetastore_drop_database_pargs::~ThriftHiveMetastore_drop_database_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs");
 
-  xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 
1);
-  xfer += (*(this->type)).write(oprot);
+  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
+  xfer += oprot->writeString((*(this->name)));
+  xfer += oprot->writeFieldEnd();
+
+  xfer += oprot->writeFieldBegin("deleteData", 
::apache::thrift::protocol::T_BOOL, 2);
+  xfer += oprot->writeBool((*(this->deleteData)));
+  xfer += oprot->writeFieldEnd();
+
+  xfer += oprot->writeFieldBegin("cascade", 
::apache::thrift::protocol::T_BOOL, 3);
+  xfer += oprot->writeBool((*(this->cascade)));
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2118,11 +1851,11 @@ uint32_t 
ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol
 }
 
 
-ThriftHiveMetastore_create_type_result::~ThriftHiveMetastore_create_type_result()
 throw() {
+ThriftHiveMetastore_drop_database_result::~ThriftHiveMetastore_drop_database_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2143,14 +1876,6 @@ uint32_t 
ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool(this->success);
-          this->__isset.success = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
           xfer += this->o1.read(iprot);
@@ -2187,17 +1912,13 @@ uint32_t 
ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_create_type_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_drop_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_result");
 
-  if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_BOOL, 0);
-    xfer += oprot->writeBool(this->success);
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o1) {
+  if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
     xfer += this->o1.write(oprot);
     xfer += oprot->writeFieldEnd();
@@ -2216,11 +1937,11 @@ uint32_t 
ThriftHiveMetastore_create_type_result::write(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_create_type_presult::~ThriftHiveMetastore_create_type_presult()
 throw() {
+ThriftHiveMetastore_drop_database_presult::~ThriftHiveMetastore_drop_database_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2241,14 +1962,6 @@ uint32_t 
ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protoco
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool((*(this->success)));
-          this->__isset.success = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
           xfer += this->o1.read(iprot);
@@ -2286,11 +1999,11 @@ uint32_t 
ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_drop_type_args::~ThriftHiveMetastore_drop_type_args() 
throw() {
+ThriftHiveMetastore_get_databases_args::~ThriftHiveMetastore_get_databases_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TProtocol* 
iprot) {
+uint32_t 
ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2313,8 +2026,8 @@ uint32_t 
ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TP
     {
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->type);
-          this->__isset.type = true;
+          xfer += iprot->readString(this->pattern);
+          this->__isset.pattern = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -2331,13 +2044,13 @@ uint32_t 
ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TP
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args");
 
-  xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString(this->type);
+  xfer += oprot->writeFieldBegin("pattern", 
::apache::thrift::protocol::T_STRING, 1);
+  xfer += oprot->writeString(this->pattern);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2346,17 +2059,17 @@ uint32_t 
ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::T
 }
 
 
-ThriftHiveMetastore_drop_type_pargs::~ThriftHiveMetastore_drop_type_pargs() 
throw() {
+ThriftHiveMetastore_get_databases_pargs::~ThriftHiveMetastore_get_databases_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs");
 
-  xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString((*(this->type)));
+  xfer += oprot->writeFieldBegin("pattern", 
::apache::thrift::protocol::T_STRING, 1);
+  xfer += oprot->writeString((*(this->pattern)));
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2365,11 +2078,11 @@ uint32_t 
ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::
 }
 
 
-ThriftHiveMetastore_drop_type_result::~ThriftHiveMetastore_drop_type_result() 
throw() {
+ThriftHiveMetastore_get_databases_result::~ThriftHiveMetastore_get_databases_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2391,8 +2104,20 @@ uint32_t 
ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool(this->success);
+        if (ftype == ::apache::thrift::protocol::T_LIST) {
+          {
+            this->success.clear();
+            uint32_t _size1175;
+            ::apache::thrift::protocol::TType _etype1178;
+            xfer += iprot->readListBegin(_etype1178, _size1175);
+            this->success.resize(_size1175);
+            uint32_t _i1179;
+            for (_i1179 = 0; _i1179 < _size1175; ++_i1179)
+            {
+              xfer += iprot->readString(this->success[_i1179]);
+            }
+            xfer += iprot->readListEnd();
+          }
           this->__isset.success = true;
         } else {
           xfer += iprot->skip(ftype);
@@ -2406,14 +2131,6 @@ uint32_t 
ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::
           xfer += iprot->skip(ftype);
         }
         break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -2426,24 +2143,28 @@ uint32_t 
ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_drop_type_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_databases_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_result");
 
   if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_BOOL, 0);
-    xfer += oprot->writeBool(this->success);
+    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_LIST, 0);
+    {
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->success.size()));
+      std::vector<std::string> ::const_iterator _iter1180;
+      for (_iter1180 = this->success.begin(); _iter1180 != 
this->success.end(); ++_iter1180)
+      {
+        xfer += oprot->writeString((*_iter1180));
+      }
+      xfer += oprot->writeListEnd();
+    }
     xfer += oprot->writeFieldEnd();
   } else if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
     xfer += this->o1.write(oprot);
     xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o2) {
-    xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
2);
-    xfer += this->o2.write(oprot);
-    xfer += oprot->writeFieldEnd();
   }
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -2451,11 +2172,11 @@ uint32_t 
ThriftHiveMetastore_drop_type_result::write(::apache::thrift::protocol:
 }
 
 
-ThriftHiveMetastore_drop_type_presult::~ThriftHiveMetastore_drop_type_presult()
 throw() {
+ThriftHiveMetastore_get_databases_presult::~ThriftHiveMetastore_get_databases_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2477,8 +2198,20 @@ uint32_t 
ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol:
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_BOOL) {
-          xfer += iprot->readBool((*(this->success)));
+        if (ftype == ::apache::thrift::protocol::T_LIST) {
+          {
+            (*(this->success)).clear();
+            uint32_t _size1181;
+            ::apache::thrift::protocol::TType _etype1184;
+            xfer += iprot->readListBegin(_etype1184, _size1181);
+            (*(this->success)).resize(_size1181);
+            uint32_t _i1185;
+            for (_i1185 = 0; _i1185 < _size1181; ++_i1185)
+            {
+              xfer += iprot->readString((*(this->success))[_i1185]);
+            }
+            xfer += iprot->readListEnd();
+          }
           this->__isset.success = true;
         } else {
           xfer += iprot->skip(ftype);
@@ -2492,14 +2225,6 @@ uint32_t 
ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol:
           xfer += iprot->skip(ftype);
         }
         break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -2513,11 +2238,11 @@ uint32_t 
ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol:
 }
 
 
-ThriftHiveMetastore_get_type_all_args::~ThriftHiveMetastore_get_type_all_args()
 throw() {
+ThriftHiveMetastore_get_all_databases_args::~ThriftHiveMetastore_get_all_databases_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2536,20 +2261,7 @@ uint32_t 
ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol:
     if (ftype == ::apache::thrift::protocol::T_STOP) {
       break;
     }
-    switch (fid)
-    {
-      case 1:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->name);
-          this->__isset.name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      default:
-        xfer += iprot->skip(ftype);
-        break;
-    }
+    xfer += iprot->skip(ftype);
     xfer += iprot->readFieldEnd();
   }
 
@@ -2558,14 +2270,10 @@ uint32_t 
ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol:
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args");
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString(this->name);
-  xfer += oprot->writeFieldEnd();
+  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args");
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -2573,18 +2281,14 @@ uint32_t 
ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol
 }
 
 
-ThriftHiveMetastore_get_type_all_pargs::~ThriftHiveMetastore_get_type_all_pargs()
 throw() {
+ThriftHiveMetastore_get_all_databases_pargs::~ThriftHiveMetastore_get_all_databases_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs");
-
-  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
-  xfer += oprot->writeString((*(this->name)));
-  xfer += oprot->writeFieldEnd();
+  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs");
 
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -2592,11 +2296,11 @@ uint32_t 
ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protoco
 }
 
 
-ThriftHiveMetastore_get_type_all_result::~ThriftHiveMetastore_get_type_all_result()
 throw() {
+ThriftHiveMetastore_get_all_databases_result::~ThriftHiveMetastore_get_all_databases_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2618,22 +2322,19 @@ uint32_t 
ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_MAP) {
+        if (ftype == ::apache::thrift::protocol::T_LIST) {
           {
             this->success.clear();
-            uint32_t _size1179;
-            ::apache::thrift::protocol::TType _ktype1180;
-            ::apache::thrift::protocol::TType _vtype1181;
-            xfer += iprot->readMapBegin(_ktype1180, _vtype1181, _size1179);
-            uint32_t _i1183;
-            for (_i1183 = 0; _i1183 < _size1179; ++_i1183)
+            uint32_t _size1186;
+            ::apache::thrift::protocol::TType _etype1189;
+            xfer += iprot->readListBegin(_etype1189, _size1186);
+            this->success.resize(_size1186);
+            uint32_t _i1190;
+            for (_i1190 = 0; _i1190 < _size1186; ++_i1190)
             {
-              std::string _key1184;
-              xfer += iprot->readString(_key1184);
-              Type& _val1185 = this->success[_key1184];
-              xfer += _val1185.read(iprot);
+              xfer += iprot->readString(this->success[_i1190]);
             }
-            xfer += iprot->readMapEnd();
+            xfer += iprot->readListEnd();
           }
           this->__isset.success = true;
         } else {
@@ -2642,8 +2343,8 @@ uint32_t 
ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
         break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
+          xfer += this->o1.read(iprot);
+          this->__isset.o1 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -2660,28 +2361,27 @@ uint32_t 
ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_result");
+  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_result");
 
   if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_MAP, 0);
+    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_LIST, 0);
     {
-      xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, 
::apache::thrift::protocol::T_STRUCT, 
static_cast<uint32_t>(this->success.size()));
-      std::map<std::string, Type> ::const_iterator _iter1186;
-      for (_iter1186 = this->success.begin(); _iter1186 != 
this->success.end(); ++_iter1186)
+      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, 
static_cast<uint32_t>(this->success.size()));
+      std::vector<std::string> ::const_iterator _iter1191;
+      for (_iter1191 = this->success.begin(); _iter1191 != 
this->success.end(); ++_iter1191)
       {
-        xfer += oprot->writeString(_iter1186->first);
-        xfer += _iter1186->second.write(oprot);
+        xfer += oprot->writeString((*_iter1191));
       }
-      xfer += oprot->writeMapEnd();
+      xfer += oprot->writeListEnd();
     }
     xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o2) {
-    xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
1);
-    xfer += this->o2.write(oprot);
+  } else if (this->__isset.o1) {
+    xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
+    xfer += this->o1.write(oprot);
     xfer += oprot->writeFieldEnd();
   }
   xfer += oprot->writeFieldStop();
@@ -2690,11 +2390,11 @@ uint32_t 
ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_get_type_all_presult::~ThriftHiveMetastore_get_type_all_presult()
 throw() {
+ThriftHiveMetastore_get_all_databases_presult::~ThriftHiveMetastore_get_all_databases_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2716,22 +2416,19 @@ uint32_t 
ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_MAP) {
+        if (ftype == ::apache::thrift::protocol::T_LIST) {
           {
             (*(this->success)).clear();
-            uint32_t _size1187;
-            ::apache::thrift::protocol::TType _ktype1188;
-            ::apache::thrift::protocol::TType _vtype1189;
-            xfer += iprot->readMapBegin(_ktype1188, _vtype1189, _size1187);
-            uint32_t _i1191;
-            for (_i1191 = 0; _i1191 < _size1187; ++_i1191)
+            uint32_t _size1192;
+            ::apache::thrift::protocol::TType _etype1195;
+            xfer += iprot->readListBegin(_etype1195, _size1192);
+            (*(this->success)).resize(_size1192);
+            uint32_t _i1196;
+            for (_i1196 = 0; _i1196 < _size1192; ++_i1196)
             {
-              std::string _key1192;
-              xfer += iprot->readString(_key1192);
-              Type& _val1193 = (*(this->success))[_key1192];
-              xfer += _val1193.read(iprot);
+              xfer += iprot->readString((*(this->success))[_i1196]);
             }
-            xfer += iprot->readMapEnd();
+            xfer += iprot->readListEnd();
           }
           this->__isset.success = true;
         } else {
@@ -2740,8 +2437,8 @@ uint32_t 
ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
         break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o2.read(iprot);
-          this->__isset.o2 = true;
+          xfer += this->o1.read(iprot);
+          this->__isset.o1 = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -2759,11 +2456,11 @@ uint32_t 
ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc
 }
 
 
-ThriftHiveMetastore_get_fields_args::~ThriftHiveMetastore_get_fields_args() 
throw() {
+ThriftHiveMetastore_alter_database_args::~ThriftHiveMetastore_alter_database_args()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2786,16 +2483,16 @@ uint32_t 
ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::T
     {
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->db_name);
-          this->__isset.db_name = true;
+          xfer += iprot->readString(this->dbname);
+          this->__isset.dbname = true;
         } else {
           xfer += iprot->skip(ftype);
         }
         break;
       case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->table_name);
-          this->__isset.table_name = true;
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->db.read(iprot);
+          this->__isset.db = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -2812,17 +2509,17 @@ uint32_t 
ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::T
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args");
 
-  xfer += oprot->writeFieldBegin("db_name", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->db_name);
+  xfer += oprot->writeFieldBegin("dbname", 
::apache::thrift::protocol::T_STRING, 1);
+  xfer += oprot->writeString(this->dbname);
   xfer += oprot->writeFieldEnd();
 
-  xfer += oprot->writeFieldBegin("table_name", 
::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->table_name);
+  xfer += oprot->writeFieldBegin("db", ::apache::thrift::protocol::T_STRUCT, 
2);
+  xfer += this->db.write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2831,21 +2528,21 @@ uint32_t 
ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::
 }
 
 
-ThriftHiveMetastore_get_fields_pargs::~ThriftHiveMetastore_get_fields_pargs() 
throw() {
+ThriftHiveMetastore_alter_database_pargs::~ThriftHiveMetastore_alter_database_pargs()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs");
 
-  xfer += oprot->writeFieldBegin("db_name", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString((*(this->db_name)));
+  xfer += oprot->writeFieldBegin("dbname", 
::apache::thrift::protocol::T_STRING, 1);
+  xfer += oprot->writeString((*(this->dbname)));
   xfer += oprot->writeFieldEnd();
 
-  xfer += oprot->writeFieldBegin("table_name", 
::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString((*(this->table_name)));
+  xfer += oprot->writeFieldBegin("db", ::apache::thrift::protocol::T_STRUCT, 
2);
+  xfer += (*(this->db)).write(oprot);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -2854,11 +2551,11 @@ uint32_t 
ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol:
 }
 
 
-ThriftHiveMetastore_get_fields_result::~ThriftHiveMetastore_get_fields_result()
 throw() {
+ThriftHiveMetastore_alter_database_result::~ThriftHiveMetastore_alter_database_result()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_alter_database_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2879,26 +2576,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->success.clear();
-            uint32_t _size1194;
-            ::apache::thrift::protocol::TType _etype1197;
-            xfer += iprot->readListBegin(_etype1197, _size1194);
-            this->success.resize(_size1194);
-            uint32_t _i1198;
-            for (_i1198 = 0; _i1198 < _size1194; ++_i1198)
-            {
-              xfer += this->success[_i1198].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.success = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
           xfer += this->o1.read(iprot);
@@ -2915,14 +2592,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
           xfer += iprot->skip(ftype);
         }
         break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o3.read(iprot);
-          this->__isset.o3 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -2935,25 +2604,13 @@ uint32_t 
ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol:
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_alter_database_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_result");
 
-  if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", 
::apache::thrift::protocol::T_LIST, 0);
-    {
-      xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, 
static_cast<uint32_t>(this->success.size()));
-      std::vector<FieldSchema> ::const_iterator _iter1199;
-      for (_iter1199 = this->success.begin(); _iter1199 != 
this->success.end(); ++_iter1199)
-      {
-        xfer += (*_iter1199).write(oprot);
-      }
-      xfer += oprot->writeListEnd();
-    }
-    xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o1) {
+  if (this->__isset.o1) {
     xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 
1);
     xfer += this->o1.write(oprot);
     xfer += oprot->writeFieldEnd();
@@ -2961,10 +2618,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol
     xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 
2);
     xfer += this->o2.write(oprot);
     xfer += oprot->writeFieldEnd();
-  } else if (this->__isset.o3) {
-    xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 
3);
-    xfer += this->o3.write(oprot);
-    xfer += oprot->writeFieldEnd();
   }
   xfer += oprot->writeFieldStop();
   xfer += oprot->writeStructEnd();
@@ -2972,11 +2625,11 @@ uint32_t 
ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol
 }
 
 
-ThriftHiveMetastore_get_fields_presult::~ThriftHiveMetastore_get_fields_presult()
 throw() {
+ThriftHiveMetastore_alter_database_presult::~ThriftHiveMetastore_alter_database_presult()
 throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -2997,26 +2650,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
     }
     switch (fid)
     {
-      case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            (*(this->success)).clear();
-            uint32_t _size1200;
-            ::apache::thrift::protocol::TType _etype1203;
-            xfer += iprot->readListBegin(_etype1203, _size1200);
-            (*(this->success)).resize(_size1200);
-            uint32_t _i1204;
-            for (_i1204 = 0; _i1204 < _size1200; ++_i1204)
-            {
-              xfer += (*(this->success))[_i1204].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
-          this->__isset.success = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRUCT) {
           xfer += this->o1.read(iprot);
@@ -3033,14 +2666,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
           xfer += iprot->skip(ftype);
         }
         break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o3.read(iprot);
-          this->__isset.o3 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -3054,11 +2679,11 @@ uint32_t 
ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol
 }
 
 
-ThriftHiveMetastore_get_fields_with_environment_context_args::~ThriftHiveMetastore_get_fields_with_environment_context_args()
 throw() {
+ThriftHiveMetastore_get_type_args::~ThriftHiveMetastore_get_type_args() 
throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_args::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TProtocol* 
iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -3081,24 +2706,8 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_args::read(::ap
     {
       case 1:
         if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->db_name);
-          this->__isset.db_name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 2:
-        if (ftype == ::apache::thrift::protocol::T_STRING) {
-          xfer += iprot->readString(this->table_name);
-          this->__isset.table_name = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->environment_context.read(iprot);
-          this->__isset.environment_context = true;
+          xfer += iprot->readString(this->name);
+          this->__isset.name = true;
         } else {
           xfer += iprot->skip(ftype);
         }
@@ -3115,21 +2724,13 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_args::read(::ap
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_args::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* 
oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_args");
-
-  xfer += oprot->writeFieldBegin("db_name", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString(this->db_name);
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("table_name", 
::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString(this->table_name);
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args");
 
-  xfer += oprot->writeFieldBegin("environment_context", 
::apache::thrift::protocol::T_STRUCT, 3);
-  xfer += this->environment_context.write(oprot);
+  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
+  xfer += oprot->writeString(this->name);
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -3138,25 +2739,17 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_args::write(::a
 }
 
 
-ThriftHiveMetastore_get_fields_with_environment_context_pargs::~ThriftHiveMetastore_get_fields_with_environment_context_pargs()
 throw() {
+ThriftHiveMetastore_get_type_pargs::~ThriftHiveMetastore_get_type_pargs() 
throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
   uint32_t xfer = 0;
   apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_pargs");
-
-  xfer += oprot->writeFieldBegin("db_name", 
::apache::thrift::protocol::T_STRING, 1);
-  xfer += oprot->writeString((*(this->db_name)));
-  xfer += oprot->writeFieldEnd();
-
-  xfer += oprot->writeFieldBegin("table_name", 
::apache::thrift::protocol::T_STRING, 2);
-  xfer += oprot->writeString((*(this->table_name)));
-  xfer += oprot->writeFieldEnd();
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs");
 
-  xfer += oprot->writeFieldBegin("environment_context", 
::apache::thrift::protocol::T_STRUCT, 3);
-  xfer += (*(this->environment_context)).write(oprot);
+  xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 
1);
+  xfer += oprot->writeString((*(this->name)));
   xfer += oprot->writeFieldEnd();
 
   xfer += oprot->writeFieldStop();
@@ -3165,11 +2758,11 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::
 }
 
 
-ThriftHiveMetastore_get_fields_with_environment_context_result::~ThriftHiveMetastore_get_fields_with_environment_context_result()
 throw() {
+ThriftHiveMetastore_get_type_result::~ThriftHiveMetastore_get_type_result() 
throw() {
 }
 
 
-uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
+uint32_t 
ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::TProtocol*
 iprot) {
 
   apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
   uint32_t xfer = 0;
@@ -3191,20 +2784,8 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
     switch (fid)
     {
       case 0:
-        if (ftype == ::apache::thrift::protocol::T_LIST) {
-          {
-            this->success.clear();
-            uint32_t _size1205;
-            ::apache::thrift::protocol::TType _etype1208;
-            xfer += iprot->readListBegin(_etype1208, _size1205);
-            this->success.resize(_size1205);
-            uint32_t _i1209;
-            for (_i1209 = 0; _i1209 < _size1205; ++_i1209)
-            {
-              xfer += this->success[_i1209].read(iprot);
-            }
-            xfer += iprot->readListEnd();
-          }
+        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
+          xfer += this->success.read(iprot);
           this->__isset.success = true;
         } else {
           xfer += iprot->skip(ftype);
@@ -3226,14 +2807,6 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
           xfer += iprot->skip(ftype);
         }
         break;
-      case 3:
-        if (ftype == ::apache::thrift::protocol::T_STRUCT) {
-          xfer += this->o3.read(iprot);
-          this->__isset.o3 = true;
-        } else {
-          xfer += iprot->skip(ftype);
-        }
-        break;
       default:
         xfer += iprot->skip(ftype);
         break;
@@ -3246,23 +2819,15 @@ uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_result::read(::
   return xfer;
 }
 
-uint32_t 
ThriftHiveMetastore_get_fields_with_environment_context_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
+uint32_t 
ThriftHiveMetastore_get_type_result::write(::apache::thrift::protocol::TProtocol*
 oprot) const {
 
   uint32_t xfer = 0;
 
-  xfer += 
oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_result");
+  xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_result");
 
   if (this->__isset.success) {
-    xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIS

<TRUNCATED>

Reply via email to