use of org.apache.commons.lang.builder.HashCodeBuilder in project hive by apache.
the class HiveLockObject method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
builder.append(pathNames);
boolean data_present = data == null;
builder.append(data_present);
if (data_present) {
builder.append(data);
}
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project hive by apache.
the class ExprNodeFieldDesc method hashCode.
@Override
public int hashCode() {
int superHashCode = super.hashCode();
HashCodeBuilder builder = new HashCodeBuilder();
builder.appendSuper(superHashCode);
builder.append(desc);
builder.append(fieldName);
builder.append(isList);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project logprocessing by cloudian.
the class AuthenticationException method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_why = true && (isSetWhy());
builder.append(present_why);
if (present_why)
builder.append(why);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project logprocessing by cloudian.
the class AuthorizationException method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_why = true && (isSetWhy());
builder.append(present_why);
if (present_why)
builder.append(why);
return builder.toHashCode();
}
use of org.apache.commons.lang.builder.HashCodeBuilder in project logprocessing by cloudian.
the class KeyCount method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_key = true && (isSetKey());
builder.append(present_key);
if (present_key)
builder.append(key);
boolean present_count = true;
builder.append(present_count);
if (present_count)
builder.append(count);
return builder.toHashCode();
}
Aggregations