@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_isTblLevel = true; list.add(present_isTblLevel); if (present_isTblLevel) list.add(isTblLevel); boolean present_dbName = true && (isSetDbName()); list.add(present_dbName); if (present_dbName) list.add(dbName); boolean present_tableName = true && (isSetTableName()); list.add(present_tableName); if (present_tableName) list.add(tableName); boolean present_partName = true && (isSetPartName()); list.add(present_partName); if (present_partName) list.add(partName); boolean present_lastAnalyzed = true && (isSetLastAnalyzed()); list.add(present_lastAnalyzed); if (present_lastAnalyzed) list.add(lastAnalyzed); boolean present_catName = true && (isSetCatName()); list.add(present_catName); if (present_catName) list.add(catName); return list.hashCode(); }
lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; if (isSetDbName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case IS_TBL_LEVEL: return isSetIsTblLevel(); case DB_NAME: return isSetDbName(); case TABLE_NAME: return isSetTableName(); case PART_NAME: return isSetPartName(); case LAST_ANALYZED: return isSetLastAnalyzed(); case CAT_NAME: return isSetCatName(); } throw new IllegalStateException(); }
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))
/** * Performs a deep copy on <i>other</i>. */ public ColumnStatisticsDesc(ColumnStatisticsDesc other) { __isset_bitfield = other.__isset_bitfield; this.isTblLevel = other.isTblLevel; if (other.isSetDbName()) { this.dbName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.dbName); } if (other.isSetTableName()) { this.tableName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.tableName); } if (other.isSetPartName()) { this.partName = other.partName; } this.lastAnalyzed = other.lastAnalyzed; if (other.isSetCatName()) { this.catName = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.catName); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetIsTblLevel()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'isTblLevel' is unset! Struct:" + toString()); } if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } if (!isSetTableName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' is unset! Struct:" + toString()); } // check for sub-struct validity }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_isTblLevel = true; builder.append(present_isTblLevel); if (present_isTblLevel) builder.append(isTblLevel); boolean present_dbName = true && (isSetDbName()); builder.append(present_dbName); if (present_dbName) builder.append(dbName); boolean present_tableName = true && (isSetTableName()); builder.append(present_tableName); if (present_tableName) builder.append(tableName); boolean present_partName = true && (isSetPartName()); builder.append(present_partName); if (present_partName) builder.append(partName); boolean present_lastAnalyzed = true && (isSetLastAnalyzed()); builder.append(present_lastAnalyzed); if (present_lastAnalyzed) builder.append(lastAnalyzed); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public ColumnStatisticsDesc(ColumnStatisticsDesc other) { __isset_bitfield = other.__isset_bitfield; this.isTblLevel = other.isTblLevel; if (other.isSetDbName()) { this.dbName = other.dbName; } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetPartName()) { this.partName = other.partName; } this.lastAnalyzed = other.lastAnalyzed; }
/** * Performs a deep copy on <i>other</i>. */ public ColumnStatisticsDesc(ColumnStatisticsDesc other) { __isset_bitfield = other.__isset_bitfield; this.isTblLevel = other.isTblLevel; if (other.isSetDbName()) { this.dbName = other.dbName; } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetPartName()) { this.partName = other.partName; } this.lastAnalyzed = other.lastAnalyzed; }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case IS_TBL_LEVEL: return isSetIsTblLevel(); case DB_NAME: return isSetDbName(); case TABLE_NAME: return isSetTableName(); case PART_NAME: return isSetPartName(); case LAST_ANALYZED: return isSetLastAnalyzed(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case IS_TBL_LEVEL: return isSetIsTblLevel(); case DB_NAME: return isSetDbName(); case TABLE_NAME: return isSetTableName(); case PART_NAME: return isSetPartName(); case LAST_ANALYZED: return isSetLastAnalyzed(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); if (lastComparison != 0) { return lastComparison; if (isSetDbName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); if (lastComparison != 0) { return lastComparison; if (isSetDbName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); if (lastComparison != 0) {
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))
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))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetIsTblLevel()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'isTblLevel' is unset! Struct:" + toString()); } if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } if (!isSetTableName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetIsTblLevel()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'isTblLevel' is unset! Struct:" + toString()); } if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } if (!isSetTableName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' is unset! Struct:" + toString()); } // check for sub-struct validity }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_isTblLevel = true; builder.append(present_isTblLevel); if (present_isTblLevel) builder.append(isTblLevel); boolean present_dbName = true && (isSetDbName()); builder.append(present_dbName); if (present_dbName) builder.append(dbName); boolean present_tableName = true && (isSetTableName()); builder.append(present_tableName); if (present_tableName) builder.append(tableName); boolean present_partName = true && (isSetPartName()); builder.append(present_partName); if (present_partName) builder.append(partName); boolean present_lastAnalyzed = true && (isSetLastAnalyzed()); builder.append(present_lastAnalyzed); if (present_lastAnalyzed) builder.append(lastAnalyzed); return builder.toHashCode(); }