@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_values = true && (isSetValues()); list.add(present_values); if (present_values) list.add(values); boolean present_createTime = true; list.add(present_createTime); if (present_createTime) list.add(createTime); boolean present_lastAccessTime = true; list.add(present_lastAccessTime); if (present_lastAccessTime) list.add(lastAccessTime); boolean present_relativePath = true && (isSetRelativePath()); list.add(present_relativePath); if (present_relativePath) list.add(relativePath); boolean present_parameters = true && (isSetParameters()); list.add(present_parameters); if (present_parameters) list.add(parameters); boolean present_privileges = true && (isSetPrivileges()); list.add(present_privileges); if (present_privileges) list.add(privileges); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public PartitionWithoutSD(PartitionWithoutSD other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetValues()) { List<String> __this__values = new ArrayList<String>(other.values); this.values = __this__values; } this.createTime = other.createTime; this.lastAccessTime = other.lastAccessTime; if (other.isSetRelativePath()) { this.relativePath = other.relativePath; } if (other.isSetParameters()) { Map<String,String> __this__parameters = new HashMap<String,String>(other.parameters); this.parameters = __this__parameters; } if (other.isSetPrivileges()) { this.privileges = new PrincipalPrivilegeSet(other.privileges); } }
lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(other.isSetRelativePath()); if (lastComparison != 0) { return lastComparison; if (isSetRelativePath()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, other.relativePath); 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 VALUES: return isSetValues(); case CREATE_TIME: return isSetCreateTime(); case LAST_ACCESS_TIME: return isSetLastAccessTime(); case RELATIVE_PATH: return isSetRelativePath(); case PARAMETERS: return isSetParameters(); case PRIVILEGES: return isSetPrivileges(); } throw new IllegalStateException(); }
boolean this_present_relativePath = true && this.isSetRelativePath(); boolean that_present_relativePath = true && that.isSetRelativePath(); if (this_present_relativePath || that_present_relativePath) { if (!(this_present_relativePath && that_present_relativePath))
optionals.set(2); if (struct.isSetRelativePath()) { optionals.set(3); oprot.writeI32(struct.lastAccessTime); if (struct.isSetRelativePath()) { oprot.writeString(struct.relativePath);
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_values = true && (isSetValues()); builder.append(present_values); if (present_values) builder.append(values); boolean present_createTime = true; builder.append(present_createTime); if (present_createTime) builder.append(createTime); boolean present_lastAccessTime = true; builder.append(present_lastAccessTime); if (present_lastAccessTime) builder.append(lastAccessTime); boolean present_relativePath = true && (isSetRelativePath()); builder.append(present_relativePath); if (present_relativePath) builder.append(relativePath); boolean present_parameters = true && (isSetParameters()); builder.append(present_parameters); if (present_parameters) builder.append(parameters); boolean present_privileges = true && (isSetPrivileges()); builder.append(present_privileges); if (present_privileges) builder.append(privileges); return builder.toHashCode(); }
if (other.isSetRelativePath()) { this.relativePath = other.relativePath;
if (other.isSetRelativePath()) { this.relativePath = other.relativePath;
lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(typedOther.isSetRelativePath()); if (lastComparison != 0) { return lastComparison; if (isSetRelativePath()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, typedOther.relativePath); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(typedOther.isSetRelativePath()); if (lastComparison != 0) { return lastComparison; if (isSetRelativePath()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, typedOther.relativePath); 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 VALUES: return isSetValues(); case CREATE_TIME: return isSetCreateTime(); case LAST_ACCESS_TIME: return isSetLastAccessTime(); case RELATIVE_PATH: return isSetRelativePath(); case PARAMETERS: return isSetParameters(); case PRIVILEGES: return isSetPrivileges(); } 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 VALUES: return isSetValues(); case CREATE_TIME: return isSetCreateTime(); case LAST_ACCESS_TIME: return isSetLastAccessTime(); case RELATIVE_PATH: return isSetRelativePath(); case PARAMETERS: return isSetParameters(); case PRIVILEGES: return isSetPrivileges(); } throw new IllegalStateException(); }
boolean this_present_relativePath = true && this.isSetRelativePath(); boolean that_present_relativePath = true && that.isSetRelativePath(); if (this_present_relativePath || that_present_relativePath) { if (!(this_present_relativePath && that_present_relativePath))
boolean this_present_relativePath = true && this.isSetRelativePath(); boolean that_present_relativePath = true && that.isSetRelativePath(); if (this_present_relativePath || that_present_relativePath) { if (!(this_present_relativePath && that_present_relativePath))
optionals.set(2); if (struct.isSetRelativePath()) { optionals.set(3); oprot.writeI32(struct.lastAccessTime); if (struct.isSetRelativePath()) { oprot.writeString(struct.relativePath);
optionals.set(2); if (struct.isSetRelativePath()) { optionals.set(3); oprot.writeI32(struct.lastAccessTime); if (struct.isSetRelativePath()) { oprot.writeString(struct.relativePath);
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_values = true && (isSetValues()); builder.append(present_values); if (present_values) builder.append(values); boolean present_createTime = true; builder.append(present_createTime); if (present_createTime) builder.append(createTime); boolean present_lastAccessTime = true; builder.append(present_lastAccessTime); if (present_lastAccessTime) builder.append(lastAccessTime); boolean present_relativePath = true && (isSetRelativePath()); builder.append(present_relativePath); if (present_relativePath) builder.append(relativePath); boolean present_parameters = true && (isSetParameters()); builder.append(present_parameters); if (present_parameters) builder.append(parameters); boolean present_privileges = true && (isSetPrivileges()); builder.append(present_privileges); if (present_privileges) builder.append(privileges); return builder.toHashCode(); }