Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java Tue Feb 25 07:58:52 2014 @@ -39,6 +39,8 @@ public class Database implements org.apa private static final org.apache.thrift.protocol.TField LOCATION_URI_FIELD_DESC = new org.apache.thrift.protocol.TField("locationUri", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField PARAMETERS_FIELD_DESC = new org.apache.thrift.protocol.TField("parameters", org.apache.thrift.protocol.TType.MAP, (short)4); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)5); + private static final org.apache.thrift.protocol.TField OWNER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("ownerName", org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.thrift.protocol.TField OWNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("ownerType", org.apache.thrift.protocol.TType.I32, (short)7); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { @@ -51,6 +53,8 @@ public class Database implements org.apa private String locationUri; // required private Map<String,String> parameters; // required private PrincipalPrivilegeSet privileges; // optional + private String ownerName; // optional + private PrincipalType ownerType; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -58,7 +62,13 @@ public class Database implements org.apa DESCRIPTION((short)2, "description"), LOCATION_URI((short)3, "locationUri"), PARAMETERS((short)4, "parameters"), - PRIVILEGES((short)5, "privileges"); + PRIVILEGES((short)5, "privileges"), + OWNER_NAME((short)6, "ownerName"), + /** + * + * @see PrincipalType + */ + OWNER_TYPE((short)7, "ownerType"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -83,6 +93,10 @@ public class Database implements org.apa return PARAMETERS; case 5: // PRIVILEGES return PRIVILEGES; + case 6: // OWNER_NAME + return OWNER_NAME; + case 7: // OWNER_TYPE + return OWNER_TYPE; default: return null; } @@ -123,7 +137,7 @@ public class Database implements org.apa } // isset id assignments - private _Fields optionals[] = {_Fields.PRIVILEGES}; + private _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.OWNER_NAME,_Fields.OWNER_TYPE}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -139,6 +153,10 @@ public class Database implements org.apa new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.PRIVILEGES, new org.apache.thrift.meta_data.FieldMetaData("privileges", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PrincipalPrivilegeSet.class))); + tmpMap.put(_Fields.OWNER_NAME, new org.apache.thrift.meta_data.FieldMetaData("ownerName", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OWNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("ownerType", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PrincipalType.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Database.class, metaDataMap); } @@ -190,6 +208,12 @@ public class Database implements org.apa if (other.isSetPrivileges()) { this.privileges = new PrincipalPrivilegeSet(other.privileges); } + if (other.isSetOwnerName()) { + this.ownerName = other.ownerName; + } + if (other.isSetOwnerType()) { + this.ownerType = other.ownerType; + } } public Database deepCopy() { @@ -203,6 +227,8 @@ public class Database implements org.apa this.locationUri = null; this.parameters = null; this.privileges = null; + this.ownerName = null; + this.ownerType = null; } public String getName() { @@ -331,6 +357,60 @@ public class Database implements org.apa } } + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public void unsetOwnerName() { + this.ownerName = null; + } + + /** Returns true if field ownerName is set (has been assigned a value) and false otherwise */ + public boolean isSetOwnerName() { + return this.ownerName != null; + } + + public void setOwnerNameIsSet(boolean value) { + if (!value) { + this.ownerName = null; + } + } + + /** + * + * @see PrincipalType + */ + public PrincipalType getOwnerType() { + return this.ownerType; + } + + /** + * + * @see PrincipalType + */ + public void setOwnerType(PrincipalType ownerType) { + this.ownerType = ownerType; + } + + public void unsetOwnerType() { + this.ownerType = null; + } + + /** Returns true if field ownerType is set (has been assigned a value) and false otherwise */ + public boolean isSetOwnerType() { + return this.ownerType != null; + } + + public void setOwnerTypeIsSet(boolean value) { + if (!value) { + this.ownerType = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case NAME: @@ -373,6 +453,22 @@ public class Database implements org.apa } break; + case OWNER_NAME: + if (value == null) { + unsetOwnerName(); + } else { + setOwnerName((String)value); + } + break; + + case OWNER_TYPE: + if (value == null) { + unsetOwnerType(); + } else { + setOwnerType((PrincipalType)value); + } + break; + } } @@ -393,6 +489,12 @@ public class Database implements org.apa case PRIVILEGES: return getPrivileges(); + case OWNER_NAME: + return getOwnerName(); + + case OWNER_TYPE: + return getOwnerType(); + } throw new IllegalStateException(); } @@ -414,6 +516,10 @@ public class Database implements org.apa return isSetParameters(); case PRIVILEGES: return isSetPrivileges(); + case OWNER_NAME: + return isSetOwnerName(); + case OWNER_TYPE: + return isSetOwnerType(); } throw new IllegalStateException(); } @@ -476,6 +582,24 @@ public class Database implements org.apa return false; } + boolean this_present_ownerName = true && this.isSetOwnerName(); + boolean that_present_ownerName = true && that.isSetOwnerName(); + if (this_present_ownerName || that_present_ownerName) { + if (!(this_present_ownerName && that_present_ownerName)) + return false; + if (!this.ownerName.equals(that.ownerName)) + return false; + } + + boolean this_present_ownerType = true && this.isSetOwnerType(); + boolean that_present_ownerType = true && that.isSetOwnerType(); + if (this_present_ownerType || that_present_ownerType) { + if (!(this_present_ownerType && that_present_ownerType)) + return false; + if (!this.ownerType.equals(that.ownerType)) + return false; + } + return true; } @@ -508,6 +632,16 @@ public class Database implements org.apa if (present_privileges) builder.append(privileges); + boolean present_ownerName = true && (isSetOwnerName()); + builder.append(present_ownerName); + if (present_ownerName) + builder.append(ownerName); + + boolean present_ownerType = true && (isSetOwnerType()); + builder.append(present_ownerType); + if (present_ownerType) + builder.append(ownerType.getValue()); + return builder.toHashCode(); } @@ -569,6 +703,26 @@ public class Database implements org.apa return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(typedOther.isSetOwnerName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetOwnerName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, typedOther.ownerName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOwnerType()).compareTo(typedOther.isSetOwnerType()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetOwnerType()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerType, typedOther.ownerType); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -630,6 +784,26 @@ public class Database implements org.apa } first = false; } + if (isSetOwnerName()) { + if (!first) sb.append(", "); + sb.append("ownerName:"); + if (this.ownerName == null) { + sb.append("null"); + } else { + sb.append(this.ownerName); + } + first = false; + } + if (isSetOwnerType()) { + if (!first) sb.append(", "); + sb.append("ownerType:"); + if (this.ownerType == null) { + sb.append("null"); + } else { + sb.append(this.ownerType); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -729,6 +903,22 @@ public class Database implements org.apa org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 6: // OWNER_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ownerName = iprot.readString(); + struct.setOwnerNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // OWNER_TYPE + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.setOwnerTypeIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -777,6 +967,20 @@ public class Database implements org.apa oprot.writeFieldEnd(); } } + if (struct.ownerName != null) { + if (struct.isSetOwnerName()) { + oprot.writeFieldBegin(OWNER_NAME_FIELD_DESC); + oprot.writeString(struct.ownerName); + oprot.writeFieldEnd(); + } + } + if (struct.ownerType != null) { + if (struct.isSetOwnerType()) { + oprot.writeFieldBegin(OWNER_TYPE_FIELD_DESC); + oprot.writeI32(struct.ownerType.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -810,7 +1014,13 @@ public class Database implements org.apa if (struct.isSetPrivileges()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if (struct.isSetOwnerName()) { + optionals.set(5); + } + if (struct.isSetOwnerType()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if (struct.isSetName()) { oprot.writeString(struct.name); } @@ -833,12 +1043,18 @@ public class Database implements org.apa if (struct.isSetPrivileges()) { struct.privileges.write(oprot); } + if (struct.isSetOwnerName()) { + oprot.writeString(struct.ownerName); + } + if (struct.isSetOwnerType()) { + oprot.writeI32(struct.ownerType.getValue()); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, Database struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.name = iprot.readString(); struct.setNameIsSet(true); @@ -871,6 +1087,14 @@ public class Database implements org.apa struct.privileges.read(iprot); struct.setPrivilegesIsSet(true); } + if (incoming.get(5)) { + struct.ownerName = iprot.readString(); + struct.setOwnerNameIsSet(true); + } + if (incoming.get(6)) { + struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.setOwnerTypeIsSet(true); + } } }
Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java Tue Feb 25 07:58:52 2014 @@ -346,7 +346,7 @@ public class DropPartitionsResult implem struct.partitions = new ArrayList<Partition>(_list330.size); for (int _i331 = 0; _i331 < _list330.size; ++_i331) { - Partition _elem332; // required + Partition _elem332; // optional _elem332 = new Partition(); _elem332.read(iprot); struct.partitions.add(_elem332); @@ -428,7 +428,7 @@ public class DropPartitionsResult implem struct.partitions = new ArrayList<Partition>(_list335.size); for (int _i336 = 0; _i336 < _list335.size; ++_i336) { - Partition _elem337; // required + Partition _elem337; // optional _elem337 = new Partition(); _elem337.read(iprot); struct.partitions.add(_elem337); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java Tue Feb 25 07:58:52 2014 @@ -710,7 +710,7 @@ public class HiveObjectRef implements or struct.partValues = new ArrayList<String>(_list8.size); for (int _i9 = 0; _i9 < _list8.size; ++_i9) { - String _elem10; // required + String _elem10; // optional _elem10 = iprot.readString(); struct.partValues.add(_elem10); } @@ -853,7 +853,7 @@ public class HiveObjectRef implements or struct.partValues = new ArrayList<String>(_list13.size); for (int _i14 = 0; _i14 < _list13.size; ++_i14) { - String _elem15; // required + String _elem15; // optional _elem15 = iprot.readString(); struct.partValues.add(_elem15); } Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java Tue Feb 25 07:58:52 2014 @@ -945,7 +945,7 @@ public class Partition implements org.ap struct.values = new ArrayList<String>(_list192.size); for (int _i193 = 0; _i193 < _list192.size; ++_i193) { - String _elem194; // required + String _elem194; // optional _elem194 = iprot.readString(); struct.values.add(_elem194); } @@ -1184,7 +1184,7 @@ public class Partition implements org.ap struct.values = new ArrayList<String>(_list203.size); for (int _i204 = 0; _i204 < _list203.size; ++_i204) { - String _elem205; // required + String _elem205; // optional _elem205 = iprot.readString(); struct.values.add(_elem205); } Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java Tue Feb 25 07:58:52 2014 @@ -439,7 +439,7 @@ public class PartitionsByExprResult impl struct.partitions = new ArrayList<Partition>(_list256.size); for (int _i257 = 0; _i257 < _list256.size; ++_i257) { - Partition _elem258; // required + Partition _elem258; // optional _elem258 = new Partition(); _elem258.read(iprot); struct.partitions.add(_elem258); @@ -522,7 +522,7 @@ public class PartitionsByExprResult impl struct.partitions = new ArrayList<Partition>(_list261.size); for (int _i262 = 0; _i262 < _list261.size; ++_i262) { - Partition _elem263; // required + Partition _elem263; // optional _elem263 = new Partition(); _elem263.read(iprot); struct.partitions.add(_elem263); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java Tue Feb 25 07:58:52 2014 @@ -645,7 +645,7 @@ public class PartitionsStatsRequest impl struct.colNames = new ArrayList<String>(_list298.size); for (int _i299 = 0; _i299 < _list298.size; ++_i299) { - String _elem300; // required + String _elem300; // optional _elem300 = iprot.readString(); struct.colNames.add(_elem300); } @@ -663,7 +663,7 @@ public class PartitionsStatsRequest impl struct.partNames = new ArrayList<String>(_list301.size); for (int _i302 = 0; _i302 < _list301.size; ++_i302) { - String _elem303; // required + String _elem303; // optional _elem303 = iprot.readString(); struct.partNames.add(_elem303); } @@ -768,7 +768,7 @@ public class PartitionsStatsRequest impl struct.colNames = new ArrayList<String>(_list308.size); for (int _i309 = 0; _i309 < _list308.size; ++_i309) { - String _elem310; // required + String _elem310; // optional _elem310 = iprot.readString(); struct.colNames.add(_elem310); } @@ -779,7 +779,7 @@ public class PartitionsStatsRequest impl struct.partNames = new ArrayList<String>(_list311.size); for (int _i312 = 0; _i312 < _list311.size; ++_i312) { - String _elem313; // required + String _elem313; // optional _elem313 = iprot.readString(); struct.partNames.add(_elem313); } Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java Tue Feb 25 07:58:52 2014 @@ -371,7 +371,7 @@ public class PartitionsStatsResult imple _val275 = new ArrayList<ColumnStatisticsObj>(_list276.size); for (int _i277 = 0; _i277 < _list276.size; ++_i277) { - ColumnStatisticsObj _elem278; // required + ColumnStatisticsObj _elem278; // optional _elem278 = new ColumnStatisticsObj(); _elem278.read(iprot); _val275.add(_elem278); @@ -469,7 +469,7 @@ public class PartitionsStatsResult imple _val286 = new ArrayList<ColumnStatisticsObj>(_list287.size); for (int _i288 = 0; _i288 < _list287.size; ++_i288) { - ColumnStatisticsObj _elem289; // required + ColumnStatisticsObj _elem289; // optional _elem289 = new ColumnStatisticsObj(); _elem289.read(iprot); _val286.add(_elem289); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java Tue Feb 25 07:58:52 2014 @@ -587,7 +587,7 @@ public class PrincipalPrivilegeSet imple _val27 = new ArrayList<PrivilegeGrantInfo>(_list28.size); for (int _i29 = 0; _i29 < _list28.size; ++_i29) { - PrivilegeGrantInfo _elem30; // required + PrivilegeGrantInfo _elem30; // optional _elem30 = new PrivilegeGrantInfo(); _elem30.read(iprot); _val27.add(_elem30); @@ -618,7 +618,7 @@ public class PrincipalPrivilegeSet imple _val34 = new ArrayList<PrivilegeGrantInfo>(_list35.size); for (int _i36 = 0; _i36 < _list35.size; ++_i36) { - PrivilegeGrantInfo _elem37; // required + PrivilegeGrantInfo _elem37; // optional _elem37 = new PrivilegeGrantInfo(); _elem37.read(iprot); _val34.add(_elem37); @@ -649,7 +649,7 @@ public class PrincipalPrivilegeSet imple _val41 = new ArrayList<PrivilegeGrantInfo>(_list42.size); for (int _i43 = 0; _i43 < _list42.size; ++_i43) { - PrivilegeGrantInfo _elem44; // required + PrivilegeGrantInfo _elem44; // optional _elem44 = new PrivilegeGrantInfo(); _elem44.read(iprot); _val41.add(_elem44); @@ -834,7 +834,7 @@ public class PrincipalPrivilegeSet imple _val60 = new ArrayList<PrivilegeGrantInfo>(_list61.size); for (int _i62 = 0; _i62 < _list61.size; ++_i62) { - PrivilegeGrantInfo _elem63; // required + PrivilegeGrantInfo _elem63; // optional _elem63 = new PrivilegeGrantInfo(); _elem63.read(iprot); _val60.add(_elem63); @@ -859,7 +859,7 @@ public class PrincipalPrivilegeSet imple _val67 = new ArrayList<PrivilegeGrantInfo>(_list68.size); for (int _i69 = 0; _i69 < _list68.size; ++_i69) { - PrivilegeGrantInfo _elem70; // required + PrivilegeGrantInfo _elem70; // optional _elem70 = new PrivilegeGrantInfo(); _elem70.read(iprot); _val67.add(_elem70); @@ -884,7 +884,7 @@ public class PrincipalPrivilegeSet imple _val74 = new ArrayList<PrivilegeGrantInfo>(_list75.size); for (int _i76 = 0; _i76 < _list75.size; ++_i76) { - PrivilegeGrantInfo _elem77; // required + PrivilegeGrantInfo _elem77; // optional _elem77 = new PrivilegeGrantInfo(); _elem77.read(iprot); _val74.add(_elem77); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java Tue Feb 25 07:58:52 2014 @@ -350,7 +350,7 @@ public class PrivilegeBag implements org struct.privileges = new ArrayList<HiveObjectPrivilege>(_list16.size); for (int _i17 = 0; _i17 < _list16.size; ++_i17) { - HiveObjectPrivilege _elem18; // required + HiveObjectPrivilege _elem18; // optional _elem18 = new HiveObjectPrivilege(); _elem18.read(iprot); struct.privileges.add(_elem18); @@ -430,7 +430,7 @@ public class PrivilegeBag implements org struct.privileges = new ArrayList<HiveObjectPrivilege>(_list21.size); for (int _i22 = 0; _i22 < _list21.size; ++_i22) { - HiveObjectPrivilege _elem23; // required + HiveObjectPrivilege _elem23; // optional _elem23 = new HiveObjectPrivilege(); _elem23.read(iprot); struct.privileges.add(_elem23); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java Tue Feb 25 07:58:52 2014 @@ -169,7 +169,7 @@ public class RequestPartsSpec extends or names = new ArrayList<String>(_list338.size); for (int _i339 = 0; _i339 < _list338.size; ++_i339) { - String _elem340; // required + String _elem340; // optional _elem340 = iprot.readString(); names.add(_elem340); } @@ -188,7 +188,7 @@ public class RequestPartsSpec extends or exprs = new ArrayList<DropPartitionsExpr>(_list341.size); for (int _i342 = 0; _i342 < _list341.size; ++_i342) { - DropPartitionsExpr _elem343; // required + DropPartitionsExpr _elem343; // optional _elem343 = new DropPartitionsExpr(); _elem343.read(iprot); exprs.add(_elem343); @@ -250,7 +250,7 @@ public class RequestPartsSpec extends or names = new ArrayList<String>(_list346.size); for (int _i347 = 0; _i347 < _list346.size; ++_i347) { - String _elem348; // required + String _elem348; // optional _elem348 = iprot.readString(); names.add(_elem348); } @@ -264,7 +264,7 @@ public class RequestPartsSpec extends or exprs = new ArrayList<DropPartitionsExpr>(_list349.size); for (int _i350 = 0; _i350 < _list349.size; ++_i350) { - DropPartitionsExpr _elem351; // required + DropPartitionsExpr _elem351; // optional _elem351 = new DropPartitionsExpr(); _elem351.read(iprot); exprs.add(_elem351); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java Tue Feb 25 07:58:52 2014 @@ -456,7 +456,7 @@ public class Schema implements org.apach struct.fieldSchemas = new ArrayList<FieldSchema>(_list228.size); for (int _i229 = 0; _i229 < _list228.size; ++_i229) { - FieldSchema _elem230; // required + FieldSchema _elem230; // optional _elem230 = new FieldSchema(); _elem230.read(iprot); struct.fieldSchemas.add(_elem230); @@ -582,7 +582,7 @@ public class Schema implements org.apach struct.fieldSchemas = new ArrayList<FieldSchema>(_list239.size); for (int _i240 = 0; _i240 < _list239.size; ++_i240) { - FieldSchema _elem241; // required + FieldSchema _elem241; // optional _elem241 = new FieldSchema(); _elem241.read(iprot); struct.fieldSchemas.add(_elem241); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java Tue Feb 25 07:58:52 2014 @@ -566,7 +566,7 @@ public class SkewedInfo implements org.a struct.skewedColNames = new ArrayList<String>(_list98.size); for (int _i99 = 0; _i99 < _list98.size; ++_i99) { - String _elem100; // required + String _elem100; // optional _elem100 = iprot.readString(); struct.skewedColNames.add(_elem100); } @@ -584,13 +584,13 @@ public class SkewedInfo implements org.a struct.skewedColValues = new ArrayList<List<String>>(_list101.size); for (int _i102 = 0; _i102 < _list101.size; ++_i102) { - List<String> _elem103; // required + List<String> _elem103; // optional { org.apache.thrift.protocol.TList _list104 = iprot.readListBegin(); _elem103 = new ArrayList<String>(_list104.size); for (int _i105 = 0; _i105 < _list104.size; ++_i105) { - String _elem106; // required + String _elem106; // optional _elem106 = iprot.readString(); _elem103.add(_elem106); } @@ -619,7 +619,7 @@ public class SkewedInfo implements org.a _key109 = new ArrayList<String>(_list111.size); for (int _i112 = 0; _i112 < _list111.size; ++_i112) { - String _elem113; // required + String _elem113; // optional _elem113 = iprot.readString(); _key109.add(_elem113); } @@ -779,7 +779,7 @@ public class SkewedInfo implements org.a struct.skewedColNames = new ArrayList<String>(_list124.size); for (int _i125 = 0; _i125 < _list124.size; ++_i125) { - String _elem126; // required + String _elem126; // optional _elem126 = iprot.readString(); struct.skewedColNames.add(_elem126); } @@ -792,13 +792,13 @@ public class SkewedInfo implements org.a struct.skewedColValues = new ArrayList<List<String>>(_list127.size); for (int _i128 = 0; _i128 < _list127.size; ++_i128) { - List<String> _elem129; // required + List<String> _elem129; // optional { org.apache.thrift.protocol.TList _list130 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); _elem129 = new ArrayList<String>(_list130.size); for (int _i131 = 0; _i131 < _list130.size; ++_i131) { - String _elem132; // required + String _elem132; // optional _elem132 = iprot.readString(); _elem129.add(_elem132); } @@ -821,7 +821,7 @@ public class SkewedInfo implements org.a _key135 = new ArrayList<String>(_list137.size); for (int _i138 = 0; _i138 < _list137.size; ++_i138) { - String _elem139; // required + String _elem139; // optional _elem139 = iprot.readString(); _key135.add(_elem139); } Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java Tue Feb 25 07:58:52 2014 @@ -1304,7 +1304,7 @@ public class StorageDescriptor implement struct.cols = new ArrayList<FieldSchema>(_list140.size); for (int _i141 = 0; _i141 < _list140.size; ++_i141) { - FieldSchema _elem142; // required + FieldSchema _elem142; // optional _elem142 = new FieldSchema(); _elem142.read(iprot); struct.cols.add(_elem142); @@ -1372,7 +1372,7 @@ public class StorageDescriptor implement struct.bucketCols = new ArrayList<String>(_list143.size); for (int _i144 = 0; _i144 < _list143.size; ++_i144) { - String _elem145; // required + String _elem145; // optional _elem145 = iprot.readString(); struct.bucketCols.add(_elem145); } @@ -1390,7 +1390,7 @@ public class StorageDescriptor implement struct.sortCols = new ArrayList<Order>(_list146.size); for (int _i147 = 0; _i147 < _list146.size; ++_i147) { - Order _elem148; // required + Order _elem148; // optional _elem148 = new Order(); _elem148.read(iprot); struct.sortCols.add(_elem148); @@ -1667,7 +1667,7 @@ public class StorageDescriptor implement struct.cols = new ArrayList<FieldSchema>(_list161.size); for (int _i162 = 0; _i162 < _list161.size; ++_i162) { - FieldSchema _elem163; // required + FieldSchema _elem163; // optional _elem163 = new FieldSchema(); _elem163.read(iprot); struct.cols.add(_elem163); @@ -1706,7 +1706,7 @@ public class StorageDescriptor implement struct.bucketCols = new ArrayList<String>(_list164.size); for (int _i165 = 0; _i165 < _list164.size; ++_i165) { - String _elem166; // required + String _elem166; // optional _elem166 = iprot.readString(); struct.bucketCols.add(_elem166); } @@ -1719,7 +1719,7 @@ public class StorageDescriptor implement struct.sortCols = new ArrayList<Order>(_list167.size); for (int _i168 = 0; _i168 < _list167.size; ++_i168) { - Order _elem169; // required + Order _elem169; // optional _elem169 = new Order(); _elem169.read(iprot); struct.sortCols.add(_elem169); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java Tue Feb 25 07:58:52 2014 @@ -1403,7 +1403,7 @@ public class Table implements org.apache struct.partitionKeys = new ArrayList<FieldSchema>(_list174.size); for (int _i175 = 0; _i175 < _list174.size; ++_i175) { - FieldSchema _elem176; // required + FieldSchema _elem176; // optional _elem176 = new FieldSchema(); _elem176.read(iprot); struct.partitionKeys.add(_elem176); @@ -1708,7 +1708,7 @@ public class Table implements org.apache struct.partitionKeys = new ArrayList<FieldSchema>(_list185.size); for (int _i186 = 0; _i186 < _list185.size; ++_i186) { - FieldSchema _elem187; // required + FieldSchema _elem187; // optional _elem187 = new FieldSchema(); _elem187.read(iprot); struct.partitionKeys.add(_elem187); Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java Tue Feb 25 07:58:52 2014 @@ -540,7 +540,7 @@ public class TableStatsRequest implement struct.colNames = new ArrayList<String>(_list290.size); for (int _i291 = 0; _i291 < _list290.size; ++_i291) { - String _elem292; // required + String _elem292; // optional _elem292 = iprot.readString(); struct.colNames.add(_elem292); } @@ -626,7 +626,7 @@ public class TableStatsRequest implement struct.colNames = new ArrayList<String>(_list295.size); for (int _i296 = 0; _i296 < _list295.size; ++_i296) { - String _elem297; // required + String _elem297; // optional _elem297 = iprot.readString(); struct.colNames.add(_elem297); } Modified: hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java URL: http://svn.apache.org/viewvc/hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java?rev=1571600&r1=1571599&r2=1571600&view=diff ============================================================================== --- hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java (original) +++ hive/branches/tez/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java Tue Feb 25 07:58:52 2014 @@ -354,7 +354,7 @@ public class TableStatsResult implements struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list264.size); for (int _i265 = 0; _i265 < _list264.size; ++_i265) { - ColumnStatisticsObj _elem266; // required + ColumnStatisticsObj _elem266; // optional _elem266 = new ColumnStatisticsObj(); _elem266.read(iprot); struct.tableStats.add(_elem266); @@ -425,7 +425,7 @@ public class TableStatsResult implements struct.tableStats = new ArrayList<ColumnStatisticsObj>(_list269.size); for (int _i270 = 0; _i270 < _list269.size; ++_i270) { - ColumnStatisticsObj _elem271; // required + ColumnStatisticsObj _elem271; // optional _elem271 = new ColumnStatisticsObj(); _elem271.read(iprot); struct.tableStats.add(_elem271);
