You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by zs...@apache.org on 2008/09/20 01:56:35 UTC
svn commit: r697291 [2/31] - in /hadoop/core/trunk: ./
src/contrib/hive/cli/src/java/org/apache/hadoop/hive/cli/
src/contrib/hive/metastore/if/
src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/
src/contrib/hive/metastore...
Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.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/StorageDescriptor.java (original)
+++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java Fri Sep 19 16:56:30 2008
@@ -21,7 +21,7 @@
private String location;
private String inputFormat;
private String outputFormat;
-private boolean isCompressed;
+private boolean compressed;
private int numBuckets;
private SerDeInfo serdeInfo;
private List<String> bucketCols;
@@ -34,7 +34,7 @@
public boolean location = false;
public boolean inputFormat = false;
public boolean outputFormat = false;
-public boolean isCompressed = false;
+public boolean compressed = false;
public boolean numBuckets = false;
public boolean serdeInfo = false;
public boolean bucketCols = false;
@@ -52,7 +52,7 @@
String location,
String inputFormat,
String outputFormat,
-boolean isCompressed,
+boolean compressed,
int numBuckets,
SerDeInfo serdeInfo,
List<String> bucketCols,
@@ -68,8 +68,8 @@
this.__isset.inputFormat = true;
this.outputFormat = outputFormat;
this.__isset.outputFormat = true;
-this.isCompressed = isCompressed;
-this.__isset.isCompressed = true;
+this.compressed = compressed;
+this.__isset.compressed = true;
this.numBuckets = numBuckets;
this.__isset.numBuckets = true;
this.serdeInfo = serdeInfo;
@@ -151,17 +151,17 @@
this.__isset.outputFormat = false;
}
-public boolean isIsCompressed() {
-return this.isCompressed;
+public boolean isCompressed() {
+return this.compressed;
}
-public void setIsCompressed(boolean isCompressed) {
-this.isCompressed = isCompressed;
-this.__isset.isCompressed = true;
+public void setCompressed(boolean compressed) {
+this.compressed = compressed;
+this.__isset.compressed = true;
}
-public void unsetIsCompressed() {
-this.__isset.isCompressed = false;
+public void unsetCompressed() {
+this.__isset.compressed = false;
}
public int getNumBuckets() {
@@ -325,12 +325,12 @@
return false;
}
-boolean this_present_isCompressed = true;
-boolean that_present_isCompressed = true;
-if (this_present_isCompressed || that_present_isCompressed) {
-if (!(this_present_isCompressed && that_present_isCompressed))
+boolean this_present_compressed = true;
+boolean that_present_compressed = true;
+if (this_present_compressed || that_present_compressed) {
+if (!(this_present_compressed && that_present_compressed))
return false;
-if (this.isCompressed != that.isCompressed)
+if (this.compressed != that.compressed)
return false;
}
@@ -397,7 +397,7 @@
}
switch (field.id)
{
- case -1:
+ case 1:
if (field.type == TType.LIST) {
{
TList _list9 = iprot.readListBegin();
@@ -416,7 +416,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -2:
+ case 2:
if (field.type == TType.STRING) {
this.location = iprot.readString();
this.__isset.location = true;
@@ -424,7 +424,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -3:
+ case 3:
if (field.type == TType.STRING) {
this.inputFormat = iprot.readString();
this.__isset.inputFormat = true;
@@ -432,7 +432,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -4:
+ case 4:
if (field.type == TType.STRING) {
this.outputFormat = iprot.readString();
this.__isset.outputFormat = true;
@@ -440,15 +440,15 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -5:
+ case 5:
if (field.type == TType.BOOL) {
- this.isCompressed = iprot.readBool();
- this.__isset.isCompressed = true;
+ this.compressed = iprot.readBool();
+ this.__isset.compressed = true;
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -6:
+ case 6:
if (field.type == TType.I32) {
this.numBuckets = iprot.readI32();
this.__isset.numBuckets = true;
@@ -456,7 +456,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -7:
+ case 7:
if (field.type == TType.STRUCT) {
this.serdeInfo = new SerDeInfo();
this.serdeInfo.read(iprot);
@@ -465,7 +465,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -8:
+ case 8:
if (field.type == TType.LIST) {
{
TList _list12 = iprot.readListBegin();
@@ -483,7 +483,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -9:
+ case 9:
if (field.type == TType.LIST) {
{
TList _list15 = iprot.readListBegin();
@@ -502,7 +502,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -10:
+ case 10:
if (field.type == TType.MAP) {
{
TMap _map18 = iprot.readMapBegin();
@@ -538,7 +538,7 @@
if (this.cols != null) {
field.name = "cols";
field.type = TType.LIST;
-field.id = -1;
+field.id = 1;
oprot.writeFieldBegin(field);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.cols.size()));
@@ -552,7 +552,7 @@
if (this.location != null) {
field.name = "location";
field.type = TType.STRING;
-field.id = -2;
+field.id = 2;
oprot.writeFieldBegin(field);
oprot.writeString(this.location);
oprot.writeFieldEnd();
@@ -560,7 +560,7 @@
if (this.inputFormat != null) {
field.name = "inputFormat";
field.type = TType.STRING;
-field.id = -3;
+field.id = 3;
oprot.writeFieldBegin(field);
oprot.writeString(this.inputFormat);
oprot.writeFieldEnd();
@@ -568,27 +568,27 @@
if (this.outputFormat != null) {
field.name = "outputFormat";
field.type = TType.STRING;
-field.id = -4;
+field.id = 4;
oprot.writeFieldBegin(field);
oprot.writeString(this.outputFormat);
oprot.writeFieldEnd();
}
-field.name = "isCompressed";
+field.name = "compressed";
field.type = TType.BOOL;
-field.id = -5;
+field.id = 5;
oprot.writeFieldBegin(field);
-oprot.writeBool(this.isCompressed);
+oprot.writeBool(this.compressed);
oprot.writeFieldEnd();
field.name = "numBuckets";
field.type = TType.I32;
-field.id = -6;
+field.id = 6;
oprot.writeFieldBegin(field);
oprot.writeI32(this.numBuckets);
oprot.writeFieldEnd();
if (this.serdeInfo != null) {
field.name = "serdeInfo";
field.type = TType.STRUCT;
-field.id = -7;
+field.id = 7;
oprot.writeFieldBegin(field);
this.serdeInfo.write(oprot);
oprot.writeFieldEnd();
@@ -596,7 +596,7 @@
if (this.bucketCols != null) {
field.name = "bucketCols";
field.type = TType.LIST;
-field.id = -8;
+field.id = 8;
oprot.writeFieldBegin(field);
{
oprot.writeListBegin(new TList(TType.STRING, this.bucketCols.size()));
@@ -610,7 +610,7 @@
if (this.sortCols != null) {
field.name = "sortCols";
field.type = TType.LIST;
-field.id = -9;
+field.id = 9;
oprot.writeFieldBegin(field);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.sortCols.size()));
@@ -624,7 +624,7 @@
if (this.parameters != null) {
field.name = "parameters";
field.type = TType.MAP;
-field.id = -10;
+field.id = 10;
oprot.writeFieldBegin(field);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.parameters.size()));
@@ -650,8 +650,8 @@
sb.append(this.inputFormat);
sb.append(",outputFormat:");
sb.append(this.outputFormat);
-sb.append(",isCompressed:");
-sb.append(this.isCompressed);
+sb.append(",compressed:");
+sb.append(this.compressed);
sb.append(",numBuckets:");
sb.append(this.numBuckets);
sb.append(",serdeInfo:");
Modified: hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.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/Table.java (original)
+++ hadoop/core/trunk/src/contrib/hive/metastore/src/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java Fri Sep 19 16:56:30 2008
@@ -18,7 +18,7 @@
public class Table implements TBase, java.io.Serializable {
private String tableName;
-private String database;
+private String dbName;
private String owner;
private int createTime;
private int lastAccessTime;
@@ -30,7 +30,7 @@
public final Isset __isset = new Isset();
public static final class Isset implements java.io.Serializable {
public boolean tableName = false;
-public boolean database = false;
+public boolean dbName = false;
public boolean owner = false;
public boolean createTime = false;
public boolean lastAccessTime = false;
@@ -45,7 +45,7 @@
public Table(
String tableName,
-String database,
+String dbName,
String owner,
int createTime,
int lastAccessTime,
@@ -57,8 +57,8 @@
this();
this.tableName = tableName;
this.__isset.tableName = true;
-this.database = database;
-this.__isset.database = true;
+this.dbName = dbName;
+this.__isset.dbName = true;
this.owner = owner;
this.__isset.owner = true;
this.createTime = createTime;
@@ -88,17 +88,17 @@
this.__isset.tableName = false;
}
-public String getDatabase() {
-return this.database;
+public String getDbName() {
+return this.dbName;
}
-public void setDatabase(String database) {
-this.database = database;
-this.__isset.database = true;
+public void setDbName(String dbName) {
+this.dbName = dbName;
+this.__isset.dbName = true;
}
-public void unsetDatabase() {
-this.__isset.database = false;
+public void unsetDbName() {
+this.__isset.dbName = false;
}
public String getOwner() {
@@ -244,12 +244,12 @@
return false;
}
-boolean this_present_database = true && (this.database != null);
-boolean that_present_database = true && (that.database != null);
-if (this_present_database || that_present_database) {
-if (!(this_present_database && that_present_database))
+boolean this_present_dbName = true && (this.dbName != null);
+boolean that_present_dbName = true && (that.dbName != null);
+if (this_present_dbName || that_present_dbName) {
+if (!(this_present_dbName && that_present_dbName))
return false;
-if (!this.database.equals(that.database))
+if (!this.dbName.equals(that.dbName))
return false;
}
@@ -334,7 +334,7 @@
}
switch (field.id)
{
- case -1:
+ case 1:
if (field.type == TType.STRING) {
this.tableName = iprot.readString();
this.__isset.tableName = true;
@@ -342,15 +342,15 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -2:
+ case 2:
if (field.type == TType.STRING) {
- this.database = iprot.readString();
- this.__isset.database = true;
+ this.dbName = iprot.readString();
+ this.__isset.dbName = true;
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -3:
+ case 3:
if (field.type == TType.STRING) {
this.owner = iprot.readString();
this.__isset.owner = true;
@@ -358,7 +358,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -4:
+ case 4:
if (field.type == TType.I32) {
this.createTime = iprot.readI32();
this.__isset.createTime = true;
@@ -366,7 +366,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -5:
+ case 5:
if (field.type == TType.I32) {
this.lastAccessTime = iprot.readI32();
this.__isset.lastAccessTime = true;
@@ -374,7 +374,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -6:
+ case 6:
if (field.type == TType.I32) {
this.retention = iprot.readI32();
this.__isset.retention = true;
@@ -382,7 +382,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -7:
+ case 7:
if (field.type == TType.STRUCT) {
this.sd = new StorageDescriptor();
this.sd.read(iprot);
@@ -391,7 +391,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -8:
+ case 8:
if (field.type == TType.LIST) {
{
TList _list26 = iprot.readListBegin();
@@ -410,7 +410,7 @@
TProtocolUtil.skip(iprot, field.type);
}
break;
- case -9:
+ case 9:
if (field.type == TType.MAP) {
{
TMap _map29 = iprot.readMapBegin();
@@ -446,49 +446,49 @@
if (this.tableName != null) {
field.name = "tableName";
field.type = TType.STRING;
-field.id = -1;
+field.id = 1;
oprot.writeFieldBegin(field);
oprot.writeString(this.tableName);
oprot.writeFieldEnd();
}
-if (this.database != null) {
-field.name = "database";
+if (this.dbName != null) {
+field.name = "dbName";
field.type = TType.STRING;
-field.id = -2;
+field.id = 2;
oprot.writeFieldBegin(field);
-oprot.writeString(this.database);
+oprot.writeString(this.dbName);
oprot.writeFieldEnd();
}
if (this.owner != null) {
field.name = "owner";
field.type = TType.STRING;
-field.id = -3;
+field.id = 3;
oprot.writeFieldBegin(field);
oprot.writeString(this.owner);
oprot.writeFieldEnd();
}
field.name = "createTime";
field.type = TType.I32;
-field.id = -4;
+field.id = 4;
oprot.writeFieldBegin(field);
oprot.writeI32(this.createTime);
oprot.writeFieldEnd();
field.name = "lastAccessTime";
field.type = TType.I32;
-field.id = -5;
+field.id = 5;
oprot.writeFieldBegin(field);
oprot.writeI32(this.lastAccessTime);
oprot.writeFieldEnd();
field.name = "retention";
field.type = TType.I32;
-field.id = -6;
+field.id = 6;
oprot.writeFieldBegin(field);
oprot.writeI32(this.retention);
oprot.writeFieldEnd();
if (this.sd != null) {
field.name = "sd";
field.type = TType.STRUCT;
-field.id = -7;
+field.id = 7;
oprot.writeFieldBegin(field);
this.sd.write(oprot);
oprot.writeFieldEnd();
@@ -496,7 +496,7 @@
if (this.partitionKeys != null) {
field.name = "partitionKeys";
field.type = TType.LIST;
-field.id = -8;
+field.id = 8;
oprot.writeFieldBegin(field);
{
oprot.writeListBegin(new TList(TType.STRUCT, this.partitionKeys.size()));
@@ -510,7 +510,7 @@
if (this.parameters != null) {
field.name = "parameters";
field.type = TType.MAP;
-field.id = -9;
+field.id = 9;
oprot.writeFieldBegin(field);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.parameters.size()));
@@ -530,8 +530,8 @@
StringBuilder sb = new StringBuilder("Table(");
sb.append("tableName:");
sb.append(this.tableName);
-sb.append(",database:");
-sb.append(this.database);
+sb.append(",dbName:");
+sb.append(this.dbName);
sb.append(",owner:");
sb.append(this.owner);
sb.append(",createTime:");