Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftMetaStore.java URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftMetaStore.java?rev=697291&r1=697290&r2=697291&view=diff ============================================================================== --- hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftMetaStore.java (original) +++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftMetaStore.java Fri Sep 19 16:56:30 2008 @@ -19,7 +19,7 @@ public class ThriftMetaStore { /** - * This interface is the live. + * This interface is deprecated. */ public interface Iface extends com.facebook.fb303.FacebookService.Iface { @@ -1176,14 +1176,14 @@ case 0: if (field.type == TType.LIST) { { - TList _list99 = iprot.readListBegin(); - this.success = new ArrayList<FieldSchema>(_list99.size); - for (int _i100 = 0; _i100 < _list99.size; ++_i100) + TList _list89 = iprot.readListBegin(); + this.success = new ArrayList<FieldSchema>(_list89.size); + for (int _i90 = 0; _i90 < _list89.size; ++_i90) { - FieldSchema _elem101 = new FieldSchema(); - _elem101 = new FieldSchema(); - _elem101.read(iprot); - this.success.add(_elem101); + FieldSchema _elem91 = new FieldSchema(); + _elem91 = new FieldSchema(); + _elem91.read(iprot); + this.success.add(_elem91); } iprot.readListEnd(); } @@ -1241,8 +1241,8 @@ oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRUCT, this.success.size())); - for (FieldSchema _iter102 : this.success) { - _iter102.write(oprot); + for (FieldSchema _iter92 : this.success) { + _iter92.write(oprot); } oprot.writeListEnd(); } @@ -1630,13 +1630,13 @@ case 0: if (field.type == TType.LIST) { { - TList _list103 = iprot.readListBegin(); - this.success = new ArrayList<String>(_list103.size); - for (int _i104 = 0; _i104 < _list103.size; ++_i104) + TList _list93 = iprot.readListBegin(); + this.success = new ArrayList<String>(_list93.size); + for (int _i94 = 0; _i94 < _list93.size; ++_i94) { - String _elem105 = null; - _elem105 = iprot.readString(); - this.success.add(_elem105); + String _elem95 = null; + _elem95 = iprot.readString(); + this.success.add(_elem95); } iprot.readListEnd(); } @@ -1694,8 +1694,8 @@ oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRING, this.success.size())); - for (String _iter106 : this.success) { - oprot.writeString(_iter106); + for (String _iter96 : this.success) { + oprot.writeString(_iter96); } oprot.writeListEnd(); } @@ -2034,15 +2034,15 @@ case 0: if (field.type == TType.MAP) { { - TMap _map107 = iprot.readMapBegin(); - this.success = new HashMap<String,String>(2*_map107.size); - for (int _i108 = 0; _i108 < _map107.size; ++_i108) + TMap _map97 = iprot.readMapBegin(); + this.success = new HashMap<String,String>(2*_map97.size); + for (int _i98 = 0; _i98 < _map97.size; ++_i98) { - String _key109; - String _val110; - _key109 = iprot.readString(); - _val110 = iprot.readString(); - this.success.put(_key109, _val110); + String _key99; + String _val100; + _key99 = iprot.readString(); + _val100 = iprot.readString(); + this.success.put(_key99, _val100); } iprot.readMapEnd(); } @@ -2100,9 +2100,9 @@ oprot.writeFieldBegin(field); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.success.size())); - for (String _iter111 : this.success.keySet()) { - oprot.writeString(_iter111); - oprot.writeString(this.success.get(_iter111)); + for (String _iter101 : this.success.keySet()) { + oprot.writeString(_iter101); + oprot.writeString(this.success.get(_iter101)); } oprot.writeMapEnd(); } @@ -2313,15 +2313,15 @@ case -3: if (field.type == TType.MAP) { { - TMap _map112 = iprot.readMapBegin(); - this.schema = new HashMap<String,String>(2*_map112.size); - for (int _i113 = 0; _i113 < _map112.size; ++_i113) + TMap _map102 = iprot.readMapBegin(); + this.schema = new HashMap<String,String>(2*_map102.size); + for (int _i103 = 0; _i103 < _map102.size; ++_i103) { - String _key114; - String _val115; - _key114 = iprot.readString(); - _val115 = iprot.readString(); - this.schema.put(_key114, _val115); + String _key104; + String _val105; + _key104 = iprot.readString(); + _val105 = iprot.readString(); + this.schema.put(_key104, _val105); } iprot.readMapEnd(); } @@ -2366,9 +2366,9 @@ oprot.writeFieldBegin(field); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.schema.size())); - for (String _iter116 : this.schema.keySet()) { - oprot.writeString(_iter116); - oprot.writeString(this.schema.get(_iter116)); + for (String _iter106 : this.schema.keySet()) { + oprot.writeString(_iter106); + oprot.writeString(this.schema.get(_iter106)); } oprot.writeMapEnd(); } @@ -2764,15 +2764,15 @@ case -3: if (field.type == TType.MAP) { { - TMap _map117 = iprot.readMapBegin(); - this.schema = new HashMap<String,String>(2*_map117.size); - for (int _i118 = 0; _i118 < _map117.size; ++_i118) + TMap _map107 = iprot.readMapBegin(); + this.schema = new HashMap<String,String>(2*_map107.size); + for (int _i108 = 0; _i108 < _map107.size; ++_i108) { - String _key119; - String _val120; - _key119 = iprot.readString(); - _val120 = iprot.readString(); - this.schema.put(_key119, _val120); + String _key109; + String _val110; + _key109 = iprot.readString(); + _val110 = iprot.readString(); + this.schema.put(_key109, _val110); } iprot.readMapEnd(); } @@ -2817,9 +2817,9 @@ oprot.writeFieldBegin(field); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.schema.size())); - for (String _iter121 : this.schema.keySet()) { - oprot.writeString(_iter121); - oprot.writeString(this.schema.get(_iter121)); + for (String _iter111 : this.schema.keySet()) { + oprot.writeString(_iter111); + oprot.writeString(this.schema.get(_iter111)); } oprot.writeMapEnd(); } @@ -4507,13 +4507,13 @@ case 0: if (field.type == TType.LIST) { { - TList _list122 = iprot.readListBegin(); - this.success = new ArrayList<String>(_list122.size); - for (int _i123 = 0; _i123 < _list122.size; ++_i123) + TList _list112 = iprot.readListBegin(); + this.success = new ArrayList<String>(_list112.size); + for (int _i113 = 0; _i113 < _list112.size; ++_i113) { - String _elem124 = null; - _elem124 = iprot.readString(); - this.success.add(_elem124); + String _elem114 = null; + _elem114 = iprot.readString(); + this.success.add(_elem114); } iprot.readListEnd(); } @@ -4571,8 +4571,8 @@ oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRING, this.success.size())); - for (String _iter125 : this.success) { - oprot.writeString(_iter125); + for (String _iter115 : this.success) { + oprot.writeString(_iter115); } oprot.writeListEnd(); } @@ -4803,13 +4803,13 @@ case 0: if (field.type == TType.LIST) { { - TList _list126 = iprot.readListBegin(); - this.success = new ArrayList<String>(_list126.size); - for (int _i127 = 0; _i127 < _list126.size; ++_i127) + TList _list116 = iprot.readListBegin(); + this.success = new ArrayList<String>(_list116.size); + for (int _i117 = 0; _i117 < _list116.size; ++_i117) { - String _elem128 = null; - _elem128 = iprot.readString(); - this.success.add(_elem128); + String _elem118 = null; + _elem118 = iprot.readString(); + this.success.add(_elem118); } iprot.readListEnd(); } @@ -4849,8 +4849,8 @@ oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRING, this.success.size())); - for (String _iter129 : this.success) { - oprot.writeString(_iter129); + for (String _iter119 : this.success) { + oprot.writeString(_iter119); } oprot.writeListEnd(); } @@ -5304,13 +5304,13 @@ case 0: if (field.type == TType.LIST) { { - TList _list130 = iprot.readListBegin(); - this.success = new ArrayList<String>(_list130.size); - for (int _i131 = 0; _i131 < _list130.size; ++_i131) + TList _list120 = iprot.readListBegin(); + this.success = new ArrayList<String>(_list120.size); + for (int _i121 = 0; _i121 < _list120.size; ++_i121) { - String _elem132 = null; - _elem132 = iprot.readString(); - this.success.add(_elem132); + String _elem122 = null; + _elem122 = iprot.readString(); + this.success.add(_elem122); } iprot.readListEnd(); } @@ -5368,8 +5368,8 @@ oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRING, this.success.size())); - for (String _iter133 : this.success) { - oprot.writeString(_iter133); + for (String _iter123 : this.success) { + oprot.writeString(_iter123); } oprot.writeListEnd(); }
Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java?rev=697291&r1=697290&r2=697291&view=diff ============================================================================== --- hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java (original) +++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java Fri Sep 19 16:56:30 2008 @@ -185,7 +185,7 @@ } switch (field.id) { - case -1: + case 1: if (field.type == TType.STRING) { this.name = iprot.readString(); this.__isset.name = true; @@ -193,7 +193,7 @@ TProtocolUtil.skip(iprot, field.type); } break; - case -2: + case 2: if (field.type == TType.STRING) { this.type1 = iprot.readString(); this.__isset.type1 = true; @@ -201,7 +201,7 @@ TProtocolUtil.skip(iprot, field.type); } break; - case -3: + case 3: if (field.type == TType.STRING) { this.type2 = iprot.readString(); this.__isset.type2 = true; @@ -209,7 +209,7 @@ TProtocolUtil.skip(iprot, field.type); } break; - case -4: + case 4: if (field.type == TType.LIST) { { TList _list0 = iprot.readListBegin(); @@ -244,7 +244,7 @@ if (this.name != null) { field.name = "name"; field.type = TType.STRING; - field.id = -1; + field.id = 1; oprot.writeFieldBegin(field); oprot.writeString(this.name); oprot.writeFieldEnd(); @@ -253,7 +253,7 @@ if (this.__isset.type1) { field.name = "type1"; field.type = TType.STRING; - field.id = -2; + field.id = 2; oprot.writeFieldBegin(field); oprot.writeString(this.type1); oprot.writeFieldEnd(); @@ -263,7 +263,7 @@ if (this.__isset.type2) { field.name = "type2"; field.type = TType.STRING; - field.id = -3; + field.id = 3; oprot.writeFieldBegin(field); oprot.writeString(this.type2); oprot.writeFieldEnd(); @@ -273,7 +273,7 @@ if (this.__isset.fields) { field.name = "fields"; field.type = TType.LIST; - field.id = -4; + field.id = 4; oprot.writeFieldBegin(field); { oprot.writeListBegin(new TList(TType.STRUCT, this.fields.size())); Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java?rev=697291&r1=697290&r2=697291&view=diff ============================================================================== --- hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java (original) +++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java Fri Sep 19 16:56:30 2008 @@ -17,116 +17,116 @@ import com.facebook.thrift.transport.*; public class UnknownDBException extends Exception implements TBase, java.io.Serializable { - private String message; +private String message; - public final Isset __isset = new Isset(); - public static final class Isset implements java.io.Serializable { - public boolean message = false; - } - - public UnknownDBException() { - } - - public UnknownDBException( - String message) - { - this(); - this.message = message; - this.__isset.message = true; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - this.__isset.message = true; - } - - public void unsetMessage() { - this.__isset.message = false; - } - - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof UnknownDBException) - return this.equals((UnknownDBException)that); - return false; - } - - public boolean equals(UnknownDBException that) { - if (that == null) - return false; - - boolean this_present_message = true && (this.message != null); - boolean that_present_message = true && (that.message != null); - if (this_present_message || that_present_message) { - if (!(this_present_message && that_present_message)) - return false; - if (!this.message.equals(that.message)) - return false; - } +public final Isset __isset = new Isset(); +public static final class Isset implements java.io.Serializable { +public boolean message = false; +} - return true; - } +public UnknownDBException() { +} - public int hashCode() { - return 0; - } - - 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: - if (field.type == TType.STRING) { - this.message = iprot.readString(); - this.__isset.message = true; - } else { - TProtocolUtil.skip(iprot, field.type); - } - break; - default: - TProtocolUtil.skip(iprot, field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - } +public UnknownDBException( +String message) +{ +this(); +this.message = message; +this.__isset.message = true; +} + +public String getMessage() { +return this.message; +} + +public void setMessage(String message) { +this.message = message; +this.__isset.message = true; +} + +public void unsetMessage() { +this.__isset.message = false; +} + +public boolean equals(Object that) { +if (that == null) + return false; +if (that instanceof UnknownDBException) + return this.equals((UnknownDBException)that); +return false; +} + +public boolean equals(UnknownDBException that) { +if (that == null) + return false; + +boolean this_present_message = true && (this.message != null); +boolean that_present_message = true && (that.message != null); +if (this_present_message || that_present_message) { +if (!(this_present_message && that_present_message)) + return false; +if (!this.message.equals(that.message)) + return false; +} + +return true; +} - public void write(TProtocol oprot) throws TException { - TStruct struct = new TStruct("UnknownDBException"); - oprot.writeStructBegin(struct); - TField field = new TField(); - if (this.message != null) { - field.name = "message"; - field.type = TType.STRING; - field.id = -1; - oprot.writeFieldBegin(field); - oprot.writeString(this.message); - oprot.writeFieldEnd(); +public int hashCode() { +return 0; +} + +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: + if (field.type == TType.STRING) { + this.message = iprot.readString(); + this.__isset.message = true; + } else { + TProtocolUtil.skip(iprot, field.type); } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - public String toString() { - StringBuilder sb = new StringBuilder("UnknownDBException("); - sb.append("message:"); - sb.append(this.message); - sb.append(")"); - return sb.toString(); - } + break; + default: + TProtocolUtil.skip(iprot, field.type); + break; +} +iprot.readFieldEnd(); +} +iprot.readStructEnd(); +} + +public void write(TProtocol oprot) throws TException { +TStruct struct = new TStruct("UnknownDBException"); +oprot.writeStructBegin(struct); +TField field = new TField(); +if (this.message != null) { +field.name = "message"; +field.type = TType.STRING; +field.id = -1; +oprot.writeFieldBegin(field); +oprot.writeString(this.message); +oprot.writeFieldEnd(); +} +oprot.writeFieldStop(); +oprot.writeStructEnd(); +} + +public String toString() { +StringBuilder sb = new StringBuilder("UnknownDBException("); +sb.append("message:"); +sb.append(this.message); +sb.append(")"); +return sb.toString(); +} } Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java?rev=697291&r1=697290&r2=697291&view=diff ============================================================================== --- hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java (original) +++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java Fri Sep 19 16:56:30 2008 @@ -17,116 +17,116 @@ import com.facebook.thrift.transport.*; public class UnknownTableException extends Exception implements TBase, java.io.Serializable { - private String message; +private String message; - public final Isset __isset = new Isset(); - public static final class Isset implements java.io.Serializable { - public boolean message = false; - } - - public UnknownTableException() { - } - - public UnknownTableException( - String message) - { - this(); - this.message = message; - this.__isset.message = true; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - this.__isset.message = true; - } - - public void unsetMessage() { - this.__isset.message = false; - } - - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof UnknownTableException) - return this.equals((UnknownTableException)that); - return false; - } - - public boolean equals(UnknownTableException that) { - if (that == null) - return false; - - boolean this_present_message = true && (this.message != null); - boolean that_present_message = true && (that.message != null); - if (this_present_message || that_present_message) { - if (!(this_present_message && that_present_message)) - return false; - if (!this.message.equals(that.message)) - return false; - } +public final Isset __isset = new Isset(); +public static final class Isset implements java.io.Serializable { +public boolean message = false; +} - return true; - } +public UnknownTableException() { +} - public int hashCode() { - return 0; - } - - 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: - if (field.type == TType.STRING) { - this.message = iprot.readString(); - this.__isset.message = true; - } else { - TProtocolUtil.skip(iprot, field.type); - } - break; - default: - TProtocolUtil.skip(iprot, field.type); - break; - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - } +public UnknownTableException( +String message) +{ +this(); +this.message = message; +this.__isset.message = true; +} + +public String getMessage() { +return this.message; +} + +public void setMessage(String message) { +this.message = message; +this.__isset.message = true; +} + +public void unsetMessage() { +this.__isset.message = false; +} + +public boolean equals(Object that) { +if (that == null) + return false; +if (that instanceof UnknownTableException) + return this.equals((UnknownTableException)that); +return false; +} + +public boolean equals(UnknownTableException that) { +if (that == null) + return false; + +boolean this_present_message = true && (this.message != null); +boolean that_present_message = true && (that.message != null); +if (this_present_message || that_present_message) { +if (!(this_present_message && that_present_message)) + return false; +if (!this.message.equals(that.message)) + return false; +} + +return true; +} - public void write(TProtocol oprot) throws TException { - TStruct struct = new TStruct("UnknownTableException"); - oprot.writeStructBegin(struct); - TField field = new TField(); - if (this.message != null) { - field.name = "message"; - field.type = TType.STRING; - field.id = -1; - oprot.writeFieldBegin(field); - oprot.writeString(this.message); - oprot.writeFieldEnd(); +public int hashCode() { +return 0; +} + +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: + if (field.type == TType.STRING) { + this.message = iprot.readString(); + this.__isset.message = true; + } else { + TProtocolUtil.skip(iprot, field.type); } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - public String toString() { - StringBuilder sb = new StringBuilder("UnknownTableException("); - sb.append("message:"); - sb.append(this.message); - sb.append(")"); - return sb.toString(); - } + break; + default: + TProtocolUtil.skip(iprot, field.type); + break; +} +iprot.readFieldEnd(); +} +iprot.readStructEnd(); +} + +public void write(TProtocol oprot) throws TException { +TStruct struct = new TStruct("UnknownTableException"); +oprot.writeStructBegin(struct); +TField field = new TField(); +if (this.message != null) { +field.name = "message"; +field.type = TType.STRING; +field.id = -1; +oprot.writeFieldBegin(field); +oprot.writeString(this.message); +oprot.writeFieldEnd(); +} +oprot.writeFieldStop(); +oprot.writeStructEnd(); +} + +public String toString() { +StringBuilder sb = new StringBuilder("UnknownTableException("); +sb.append("message:"); +sb.append(this.message); +sb.append(")"); +return sb.toString(); +} } Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java?rev=697291&r1=697290&r2=697291&view=diff ============================================================================== --- hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java (original) +++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java Fri Sep 19 16:56:30 2008 @@ -114,7 +114,7 @@ } switch (field.id) { - case -1: + case 1: if (field.type == TType.STRING) { this.version = iprot.readString(); this.__isset.version = true; @@ -122,7 +122,7 @@ TProtocolUtil.skip(iprot, field.type); } break; - case -2: + case 2: if (field.type == TType.STRING) { this.comments = iprot.readString(); this.__isset.comments = true; @@ -146,7 +146,7 @@ if (this.version != null) { field.name = "version"; field.type = TType.STRING; - field.id = -1; + field.id = 1; oprot.writeFieldBegin(field); oprot.writeString(this.version); oprot.writeFieldEnd(); @@ -154,7 +154,7 @@ if (this.comments != null) { field.name = "comments"; field.type = TType.STRING; - field.id = -2; + field.id = 2; oprot.writeFieldBegin(field); oprot.writeString(this.comments); oprot.writeFieldEnd();
