@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_dbName = true && (isSetDbName()); list.add(present_dbName); if (present_dbName) list.add(dbName); boolean present_tblName = true && (isSetTblName()); list.add(present_tblName); if (present_tblName) list.add(tblName); boolean present_partName = true && (isSetPartName()); list.add(present_partName); if (present_partName) list.add(partName); boolean present_isAllParts = true && (isSetIsAllParts()); list.add(present_isAllParts); if (present_isAllParts) list.add(isAllParts); return list.hashCode(); }
/** 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 DB_NAME: return isSetDbName(); case TBL_NAME: return isSetTblName(); case PART_NAME: return isSetPartName(); case IS_ALL_PARTS: return isSetIsAllParts(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public CacheFileMetadataRequest(CacheFileMetadataRequest other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } if (other.isSetTblName()) { this.tblName = other.tblName; } if (other.isSetPartName()) { this.partName = other.partName; } this.isAllParts = other.isAllParts; }
lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; if (isSetTblName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) {
boolean this_present_tblName = true && this.isSetTblName(); boolean that_present_tblName = true && that.isSetTblName(); if (this_present_tblName || that_present_tblName) { if (!(this_present_tblName && that_present_tblName))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } if (!isSetTblName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString()); } // check for sub-struct validity }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_dbName = true && (isSetDbName()); list.add(present_dbName); if (present_dbName) list.add(dbName); boolean present_tblName = true && (isSetTblName()); list.add(present_tblName); if (present_tblName) list.add(tblName); boolean present_partName = true && (isSetPartName()); list.add(present_partName); if (present_partName) list.add(partName); boolean present_isAllParts = true && (isSetIsAllParts()); list.add(present_isAllParts); if (present_isAllParts) list.add(isAllParts); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public CacheFileMetadataRequest(CacheFileMetadataRequest other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } if (other.isSetTblName()) { this.tblName = other.tblName; } if (other.isSetPartName()) { this.partName = other.partName; } this.isAllParts = other.isAllParts; }
/** 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 DB_NAME: return isSetDbName(); case TBL_NAME: return isSetTblName(); case PART_NAME: return isSetPartName(); case IS_ALL_PARTS: return isSetIsAllParts(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; if (isSetTblName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) {
boolean this_present_tblName = true && this.isSetTblName(); boolean that_present_tblName = true && that.isSetTblName(); if (this_present_tblName || that_present_tblName) { if (!(this_present_tblName && that_present_tblName))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } if (!isSetTblName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString()); } // check for sub-struct validity }