hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject svn commit: r1151213 [4/6] - in /hive/trunk/metastore: if/ src/gen/thrift/gen-cpp/ src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ src/gen/thrift/gen-php/hive_metastore/ src/gen/thrift/gen-py/hive_metastore/ src/gen/thrift/gen-rb/ src...
Date Tue, 26 Jul 2011 19:02:55 GMT
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=1151213&r1=1151212&r2=1151213&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 Tue Jul 26 19:02:50 2011
@@ -69,6 +69,8 @@ public class ThriftHiveMetastore {
 
     public List<Table> get_table_objects_by_name(String dbname, List<String> tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, TException;
 
+    public List<String> get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, TException;
+
     public void alter_table(String dbname, String tbl_name, Table new_tbl) throws InvalidOperationException, MetaException, TException;
 
     public Partition add_partition(Partition new_part) throws InvalidObjectException, AlreadyExistsException, MetaException, TException;
@@ -195,6 +197,8 @@ public class ThriftHiveMetastore {
 
     public void get_table_objects_by_name(String dbname, List<String> tbl_names, AsyncMethodCallback<AsyncClient.get_table_objects_by_name_call> resultHandler) throws TException;
 
+    public void get_table_names_by_filter(String dbname, String filter, short max_tables, AsyncMethodCallback<AsyncClient.get_table_names_by_filter_call> resultHandler) throws TException;
+
     public void alter_table(String dbname, String tbl_name, Table new_tbl, AsyncMethodCallback<AsyncClient.alter_table_call> resultHandler) throws TException;
 
     public void add_partition(Partition new_part, AsyncMethodCallback<AsyncClient.add_partition_call> resultHandler) throws TException;
@@ -1063,6 +1067,53 @@ public class ThriftHiveMetastore {
       throw new TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result");
     }
 
+    public List<String> get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, TException
+    {
+      send_get_table_names_by_filter(dbname, filter, max_tables);
+      return recv_get_table_names_by_filter();
+    }
+
+    public void send_get_table_names_by_filter(String dbname, String filter, short max_tables) throws TException
+    {
+      oprot_.writeMessageBegin(new TMessage("get_table_names_by_filter", TMessageType.CALL, ++seqid_));
+      get_table_names_by_filter_args args = new get_table_names_by_filter_args();
+      args.setDbname(dbname);
+      args.setFilter(filter);
+      args.setMax_tables(max_tables);
+      args.write(oprot_);
+      oprot_.writeMessageEnd();
+      oprot_.getTransport().flush();
+    }
+
+    public List<String> recv_get_table_names_by_filter() throws MetaException, InvalidOperationException, UnknownDBException, TException
+    {
+      TMessage msg = iprot_.readMessageBegin();
+      if (msg.type == TMessageType.EXCEPTION) {
+        TApplicationException x = TApplicationException.read(iprot_);
+        iprot_.readMessageEnd();
+        throw x;
+      }
+      if (msg.seqid != seqid_) {
+        throw new TApplicationException(TApplicationException.BAD_SEQUENCE_ID, "get_table_names_by_filter failed: out of sequence response");
+      }
+      get_table_names_by_filter_result result = new get_table_names_by_filter_result();
+      result.read(iprot_);
+      iprot_.readMessageEnd();
+      if (result.isSetSuccess()) {
+        return result.success;
+      }
+      if (result.o1 != null) {
+        throw result.o1;
+      }
+      if (result.o2 != null) {
+        throw result.o2;
+      }
+      if (result.o3 != null) {
+        throw result.o3;
+      }
+      throw new TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result");
+    }
+
     public void alter_table(String dbname, String tbl_name, Table new_tbl) throws InvalidOperationException, MetaException, TException
     {
       send_alter_table(dbname, tbl_name, new_tbl);
@@ -3514,6 +3565,43 @@ public class ThriftHiveMetastore {
       }
     }
 
+    public void get_table_names_by_filter(String dbname, String filter, short max_tables, AsyncMethodCallback<get_table_names_by_filter_call> resultHandler) throws TException {
+      checkReady();
+      get_table_names_by_filter_call method_call = new get_table_names_by_filter_call(dbname, filter, max_tables, resultHandler, this, protocolFactory, transport);
+      manager.call(method_call);
+    }
+
+    public static class get_table_names_by_filter_call extends TAsyncMethodCall {
+      private String dbname;
+      private String filter;
+      private short max_tables;
+      public get_table_names_by_filter_call(String dbname, String filter, short max_tables, AsyncMethodCallback<get_table_names_by_filter_call> resultHandler, TAsyncClient client, TProtocolFactory protocolFactory, TNonblockingTransport transport) throws TException {
+        super(client, protocolFactory, transport, resultHandler, false);
+        this.dbname = dbname;
+        this.filter = filter;
+        this.max_tables = max_tables;
+      }
+
+      public void write_args(TProtocol prot) throws TException {
+        prot.writeMessageBegin(new TMessage("get_table_names_by_filter", TMessageType.CALL, 0));
+        get_table_names_by_filter_args args = new get_table_names_by_filter_args();
+        args.setDbname(dbname);
+        args.setFilter(filter);
+        args.setMax_tables(max_tables);
+        args.write(prot);
+        prot.writeMessageEnd();
+      }
+
+      public List<String> getResult() throws MetaException, InvalidOperationException, UnknownDBException, TException {
+        if (getState() != State.RESPONSE_READ) {
+          throw new IllegalStateException("Method call not finished!");
+        }
+        TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array());
+        TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+        return (new Client(prot)).recv_get_table_names_by_filter();
+      }
+    }
+
     public void alter_table(String dbname, String tbl_name, Table new_tbl, AsyncMethodCallback<alter_table_call> resultHandler) throws TException {
       checkReady();
       alter_table_call method_call = new alter_table_call(dbname, tbl_name, new_tbl, resultHandler, this, protocolFactory, transport);
@@ -5107,6 +5195,7 @@ public class ThriftHiveMetastore {
       processMap_.put("get_all_tables", new get_all_tables());
       processMap_.put("get_table", new get_table());
       processMap_.put("get_table_objects_by_name", new get_table_objects_by_name());
+      processMap_.put("get_table_names_by_filter", new get_table_names_by_filter());
       processMap_.put("alter_table", new alter_table());
       processMap_.put("add_partition", new add_partition());
       processMap_.put("add_partitions", new add_partitions());
@@ -5900,6 +5989,48 @@ public class ThriftHiveMetastore {
 
     }
 
+    private class get_table_names_by_filter implements ProcessFunction {
+      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
+      {
+        get_table_names_by_filter_args args = new get_table_names_by_filter_args();
+        try {
+          args.read(iprot);
+        } catch (TProtocolException e) {
+          iprot.readMessageEnd();
+          TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
+          oprot.writeMessageBegin(new TMessage("get_table_names_by_filter", TMessageType.EXCEPTION, seqid));
+          x.write(oprot);
+          oprot.writeMessageEnd();
+          oprot.getTransport().flush();
+          return;
+        }
+        iprot.readMessageEnd();
+        get_table_names_by_filter_result result = new get_table_names_by_filter_result();
+        try {
+          result.success = iface_.get_table_names_by_filter(args.dbname, args.filter, args.max_tables);
+        } catch (MetaException o1) {
+          result.o1 = o1;
+        } catch (InvalidOperationException o2) {
+          result.o2 = o2;
+        } catch (UnknownDBException o3) {
+          result.o3 = o3;
+        } catch (Throwable th) {
+          LOGGER.error("Internal error processing get_table_names_by_filter", th);
+          TApplicationException x = new TApplicationException(TApplicationException.INTERNAL_ERROR, "Internal error processing get_table_names_by_filter");
+          oprot.writeMessageBegin(new TMessage("get_table_names_by_filter", TMessageType.EXCEPTION, seqid));
+          x.write(oprot);
+          oprot.writeMessageEnd();
+          oprot.getTransport().flush();
+          return;
+        }
+        oprot.writeMessageBegin(new TMessage("get_table_names_by_filter", TMessageType.REPLY, seqid));
+        result.write(oprot);
+        oprot.writeMessageEnd();
+        oprot.getTransport().flush();
+      }
+
+    }
+
     private class alter_table implements ProcessFunction {
       public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
       {
@@ -20423,18 +20554,908 @@ public class ThriftHiveMetastore {
       return new get_table_result(this);
     }
 
-    @Override
-    public void clear() {
-      this.success = null;
-      this.o1 = null;
-      this.o2 = null;
+    @Override
+    public void clear() {
+      this.success = null;
+      this.o1 = null;
+      this.o2 = null;
+    }
+
+    public Table getSuccess() {
+      return this.success;
+    }
+
+    public void setSuccess(Table success) {
+      this.success = success;
+    }
+
+    public void unsetSuccess() {
+      this.success = null;
+    }
+
+    /** Returns true if field success is set (has been asigned a value) and false otherwise */
+    public boolean isSetSuccess() {
+      return this.success != null;
+    }
+
+    public void setSuccessIsSet(boolean value) {
+      if (!value) {
+        this.success = null;
+      }
+    }
+
+    public MetaException getO1() {
+      return this.o1;
+    }
+
+    public void setO1(MetaException o1) {
+      this.o1 = o1;
+    }
+
+    public void unsetO1() {
+      this.o1 = null;
+    }
+
+    /** Returns true if field o1 is set (has been asigned a value) and false otherwise */
+    public boolean isSetO1() {
+      return this.o1 != null;
+    }
+
+    public void setO1IsSet(boolean value) {
+      if (!value) {
+        this.o1 = null;
+      }
+    }
+
+    public NoSuchObjectException getO2() {
+      return this.o2;
+    }
+
+    public void setO2(NoSuchObjectException o2) {
+      this.o2 = o2;
+    }
+
+    public void unsetO2() {
+      this.o2 = null;
+    }
+
+    /** Returns true if field o2 is set (has been asigned a value) and false otherwise */
+    public boolean isSetO2() {
+      return this.o2 != null;
+    }
+
+    public void setO2IsSet(boolean value) {
+      if (!value) {
+        this.o2 = null;
+      }
+    }
+
+    public void setFieldValue(_Fields field, Object value) {
+      switch (field) {
+      case SUCCESS:
+        if (value == null) {
+          unsetSuccess();
+        } else {
+          setSuccess((Table)value);
+        }
+        break;
+
+      case O1:
+        if (value == null) {
+          unsetO1();
+        } else {
+          setO1((MetaException)value);
+        }
+        break;
+
+      case O2:
+        if (value == null) {
+          unsetO2();
+        } else {
+          setO2((NoSuchObjectException)value);
+        }
+        break;
+
+      }
+    }
+
+    public Object getFieldValue(_Fields field) {
+      switch (field) {
+      case SUCCESS:
+        return getSuccess();
+
+      case O1:
+        return getO1();
+
+      case O2:
+        return getO2();
+
+      }
+      throw new IllegalStateException();
+    }
+
+    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+    public boolean isSet(_Fields field) {
+      if (field == null) {
+        throw new IllegalArgumentException();
+      }
+
+      switch (field) {
+      case SUCCESS:
+        return isSetSuccess();
+      case O1:
+        return isSetO1();
+      case O2:
+        return isSetO2();
+      }
+      throw new IllegalStateException();
+    }
+
+    @Override
+    public boolean equals(Object that) {
+      if (that == null)
+        return false;
+      if (that instanceof get_table_result)
+        return this.equals((get_table_result)that);
+      return false;
+    }
+
+    public boolean equals(get_table_result that) {
+      if (that == null)
+        return false;
+
+      boolean this_present_success = true && this.isSetSuccess();
+      boolean that_present_success = true && that.isSetSuccess();
+      if (this_present_success || that_present_success) {
+        if (!(this_present_success && that_present_success))
+          return false;
+        if (!this.success.equals(that.success))
+          return false;
+      }
+
+      boolean this_present_o1 = true && this.isSetO1();
+      boolean that_present_o1 = true && that.isSetO1();
+      if (this_present_o1 || that_present_o1) {
+        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;
+      }
+
+      return true;
+    }
+
+    @Override
+    public int hashCode() {
+      return 0;
+    }
+
+    public int compareTo(get_table_result other) {
+      if (!getClass().equals(other.getClass())) {
+        return getClass().getName().compareTo(other.getClass().getName());
+      }
+
+      int lastComparison = 0;
+      get_table_result typedOther = (get_table_result)other;
+
+      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetSuccess()) {
+        lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO1()) {
+        lastComparison = 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 = TBaseHelper.compareTo(this.o2, typedOther.o2);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      return 0;
+    }
+
+    public _Fields fieldForId(int fieldId) {
+      return _Fields.findByThriftId(fieldId);
+    }
+
+    public void read(TProtocol iprot) throws TException {
+      TField field;
+      iprot.readStructBegin();
+      while (true)
+      {
+        field = iprot.readFieldBegin();
+        if (field.type == TType.STOP) { 
+          break;
+        }
+        switch (field.id) {
+          case 0: // SUCCESS
+            if (field.type == TType.STRUCT) {
+              this.success = new Table();
+              this.success.read(iprot);
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          case 1: // O1
+            if (field.type == TType.STRUCT) {
+              this.o1 = new MetaException();
+              this.o1.read(iprot);
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          case 2: // O2
+            if (field.type == TType.STRUCT) {
+              this.o2 = new NoSuchObjectException();
+              this.o2.read(iprot);
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          default:
+            TProtocolUtil.skip(iprot, field.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      validate();
+    }
+
+    public void write(TProtocol oprot) throws TException {
+      oprot.writeStructBegin(STRUCT_DESC);
+
+      if (this.isSetSuccess()) {
+        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+        this.success.write(oprot);
+        oprot.writeFieldEnd();
+      } else if (this.isSetO1()) {
+        oprot.writeFieldBegin(O1_FIELD_DESC);
+        this.o1.write(oprot);
+        oprot.writeFieldEnd();
+      } else if (this.isSetO2()) {
+        oprot.writeFieldBegin(O2_FIELD_DESC);
+        this.o2.write(oprot);
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+    @Override
+    public String toString() {
+      StringBuilder sb = new StringBuilder("get_table_result(");
+      boolean first = true;
+
+      sb.append("success:");
+      if (this.success == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.success);
+      }
+      first = false;
+      if (!first) sb.append(", ");
+      sb.append("o1:");
+      if (this.o1 == null) {
+        sb.append("null");
+      } 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;
+      sb.append(")");
+      return sb.toString();
+    }
+
+    public void validate() throws TException {
+      // check for required fields
+    }
+
+  }
+
+  public static class get_table_objects_by_name_args implements TBase<get_table_objects_by_name_args, get_table_objects_by_name_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final TStruct STRUCT_DESC = new TStruct("get_table_objects_by_name_args");
+
+    private static final TField DBNAME_FIELD_DESC = new TField("dbname", TType.STRING, (short)1);
+    private static final TField TBL_NAMES_FIELD_DESC = new TField("tbl_names", TType.LIST, (short)2);
+
+    private String dbname;
+    private List<String> tbl_names;
+
+    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+    public enum _Fields implements TFieldIdEnum {
+      DBNAME((short)1, "dbname"),
+      TBL_NAMES((short)2, "tbl_names");
+
+      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+      static {
+        for (_Fields field : EnumSet.allOf(_Fields.class)) {
+          byName.put(field.getFieldName(), field);
+        }
+      }
+
+      /**
+       * Find the _Fields constant that matches fieldId, or null if its not found.
+       */
+      public static _Fields findByThriftId(int fieldId) {
+        switch(fieldId) {
+          case 1: // DBNAME
+            return DBNAME;
+          case 2: // TBL_NAMES
+            return TBL_NAMES;
+          default:
+            return null;
+        }
+      }
+
+      /**
+       * Find the _Fields constant that matches fieldId, throwing an exception
+       * if it is not found.
+       */
+      public static _Fields findByThriftIdOrThrow(int fieldId) {
+        _Fields fields = findByThriftId(fieldId);
+        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+        return fields;
+      }
+
+      /**
+       * Find the _Fields constant that matches name, or null if its not found.
+       */
+      public static _Fields findByName(String name) {
+        return byName.get(name);
+      }
+
+      private final short _thriftId;
+      private final String _fieldName;
+
+      _Fields(short thriftId, String fieldName) {
+        _thriftId = thriftId;
+        _fieldName = fieldName;
+      }
+
+      public short getThriftFieldId() {
+        return _thriftId;
+      }
+
+      public String getFieldName() {
+        return _fieldName;
+      }
+    }
+
+    // isset id assignments
+
+    public static final Map<_Fields, FieldMetaData> metaDataMap;
+    static {
+      Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+      tmpMap.put(_Fields.DBNAME, new FieldMetaData("dbname", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.STRING)));
+      tmpMap.put(_Fields.TBL_NAMES, new FieldMetaData("tbl_names", TFieldRequirementType.DEFAULT, 
+          new ListMetaData(TType.LIST, 
+              new FieldValueMetaData(TType.STRING))));
+      metaDataMap = Collections.unmodifiableMap(tmpMap);
+      FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_args.class, metaDataMap);
+    }
+
+    public get_table_objects_by_name_args() {
+    }
+
+    public get_table_objects_by_name_args(
+      String dbname,
+      List<String> tbl_names)
+    {
+      this();
+      this.dbname = dbname;
+      this.tbl_names = tbl_names;
+    }
+
+    /**
+     * Performs a deep copy on <i>other</i>.
+     */
+    public get_table_objects_by_name_args(get_table_objects_by_name_args other) {
+      if (other.isSetDbname()) {
+        this.dbname = other.dbname;
+      }
+      if (other.isSetTbl_names()) {
+        List<String> __this__tbl_names = new ArrayList<String>();
+        for (String other_element : other.tbl_names) {
+          __this__tbl_names.add(other_element);
+        }
+        this.tbl_names = __this__tbl_names;
+      }
+    }
+
+    public get_table_objects_by_name_args deepCopy() {
+      return new get_table_objects_by_name_args(this);
+    }
+
+    @Override
+    public void clear() {
+      this.dbname = null;
+      this.tbl_names = null;
+    }
+
+    public String getDbname() {
+      return this.dbname;
+    }
+
+    public void setDbname(String dbname) {
+      this.dbname = dbname;
+    }
+
+    public void unsetDbname() {
+      this.dbname = null;
+    }
+
+    /** Returns true if field dbname is set (has been asigned a value) and false otherwise */
+    public boolean isSetDbname() {
+      return this.dbname != null;
+    }
+
+    public void setDbnameIsSet(boolean value) {
+      if (!value) {
+        this.dbname = null;
+      }
+    }
+
+    public int getTbl_namesSize() {
+      return (this.tbl_names == null) ? 0 : this.tbl_names.size();
+    }
+
+    public java.util.Iterator<String> getTbl_namesIterator() {
+      return (this.tbl_names == null) ? null : this.tbl_names.iterator();
+    }
+
+    public void addToTbl_names(String elem) {
+      if (this.tbl_names == null) {
+        this.tbl_names = new ArrayList<String>();
+      }
+      this.tbl_names.add(elem);
+    }
+
+    public List<String> getTbl_names() {
+      return this.tbl_names;
+    }
+
+    public void setTbl_names(List<String> tbl_names) {
+      this.tbl_names = tbl_names;
+    }
+
+    public void unsetTbl_names() {
+      this.tbl_names = null;
+    }
+
+    /** Returns true if field tbl_names is set (has been asigned a value) and false otherwise */
+    public boolean isSetTbl_names() {
+      return this.tbl_names != null;
+    }
+
+    public void setTbl_namesIsSet(boolean value) {
+      if (!value) {
+        this.tbl_names = null;
+      }
+    }
+
+    public void setFieldValue(_Fields field, Object value) {
+      switch (field) {
+      case DBNAME:
+        if (value == null) {
+          unsetDbname();
+        } else {
+          setDbname((String)value);
+        }
+        break;
+
+      case TBL_NAMES:
+        if (value == null) {
+          unsetTbl_names();
+        } else {
+          setTbl_names((List<String>)value);
+        }
+        break;
+
+      }
+    }
+
+    public Object getFieldValue(_Fields field) {
+      switch (field) {
+      case DBNAME:
+        return getDbname();
+
+      case TBL_NAMES:
+        return getTbl_names();
+
+      }
+      throw new IllegalStateException();
+    }
+
+    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
+    public boolean isSet(_Fields field) {
+      if (field == null) {
+        throw new IllegalArgumentException();
+      }
+
+      switch (field) {
+      case DBNAME:
+        return isSetDbname();
+      case TBL_NAMES:
+        return isSetTbl_names();
+      }
+      throw new IllegalStateException();
+    }
+
+    @Override
+    public boolean equals(Object that) {
+      if (that == null)
+        return false;
+      if (that instanceof get_table_objects_by_name_args)
+        return this.equals((get_table_objects_by_name_args)that);
+      return false;
+    }
+
+    public boolean equals(get_table_objects_by_name_args that) {
+      if (that == null)
+        return false;
+
+      boolean this_present_dbname = true && this.isSetDbname();
+      boolean that_present_dbname = true && that.isSetDbname();
+      if (this_present_dbname || that_present_dbname) {
+        if (!(this_present_dbname && that_present_dbname))
+          return false;
+        if (!this.dbname.equals(that.dbname))
+          return false;
+      }
+
+      boolean this_present_tbl_names = true && this.isSetTbl_names();
+      boolean that_present_tbl_names = true && that.isSetTbl_names();
+      if (this_present_tbl_names || that_present_tbl_names) {
+        if (!(this_present_tbl_names && that_present_tbl_names))
+          return false;
+        if (!this.tbl_names.equals(that.tbl_names))
+          return false;
+      }
+
+      return true;
+    }
+
+    @Override
+    public int hashCode() {
+      return 0;
+    }
+
+    public int compareTo(get_table_objects_by_name_args other) {
+      if (!getClass().equals(other.getClass())) {
+        return getClass().getName().compareTo(other.getClass().getName());
+      }
+
+      int lastComparison = 0;
+      get_table_objects_by_name_args typedOther = (get_table_objects_by_name_args)other;
+
+      lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetDbname()) {
+        lastComparison = TBaseHelper.compareTo(this.dbname, typedOther.dbname);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(typedOther.isSetTbl_names());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetTbl_names()) {
+        lastComparison = TBaseHelper.compareTo(this.tbl_names, typedOther.tbl_names);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      return 0;
+    }
+
+    public _Fields fieldForId(int fieldId) {
+      return _Fields.findByThriftId(fieldId);
+    }
+
+    public void read(TProtocol iprot) throws TException {
+      TField field;
+      iprot.readStructBegin();
+      while (true)
+      {
+        field = iprot.readFieldBegin();
+        if (field.type == TType.STOP) { 
+          break;
+        }
+        switch (field.id) {
+          case 1: // DBNAME
+            if (field.type == TType.STRING) {
+              this.dbname = iprot.readString();
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          case 2: // TBL_NAMES
+            if (field.type == TType.LIST) {
+              {
+                TList _list127 = iprot.readListBegin();
+                this.tbl_names = new ArrayList<String>(_list127.size);
+                for (int _i128 = 0; _i128 < _list127.size; ++_i128)
+                {
+                  String _elem129;
+                  _elem129 = iprot.readString();
+                  this.tbl_names.add(_elem129);
+                }
+                iprot.readListEnd();
+              }
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          default:
+            TProtocolUtil.skip(iprot, field.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+      validate();
+    }
+
+    public void write(TProtocol oprot) throws TException {
+      validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (this.dbname != null) {
+        oprot.writeFieldBegin(DBNAME_FIELD_DESC);
+        oprot.writeString(this.dbname);
+        oprot.writeFieldEnd();
+      }
+      if (this.tbl_names != null) {
+        oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC);
+        {
+          oprot.writeListBegin(new TList(TType.STRING, this.tbl_names.size()));
+          for (String _iter130 : this.tbl_names)
+          {
+            oprot.writeString(_iter130);
+          }
+          oprot.writeListEnd();
+        }
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+    @Override
+    public String toString() {
+      StringBuilder sb = new StringBuilder("get_table_objects_by_name_args(");
+      boolean first = true;
+
+      sb.append("dbname:");
+      if (this.dbname == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.dbname);
+      }
+      first = false;
+      if (!first) sb.append(", ");
+      sb.append("tbl_names:");
+      if (this.tbl_names == null) {
+        sb.append("null");
+      } else {
+        sb.append(this.tbl_names);
+      }
+      first = false;
+      sb.append(")");
+      return sb.toString();
+    }
+
+    public void validate() throws TException {
+      // check for required fields
+    }
+
+  }
+
+  public static class get_table_objects_by_name_result implements TBase<get_table_objects_by_name_result, get_table_objects_by_name_result._Fields>, java.io.Serializable, Cloneable   {
+    private static final TStruct STRUCT_DESC = new TStruct("get_table_objects_by_name_result");
+
+    private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
+    private static final TField O1_FIELD_DESC = new TField("o1", TType.STRUCT, (short)1);
+    private static final TField O2_FIELD_DESC = new TField("o2", TType.STRUCT, (short)2);
+    private static final TField O3_FIELD_DESC = new TField("o3", TType.STRUCT, (short)3);
+
+    private List<Table> success;
+    private MetaException o1;
+    private InvalidOperationException o2;
+    private UnknownDBException o3;
+
+    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+    public enum _Fields implements TFieldIdEnum {
+      SUCCESS((short)0, "success"),
+      O1((short)1, "o1"),
+      O2((short)2, "o2"),
+      O3((short)3, "o3");
+
+      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+      static {
+        for (_Fields field : EnumSet.allOf(_Fields.class)) {
+          byName.put(field.getFieldName(), field);
+        }
+      }
+
+      /**
+       * Find the _Fields constant that matches fieldId, or null if its not found.
+       */
+      public static _Fields findByThriftId(int fieldId) {
+        switch(fieldId) {
+          case 0: // SUCCESS
+            return SUCCESS;
+          case 1: // O1
+            return O1;
+          case 2: // O2
+            return O2;
+          case 3: // O3
+            return O3;
+          default:
+            return null;
+        }
+      }
+
+      /**
+       * Find the _Fields constant that matches fieldId, throwing an exception
+       * if it is not found.
+       */
+      public static _Fields findByThriftIdOrThrow(int fieldId) {
+        _Fields fields = findByThriftId(fieldId);
+        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+        return fields;
+      }
+
+      /**
+       * Find the _Fields constant that matches name, or null if its not found.
+       */
+      public static _Fields findByName(String name) {
+        return byName.get(name);
+      }
+
+      private final short _thriftId;
+      private final String _fieldName;
+
+      _Fields(short thriftId, String fieldName) {
+        _thriftId = thriftId;
+        _fieldName = fieldName;
+      }
+
+      public short getThriftFieldId() {
+        return _thriftId;
+      }
+
+      public String getFieldName() {
+        return _fieldName;
+      }
+    }
+
+    // isset id assignments
+
+    public static final Map<_Fields, FieldMetaData> metaDataMap;
+    static {
+      Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
+      tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
+          new ListMetaData(TType.LIST, 
+              new StructMetaData(TType.STRUCT, Table.class))));
+      tmpMap.put(_Fields.O1, new FieldMetaData("o1", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.STRUCT)));
+      tmpMap.put(_Fields.O2, new FieldMetaData("o2", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.STRUCT)));
+      tmpMap.put(_Fields.O3, new FieldMetaData("o3", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.STRUCT)));
+      metaDataMap = Collections.unmodifiableMap(tmpMap);
+      FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_result.class, metaDataMap);
+    }
+
+    public get_table_objects_by_name_result() {
+    }
+
+    public get_table_objects_by_name_result(
+      List<Table> success,
+      MetaException o1,
+      InvalidOperationException o2,
+      UnknownDBException o3)
+    {
+      this();
+      this.success = success;
+      this.o1 = o1;
+      this.o2 = o2;
+      this.o3 = o3;
+    }
+
+    /**
+     * Performs a deep copy on <i>other</i>.
+     */
+    public get_table_objects_by_name_result(get_table_objects_by_name_result other) {
+      if (other.isSetSuccess()) {
+        List<Table> __this__success = new ArrayList<Table>();
+        for (Table other_element : other.success) {
+          __this__success.add(new Table(other_element));
+        }
+        this.success = __this__success;
+      }
+      if (other.isSetO1()) {
+        this.o1 = new MetaException(other.o1);
+      }
+      if (other.isSetO2()) {
+        this.o2 = new InvalidOperationException(other.o2);
+      }
+      if (other.isSetO3()) {
+        this.o3 = new UnknownDBException(other.o3);
+      }
+    }
+
+    public get_table_objects_by_name_result deepCopy() {
+      return new get_table_objects_by_name_result(this);
+    }
+
+    @Override
+    public void clear() {
+      this.success = null;
+      this.o1 = null;
+      this.o2 = null;
+      this.o3 = null;
+    }
+
+    public int getSuccessSize() {
+      return (this.success == null) ? 0 : this.success.size();
+    }
+
+    public java.util.Iterator<Table> getSuccessIterator() {
+      return (this.success == null) ? null : this.success.iterator();
+    }
+
+    public void addToSuccess(Table elem) {
+      if (this.success == null) {
+        this.success = new ArrayList<Table>();
+      }
+      this.success.add(elem);
     }
 
-    public Table getSuccess() {
+    public List<Table> getSuccess() {
       return this.success;
     }
 
-    public void setSuccess(Table success) {
+    public void setSuccess(List<Table> success) {
       this.success = success;
     }
 
@@ -20476,11 +21497,11 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public NoSuchObjectException getO2() {
+    public InvalidOperationException getO2() {
       return this.o2;
     }
 
-    public void setO2(NoSuchObjectException o2) {
+    public void setO2(InvalidOperationException o2) {
       this.o2 = o2;
     }
 
@@ -20499,13 +21520,36 @@ public class ThriftHiveMetastore {
       }
     }
 
+    public UnknownDBException getO3() {
+      return this.o3;
+    }
+
+    public void setO3(UnknownDBException o3) {
+      this.o3 = o3;
+    }
+
+    public void unsetO3() {
+      this.o3 = null;
+    }
+
+    /** Returns true if field o3 is set (has been asigned a value) and false otherwise */
+    public boolean isSetO3() {
+      return this.o3 != null;
+    }
+
+    public void setO3IsSet(boolean value) {
+      if (!value) {
+        this.o3 = null;
+      }
+    }
+
     public void setFieldValue(_Fields field, Object value) {
       switch (field) {
       case SUCCESS:
         if (value == null) {
           unsetSuccess();
         } else {
-          setSuccess((Table)value);
+          setSuccess((List<Table>)value);
         }
         break;
 
@@ -20521,7 +21565,15 @@ public class ThriftHiveMetastore {
         if (value == null) {
           unsetO2();
         } else {
-          setO2((NoSuchObjectException)value);
+          setO2((InvalidOperationException)value);
+        }
+        break;
+
+      case O3:
+        if (value == null) {
+          unsetO3();
+        } else {
+          setO3((UnknownDBException)value);
         }
         break;
 
@@ -20539,6 +21591,9 @@ public class ThriftHiveMetastore {
       case O2:
         return getO2();
 
+      case O3:
+        return getO3();
+
       }
       throw new IllegalStateException();
     }
@@ -20556,6 +21611,8 @@ public class ThriftHiveMetastore {
         return isSetO1();
       case O2:
         return isSetO2();
+      case O3:
+        return isSetO3();
       }
       throw new IllegalStateException();
     }
@@ -20564,12 +21621,12 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_table_result)
-        return this.equals((get_table_result)that);
+      if (that instanceof get_table_objects_by_name_result)
+        return this.equals((get_table_objects_by_name_result)that);
       return false;
     }
 
-    public boolean equals(get_table_result that) {
+    public boolean equals(get_table_objects_by_name_result that) {
       if (that == null)
         return false;
 
@@ -20600,6 +21657,15 @@ public class ThriftHiveMetastore {
           return false;
       }
 
+      boolean this_present_o3 = true && this.isSetO3();
+      boolean that_present_o3 = true && that.isSetO3();
+      if (this_present_o3 || that_present_o3) {
+        if (!(this_present_o3 && that_present_o3))
+          return false;
+        if (!this.o3.equals(that.o3))
+          return false;
+      }
+
       return true;
     }
 
@@ -20608,13 +21674,13 @@ public class ThriftHiveMetastore {
       return 0;
     }
 
-    public int compareTo(get_table_result other) {
+    public int compareTo(get_table_objects_by_name_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      get_table_result typedOther = (get_table_result)other;
+      get_table_objects_by_name_result typedOther = (get_table_objects_by_name_result)other;
 
       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
       if (lastComparison != 0) {
@@ -20646,6 +21712,16 @@ public class ThriftHiveMetastore {
           return lastComparison;
         }
       }
+      lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetO3()) {
+        lastComparison = TBaseHelper.compareTo(this.o3, typedOther.o3);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
       return 0;
     }
 
@@ -20664,9 +21740,19 @@ public class ThriftHiveMetastore {
         }
         switch (field.id) {
           case 0: // SUCCESS
-            if (field.type == TType.STRUCT) {
-              this.success = new Table();
-              this.success.read(iprot);
+            if (field.type == TType.LIST) {
+              {
+                TList _list131 = iprot.readListBegin();
+                this.success = new ArrayList<Table>(_list131.size);
+                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
+                {
+                  Table _elem133;
+                  _elem133 = new Table();
+                  _elem133.read(iprot);
+                  this.success.add(_elem133);
+                }
+                iprot.readListEnd();
+              }
             } else { 
               TProtocolUtil.skip(iprot, field.type);
             }
@@ -20681,12 +21767,20 @@ public class ThriftHiveMetastore {
             break;
           case 2: // O2
             if (field.type == TType.STRUCT) {
-              this.o2 = new NoSuchObjectException();
+              this.o2 = new InvalidOperationException();
               this.o2.read(iprot);
             } else { 
               TProtocolUtil.skip(iprot, field.type);
             }
             break;
+          case 3: // O3
+            if (field.type == TType.STRUCT) {
+              this.o3 = new UnknownDBException();
+              this.o3.read(iprot);
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
           default:
             TProtocolUtil.skip(iprot, field.type);
         }
@@ -20701,7 +21795,14 @@ public class ThriftHiveMetastore {
 
       if (this.isSetSuccess()) {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-        this.success.write(oprot);
+        {
+          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
+          for (Table _iter134 : this.success)
+          {
+            _iter134.write(oprot);
+          }
+          oprot.writeListEnd();
+        }
         oprot.writeFieldEnd();
       } else if (this.isSetO1()) {
         oprot.writeFieldBegin(O1_FIELD_DESC);
@@ -20711,6 +21812,10 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(O2_FIELD_DESC);
         this.o2.write(oprot);
         oprot.writeFieldEnd();
+      } else if (this.isSetO3()) {
+        oprot.writeFieldBegin(O3_FIELD_DESC);
+        this.o3.write(oprot);
+        oprot.writeFieldEnd();
       }
       oprot.writeFieldStop();
       oprot.writeStructEnd();
@@ -20718,7 +21823,7 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_table_result(");
+      StringBuilder sb = new StringBuilder("get_table_objects_by_name_result(");
       boolean first = true;
 
       sb.append("success:");
@@ -20744,6 +21849,14 @@ public class ThriftHiveMetastore {
         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;
       sb.append(")");
       return sb.toString();
     }
@@ -20754,19 +21867,22 @@ public class ThriftHiveMetastore {
 
   }
 
-  public static class get_table_objects_by_name_args implements TBase<get_table_objects_by_name_args, get_table_objects_by_name_args._Fields>, java.io.Serializable, Cloneable   {
-    private static final TStruct STRUCT_DESC = new TStruct("get_table_objects_by_name_args");
+  public static class get_table_names_by_filter_args implements TBase<get_table_names_by_filter_args, get_table_names_by_filter_args._Fields>, java.io.Serializable, Cloneable   {
+    private static final TStruct STRUCT_DESC = new TStruct("get_table_names_by_filter_args");
 
     private static final TField DBNAME_FIELD_DESC = new TField("dbname", TType.STRING, (short)1);
-    private static final TField TBL_NAMES_FIELD_DESC = new TField("tbl_names", TType.LIST, (short)2);
+    private static final TField FILTER_FIELD_DESC = new TField("filter", TType.STRING, (short)2);
+    private static final TField MAX_TABLES_FIELD_DESC = new TField("max_tables", TType.I16, (short)3);
 
     private String dbname;
-    private List<String> tbl_names;
+    private String filter;
+    private short max_tables;
 
     /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
     public enum _Fields implements TFieldIdEnum {
       DBNAME((short)1, "dbname"),
-      TBL_NAMES((short)2, "tbl_names");
+      FILTER((short)2, "filter"),
+      MAX_TABLES((short)3, "max_tables");
 
       private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -20783,8 +21899,10 @@ public class ThriftHiveMetastore {
         switch(fieldId) {
           case 1: // DBNAME
             return DBNAME;
-          case 2: // TBL_NAMES
-            return TBL_NAMES;
+          case 2: // FILTER
+            return FILTER;
+          case 3: // MAX_TABLES
+            return MAX_TABLES;
           default:
             return null;
         }
@@ -20825,55 +21943,64 @@ public class ThriftHiveMetastore {
     }
 
     // isset id assignments
+    private static final int __MAX_TABLES_ISSET_ID = 0;
+    private BitSet __isset_bit_vector = new BitSet(1);
 
     public static final Map<_Fields, FieldMetaData> metaDataMap;
     static {
       Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
       tmpMap.put(_Fields.DBNAME, new FieldMetaData("dbname", TFieldRequirementType.DEFAULT, 
           new FieldValueMetaData(TType.STRING)));
-      tmpMap.put(_Fields.TBL_NAMES, new FieldMetaData("tbl_names", TFieldRequirementType.DEFAULT, 
-          new ListMetaData(TType.LIST, 
-              new FieldValueMetaData(TType.STRING))));
+      tmpMap.put(_Fields.FILTER, new FieldMetaData("filter", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.STRING)));
+      tmpMap.put(_Fields.MAX_TABLES, new FieldMetaData("max_tables", TFieldRequirementType.DEFAULT, 
+          new FieldValueMetaData(TType.I16)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_args.class, metaDataMap);
+      FieldMetaData.addStructMetaDataMap(get_table_names_by_filter_args.class, metaDataMap);
     }
 
-    public get_table_objects_by_name_args() {
+    public get_table_names_by_filter_args() {
+      this.max_tables = (short)-1;
+
     }
 
-    public get_table_objects_by_name_args(
+    public get_table_names_by_filter_args(
       String dbname,
-      List<String> tbl_names)
+      String filter,
+      short max_tables)
     {
       this();
       this.dbname = dbname;
-      this.tbl_names = tbl_names;
+      this.filter = filter;
+      this.max_tables = max_tables;
+      setMax_tablesIsSet(true);
     }
 
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_table_objects_by_name_args(get_table_objects_by_name_args other) {
+    public get_table_names_by_filter_args(get_table_names_by_filter_args other) {
+      __isset_bit_vector.clear();
+      __isset_bit_vector.or(other.__isset_bit_vector);
       if (other.isSetDbname()) {
         this.dbname = other.dbname;
       }
-      if (other.isSetTbl_names()) {
-        List<String> __this__tbl_names = new ArrayList<String>();
-        for (String other_element : other.tbl_names) {
-          __this__tbl_names.add(other_element);
-        }
-        this.tbl_names = __this__tbl_names;
+      if (other.isSetFilter()) {
+        this.filter = other.filter;
       }
+      this.max_tables = other.max_tables;
     }
 
-    public get_table_objects_by_name_args deepCopy() {
-      return new get_table_objects_by_name_args(this);
+    public get_table_names_by_filter_args deepCopy() {
+      return new get_table_names_by_filter_args(this);
     }
 
     @Override
     public void clear() {
       this.dbname = null;
-      this.tbl_names = null;
+      this.filter = null;
+      this.max_tables = (short)-1;
+
     }
 
     public String getDbname() {
@@ -20899,42 +22026,49 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public int getTbl_namesSize() {
-      return (this.tbl_names == null) ? 0 : this.tbl_names.size();
+    public String getFilter() {
+      return this.filter;
     }
 
-    public java.util.Iterator<String> getTbl_namesIterator() {
-      return (this.tbl_names == null) ? null : this.tbl_names.iterator();
+    public void setFilter(String filter) {
+      this.filter = filter;
     }
 
-    public void addToTbl_names(String elem) {
-      if (this.tbl_names == null) {
-        this.tbl_names = new ArrayList<String>();
+    public void unsetFilter() {
+      this.filter = null;
+    }
+
+    /** Returns true if field filter is set (has been asigned a value) and false otherwise */
+    public boolean isSetFilter() {
+      return this.filter != null;
+    }
+
+    public void setFilterIsSet(boolean value) {
+      if (!value) {
+        this.filter = null;
       }
-      this.tbl_names.add(elem);
     }
 
-    public List<String> getTbl_names() {
-      return this.tbl_names;
+    public short getMax_tables() {
+      return this.max_tables;
     }
 
-    public void setTbl_names(List<String> tbl_names) {
-      this.tbl_names = tbl_names;
+    public void setMax_tables(short max_tables) {
+      this.max_tables = max_tables;
+      setMax_tablesIsSet(true);
     }
 
-    public void unsetTbl_names() {
-      this.tbl_names = null;
+    public void unsetMax_tables() {
+      __isset_bit_vector.clear(__MAX_TABLES_ISSET_ID);
     }
 
-    /** Returns true if field tbl_names is set (has been asigned a value) and false otherwise */
-    public boolean isSetTbl_names() {
-      return this.tbl_names != null;
+    /** Returns true if field max_tables is set (has been asigned a value) and false otherwise */
+    public boolean isSetMax_tables() {
+      return __isset_bit_vector.get(__MAX_TABLES_ISSET_ID);
     }
 
-    public void setTbl_namesIsSet(boolean value) {
-      if (!value) {
-        this.tbl_names = null;
-      }
+    public void setMax_tablesIsSet(boolean value) {
+      __isset_bit_vector.set(__MAX_TABLES_ISSET_ID, value);
     }
 
     public void setFieldValue(_Fields field, Object value) {
@@ -20947,11 +22081,19 @@ public class ThriftHiveMetastore {
         }
         break;
 
-      case TBL_NAMES:
+      case FILTER:
         if (value == null) {
-          unsetTbl_names();
+          unsetFilter();
         } else {
-          setTbl_names((List<String>)value);
+          setFilter((String)value);
+        }
+        break;
+
+      case MAX_TABLES:
+        if (value == null) {
+          unsetMax_tables();
+        } else {
+          setMax_tables((Short)value);
         }
         break;
 
@@ -20963,8 +22105,11 @@ public class ThriftHiveMetastore {
       case DBNAME:
         return getDbname();
 
-      case TBL_NAMES:
-        return getTbl_names();
+      case FILTER:
+        return getFilter();
+
+      case MAX_TABLES:
+        return new Short(getMax_tables());
 
       }
       throw new IllegalStateException();
@@ -20979,8 +22124,10 @@ public class ThriftHiveMetastore {
       switch (field) {
       case DBNAME:
         return isSetDbname();
-      case TBL_NAMES:
-        return isSetTbl_names();
+      case FILTER:
+        return isSetFilter();
+      case MAX_TABLES:
+        return isSetMax_tables();
       }
       throw new IllegalStateException();
     }
@@ -20989,12 +22136,12 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_table_objects_by_name_args)
-        return this.equals((get_table_objects_by_name_args)that);
+      if (that instanceof get_table_names_by_filter_args)
+        return this.equals((get_table_names_by_filter_args)that);
       return false;
     }
 
-    public boolean equals(get_table_objects_by_name_args that) {
+    public boolean equals(get_table_names_by_filter_args that) {
       if (that == null)
         return false;
 
@@ -21007,12 +22154,21 @@ public class ThriftHiveMetastore {
           return false;
       }
 
-      boolean this_present_tbl_names = true && this.isSetTbl_names();
-      boolean that_present_tbl_names = true && that.isSetTbl_names();
-      if (this_present_tbl_names || that_present_tbl_names) {
-        if (!(this_present_tbl_names && that_present_tbl_names))
+      boolean this_present_filter = true && this.isSetFilter();
+      boolean that_present_filter = true && that.isSetFilter();
+      if (this_present_filter || that_present_filter) {
+        if (!(this_present_filter && that_present_filter))
           return false;
-        if (!this.tbl_names.equals(that.tbl_names))
+        if (!this.filter.equals(that.filter))
+          return false;
+      }
+
+      boolean this_present_max_tables = true;
+      boolean that_present_max_tables = true;
+      if (this_present_max_tables || that_present_max_tables) {
+        if (!(this_present_max_tables && that_present_max_tables))
+          return false;
+        if (this.max_tables != that.max_tables)
           return false;
       }
 
@@ -21024,13 +22180,13 @@ public class ThriftHiveMetastore {
       return 0;
     }
 
-    public int compareTo(get_table_objects_by_name_args other) {
+    public int compareTo(get_table_names_by_filter_args other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      get_table_objects_by_name_args typedOther = (get_table_objects_by_name_args)other;
+      get_table_names_by_filter_args typedOther = (get_table_names_by_filter_args)other;
 
       lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname());
       if (lastComparison != 0) {
@@ -21042,12 +22198,22 @@ public class ThriftHiveMetastore {
           return lastComparison;
         }
       }
-      lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(typedOther.isSetTbl_names());
+      lastComparison = Boolean.valueOf(isSetFilter()).compareTo(typedOther.isSetFilter());
       if (lastComparison != 0) {
         return lastComparison;
       }
-      if (isSetTbl_names()) {
-        lastComparison = TBaseHelper.compareTo(this.tbl_names, typedOther.tbl_names);
+      if (isSetFilter()) {
+        lastComparison = TBaseHelper.compareTo(this.filter, typedOther.filter);
+        if (lastComparison != 0) {
+          return lastComparison;
+        }
+      }
+      lastComparison = Boolean.valueOf(isSetMax_tables()).compareTo(typedOther.isSetMax_tables());
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+      if (isSetMax_tables()) {
+        lastComparison = TBaseHelper.compareTo(this.max_tables, typedOther.max_tables);
         if (lastComparison != 0) {
           return lastComparison;
         }
@@ -21076,19 +22242,17 @@ public class ThriftHiveMetastore {
               TProtocolUtil.skip(iprot, field.type);
             }
             break;
-          case 2: // TBL_NAMES
-            if (field.type == TType.LIST) {
-              {
-                TList _list127 = iprot.readListBegin();
-                this.tbl_names = new ArrayList<String>(_list127.size);
-                for (int _i128 = 0; _i128 < _list127.size; ++_i128)
-                {
-                  String _elem129;
-                  _elem129 = iprot.readString();
-                  this.tbl_names.add(_elem129);
-                }
-                iprot.readListEnd();
-              }
+          case 2: // FILTER
+            if (field.type == TType.STRING) {
+              this.filter = iprot.readString();
+            } else { 
+              TProtocolUtil.skip(iprot, field.type);
+            }
+            break;
+          case 3: // MAX_TABLES
+            if (field.type == TType.I16) {
+              this.max_tables = iprot.readI16();
+              setMax_tablesIsSet(true);
             } else { 
               TProtocolUtil.skip(iprot, field.type);
             }
@@ -21111,25 +22275,21 @@ public class ThriftHiveMetastore {
         oprot.writeString(this.dbname);
         oprot.writeFieldEnd();
       }
-      if (this.tbl_names != null) {
-        oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC);
-        {
-          oprot.writeListBegin(new TList(TType.STRING, this.tbl_names.size()));
-          for (String _iter130 : this.tbl_names)
-          {
-            oprot.writeString(_iter130);
-          }
-          oprot.writeListEnd();
-        }
+      if (this.filter != null) {
+        oprot.writeFieldBegin(FILTER_FIELD_DESC);
+        oprot.writeString(this.filter);
         oprot.writeFieldEnd();
       }
+      oprot.writeFieldBegin(MAX_TABLES_FIELD_DESC);
+      oprot.writeI16(this.max_tables);
+      oprot.writeFieldEnd();
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_table_objects_by_name_args(");
+      StringBuilder sb = new StringBuilder("get_table_names_by_filter_args(");
       boolean first = true;
 
       sb.append("dbname:");
@@ -21140,13 +22300,17 @@ public class ThriftHiveMetastore {
       }
       first = false;
       if (!first) sb.append(", ");
-      sb.append("tbl_names:");
-      if (this.tbl_names == null) {
+      sb.append("filter:");
+      if (this.filter == null) {
         sb.append("null");
       } else {
-        sb.append(this.tbl_names);
+        sb.append(this.filter);
       }
       first = false;
+      if (!first) sb.append(", ");
+      sb.append("max_tables:");
+      sb.append(this.max_tables);
+      first = false;
       sb.append(")");
       return sb.toString();
     }
@@ -21157,15 +22321,15 @@ public class ThriftHiveMetastore {
 
   }
 
-  public static class get_table_objects_by_name_result implements TBase<get_table_objects_by_name_result, get_table_objects_by_name_result._Fields>, java.io.Serializable, Cloneable   {
-    private static final TStruct STRUCT_DESC = new TStruct("get_table_objects_by_name_result");
+  public static class get_table_names_by_filter_result implements TBase<get_table_names_by_filter_result, get_table_names_by_filter_result._Fields>, java.io.Serializable, Cloneable   {
+    private static final TStruct STRUCT_DESC = new TStruct("get_table_names_by_filter_result");
 
     private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.LIST, (short)0);
     private static final TField O1_FIELD_DESC = new TField("o1", TType.STRUCT, (short)1);
     private static final TField O2_FIELD_DESC = new TField("o2", TType.STRUCT, (short)2);
     private static final TField O3_FIELD_DESC = new TField("o3", TType.STRUCT, (short)3);
 
-    private List<Table> success;
+    private List<String> success;
     private MetaException o1;
     private InvalidOperationException o2;
     private UnknownDBException o3;
@@ -21244,7 +22408,7 @@ public class ThriftHiveMetastore {
       Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
       tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT, 
           new ListMetaData(TType.LIST, 
-              new StructMetaData(TType.STRUCT, Table.class))));
+              new FieldValueMetaData(TType.STRING))));
       tmpMap.put(_Fields.O1, new FieldMetaData("o1", TFieldRequirementType.DEFAULT, 
           new FieldValueMetaData(TType.STRUCT)));
       tmpMap.put(_Fields.O2, new FieldMetaData("o2", TFieldRequirementType.DEFAULT, 
@@ -21252,14 +22416,14 @@ public class ThriftHiveMetastore {
       tmpMap.put(_Fields.O3, new FieldMetaData("o3", TFieldRequirementType.DEFAULT, 
           new FieldValueMetaData(TType.STRUCT)));
       metaDataMap = Collections.unmodifiableMap(tmpMap);
-      FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_result.class, metaDataMap);
+      FieldMetaData.addStructMetaDataMap(get_table_names_by_filter_result.class, metaDataMap);
     }
 
-    public get_table_objects_by_name_result() {
+    public get_table_names_by_filter_result() {
     }
 
-    public get_table_objects_by_name_result(
-      List<Table> success,
+    public get_table_names_by_filter_result(
+      List<String> success,
       MetaException o1,
       InvalidOperationException o2,
       UnknownDBException o3)
@@ -21274,11 +22438,11 @@ public class ThriftHiveMetastore {
     /**
      * Performs a deep copy on <i>other</i>.
      */
-    public get_table_objects_by_name_result(get_table_objects_by_name_result other) {
+    public get_table_names_by_filter_result(get_table_names_by_filter_result other) {
       if (other.isSetSuccess()) {
-        List<Table> __this__success = new ArrayList<Table>();
-        for (Table other_element : other.success) {
-          __this__success.add(new Table(other_element));
+        List<String> __this__success = new ArrayList<String>();
+        for (String other_element : other.success) {
+          __this__success.add(other_element);
         }
         this.success = __this__success;
       }
@@ -21293,8 +22457,8 @@ public class ThriftHiveMetastore {
       }
     }
 
-    public get_table_objects_by_name_result deepCopy() {
-      return new get_table_objects_by_name_result(this);
+    public get_table_names_by_filter_result deepCopy() {
+      return new get_table_names_by_filter_result(this);
     }
 
     @Override
@@ -21309,22 +22473,22 @@ public class ThriftHiveMetastore {
       return (this.success == null) ? 0 : this.success.size();
     }
 
-    public java.util.Iterator<Table> getSuccessIterator() {
+    public java.util.Iterator<String> getSuccessIterator() {
       return (this.success == null) ? null : this.success.iterator();
     }
 
-    public void addToSuccess(Table elem) {
+    public void addToSuccess(String elem) {
       if (this.success == null) {
-        this.success = new ArrayList<Table>();
+        this.success = new ArrayList<String>();
       }
       this.success.add(elem);
     }
 
-    public List<Table> getSuccess() {
+    public List<String> getSuccess() {
       return this.success;
     }
 
-    public void setSuccess(List<Table> success) {
+    public void setSuccess(List<String> success) {
       this.success = success;
     }
 
@@ -21418,7 +22582,7 @@ public class ThriftHiveMetastore {
         if (value == null) {
           unsetSuccess();
         } else {
-          setSuccess((List<Table>)value);
+          setSuccess((List<String>)value);
         }
         break;
 
@@ -21490,12 +22654,12 @@ public class ThriftHiveMetastore {
     public boolean equals(Object that) {
       if (that == null)
         return false;
-      if (that instanceof get_table_objects_by_name_result)
-        return this.equals((get_table_objects_by_name_result)that);
+      if (that instanceof get_table_names_by_filter_result)
+        return this.equals((get_table_names_by_filter_result)that);
       return false;
     }
 
-    public boolean equals(get_table_objects_by_name_result that) {
+    public boolean equals(get_table_names_by_filter_result that) {
       if (that == null)
         return false;
 
@@ -21543,13 +22707,13 @@ public class ThriftHiveMetastore {
       return 0;
     }
 
-    public int compareTo(get_table_objects_by_name_result other) {
+    public int compareTo(get_table_names_by_filter_result other) {
       if (!getClass().equals(other.getClass())) {
         return getClass().getName().compareTo(other.getClass().getName());
       }
 
       int lastComparison = 0;
-      get_table_objects_by_name_result typedOther = (get_table_objects_by_name_result)other;
+      get_table_names_by_filter_result typedOther = (get_table_names_by_filter_result)other;
 
       lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
       if (lastComparison != 0) {
@@ -21611,14 +22775,13 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list131 = iprot.readListBegin();
-                this.success = new ArrayList<Table>(_list131.size);
-                for (int _i132 = 0; _i132 < _list131.size; ++_i132)
+                TList _list135 = iprot.readListBegin();
+                this.success = new ArrayList<String>(_list135.size);
+                for (int _i136 = 0; _i136 < _list135.size; ++_i136)
                 {
-                  Table _elem133;
-                  _elem133 = new Table();
-                  _elem133.read(iprot);
-                  this.success.add(_elem133);
+                  String _elem137;
+                  _elem137 = iprot.readString();
+                  this.success.add(_elem137);
                 }
                 iprot.readListEnd();
               }
@@ -21665,10 +22828,10 @@ public class ThriftHiveMetastore {
       if (this.isSetSuccess()) {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
-          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-          for (Table _iter134 : this.success)
+          oprot.writeListBegin(new TList(TType.STRING, this.success.size()));
+          for (String _iter138 : this.success)
           {
-            _iter134.write(oprot);
+            oprot.writeString(_iter138);
           }
           oprot.writeListEnd();
         }
@@ -21692,7 +22855,7 @@ public class ThriftHiveMetastore {
 
     @Override
     public String toString() {
-      StringBuilder sb = new StringBuilder("get_table_objects_by_name_result(");
+      StringBuilder sb = new StringBuilder("get_table_names_by_filter_result(");
       boolean first = true;
 
       sb.append("success:");
@@ -23628,14 +24791,14 @@ public class ThriftHiveMetastore {
           case 1: // NEW_PARTS
             if (field.type == TType.LIST) {
               {
-                TList _list135 = iprot.readListBegin();
-                this.new_parts = new ArrayList<Partition>(_list135.size);
-                for (int _i136 = 0; _i136 < _list135.size; ++_i136)
+                TList _list139 = iprot.readListBegin();
+                this.new_parts = new ArrayList<Partition>(_list139.size);
+                for (int _i140 = 0; _i140 < _list139.size; ++_i140)
                 {
-                  Partition _elem137;
-                  _elem137 = new Partition();
-                  _elem137.read(iprot);
-                  this.new_parts.add(_elem137);
+                  Partition _elem141;
+                  _elem141 = new Partition();
+                  _elem141.read(iprot);
+                  this.new_parts.add(_elem141);
                 }
                 iprot.readListEnd();
               }
@@ -23660,9 +24823,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRUCT, this.new_parts.size()));
-          for (Partition _iter138 : this.new_parts)
+          for (Partition _iter142 : this.new_parts)
           {
-            _iter138.write(oprot);
+            _iter142.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -24635,13 +25798,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list139 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list139.size);
-                for (int _i140 = 0; _i140 < _list139.size; ++_i140)
+                TList _list143 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list143.size);
+                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
                 {
-                  String _elem141;
-                  _elem141 = iprot.readString();
-                  this.part_vals.add(_elem141);
+                  String _elem145;
+                  _elem145 = iprot.readString();
+                  this.part_vals.add(_elem145);
                 }
                 iprot.readListEnd();
               }
@@ -24676,9 +25839,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter142 : this.part_vals)
+          for (String _iter146 : this.part_vals)
           {
-            oprot.writeString(_iter142);
+            oprot.writeString(_iter146);
           }
           oprot.writeListEnd();
         }
@@ -26735,13 +27898,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list143 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list143.size);
-                for (int _i144 = 0; _i144 < _list143.size; ++_i144)
+                TList _list147 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list147.size);
+                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
                 {
-                  String _elem145;
-                  _elem145 = iprot.readString();
-                  this.part_vals.add(_elem145);
+                  String _elem149;
+                  _elem149 = iprot.readString();
+                  this.part_vals.add(_elem149);
                 }
                 iprot.readListEnd();
               }
@@ -26784,9 +27947,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter146 : this.part_vals)
+          for (String _iter150 : this.part_vals)
           {
-            oprot.writeString(_iter146);
+            oprot.writeString(_iter150);
           }
           oprot.writeListEnd();
         }
@@ -28687,13 +29850,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list147 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list147.size);
-                for (int _i148 = 0; _i148 < _list147.size; ++_i148)
+                TList _list151 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list151.size);
+                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
                 {
-                  String _elem149;
-                  _elem149 = iprot.readString();
-                  this.part_vals.add(_elem149);
+                  String _elem153;
+                  _elem153 = iprot.readString();
+                  this.part_vals.add(_elem153);
                 }
                 iprot.readListEnd();
               }
@@ -28728,9 +29891,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter150 : this.part_vals)
+          for (String _iter154 : this.part_vals)
           {
-            oprot.writeString(_iter150);
+            oprot.writeString(_iter154);
           }
           oprot.writeListEnd();
         }
@@ -29788,13 +30951,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list151 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list151.size);
-                for (int _i152 = 0; _i152 < _list151.size; ++_i152)
+                TList _list155 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list155.size);
+                for (int _i156 = 0; _i156 < _list155.size; ++_i156)
                 {
-                  String _elem153;
-                  _elem153 = iprot.readString();
-                  this.part_vals.add(_elem153);
+                  String _elem157;
+                  _elem157 = iprot.readString();
+                  this.part_vals.add(_elem157);
                 }
                 iprot.readListEnd();
               }
@@ -29812,13 +30975,13 @@ public class ThriftHiveMetastore {
           case 5: // GROUP_NAMES
             if (field.type == TType.LIST) {
               {
-                TList _list154 = iprot.readListBegin();
-                this.group_names = new ArrayList<String>(_list154.size);
-                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
+                TList _list158 = iprot.readListBegin();
+                this.group_names = new ArrayList<String>(_list158.size);
+                for (int _i159 = 0; _i159 < _list158.size; ++_i159)
                 {
-                  String _elem156;
-                  _elem156 = iprot.readString();
-                  this.group_names.add(_elem156);
+                  String _elem160;
+                  _elem160 = iprot.readString();
+                  this.group_names.add(_elem160);
                 }
                 iprot.readListEnd();
               }
@@ -29853,9 +31016,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter157 : this.part_vals)
+          for (String _iter161 : this.part_vals)
           {
-            oprot.writeString(_iter157);
+            oprot.writeString(_iter161);
           }
           oprot.writeListEnd();
         }
@@ -29870,9 +31033,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.group_names.size()));
-          for (String _iter158 : this.group_names)
+          for (String _iter162 : this.group_names)
           {
-            oprot.writeString(_iter158);
+            oprot.writeString(_iter162);
           }
           oprot.writeListEnd();
         }
@@ -32138,14 +33301,14 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list159 = iprot.readListBegin();
-                this.success = new ArrayList<Partition>(_list159.size);
-                for (int _i160 = 0; _i160 < _list159.size; ++_i160)
+                TList _list163 = iprot.readListBegin();
+                this.success = new ArrayList<Partition>(_list163.size);
+                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
                 {
-                  Partition _elem161;
-                  _elem161 = new Partition();
-                  _elem161.read(iprot);
-                  this.success.add(_elem161);
+                  Partition _elem165;
+                  _elem165 = new Partition();
+                  _elem165.read(iprot);
+                  this.success.add(_elem165);
                 }
                 iprot.readListEnd();
               }
@@ -32185,9 +33348,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-          for (Partition _iter162 : this.success)
+          for (Partition _iter166 : this.success)
           {
-            _iter162.write(oprot);
+            _iter166.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -32799,13 +33962,13 @@ public class ThriftHiveMetastore {
           case 5: // GROUP_NAMES
             if (field.type == TType.LIST) {
               {
-                TList _list163 = iprot.readListBegin();
-                this.group_names = new ArrayList<String>(_list163.size);
-                for (int _i164 = 0; _i164 < _list163.size; ++_i164)
+                TList _list167 = iprot.readListBegin();
+                this.group_names = new ArrayList<String>(_list167.size);
+                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
                 {
-                  String _elem165;
-                  _elem165 = iprot.readString();
-                  this.group_names.add(_elem165);
+                  String _elem169;
+                  _elem169 = iprot.readString();
+                  this.group_names.add(_elem169);
                 }
                 iprot.readListEnd();
               }
@@ -32848,9 +34011,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.group_names.size()));
-          for (String _iter166 : this.group_names)
+          for (String _iter170 : this.group_names)
           {
-            oprot.writeString(_iter166);
+            oprot.writeString(_iter170);
           }
           oprot.writeListEnd();
         }
@@ -33296,14 +34459,14 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list167 = iprot.readListBegin();
-                this.success = new ArrayList<Partition>(_list167.size);
-                for (int _i168 = 0; _i168 < _list167.size; ++_i168)
+                TList _list171 = iprot.readListBegin();
+                this.success = new ArrayList<Partition>(_list171.size);
+                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
                 {
-                  Partition _elem169;
-                  _elem169 = new Partition();
-                  _elem169.read(iprot);
-                  this.success.add(_elem169);
+                  Partition _elem173;
+                  _elem173 = new Partition();
+                  _elem173.read(iprot);
+                  this.success.add(_elem173);
                 }
                 iprot.readListEnd();
               }
@@ -33343,9 +34506,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-          for (Partition _iter170 : this.success)
+          for (Partition _iter174 : this.success)
           {
-            _iter170.write(oprot);
+            _iter174.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -34173,13 +35336,13 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list171 = iprot.readListBegin();
-                this.success = new ArrayList<String>(_list171.size);
-                for (int _i172 = 0; _i172 < _list171.size; ++_i172)
+                TList _list175 = iprot.readListBegin();
+                this.success = new ArrayList<String>(_list175.size);
+                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
                 {
-                  String _elem173;
-                  _elem173 = iprot.readString();
-                  this.success.add(_elem173);
+                  String _elem177;
+                  _elem177 = iprot.readString();
+                  this.success.add(_elem177);
                 }
                 iprot.readListEnd();
               }
@@ -34211,9 +35374,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.success.size()));
-          for (String _iter174 : this.success)
+          for (String _iter178 : this.success)
           {
-            oprot.writeString(_iter174);
+            oprot.writeString(_iter178);
           }
           oprot.writeListEnd();
         }
@@ -34730,13 +35893,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list175 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list175.size);
-                for (int _i176 = 0; _i176 < _list175.size; ++_i176)
+                TList _list179 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list179.size);
+                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
                 {
-                  String _elem177;
-                  _elem177 = iprot.readString();
-                  this.part_vals.add(_elem177);
+                  String _elem181;
+                  _elem181 = iprot.readString();
+                  this.part_vals.add(_elem181);
                 }
                 iprot.readListEnd();
               }
@@ -34779,9 +35942,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter178 : this.part_vals)
+          for (String _iter182 : this.part_vals)
           {
-            oprot.writeString(_iter178);
+            oprot.writeString(_iter182);
           }
           oprot.writeListEnd();
         }
@@ -35154,14 +36317,14 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list179 = iprot.readListBegin();
-                this.success = new ArrayList<Partition>(_list179.size);
-                for (int _i180 = 0; _i180 < _list179.size; ++_i180)
+                TList _list183 = iprot.readListBegin();
+                this.success = new ArrayList<Partition>(_list183.size);
+                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
                 {
-                  Partition _elem181;
-                  _elem181 = new Partition();
-                  _elem181.read(iprot);
-                  this.success.add(_elem181);
+                  Partition _elem185;
+                  _elem185 = new Partition();
+                  _elem185.read(iprot);
+                  this.success.add(_elem185);
                 }
                 iprot.readListEnd();
               }
@@ -35193,9 +36356,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-          for (Partition _iter182 : this.success)
+          for (Partition _iter186 : this.success)
           {
-            _iter182.write(oprot);
+            _iter186.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -35868,13 +37031,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list183 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list183.size);
-                for (int _i184 = 0; _i184 < _list183.size; ++_i184)
+                TList _list187 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list187.size);
+                for (int _i188 = 0; _i188 < _list187.size; ++_i188)
                 {
-                  String _elem185;
-                  _elem185 = iprot.readString();
-                  this.part_vals.add(_elem185);
+                  String _elem189;
+                  _elem189 = iprot.readString();
+                  this.part_vals.add(_elem189);
                 }
                 iprot.readListEnd();
               }
@@ -35900,13 +37063,13 @@ public class ThriftHiveMetastore {
           case 6: // GROUP_NAMES
             if (field.type == TType.LIST) {
               {
-                TList _list186 = iprot.readListBegin();
-                this.group_names = new ArrayList<String>(_list186.size);
-                for (int _i187 = 0; _i187 < _list186.size; ++_i187)
+                TList _list190 = iprot.readListBegin();
+                this.group_names = new ArrayList<String>(_list190.size);
+                for (int _i191 = 0; _i191 < _list190.size; ++_i191)
                 {
-                  String _elem188;
-                  _elem188 = iprot.readString();
-                  this.group_names.add(_elem188);
+                  String _elem192;
+                  _elem192 = iprot.readString();
+                  this.group_names.add(_elem192);
                 }
                 iprot.readListEnd();
               }
@@ -35941,9 +37104,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter189 : this.part_vals)
+          for (String _iter193 : this.part_vals)
           {
-            oprot.writeString(_iter189);
+            oprot.writeString(_iter193);
           }
           oprot.writeListEnd();
         }
@@ -35961,9 +37124,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.group_names.size()));
-          for (String _iter190 : this.group_names)
+          for (String _iter194 : this.group_names)
           {
-            oprot.writeString(_iter190);
+            oprot.writeString(_iter194);
           }
           oprot.writeListEnd();
         }
@@ -36417,14 +37580,14 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list191 = iprot.readListBegin();
-                this.success = new ArrayList<Partition>(_list191.size);
-                for (int _i192 = 0; _i192 < _list191.size; ++_i192)
+                TList _list195 = iprot.readListBegin();
+                this.success = new ArrayList<Partition>(_list195.size);
+                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
                 {
-                  Partition _elem193;
-                  _elem193 = new Partition();
-                  _elem193.read(iprot);
-                  this.success.add(_elem193);
+                  Partition _elem197;
+                  _elem197 = new Partition();
+                  _elem197.read(iprot);
+                  this.success.add(_elem197);
                 }
                 iprot.readListEnd();
               }
@@ -36464,9 +37627,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
-          for (Partition _iter194 : this.success)
+          for (Partition _iter198 : this.success)
           {
-            _iter194.write(oprot);
+            _iter198.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -36995,13 +38158,13 @@ public class ThriftHiveMetastore {
           case 3: // PART_VALS
             if (field.type == TType.LIST) {
               {
-                TList _list195 = iprot.readListBegin();
-                this.part_vals = new ArrayList<String>(_list195.size);
-                for (int _i196 = 0; _i196 < _list195.size; ++_i196)
+                TList _list199 = iprot.readListBegin();
+                this.part_vals = new ArrayList<String>(_list199.size);
+                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
                 {
-                  String _elem197;
-                  _elem197 = iprot.readString();
-                  this.part_vals.add(_elem197);
+                  String _elem201;
+                  _elem201 = iprot.readString();
+                  this.part_vals.add(_elem201);
                 }
                 iprot.readListEnd();
               }
@@ -37044,9 +38207,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(PART_VALS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.part_vals.size()));
-          for (String _iter198 : this.part_vals)
+          for (String _iter202 : this.part_vals)
           {
-            oprot.writeString(_iter198);
+            oprot.writeString(_iter202);
           }
           oprot.writeListEnd();
         }
@@ -37419,13 +38582,13 @@ public class ThriftHiveMetastore {
           case 0: // SUCCESS
             if (field.type == TType.LIST) {
               {
-                TList _list199 = iprot.readListBegin();
-                this.success = new ArrayList<String>(_list199.size);
-                for (int _i200 = 0; _i200 < _list199.size; ++_i200)
+                TList _list203 = iprot.readListBegin();
+                this.success = new ArrayList<String>(_list203.size);
+                for (int _i204 = 0; _i204 < _list203.size; ++_i204)
                 {
-                  String _elem201;
-                  _elem201 = iprot.readString();
-                  this.success.add(_elem201);
+                  String _elem205;
+                  _elem205 = iprot.readString();
+                  this.success.add(_elem205);
                 }
                 iprot.readListEnd();
               }
@@ -37457,9 +38620,9 @@ public class ThriftHiveMetastore {
         oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
         {
           oprot.writeListBegin(new TList(TType.STRING, this.success.size()));
-          for (String _iter202 : this.success)
+          for (String _iter206 : this.success)
           {
-            oprot.writeString(_iter202);
+            oprot.writeString(_iter206);
           }
           oprot.writeListEnd();
         }

[... 445 lines stripped ...]


Mime
View raw message